mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-01 13:47:06 +01:00
95c37e1ba3
* feat: add yaml feature management Add yaml feature file per build type. Also add method to parse yaml and set enabled features env to true. The build process will then replace any process.env[feature] that exists on the config by its value * chore: add example for desktop * Added initial draft of build features * [TMP] Sync between computers * Is able to succesfully build stable extension with snaps feature * Removing var context from builds.yml * Add asssets to builds.yml * Minor bug fixes and removing debug logs * [WIP] Test changes * Removed TODOs * Fix regession bug Also * remove debug logs * merge Variables.set and Variables.setMany with an overload * Fix build, lint and a bunch of issues * Update LavaMoat policies * Re-add desktop build type * Fix some tests * Fix desktop build * Define some env variables used by MV3 * Fix lint * Fix remove-fenced-code tests * Fix README typo * Move new code * Fix missing asset copy * Move Jest env setup * Fix path for test after rebase * Fix code fences * Fix fencing and LavaMoat policies * Fix MMI code-fencing after rebase * Fix MMI code fencing after merge * Fix more MMI code fencing --------- Co-authored-by: cryptotavares <joao.tavares@consensys.net> Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com> Co-authored-by: Brad Decker <bhdecker84@gmail.com>
26 lines
1004 B
TypeScript
26 lines
1004 B
TypeScript
export const PRIMARY = 'PRIMARY';
|
|
export const SECONDARY = 'SECONDARY';
|
|
|
|
const _contractAddressLink =
|
|
'https://metamask.zendesk.com/hc/en-us/articles/360020028092-What-is-the-known-contract-address-warning-';
|
|
|
|
///: BEGIN:ONLY_INCLUDE_IN(build-mmi)
|
|
const _mmiWebSite = 'https://metamask.io/institutions/';
|
|
export const MMI_WEB_SITE = _mmiWebSite;
|
|
///: END:ONLY_INCLUDE_IN
|
|
|
|
// eslint-disable-next-line prefer-destructuring
|
|
export const SUPPORT_REQUEST_LINK = process.env.SUPPORT_REQUEST_LINK;
|
|
export const CONTRACT_ADDRESS_LINK = _contractAddressLink;
|
|
export const PASSWORD_MIN_LENGTH = 8;
|
|
export const OUTDATED_BROWSER_VERSIONS = {
|
|
// 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',
|
|
};
|