2021-02-04 19:15:23 +01:00
|
|
|
export const PRIMARY = 'PRIMARY';
|
|
|
|
export const SECONDARY = 'SECONDARY';
|
2019-02-26 19:30:41 +01:00
|
|
|
|
2022-08-04 19:45:25 +02:00
|
|
|
let _supportRequestLink = 'https://metamask.zendesk.com/hc/en-us';
|
2022-07-14 00:15:38 +02:00
|
|
|
const _contractAddressLink =
|
|
|
|
'https://metamask.zendesk.com/hc/en-us/articles/360020028092-What-is-the-known-contract-address-warning-';
|
2022-01-06 01:55:20 +01:00
|
|
|
|
|
|
|
///: BEGIN:ONLY_INCLUDE_IN(flask)
|
|
|
|
_supportRequestLink =
|
|
|
|
'https://metamask-flask.zendesk.com/hc/en-us/requests/new';
|
|
|
|
///: END:ONLY_INCLUDE_IN
|
|
|
|
|
2023-03-02 17:19:20 +01:00
|
|
|
///: BEGIN:ONLY_INCLUDE_IN(mmi)
|
|
|
|
_supportRequestLink = 'https://mmi-support.zendesk.com/hc/en-us/requests/new';
|
2023-03-31 13:23:11 +02:00
|
|
|
export const SUPPORT_LINK = 'https://mmi-support.zendesk.com/hc/en-us';
|
|
|
|
export const MMI_WEB_SITE = 'https://metamask.io/institutions/';
|
2023-03-02 17:19:20 +01:00
|
|
|
///: END:ONLY_INCLUDE_IN
|
|
|
|
|
2022-01-06 01:55:20 +01:00
|
|
|
export const SUPPORT_REQUEST_LINK = _supportRequestLink;
|
2022-07-14 00:15:38 +02:00
|
|
|
export const CONTRACT_ADDRESS_LINK = _contractAddressLink;
|
2022-12-15 21:56:27 +01:00
|
|
|
export const PASSWORD_MIN_LENGTH = 8;
|
2023-02-02 19:56:41 +01:00
|
|
|
export const OUTDATED_BROWSER_VERSIONS = {
|
2023-04-21 16:33:46 +02:00
|
|
|
// Chrome and Edge should match the latest Chrome version released ~2 years ago
|
|
|
|
chrome: '<90',
|
|
|
|
edge: '<90',
|
|
|
|
// Firefox should match the most recent end-of-life extended support release
|
|
|
|
firefox: '<91',
|
|
|
|
// Opera should be set to the equivalent of the Chrome version set
|
|
|
|
// See https://en.wikipedia.org/wiki/History_of_the_Opera_web_browser
|
|
|
|
opera: '<76',
|
2023-02-02 19:56:41 +01:00
|
|
|
};
|