1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-29 07:16:36 +01:00
metamask-extension/lavamoat/browserify/flask/policy.json

5297 lines
160 KiB
JSON
Raw Normal View History

{
"resources": {
"@babel/runtime": {
2022-08-05 17:04:44 +02:00
"globals": {
"regeneratorRuntime": "write"
}
},
"@babel/runtime>regenerator-runtime": {
"globals": {
"regeneratorRuntime": "write"
}
},
"@download/blockies": {
"globals": {
"document.createElement": true
}
},
"@ensdomains/content-hash": {
"globals": {
"console.warn": true
},
"packages": {
"@ensdomains/content-hash>cids": true,
"@ensdomains/content-hash>js-base64": true,
"@ensdomains/content-hash>multicodec": true,
"@ensdomains/content-hash>multihashes": true,
"browserify>buffer": true
}
},
"@ensdomains/content-hash>cids": {
"packages": {
"@ensdomains/content-hash>cids>multibase": true,
"@ensdomains/content-hash>cids>multicodec": true,
"@ensdomains/content-hash>cids>multihashes": true,
"@ensdomains/content-hash>cids>uint8arrays": true
}
},
"@ensdomains/content-hash>cids>multibase": {
"globals": {
"TextDecoder": true,
"TextEncoder": true
},
"packages": {
"@ensdomains/content-hash>cids>multibase>@multiformats/base-x": true
}
},
"@ensdomains/content-hash>cids>multicodec": {
"packages": {
2023-01-11 17:30:04 +01:00
"@ensdomains/content-hash>cids>multicodec>varint": true,
"@ensdomains/content-hash>cids>uint8arrays": true
}
},
"@ensdomains/content-hash>cids>multihashes": {
"packages": {
"@ensdomains/content-hash>cids>multibase": true,
2023-01-11 17:30:04 +01:00
"@ensdomains/content-hash>cids>uint8arrays": true,
"@ensdomains/content-hash>multihashes>varint": true
}
},
"@ensdomains/content-hash>cids>uint8arrays": {
"globals": {
"TextDecoder": true,
"TextEncoder": true
},
"packages": {
"@ensdomains/content-hash>cids>multibase": true
}
},
"@ensdomains/content-hash>js-base64": {
"globals": {
"Base64": "write",
"TextDecoder": true,
"TextEncoder": true,
"atob": true,
"btoa": true,
"define": true
},
"packages": {
"browserify>buffer": true
}
},
"@ensdomains/content-hash>multicodec": {
"packages": {
"@ensdomains/content-hash>multicodec>uint8arrays": true,
"@ensdomains/content-hash>multicodec>varint": true
}
},
"@ensdomains/content-hash>multicodec>uint8arrays": {
"packages": {
"@ensdomains/content-hash>multicodec>uint8arrays>multibase": true,
"@ensdomains/content-hash>multihashes>web-encoding": true
}
},
"@ensdomains/content-hash>multicodec>uint8arrays>multibase": {
"packages": {
"@ensdomains/content-hash>cids>multibase>@multiformats/base-x": true,
"@ensdomains/content-hash>multihashes>web-encoding": true
}
},
"@ensdomains/content-hash>multihashes": {
"packages": {
"@ensdomains/content-hash>multihashes>multibase": true,
"@ensdomains/content-hash>multihashes>varint": true,
"@ensdomains/content-hash>multihashes>web-encoding": true,
"browserify>buffer": true
}
},
"@ensdomains/content-hash>multihashes>multibase": {
"packages": {
"@ensdomains/content-hash>multihashes>web-encoding": true,
"browserify>buffer": true,
"ethereumjs-wallet>bs58check>bs58>base-x": true
}
},
"@ensdomains/content-hash>multihashes>web-encoding": {
"globals": {
"TextDecoder": true,
"TextEncoder": true
},
"packages": {
"browserify>util": true
}
},
"@ethereumjs/common": {
"packages": {
"@ethereumjs/common>crc-32": true,
"@ethereumjs/tx>@ethereumjs/util": true,
"browserify>buffer": true,
"browserify>events": true
}
},
"@ethereumjs/common>crc-32": {
"globals": {
"DO_NOT_EXPORT_CRC": true,
"define": true
}
},
"@ethereumjs/tx": {
"packages": {
"@ethereumjs/common": true,
"@ethereumjs/tx>@chainsafe/ssz": true,
"@ethereumjs/tx>@ethereumjs/rlp": true,
"@ethereumjs/tx>@ethereumjs/util": true,
"@ethereumjs/tx>ethereum-cryptography": true,
"browserify>buffer": true,
"browserify>insert-module-globals>is-buffer": true
}
},
"@ethereumjs/tx>@chainsafe/ssz": {
"packages": {
"@ethereumjs/tx>@chainsafe/ssz>@chainsafe/persistent-merkle-tree": true,
"browserify>buffer": true
}
},
"@ethereumjs/tx>@chainsafe/ssz>@chainsafe/persistent-merkle-tree": {
"globals": {
"WeakRef": true
},
"packages": {
"@ethereumjs/tx>@chainsafe/ssz>@chainsafe/as-sha256": true,
"@metamask/key-tree>@noble/hashes": true
}
},
"@ethereumjs/tx>@ethereumjs/rlp": {
"globals": {
"TextEncoder": true
}
},
"@ethereumjs/tx>@ethereumjs/util": {
"globals": {
"console.warn": true
},
"packages": {
"@ethereumjs/tx>@chainsafe/ssz": true,
"@ethereumjs/tx>@ethereumjs/rlp": true,
"@ethereumjs/tx>@ethereumjs/util>ethereum-cryptography": true,
"@ethereumjs/tx>@ethereumjs/util>micro-ftch": true,
"browserify>buffer": true,
"browserify>events": true,
"browserify>insert-module-globals>is-buffer": true
}
},
"@ethereumjs/tx>@ethereumjs/util>ethereum-cryptography": {
"globals": {
"TextDecoder": true,
"crypto": true
},
"packages": {
"@ethereumjs/tx>@ethereumjs/util>ethereum-cryptography>@noble/hashes": true,
"@ethereumjs/tx>ethereum-cryptography>@noble/curves": true
}
},
"@ethereumjs/tx>@ethereumjs/util>ethereum-cryptography>@noble/hashes": {
"globals": {
"TextEncoder": true,
"crypto": true
}
},
"@ethereumjs/tx>@ethereumjs/util>micro-ftch": {
"globals": {
"Headers": true,
"TextDecoder": true,
"URL": true,
"btoa": true,
"fetch": true
},
"packages": {
"browserify>browserify-zlib": true,
"browserify>buffer": true,
"browserify>https-browserify": true,
"browserify>process": true,
"browserify>stream-http": true,
"browserify>url": true,
"browserify>util": true
}
},
"@ethereumjs/tx>ethereum-cryptography": {
"globals": {
"TextDecoder": true,
"crypto": true
},
"packages": {
"@ethereumjs/tx>ethereum-cryptography>@noble/hashes": true
}
},
"@ethereumjs/tx>ethereum-cryptography>@noble/curves": {
"globals": {
"TextEncoder": true
},
"packages": {
"@ethereumjs/tx>ethereum-cryptography>@noble/curves>@noble/hashes": true
}
},
"@ethereumjs/tx>ethereum-cryptography>@noble/curves>@noble/hashes": {
"globals": {
"TextEncoder": true,
"crypto": true
}
},
"@ethereumjs/tx>ethereum-cryptography>@noble/hashes": {
"globals": {
"TextEncoder": true,
"crypto": true
}
},
"@ethersproject/abi": {
"globals": {
"console.log": true
},
"packages": {
"@ethersproject/abi>@ethersproject/address": true,
"@ethersproject/abi>@ethersproject/bytes": true,
"@ethersproject/abi>@ethersproject/constants": true,
"@ethersproject/abi>@ethersproject/hash": true,
"@ethersproject/abi>@ethersproject/keccak256": true,
"@ethersproject/abi>@ethersproject/logger": true,
"@ethersproject/abi>@ethersproject/properties": true,
"@ethersproject/abi>@ethersproject/strings": true,
"@ethersproject/bignumber": true
}
},
"@ethersproject/abi>@ethersproject/address": {
"packages": {
"@ethersproject/abi>@ethersproject/bytes": true,
"@ethersproject/abi>@ethersproject/keccak256": true,
"@ethersproject/abi>@ethersproject/logger": true,
"@ethersproject/bignumber": true,
"@ethersproject/providers>@ethersproject/rlp": true
}
},
"@ethersproject/abi>@ethersproject/bytes": {
"packages": {
"@ethersproject/abi>@ethersproject/logger": true
}
},
"@ethersproject/abi>@ethersproject/constants": {
"packages": {
"@ethersproject/bignumber": true
}
},
"@ethersproject/abi>@ethersproject/hash": {
"packages": {
"@ethersproject/abi>@ethersproject/address": true,
"@ethersproject/abi>@ethersproject/bytes": true,
"@ethersproject/abi>@ethersproject/keccak256": true,
"@ethersproject/abi>@ethersproject/logger": true,
"@ethersproject/abi>@ethersproject/properties": true,
"@ethersproject/abi>@ethersproject/strings": true,
"@ethersproject/bignumber": true,
"@ethersproject/providers>@ethersproject/base64": true
}
},
"@ethersproject/abi>@ethersproject/keccak256": {
"packages": {
"@ethersproject/abi>@ethersproject/bytes": true,
"@ethersproject/abi>@ethersproject/keccak256>js-sha3": true
}
},
"@ethersproject/abi>@ethersproject/keccak256>js-sha3": {
"globals": {
"define": true
},
"packages": {
"browserify>process": true
}
},
"@ethersproject/abi>@ethersproject/logger": {
"globals": {
"console": true
}
},
"@ethersproject/abi>@ethersproject/properties": {
"packages": {
"@ethersproject/abi>@ethersproject/logger": true
}
},
"@ethersproject/abi>@ethersproject/strings": {
"packages": {
"@ethersproject/abi>@ethersproject/bytes": true,
"@ethersproject/abi>@ethersproject/constants": true,
"@ethersproject/abi>@ethersproject/logger": true
}
},
"@ethersproject/bignumber": {
"packages": {
"@ethersproject/abi>@ethersproject/bytes": true,
"@ethersproject/abi>@ethersproject/logger": true,
"@ethersproject/bignumber>bn.js": true
}
},
"@ethersproject/bignumber>bn.js": {
"globals": {
"Buffer": true
},
"packages": {
"browserify>browser-resolve": true
}
},
"@ethersproject/contracts": {
"globals": {
"setTimeout": true
},
"packages": {
"@ethersproject/abi": true,
"@ethersproject/abi>@ethersproject/address": true,
"@ethersproject/abi>@ethersproject/bytes": true,
"@ethersproject/abi>@ethersproject/logger": true,
"@ethersproject/abi>@ethersproject/properties": true,
"@ethersproject/bignumber": true,
"@ethersproject/hdnode>@ethersproject/abstract-signer": true,
"@ethersproject/hdnode>@ethersproject/transactions": true,
"@ethersproject/providers>@ethersproject/abstract-provider": true
}
},
"@ethersproject/hdnode": {
"packages": {
"@ethersproject/abi>@ethersproject/bytes": true,
"@ethersproject/abi>@ethersproject/logger": true,
"@ethersproject/abi>@ethersproject/properties": true,
"@ethersproject/abi>@ethersproject/strings": true,
"@ethersproject/bignumber": true,
"@ethersproject/hdnode>@ethersproject/basex": true,
"@ethersproject/hdnode>@ethersproject/pbkdf2": true,
"@ethersproject/hdnode>@ethersproject/sha2": true,
"@ethersproject/hdnode>@ethersproject/signing-key": true,
"@ethersproject/hdnode>@ethersproject/transactions": true,
"@ethersproject/hdnode>@ethersproject/wordlists": true
}
},
"@ethersproject/hdnode>@ethersproject/abstract-signer": {
"packages": {
"@ethersproject/abi>@ethersproject/logger": true,
"@ethersproject/abi>@ethersproject/properties": true
}
},
"@ethersproject/hdnode>@ethersproject/basex": {
"packages": {
"@ethersproject/abi>@ethersproject/bytes": true,
"@ethersproject/abi>@ethersproject/properties": true
}
},
"@ethersproject/hdnode>@ethersproject/pbkdf2": {
"packages": {
"@ethersproject/abi>@ethersproject/bytes": true,
"@ethersproject/hdnode>@ethersproject/sha2": true
}
},
"@ethersproject/hdnode>@ethersproject/sha2": {
"packages": {
"@ethersproject/abi>@ethersproject/bytes": true,
"@ethersproject/abi>@ethersproject/logger": true,
"ethereumjs-util>ethereum-cryptography>hash.js": true
}
},
"@ethersproject/hdnode>@ethersproject/signing-key": {
"packages": {
"@ethersproject/abi>@ethersproject/bytes": true,
"@ethersproject/abi>@ethersproject/logger": true,
"@ethersproject/abi>@ethersproject/properties": true,
"ganache>secp256k1>elliptic": true
}
},
"@ethersproject/hdnode>@ethersproject/transactions": {
"packages": {
"@ethersproject/abi>@ethersproject/address": true,
"@ethersproject/abi>@ethersproject/bytes": true,
"@ethersproject/abi>@ethersproject/constants": true,
"@ethersproject/abi>@ethersproject/keccak256": true,
"@ethersproject/abi>@ethersproject/logger": true,
"@ethersproject/abi>@ethersproject/properties": true,
"@ethersproject/bignumber": true,
"@ethersproject/hdnode>@ethersproject/signing-key": true,
"@ethersproject/providers>@ethersproject/rlp": true
}
},
"@ethersproject/hdnode>@ethersproject/wordlists": {
"packages": {
"@ethersproject/abi>@ethersproject/bytes": true,
"@ethersproject/abi>@ethersproject/hash": true,
"@ethersproject/abi>@ethersproject/logger": true,
"@ethersproject/abi>@ethersproject/properties": true,
"@ethersproject/abi>@ethersproject/strings": true
}
},
"@ethersproject/providers": {
"globals": {
"WebSocket": true,
"clearInterval": true,
"clearTimeout": true,
"console.log": true,
"console.warn": true,
"setInterval": true,
"setTimeout": true
},
"packages": {
"@ethersproject/abi>@ethersproject/address": true,
"@ethersproject/abi>@ethersproject/bytes": true,
"@ethersproject/abi>@ethersproject/constants": true,
"@ethersproject/abi>@ethersproject/hash": true,
"@ethersproject/abi>@ethersproject/logger": true,
"@ethersproject/abi>@ethersproject/properties": true,
"@ethersproject/abi>@ethersproject/strings": true,
"@ethersproject/bignumber": true,
"@ethersproject/hdnode>@ethersproject/abstract-signer": true,
"@ethersproject/hdnode>@ethersproject/basex": true,
"@ethersproject/hdnode>@ethersproject/sha2": true,
"@ethersproject/hdnode>@ethersproject/transactions": true,
"@ethersproject/providers>@ethersproject/abstract-provider": true,
"@ethersproject/providers>@ethersproject/base64": true,
"@ethersproject/providers>@ethersproject/networks": true,
"@ethersproject/providers>@ethersproject/random": true,
"@ethersproject/providers>@ethersproject/web": true,
"@ethersproject/providers>bech32": true
}
},
"@ethersproject/providers>@ethersproject/abstract-provider": {
"packages": {
"@ethersproject/abi>@ethersproject/bytes": true,
"@ethersproject/abi>@ethersproject/logger": true,
"@ethersproject/abi>@ethersproject/properties": true,
"@ethersproject/bignumber": true
}
},
"@ethersproject/providers>@ethersproject/base64": {
"globals": {
"atob": true,
"btoa": true
},
"packages": {
"@ethersproject/abi>@ethersproject/bytes": true
}
},
"@ethersproject/providers>@ethersproject/networks": {
"packages": {
"@ethersproject/abi>@ethersproject/logger": true
}
},
"@ethersproject/providers>@ethersproject/random": {
"packages": {
"@ethersproject/abi>@ethersproject/bytes": true,
"@ethersproject/abi>@ethersproject/logger": true
}
},
"@ethersproject/providers>@ethersproject/rlp": {
"packages": {
"@ethersproject/abi>@ethersproject/bytes": true,
"@ethersproject/abi>@ethersproject/logger": true
}
},
"@ethersproject/providers>@ethersproject/web": {
"globals": {
"clearTimeout": true,
"fetch": true,
"setTimeout": true
},
"packages": {
"@ethersproject/abi>@ethersproject/bytes": true,
"@ethersproject/abi>@ethersproject/logger": true,
"@ethersproject/abi>@ethersproject/properties": true,
"@ethersproject/abi>@ethersproject/strings": true,
"@ethersproject/providers>@ethersproject/base64": true
}
},
"@formatjs/intl-relativetimeformat": {
"globals": {
"Intl": true
},
"packages": {
"@formatjs/intl-relativetimeformat>@formatjs/intl-utils": true
}
},
"@formatjs/intl-relativetimeformat>@formatjs/intl-utils": {
"globals": {
"Intl.getCanonicalLocales": true
}
},
"@keystonehq/bc-ur-registry-eth": {
"packages": {
"@ethereumjs/tx>@ethereumjs/util": true,
"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry": true,
"@keystonehq/bc-ur-registry-eth>hdkey": true,
"browserify>buffer": true,
"uuid": true
}
},
"@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry": {
"globals": {
"define": true
},
"packages": {
"@ngraveio/bc-ur": true,
"browserify>buffer": true,
"ethereumjs-wallet>bs58check": true,
"wait-on>rxjs>tslib": true
}
},
"@keystonehq/bc-ur-registry-eth>hdkey": {
"packages": {
"browserify>assert": true,
"browserify>crypto-browserify": true,
"ethereumjs-util>ethereum-cryptography>secp256k1": true,
"ethereumjs-wallet>bs58check": true,
"ethereumjs-wallet>safe-buffer": true
}
},
"@keystonehq/metamask-airgapped-keyring": {
"packages": {
"@ethereumjs/tx": true,
"@keystonehq/bc-ur-registry-eth": true,
"@keystonehq/metamask-airgapped-keyring>@keystonehq/base-eth-keyring": true,
"@keystonehq/metamask-airgapped-keyring>@metamask/obs-store": true,
"browserify>buffer": true,
"browserify>events": true,
"ethereumjs-util>rlp": true,
"uuid": true
}
},
"@keystonehq/metamask-airgapped-keyring>@keystonehq/base-eth-keyring": {
"packages": {
"@ethereumjs/tx": true,
"@ethereumjs/tx>@ethereumjs/util": true,
"@keystonehq/bc-ur-registry-eth": true,
"@keystonehq/bc-ur-registry-eth>hdkey": true,
"@keystonehq/metamask-airgapped-keyring>@keystonehq/base-eth-keyring>rlp": true,
"browserify>buffer": true,
"uuid": true
}
},
"@keystonehq/metamask-airgapped-keyring>@keystonehq/base-eth-keyring>rlp": {
"globals": {
"TextEncoder": true
}
},
"@keystonehq/metamask-airgapped-keyring>@metamask/obs-store": {
"packages": {
"@keystonehq/metamask-airgapped-keyring>@metamask/obs-store>through2": true,
"@metamask/safe-event-emitter": true,
"browserify>stream-browserify": true
}
},
"@keystonehq/metamask-airgapped-keyring>@metamask/obs-store>through2": {
"packages": {
"browserify>process": true,
"browserify>util": true,
"readable-stream": true,
"watchify>xtend": true
}
},
"@material-ui/core": {
"globals": {
"Image": true,
"_formatMuiErrorMessage": true,
"addEventListener": true,
"clearInterval": true,
"clearTimeout": true,
"console.error": true,
"console.warn": true,
"document": true,
"getComputedStyle": true,
"getSelection": true,
"innerHeight": true,
"innerWidth": true,
"matchMedia": true,
"navigator": true,
"performance.now": true,
"removeEventListener": true,
"requestAnimationFrame": true,
"setInterval": true,
"setTimeout": true
},
"packages": {
"@babel/runtime": true,
"@material-ui/core>@material-ui/styles": true,
"@material-ui/core>@material-ui/system": true,
"@material-ui/core>@material-ui/utils": true,
"@material-ui/core>clsx": true,
"@material-ui/core>popper.js": true,
"@material-ui/core>react-transition-group": true,
"prop-types": true,
"prop-types>react-is": true,
"react": true,
"react-dom": true,
"react-redux>hoist-non-react-statics": true
}
},
"@material-ui/core>@material-ui/styles": {
"globals": {
"console.error": true,
"console.warn": true,
"document.createComment": true,
"document.head": true
},
"packages": {
"@babel/runtime": true,
"@material-ui/core>@material-ui/styles>jss": true,
"@material-ui/core>@material-ui/styles>jss-plugin-camel-case": true,
"@material-ui/core>@material-ui/styles>jss-plugin-default-unit": true,
"@material-ui/core>@material-ui/styles>jss-plugin-global": true,
"@material-ui/core>@material-ui/styles>jss-plugin-nested": true,
"@material-ui/core>@material-ui/styles>jss-plugin-props-sort": true,
"@material-ui/core>@material-ui/styles>jss-plugin-rule-value-function": true,
"@material-ui/core>@material-ui/styles>jss-plugin-vendor-prefixer": true,
"@material-ui/core>@material-ui/utils": true,
"@material-ui/core>clsx": true,
"prop-types": true,
"react": true,
"react-redux>hoist-non-react-statics": true
}
},
"@material-ui/core>@material-ui/styles>jss": {
"globals": {
"CSS": true,
"document.createElement": true,
"document.querySelector": true
},
"packages": {
"@babel/runtime": true,
"@material-ui/core>@material-ui/styles>jss>is-in-browser": true,
"react-router-dom>tiny-warning": true
}
},
"@material-ui/core>@material-ui/styles>jss-plugin-camel-case": {
"packages": {
"@material-ui/core>@material-ui/styles>jss-plugin-camel-case>hyphenate-style-name": true
}
},
"@material-ui/core>@material-ui/styles>jss-plugin-default-unit": {
"globals": {
"CSS": true
},
"packages": {
"@material-ui/core>@material-ui/styles>jss": true
}
},
"@material-ui/core>@material-ui/styles>jss-plugin-global": {
"packages": {
"@babel/runtime": true,
"@material-ui/core>@material-ui/styles>jss": true
}
},
"@material-ui/core>@material-ui/styles>jss-plugin-nested": {
"packages": {
"@babel/runtime": true,
"react-router-dom>tiny-warning": true
}
},
"@material-ui/core>@material-ui/styles>jss-plugin-rule-value-function": {
"packages": {
"@material-ui/core>@material-ui/styles>jss": true,
"react-router-dom>tiny-warning": true
}
},
"@material-ui/core>@material-ui/styles>jss-plugin-vendor-prefixer": {
"packages": {
"@material-ui/core>@material-ui/styles>jss": true,
"@material-ui/core>@material-ui/styles>jss-plugin-vendor-prefixer>css-vendor": true
}
},
"@material-ui/core>@material-ui/styles>jss-plugin-vendor-prefixer>css-vendor": {
"globals": {
"document.createElement": true,
"document.documentElement": true,
"getComputedStyle": true
},
"packages": {
"@babel/runtime": true,
"@material-ui/core>@material-ui/styles>jss>is-in-browser": true
}
},
"@material-ui/core>@material-ui/styles>jss>is-in-browser": {
"globals": {
"document": true
}
},
"@material-ui/core>@material-ui/system": {
"globals": {
"console.error": true
},
"packages": {
"@babel/runtime": true,
"@material-ui/core>@material-ui/utils": true,
"prop-types": true
}
},
"@material-ui/core>@material-ui/utils": {
"packages": {
"@babel/runtime": true,
"prop-types": true,
"prop-types>react-is": true
}
},
"@material-ui/core>popper.js": {
"globals": {
"MSInputMethodContext": true,
"Node.DOCUMENT_POSITION_FOLLOWING": true,
"cancelAnimationFrame": true,
"console.warn": true,
"define": true,
"devicePixelRatio": true,
"document": true,
"getComputedStyle": true,
"innerHeight": true,
"innerWidth": true,
"navigator": true,
"requestAnimationFrame": true,
"setTimeout": true
}
},
"@material-ui/core>react-transition-group": {
"globals": {
"Element": true,
"setTimeout": true
},
"packages": {
"@material-ui/core>react-transition-group>dom-helpers": true,
"prop-types": true,
"react": true,
"react-dom": true
}
},
"@material-ui/core>react-transition-group>dom-helpers": {
"packages": {
"@babel/runtime": true
}
},
"@metamask/address-book-controller": {
"packages": {
"@metamask/base-controller": true,
"@metamask/controller-utils": true
}
},
"@metamask/announcement-controller": {
"packages": {
"@metamask/base-controller": true
}
},
"@metamask/approval-controller": {
"globals": {
"console.info": true
},
"packages": {
"@metamask/approval-controller>nanoid": true,
"@metamask/base-controller": true,
"eth-rpc-errors": true
}
},
"@metamask/approval-controller>nanoid": {
"globals": {
"crypto.getRandomValues": true
}
},
"@metamask/assets-controllers": {
"globals": {
"Headers": true,
"URL": true,
"clearInterval": true,
"clearTimeout": true,
"console.info": true,
"console.log": true,
"setInterval": true,
"setTimeout": true
},
"packages": {
"@ethersproject/abi>@ethersproject/address": true,
"@ethersproject/contracts": true,
"@ethersproject/providers": true,
"@metamask/assets-controllers>@metamask/abi-utils": true,
"@metamask/assets-controllers>@metamask/rpc-errors": true,
"@metamask/assets-controllers>abort-controller": true,
"@metamask/assets-controllers>multiformats": true,
"@metamask/base-controller": true,
"@metamask/contract-metadata": true,
"@metamask/controller-utils": true,
"@metamask/metamask-eth-abis": true,
"@metamask/utils": true,
"browserify>events": true,
"eth-json-rpc-filters>async-mutex": true,
"eth-query": true,
"ethereumjs-util": true,
"single-call-balance-checker-abi": true,
"uuid": true
}
},
"@metamask/assets-controllers>@metamask/abi-utils": {
"packages": {
"@metamask/assets-controllers>@metamask/abi-utils>@metamask/utils": true,
"superstruct": true
}
},
"@metamask/assets-controllers>@metamask/abi-utils>@metamask/utils": {
"globals": {
"TextDecoder": true,
"TextEncoder": true
},
"packages": {
"browserify>buffer": true,
"nock>debug": true,
"semver": true,
"superstruct": true
}
},
"@metamask/assets-controllers>@metamask/rpc-errors": {
"packages": {
"@metamask/utils": true,
"eth-rpc-errors>fast-safe-stringify": true
}
},
"@metamask/assets-controllers>abort-controller": {
"globals": {
"AbortController": true
}
},
"@metamask/assets-controllers>multiformats": {
"globals": {
"TextDecoder": true,
"TextEncoder": true,
"console.warn": true
}
},
"@metamask/base-controller": {
"globals": {
"setTimeout": true
},
"packages": {
"immer": true
}
},
"@metamask/browser-passworder": {
"globals": {
"btoa": true,
"crypto.getRandomValues": true,
"crypto.subtle.decrypt": true,
"crypto.subtle.deriveKey": true,
"crypto.subtle.encrypt": true,
"crypto.subtle.exportKey": true,
"crypto.subtle.importKey": true
},
"packages": {
"browserify>buffer": true
}
},
"@metamask/controller-utils": {
"globals": {
"URL": true,
"console.error": true,
"fetch": true,
"setTimeout": true
},
"packages": {
"@metamask/controller-utils>@spruceid/siwe-parser": true,
"@metamask/utils": true,
"browserify>buffer": true,
"eslint>fast-deep-equal": true,
"eth-ens-namehash": true,
"ethereumjs-util": true,
"ethjs>ethjs-unit": true
}
},
"@metamask/controller-utils>@spruceid/siwe-parser": {
"globals": {
"console.error": true,
"console.log": true
},
"packages": {
"@metamask/controller-utils>@spruceid/siwe-parser>apg-js": true
}
},
"@metamask/controller-utils>@spruceid/siwe-parser>apg-js": {
"globals": {
"mode": true
},
"packages": {
"browserify>buffer": true,
"browserify>insert-module-globals>is-buffer": true
}
},
"@metamask/controllers>web3": {
"globals": {
"XMLHttpRequest": true
}
},
"@metamask/controllers>web3-provider-engine>cross-fetch>node-fetch": {
"globals": {
"fetch": true
}
},
"@metamask/controllers>web3-provider-engine>eth-json-rpc-middleware>node-fetch": {
"globals": {
"fetch": true
}
},
"@metamask/desktop": {
"globals": {
"TextDecoder": true,
"TextEncoder": true,
"WebSocket": true,
"clearInterval": true,
"clearTimeout": true,
"crypto.getRandomValues": true,
"crypto.subtle.decrypt": true,
"crypto.subtle.digest": true,
"crypto.subtle.encrypt": true,
"crypto.subtle.exportKey": true,
"crypto.subtle.generateKey": true,
"crypto.subtle.importKey": true,
"isDesktopApp": true,
"setInterval": true,
"setTimeout": true
},
"packages": {
"@metamask/desktop>@metamask/obs-store": true,
"@metamask/desktop>eciesjs": true,
"@metamask/desktop>otpauth": true,
"browserify>buffer": true,
"browserify>events": true,
"browserify>stream-browserify": true,
"end-of-stream": true,
"extension-port-stream": true,
"loglevel": true,
"obj-multiplex": true,
"uuid": true,
"webextension-polyfill": true
}
},
"@metamask/desktop>@metamask/obs-store": {
"globals": {
"localStorage": true
},
"packages": {
"@metamask/desktop>@metamask/obs-store>through2": true,
"@metamask/safe-event-emitter": true,
"browserify>stream-browserify": true
}
},
"@metamask/desktop>@metamask/obs-store>through2": {
"packages": {
"browserify>process": true,
"browserify>util": true,
"readable-stream": true,
"watchify>xtend": true
}
},
"@metamask/desktop>eciesjs": {
"packages": {
"@metamask/desktop>eciesjs>futoin-hkdf": true,
"browserify>buffer": true,
"browserify>crypto-browserify": true,
"ethereumjs-util>ethereum-cryptography>secp256k1": true
}
},
"@metamask/desktop>eciesjs>futoin-hkdf": {
"packages": {
"browserify>buffer": true,
"browserify>crypto-browserify": true
}
},
"@metamask/desktop>otpauth": {
"globals": {
"__GLOBALTHIS__": true,
"define": true
}
},
"@metamask/eth-json-rpc-middleware": {
"globals": {
"URL": true,
"console.error": true,
"setTimeout": true
},
"packages": {
"@metamask/eth-json-rpc-middleware>@metamask/utils": true,
"@metamask/eth-json-rpc-middleware>clone": true,
"@metamask/eth-json-rpc-middleware>pify": true,
"@metamask/eth-json-rpc-middleware>safe-stable-stringify": true,
[FLASK] Add Snaps Keyring (#19710) * flask - add restricted snap_manageAccounts * snap keyring: use local snap keyring instead of package * mvp snap-keyring * fixed the easier lint errors * fix missing permission text * add removal function * update snap keyring * update dep * update git link * update messages and remove snap keyring from lib * set snapprovider as soon as possible * chore: update snap keyring dependency * chore: pass SnapController to SnapKeyring constructor * chore: update deps and comment line (wip) * fix latest update for snaps and remove setController * update yarn lock * add routes * add messages * add message * add snap account detail page * add snap account card * add snap account page * update route * add background * use css grid * update snap text styling * fix lint * remove unused import * change manage link to go to snap * add types for react-router-dom * add link to settings * add breadcrumb to header * add popover * add prop types * add link to propTypes * fix icon in header and tag * update popover * update yarn.lock * add link to account list menu * update from deprecated * add add-snap-popup * use popoverheader * fix lint * update to use modal instead of popup * add install snap * remove export of DeferredPromise * change snap keyring to its own enum * update imports and fences * fix snapId and route * fix header and button for snapCard * hide app header on AddSnapAccountPage * update icon * match path to SnapAccountDetail * set getting started button to close modal * fix key prop warning * add By Metamask message * fix label * add fence to snapkeyringtype * update yarn.lock * refactor removeAccount and static snap list * update removeSnap * feat: remove associated accounts when snap is removed * add get snaps installed to snaps page * fix updateAvailable * add tests to ui components * update test * update scss * udpate config snap popup style * fixed https://www.notion.so/Show-pop-up-only-once-c6aa8494486a4ece8a5c5e35fea56ab5 * update accountListMenu click to open tab or push depending on environment * update yark.lock * remove unused uuid * update lock * update eth-snap-keyring * udpate install from snap page * update to install to use popup * use release versino of eth-snap-keyring * chore: bump snaps-utils version to `0.34.1-flask.1` * update configure snap * chore: update eth-snap-keyring * chore: update policies * fix: remove unused * fix: fix snap-account-detail-page test * fix: fix styles * chore: remove swappable-obj-proxy * fix: fix duplicate entry * fix: disable export private key for snaps account * feat: shuffle snap lists on every reload * fix: configure not popping up * refactor: snapsAddSnapAccountModalDismissal into action and selector * fix: E2BIG when running prettier * fix: lint default export or add-snap-account-modal * fix: lint, remove vendor prefix * fix: fix snapCreatedByMetamask to snapCreatedByMetaMask * Add `manageAccounts` RPC method (#19724) * Update dependencies * Remove snap-keyring-permissions * Update dependencies * Update dependencies * Update imports * removed portfolio link from wallet view (#19716) * removed portfolio link from wallet view * removed unused code * updated test * updated spec file * updated test * Validate LavaMoat policies on each PR (#19703) * Validate LavaMoat policies on each PR The LavaMoat policies are now validated on every PR. This makes it easier to validate policy changes, as they should always correspond with the changes made in the PR (unlike today, when they could be due to a change in platform or a previous PR). Closes #19680 * Update LavaMoat policies --------- Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com> * fix(action): add required permissions to remove labels (#19728) * Fix dependencies * signature approved metrics e2e test (#19628) * Update dependencies * Integrate Snow with LavaMoat scuttling protection (#17969) * Update lavamoat policies * Security Provider cleanup (#19694) * security-prov: isFlaggedSecurityProviderResponse * security-prov: create shared/modules/util * security prov: rn isFlagged -> isSuspcious - util fn returns true if response is not verified and flagged * security prov: add util test and support undefined param * security prov: reorg util fn - no logic changes * Update LavaMoat policies (#19744) Update LavaMoat policies to match what CI expects. * Replacing deprecated constants & creating stories (#19686) * Replacing deprecated constants & creating stories * updating snapshot * fix: fix imports * chore: update policy.json * fix: move SmartTransactionController out of snaps code fence * fix: yarn.lock dedupe * fix: lavamoat policy * fix: update test * fix: remove snapshot, the list of snaps are always randomized. * fix: resole snaps-controller to use flask --------- Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net> Co-authored-by: Mark Stacey <markjstacey@gmail.com> Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com> Co-authored-by: Gauthier Petetin <gauthierpetetin@hotmail.com> Co-authored-by: Brad Decker <bhdecker84@gmail.com> Co-authored-by: weizman <weizmangal@gmail.com> Co-authored-by: Ariella Vu <20778143+digiwand@users.noreply.github.com> Co-authored-by: Dhruv <79097544+dhruvv173@users.noreply.github.com> Co-authored-by: Monte Lai <monte.lai@consensys.net> * Update LavaMoat policies * chore: fix webapp policy.json * feat: add snap label test * feat: test to disable export private key for snap accounts * feat: add snap account link test in account-list-menu * fix: add fence for setSnapsAddSnapAccountModalDismissed * fix: remove comments * fix: move routes into snaps fence * feat: use snap registry * fix: account snap identification * chore: add `keyring-snaps` feature flag * fix: remove unneeded spread * Disable warn logs in content-script (#19754) * Use Yarn caching in GitHub Actions (#19662) GitHub actions that install dependencies will now also cache those dependencies using the standard strategy for Yarn (which is to hash the lockfile). This matches the module template (see https://github.com/MetaMask/metamask-module-template/pull/145 for details). This should have no functional impact except that this action will run faster when dependencies are unchanged. * Fixing misspelling in 10.28.0 changelog notes (#19756) * Add `tokenId` type validation in `wallet_watchAsset` middleware (#19738) * Remove unused GitHub Action workflow (#19660) This GitHub action workflow was disabled, but was still running setup steps. It has now been removed entirely. We can re-introduce it again later once the problem that led to it being disabled has been fixed. The associated npm script and JavaScript module have been removed as well. * Fix #847 - Don't show account address on token pages (#19740) Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net> * Deprecating FormField and fixing console error (#19739) * Deprecating FormField and fixing console error * Updating snapshots * updated linea image for token and badge (#19717) * updated linea image for token and badge * replaced hardcoded string with constant * UI updates for contacts Page (#19646) * updated contacts flow update * json file updates * updated contacts edit and view list * keep contacts tab selected * lint fix * replaced hardcoded strings with constant * updated padding in box * Replacing deprecated components and fixing prop errors (#19745) * Use `snaps@0.35.2-flask.1` and `snaps@1.0.0-prerelease.1` (#19734) * snaps@0.35.0-flask.1 * Update LavaMoat policies * Update stable snaps packages to 1.0.0-prerelease.1 * Update LavaMoat policies * Fix lint * snaps@0.35.2 * Exclude snap_manageAccounts * Code fencing * Revert removing endowment:keyring exclusion * Bump iframe URLs * UX: Ensure multichain native token name is always shown (#19705) * UX: Ensure multichain native token name is always shown * Fix lint * UX Multichain: fixed padding for edit screen (#19707) * fixed padding for edit screen * Use network picker for header trigger * Fix swaps display * updated snapshot --------- Co-authored-by: David Walsh <davidwalsh83@gmail.com> * Bump @metamask/providers to v11.1.0 (#19762) * Bump @metamask/providers to v11.1.0 --------- Co-authored-by: Alex <adonesky@gmail.com> * Fix fallback gas estimation (#19746) * Fix fallback gas estimation Our fallback gas estimation was failing due to a bug in the `@metamask/controller-utils` package. This was causing gas estimation to fail completely on certain networks (those not supported by our gas estimation APIs and non EIP-1559 compatibile), and it was causing the fallback gas estimation operation (in case our API was down) to fail across all networks. Fixes https://github.com/MetaMask/metamask-extension/issues/19735 * Add e2e tests E2E tests have been added to capture gas estimation. Cases are added for our API, for the fallback estimate, and for non-EIP-1559 estimates. As part of this work, the legacy gas API had to be disabled. This was being used in e2e tests but was dead code in production. It needed to be disabled to ensure the code under test was reachable. * Fix gas API referenced in e2e test * Update unit test snapshots * Update Label component font weight from bold to medium (#19731) * Update Label component font weight from bold to medium * update snapshot * fix snapshots * fix snapshots 2 * Removeing deprecated constants for enums --------- Co-authored-by: georgewrmarshall <george.marshall@consensys.net> * Part of #17670: Replace Typography with Text component in CancelSpeedupPopover (#18638) * create story * replace Typography with Text component * review changes * replace CSS with props styling * use `Button` from `component-library` * tooltip HTML refactor with `component-library` components * remove whitespace in story * strong tag support within Text component * addresses #18651 * taken from #18752 as suggested in https://github.com/MetaMask/metamask-extension/pull/18638#discussion_r1176334805 * replace `strong` with new `Text as="strong"` * remove unneccessary css from fa564e3f036f1439f9f220cca23595b508760614 * add text variant definition * Updating text variant of button * restrore proper spacing between elements * Quick fix for test * Adding key --------- Co-authored-by: georgewrmarshall <george.marshall@consensys.net> Co-authored-by: Garrett Bear <gwhisten@gmail.com> * Issue 17670 replace typography with text (#19433) * Replace Typograph with Text component in numeric-input-component.js * Replace Typography with Text component in signature-request-message.js * Replace Typography with Text component in signature-request.component.js * Replacing deprecating constants and fixing some signature story warnings * Updating snapshot * Fixing import --------- Co-authored-by: georgewrmarshall <george.marshall@consensys.net> Co-authored-by: Garrett Bear <gwhisten@gmail.com> * Part of #18714: Replacing deprecated constants in `confirm-subtitle` folder (#19699) * repalcing deprecated constants * resolve issue * lint fixes --------- Co-authored-by: georgewrmarshall <george.marshall@consensys.net> * Part of #17670: Replace Typography with Text component in: callout.js (#18912) * Part of #17670: Replace Typography with Text component in: callout.js * Update ui/components/ui/callout/callout.js Co-authored-by: Danica Shen <zhaodanica@gmail.com> * Update callout.js * Updating snapshot and deprecating component * Updating snapshot and deprecating component --------- Co-authored-by: Danica Shen <zhaodanica@gmail.com> Co-authored-by: George Marshall <george.marshall@consensys.net> Co-authored-by: Garrett Bear <gwhisten@gmail.com> * [MMI] Added code fences in whats new popup (#19581) * added code fences in whats new popup * Improved code * Added missing prop * Update LavaMoat policies * updated functions by using an options object for the rendering functions in order to bypass possible typsecript issues --------- Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com> * Updated action list in token, NFTs and activity view (#19702) * updated ui for nft import button * updated no nft image found in the center * updated footer for all screens in tabs * removed no nft state from nft tab * updated snapshot * lint fix * fixed e2e tests * fixed prep build error * removed no nfts yet test * updated tabs * fixed prod error * updated no nft screen * changed button size to md * fix: change 'M' to '?' * fix: update fence to keyring-snaps * chore: rename folder * fix: typo * chore: remove logs * feat: add metamask developer constant * fix: sass keyring-snap path * chore: update yarn.lock * fix: remove alias * feat: add KEYRING_SNAPS_REGISTRY_URL env * fix: nested fence * feat: add snap manageAccount e2e (#19777) * feat: add snap manageAccount e2e * feat: update link * fix: lint * fix: get values of restrictedMethodPermissionBuilders * fix: add fence to perferences * fix: stop shuffle * fix: remove KEYRING_SNAPS_REGISTRY_URL from metamaskRc * fix: use permissions to determine account snaps * fix: remove shuffle * fix: add comments to fences in excluded snap permission. * chore: fix policy.json * fix: fix snap-account-detail test * fix: lint * fix: snap accoutn detail page test * Update LavaMoat policies * Update ui/pages/keyring-snaps/snap-account-detail-page/snap-account-detail-page.test.tsx Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * Update ui/pages/keyring-snaps/snap-account-detail-page/snap-account-detail-page.test.tsx Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * fix: remove fence from isAbleToExportAccount * chore: remove comment line * fix: dismiss snap modal * fix: try catch for scroll * fix: icon for manageAccount * fix: update `handleSnapRequest` to make `params` optional and add `id` * fix: lint for uuid * fix: remove arg in saveSnapKeyring * fix: add fence for uuidV4 * chore: bump dep * fix: permission_manageAccounts message and icon * chore: update registry link * chore: convert address to lowercase * fix: change icon * chore: bump eth-snap-keyring * chore: update webapp policy.json * Update ui/pages/keyring-snaps/new-snap-account-page/new-snap-account-page.test.tsx Co-authored-by: Gustavo Antunes <17601467+gantunesr@users.noreply.github.com> * fix: update fences * fix: nested fence * Update app/_locales/en/messages.json Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * Update app/_locales/en/messages.json Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * Update app/_locales/en/messages.json Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * Update app/_locales/en/messages.json Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * Update ui/components/multichain/account-details/account-details-display.js Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * Update ui/pages/keyring-snaps/snap-account-detail-page/header.tsx Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * Update ui/pages/keyring-snaps/snap-account-detail-page/snap-account-detail-page.tsx Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * fix: rename and added jsdoc * fix: add fence to snap label * fix: remove comment * fix: change pixel to int and remove unused class * fix: lint * fix: create two tests for main and flask restricted methods * fix: remove fence in test * fix: lint header * feat: allow `metamask.github.io` in manifest * fix: remove comment * fix: rename isAbleToExportAccount * chore: use a more restrictive registry URL * fix: change to && not || * fix: remove unused * fix: move keyring snaps URL to Flask's base manifest * fix: use fetch instead of fetchWithCache * fix: lint --------- Co-authored-by: kumavis <aaron@kumavis.me> Co-authored-by: Howard Braham <howrad@gmail.com> Co-authored-by: Daniel Rocha <68558152+danroc@users.noreply.github.com> Co-authored-by: Gustavo Antunes <17601467+gantunesr@users.noreply.github.com> Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net> Co-authored-by: Mark Stacey <markjstacey@gmail.com> Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com> Co-authored-by: Gauthier Petetin <gauthierpetetin@hotmail.com> Co-authored-by: Brad Decker <bhdecker84@gmail.com> Co-authored-by: weizman <weizmangal@gmail.com> Co-authored-by: Ariella Vu <20778143+digiwand@users.noreply.github.com> Co-authored-by: Dhruv <79097544+dhruvv173@users.noreply.github.com> Co-authored-by: ryanml <ryanlanese@gmail.com> Co-authored-by: Alex Donesky <adonesky@gmail.com> Co-authored-by: David Walsh <davidwalsh83@gmail.com> Co-authored-by: George Marshall <george.marshall@consensys.net> Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com> Co-authored-by: jiexi <jiexiluan@gmail.com> Co-authored-by: jainex <jainexp017@gmail.com> Co-authored-by: Matthias Kretschmann <m@kretschmann.io> Co-authored-by: Garrett Bear <gwhisten@gmail.com> Co-authored-by: Ujwal Kumar <ujwalkumar95@gmail.com> Co-authored-by: rohit kerkar <129620973+rohiiittttt@users.noreply.github.com> Co-authored-by: Harsh Shukla <125105825+PrgrmrHarshShukla@users.noreply.github.com> Co-authored-by: Danica Shen <zhaodanica@gmail.com> Co-authored-by: Albert Olivé <albertolivecorbella@gmail.com> Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com>
2023-06-29 15:24:08 +02:00
"@metamask/eth-snap-keyring>@metamask/eth-sig-util": true,
"eth-rpc-errors": true,
"json-rpc-engine": true
}
},
"@metamask/eth-json-rpc-middleware>@metamask/utils": {
"globals": {
"TextDecoder": true,
"TextEncoder": true
},
"packages": {
"browserify>buffer": true,
"nock>debug": true,
"semver": true,
"superstruct": true
}
},
"@metamask/eth-json-rpc-middleware>clone": {
"packages": {
"browserify>buffer": true
}
},
"@metamask/eth-keyring-controller": {
"packages": {
"@metamask/browser-passworder": true,
"@metamask/eth-keyring-controller>@metamask/eth-hd-keyring": true,
[FLASK] Add Snaps Keyring (#19710) * flask - add restricted snap_manageAccounts * snap keyring: use local snap keyring instead of package * mvp snap-keyring * fixed the easier lint errors * fix missing permission text * add removal function * update snap keyring * update dep * update git link * update messages and remove snap keyring from lib * set snapprovider as soon as possible * chore: update snap keyring dependency * chore: pass SnapController to SnapKeyring constructor * chore: update deps and comment line (wip) * fix latest update for snaps and remove setController * update yarn lock * add routes * add messages * add message * add snap account detail page * add snap account card * add snap account page * update route * add background * use css grid * update snap text styling * fix lint * remove unused import * change manage link to go to snap * add types for react-router-dom * add link to settings * add breadcrumb to header * add popover * add prop types * add link to propTypes * fix icon in header and tag * update popover * update yarn.lock * add link to account list menu * update from deprecated * add add-snap-popup * use popoverheader * fix lint * update to use modal instead of popup * add install snap * remove export of DeferredPromise * change snap keyring to its own enum * update imports and fences * fix snapId and route * fix header and button for snapCard * hide app header on AddSnapAccountPage * update icon * match path to SnapAccountDetail * set getting started button to close modal * fix key prop warning * add By Metamask message * fix label * add fence to snapkeyringtype * update yarn.lock * refactor removeAccount and static snap list * update removeSnap * feat: remove associated accounts when snap is removed * add get snaps installed to snaps page * fix updateAvailable * add tests to ui components * update test * update scss * udpate config snap popup style * fixed https://www.notion.so/Show-pop-up-only-once-c6aa8494486a4ece8a5c5e35fea56ab5 * update accountListMenu click to open tab or push depending on environment * update yark.lock * remove unused uuid * update lock * update eth-snap-keyring * udpate install from snap page * update to install to use popup * use release versino of eth-snap-keyring * chore: bump snaps-utils version to `0.34.1-flask.1` * update configure snap * chore: update eth-snap-keyring * chore: update policies * fix: remove unused * fix: fix snap-account-detail-page test * fix: fix styles * chore: remove swappable-obj-proxy * fix: fix duplicate entry * fix: disable export private key for snaps account * feat: shuffle snap lists on every reload * fix: configure not popping up * refactor: snapsAddSnapAccountModalDismissal into action and selector * fix: E2BIG when running prettier * fix: lint default export or add-snap-account-modal * fix: lint, remove vendor prefix * fix: fix snapCreatedByMetamask to snapCreatedByMetaMask * Add `manageAccounts` RPC method (#19724) * Update dependencies * Remove snap-keyring-permissions * Update dependencies * Update dependencies * Update imports * removed portfolio link from wallet view (#19716) * removed portfolio link from wallet view * removed unused code * updated test * updated spec file * updated test * Validate LavaMoat policies on each PR (#19703) * Validate LavaMoat policies on each PR The LavaMoat policies are now validated on every PR. This makes it easier to validate policy changes, as they should always correspond with the changes made in the PR (unlike today, when they could be due to a change in platform or a previous PR). Closes #19680 * Update LavaMoat policies --------- Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com> * fix(action): add required permissions to remove labels (#19728) * Fix dependencies * signature approved metrics e2e test (#19628) * Update dependencies * Integrate Snow with LavaMoat scuttling protection (#17969) * Update lavamoat policies * Security Provider cleanup (#19694) * security-prov: isFlaggedSecurityProviderResponse * security-prov: create shared/modules/util * security prov: rn isFlagged -> isSuspcious - util fn returns true if response is not verified and flagged * security prov: add util test and support undefined param * security prov: reorg util fn - no logic changes * Update LavaMoat policies (#19744) Update LavaMoat policies to match what CI expects. * Replacing deprecated constants & creating stories (#19686) * Replacing deprecated constants & creating stories * updating snapshot * fix: fix imports * chore: update policy.json * fix: move SmartTransactionController out of snaps code fence * fix: yarn.lock dedupe * fix: lavamoat policy * fix: update test * fix: remove snapshot, the list of snaps are always randomized. * fix: resole snaps-controller to use flask --------- Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net> Co-authored-by: Mark Stacey <markjstacey@gmail.com> Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com> Co-authored-by: Gauthier Petetin <gauthierpetetin@hotmail.com> Co-authored-by: Brad Decker <bhdecker84@gmail.com> Co-authored-by: weizman <weizmangal@gmail.com> Co-authored-by: Ariella Vu <20778143+digiwand@users.noreply.github.com> Co-authored-by: Dhruv <79097544+dhruvv173@users.noreply.github.com> Co-authored-by: Monte Lai <monte.lai@consensys.net> * Update LavaMoat policies * chore: fix webapp policy.json * feat: add snap label test * feat: test to disable export private key for snap accounts * feat: add snap account link test in account-list-menu * fix: add fence for setSnapsAddSnapAccountModalDismissed * fix: remove comments * fix: move routes into snaps fence * feat: use snap registry * fix: account snap identification * chore: add `keyring-snaps` feature flag * fix: remove unneeded spread * Disable warn logs in content-script (#19754) * Use Yarn caching in GitHub Actions (#19662) GitHub actions that install dependencies will now also cache those dependencies using the standard strategy for Yarn (which is to hash the lockfile). This matches the module template (see https://github.com/MetaMask/metamask-module-template/pull/145 for details). This should have no functional impact except that this action will run faster when dependencies are unchanged. * Fixing misspelling in 10.28.0 changelog notes (#19756) * Add `tokenId` type validation in `wallet_watchAsset` middleware (#19738) * Remove unused GitHub Action workflow (#19660) This GitHub action workflow was disabled, but was still running setup steps. It has now been removed entirely. We can re-introduce it again later once the problem that led to it being disabled has been fixed. The associated npm script and JavaScript module have been removed as well. * Fix #847 - Don't show account address on token pages (#19740) Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net> * Deprecating FormField and fixing console error (#19739) * Deprecating FormField and fixing console error * Updating snapshots * updated linea image for token and badge (#19717) * updated linea image for token and badge * replaced hardcoded string with constant * UI updates for contacts Page (#19646) * updated contacts flow update * json file updates * updated contacts edit and view list * keep contacts tab selected * lint fix * replaced hardcoded strings with constant * updated padding in box * Replacing deprecated components and fixing prop errors (#19745) * Use `snaps@0.35.2-flask.1` and `snaps@1.0.0-prerelease.1` (#19734) * snaps@0.35.0-flask.1 * Update LavaMoat policies * Update stable snaps packages to 1.0.0-prerelease.1 * Update LavaMoat policies * Fix lint * snaps@0.35.2 * Exclude snap_manageAccounts * Code fencing * Revert removing endowment:keyring exclusion * Bump iframe URLs * UX: Ensure multichain native token name is always shown (#19705) * UX: Ensure multichain native token name is always shown * Fix lint * UX Multichain: fixed padding for edit screen (#19707) * fixed padding for edit screen * Use network picker for header trigger * Fix swaps display * updated snapshot --------- Co-authored-by: David Walsh <davidwalsh83@gmail.com> * Bump @metamask/providers to v11.1.0 (#19762) * Bump @metamask/providers to v11.1.0 --------- Co-authored-by: Alex <adonesky@gmail.com> * Fix fallback gas estimation (#19746) * Fix fallback gas estimation Our fallback gas estimation was failing due to a bug in the `@metamask/controller-utils` package. This was causing gas estimation to fail completely on certain networks (those not supported by our gas estimation APIs and non EIP-1559 compatibile), and it was causing the fallback gas estimation operation (in case our API was down) to fail across all networks. Fixes https://github.com/MetaMask/metamask-extension/issues/19735 * Add e2e tests E2E tests have been added to capture gas estimation. Cases are added for our API, for the fallback estimate, and for non-EIP-1559 estimates. As part of this work, the legacy gas API had to be disabled. This was being used in e2e tests but was dead code in production. It needed to be disabled to ensure the code under test was reachable. * Fix gas API referenced in e2e test * Update unit test snapshots * Update Label component font weight from bold to medium (#19731) * Update Label component font weight from bold to medium * update snapshot * fix snapshots * fix snapshots 2 * Removeing deprecated constants for enums --------- Co-authored-by: georgewrmarshall <george.marshall@consensys.net> * Part of #17670: Replace Typography with Text component in CancelSpeedupPopover (#18638) * create story * replace Typography with Text component * review changes * replace CSS with props styling * use `Button` from `component-library` * tooltip HTML refactor with `component-library` components * remove whitespace in story * strong tag support within Text component * addresses #18651 * taken from #18752 as suggested in https://github.com/MetaMask/metamask-extension/pull/18638#discussion_r1176334805 * replace `strong` with new `Text as="strong"` * remove unneccessary css from fa564e3f036f1439f9f220cca23595b508760614 * add text variant definition * Updating text variant of button * restrore proper spacing between elements * Quick fix for test * Adding key --------- Co-authored-by: georgewrmarshall <george.marshall@consensys.net> Co-authored-by: Garrett Bear <gwhisten@gmail.com> * Issue 17670 replace typography with text (#19433) * Replace Typograph with Text component in numeric-input-component.js * Replace Typography with Text component in signature-request-message.js * Replace Typography with Text component in signature-request.component.js * Replacing deprecating constants and fixing some signature story warnings * Updating snapshot * Fixing import --------- Co-authored-by: georgewrmarshall <george.marshall@consensys.net> Co-authored-by: Garrett Bear <gwhisten@gmail.com> * Part of #18714: Replacing deprecated constants in `confirm-subtitle` folder (#19699) * repalcing deprecated constants * resolve issue * lint fixes --------- Co-authored-by: georgewrmarshall <george.marshall@consensys.net> * Part of #17670: Replace Typography with Text component in: callout.js (#18912) * Part of #17670: Replace Typography with Text component in: callout.js * Update ui/components/ui/callout/callout.js Co-authored-by: Danica Shen <zhaodanica@gmail.com> * Update callout.js * Updating snapshot and deprecating component * Updating snapshot and deprecating component --------- Co-authored-by: Danica Shen <zhaodanica@gmail.com> Co-authored-by: George Marshall <george.marshall@consensys.net> Co-authored-by: Garrett Bear <gwhisten@gmail.com> * [MMI] Added code fences in whats new popup (#19581) * added code fences in whats new popup * Improved code * Added missing prop * Update LavaMoat policies * updated functions by using an options object for the rendering functions in order to bypass possible typsecript issues --------- Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com> * Updated action list in token, NFTs and activity view (#19702) * updated ui for nft import button * updated no nft image found in the center * updated footer for all screens in tabs * removed no nft state from nft tab * updated snapshot * lint fix * fixed e2e tests * fixed prep build error * removed no nfts yet test * updated tabs * fixed prod error * updated no nft screen * changed button size to md * fix: change 'M' to '?' * fix: update fence to keyring-snaps * chore: rename folder * fix: typo * chore: remove logs * feat: add metamask developer constant * fix: sass keyring-snap path * chore: update yarn.lock * fix: remove alias * feat: add KEYRING_SNAPS_REGISTRY_URL env * fix: nested fence * feat: add snap manageAccount e2e (#19777) * feat: add snap manageAccount e2e * feat: update link * fix: lint * fix: get values of restrictedMethodPermissionBuilders * fix: add fence to perferences * fix: stop shuffle * fix: remove KEYRING_SNAPS_REGISTRY_URL from metamaskRc * fix: use permissions to determine account snaps * fix: remove shuffle * fix: add comments to fences in excluded snap permission. * chore: fix policy.json * fix: fix snap-account-detail test * fix: lint * fix: snap accoutn detail page test * Update LavaMoat policies * Update ui/pages/keyring-snaps/snap-account-detail-page/snap-account-detail-page.test.tsx Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * Update ui/pages/keyring-snaps/snap-account-detail-page/snap-account-detail-page.test.tsx Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * fix: remove fence from isAbleToExportAccount * chore: remove comment line * fix: dismiss snap modal * fix: try catch for scroll * fix: icon for manageAccount * fix: update `handleSnapRequest` to make `params` optional and add `id` * fix: lint for uuid * fix: remove arg in saveSnapKeyring * fix: add fence for uuidV4 * chore: bump dep * fix: permission_manageAccounts message and icon * chore: update registry link * chore: convert address to lowercase * fix: change icon * chore: bump eth-snap-keyring * chore: update webapp policy.json * Update ui/pages/keyring-snaps/new-snap-account-page/new-snap-account-page.test.tsx Co-authored-by: Gustavo Antunes <17601467+gantunesr@users.noreply.github.com> * fix: update fences * fix: nested fence * Update app/_locales/en/messages.json Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * Update app/_locales/en/messages.json Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * Update app/_locales/en/messages.json Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * Update app/_locales/en/messages.json Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * Update ui/components/multichain/account-details/account-details-display.js Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * Update ui/pages/keyring-snaps/snap-account-detail-page/header.tsx Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * Update ui/pages/keyring-snaps/snap-account-detail-page/snap-account-detail-page.tsx Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * fix: rename and added jsdoc * fix: add fence to snap label * fix: remove comment * fix: change pixel to int and remove unused class * fix: lint * fix: create two tests for main and flask restricted methods * fix: remove fence in test * fix: lint header * feat: allow `metamask.github.io` in manifest * fix: remove comment * fix: rename isAbleToExportAccount * chore: use a more restrictive registry URL * fix: change to && not || * fix: remove unused * fix: move keyring snaps URL to Flask's base manifest * fix: use fetch instead of fetchWithCache * fix: lint --------- Co-authored-by: kumavis <aaron@kumavis.me> Co-authored-by: Howard Braham <howrad@gmail.com> Co-authored-by: Daniel Rocha <68558152+danroc@users.noreply.github.com> Co-authored-by: Gustavo Antunes <17601467+gantunesr@users.noreply.github.com> Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net> Co-authored-by: Mark Stacey <markjstacey@gmail.com> Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com> Co-authored-by: Gauthier Petetin <gauthierpetetin@hotmail.com> Co-authored-by: Brad Decker <bhdecker84@gmail.com> Co-authored-by: weizman <weizmangal@gmail.com> Co-authored-by: Ariella Vu <20778143+digiwand@users.noreply.github.com> Co-authored-by: Dhruv <79097544+dhruvv173@users.noreply.github.com> Co-authored-by: ryanml <ryanlanese@gmail.com> Co-authored-by: Alex Donesky <adonesky@gmail.com> Co-authored-by: David Walsh <davidwalsh83@gmail.com> Co-authored-by: George Marshall <george.marshall@consensys.net> Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com> Co-authored-by: jiexi <jiexiluan@gmail.com> Co-authored-by: jainex <jainexp017@gmail.com> Co-authored-by: Matthias Kretschmann <m@kretschmann.io> Co-authored-by: Garrett Bear <gwhisten@gmail.com> Co-authored-by: Ujwal Kumar <ujwalkumar95@gmail.com> Co-authored-by: rohit kerkar <129620973+rohiiittttt@users.noreply.github.com> Co-authored-by: Harsh Shukla <125105825+PrgrmrHarshShukla@users.noreply.github.com> Co-authored-by: Danica Shen <zhaodanica@gmail.com> Co-authored-by: Albert Olivé <albertolivecorbella@gmail.com> Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com>
2023-06-29 15:24:08 +02:00
"@metamask/eth-keyring-controller>@metamask/eth-sig-util": true,
"@metamask/eth-keyring-controller>@metamask/eth-simple-keyring": true,
"@metamask/eth-keyring-controller>obs-store": true,
"browserify>events": true
}
},
"@metamask/eth-keyring-controller>@metamask/eth-hd-keyring": {
"globals": {
"TextEncoder": true
},
"packages": {
"@ethereumjs/tx>@ethereumjs/util": true,
"@metamask/eth-keyring-controller>@metamask/eth-hd-keyring>ethereum-cryptography": true,
[FLASK] Add Snaps Keyring (#19710) * flask - add restricted snap_manageAccounts * snap keyring: use local snap keyring instead of package * mvp snap-keyring * fixed the easier lint errors * fix missing permission text * add removal function * update snap keyring * update dep * update git link * update messages and remove snap keyring from lib * set snapprovider as soon as possible * chore: update snap keyring dependency * chore: pass SnapController to SnapKeyring constructor * chore: update deps and comment line (wip) * fix latest update for snaps and remove setController * update yarn lock * add routes * add messages * add message * add snap account detail page * add snap account card * add snap account page * update route * add background * use css grid * update snap text styling * fix lint * remove unused import * change manage link to go to snap * add types for react-router-dom * add link to settings * add breadcrumb to header * add popover * add prop types * add link to propTypes * fix icon in header and tag * update popover * update yarn.lock * add link to account list menu * update from deprecated * add add-snap-popup * use popoverheader * fix lint * update to use modal instead of popup * add install snap * remove export of DeferredPromise * change snap keyring to its own enum * update imports and fences * fix snapId and route * fix header and button for snapCard * hide app header on AddSnapAccountPage * update icon * match path to SnapAccountDetail * set getting started button to close modal * fix key prop warning * add By Metamask message * fix label * add fence to snapkeyringtype * update yarn.lock * refactor removeAccount and static snap list * update removeSnap * feat: remove associated accounts when snap is removed * add get snaps installed to snaps page * fix updateAvailable * add tests to ui components * update test * update scss * udpate config snap popup style * fixed https://www.notion.so/Show-pop-up-only-once-c6aa8494486a4ece8a5c5e35fea56ab5 * update accountListMenu click to open tab or push depending on environment * update yark.lock * remove unused uuid * update lock * update eth-snap-keyring * udpate install from snap page * update to install to use popup * use release versino of eth-snap-keyring * chore: bump snaps-utils version to `0.34.1-flask.1` * update configure snap * chore: update eth-snap-keyring * chore: update policies * fix: remove unused * fix: fix snap-account-detail-page test * fix: fix styles * chore: remove swappable-obj-proxy * fix: fix duplicate entry * fix: disable export private key for snaps account * feat: shuffle snap lists on every reload * fix: configure not popping up * refactor: snapsAddSnapAccountModalDismissal into action and selector * fix: E2BIG when running prettier * fix: lint default export or add-snap-account-modal * fix: lint, remove vendor prefix * fix: fix snapCreatedByMetamask to snapCreatedByMetaMask * Add `manageAccounts` RPC method (#19724) * Update dependencies * Remove snap-keyring-permissions * Update dependencies * Update dependencies * Update imports * removed portfolio link from wallet view (#19716) * removed portfolio link from wallet view * removed unused code * updated test * updated spec file * updated test * Validate LavaMoat policies on each PR (#19703) * Validate LavaMoat policies on each PR The LavaMoat policies are now validated on every PR. This makes it easier to validate policy changes, as they should always correspond with the changes made in the PR (unlike today, when they could be due to a change in platform or a previous PR). Closes #19680 * Update LavaMoat policies --------- Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com> * fix(action): add required permissions to remove labels (#19728) * Fix dependencies * signature approved metrics e2e test (#19628) * Update dependencies * Integrate Snow with LavaMoat scuttling protection (#17969) * Update lavamoat policies * Security Provider cleanup (#19694) * security-prov: isFlaggedSecurityProviderResponse * security-prov: create shared/modules/util * security prov: rn isFlagged -> isSuspcious - util fn returns true if response is not verified and flagged * security prov: add util test and support undefined param * security prov: reorg util fn - no logic changes * Update LavaMoat policies (#19744) Update LavaMoat policies to match what CI expects. * Replacing deprecated constants & creating stories (#19686) * Replacing deprecated constants & creating stories * updating snapshot * fix: fix imports * chore: update policy.json * fix: move SmartTransactionController out of snaps code fence * fix: yarn.lock dedupe * fix: lavamoat policy * fix: update test * fix: remove snapshot, the list of snaps are always randomized. * fix: resole snaps-controller to use flask --------- Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net> Co-authored-by: Mark Stacey <markjstacey@gmail.com> Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com> Co-authored-by: Gauthier Petetin <gauthierpetetin@hotmail.com> Co-authored-by: Brad Decker <bhdecker84@gmail.com> Co-authored-by: weizman <weizmangal@gmail.com> Co-authored-by: Ariella Vu <20778143+digiwand@users.noreply.github.com> Co-authored-by: Dhruv <79097544+dhruvv173@users.noreply.github.com> Co-authored-by: Monte Lai <monte.lai@consensys.net> * Update LavaMoat policies * chore: fix webapp policy.json * feat: add snap label test * feat: test to disable export private key for snap accounts * feat: add snap account link test in account-list-menu * fix: add fence for setSnapsAddSnapAccountModalDismissed * fix: remove comments * fix: move routes into snaps fence * feat: use snap registry * fix: account snap identification * chore: add `keyring-snaps` feature flag * fix: remove unneeded spread * Disable warn logs in content-script (#19754) * Use Yarn caching in GitHub Actions (#19662) GitHub actions that install dependencies will now also cache those dependencies using the standard strategy for Yarn (which is to hash the lockfile). This matches the module template (see https://github.com/MetaMask/metamask-module-template/pull/145 for details). This should have no functional impact except that this action will run faster when dependencies are unchanged. * Fixing misspelling in 10.28.0 changelog notes (#19756) * Add `tokenId` type validation in `wallet_watchAsset` middleware (#19738) * Remove unused GitHub Action workflow (#19660) This GitHub action workflow was disabled, but was still running setup steps. It has now been removed entirely. We can re-introduce it again later once the problem that led to it being disabled has been fixed. The associated npm script and JavaScript module have been removed as well. * Fix #847 - Don't show account address on token pages (#19740) Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net> * Deprecating FormField and fixing console error (#19739) * Deprecating FormField and fixing console error * Updating snapshots * updated linea image for token and badge (#19717) * updated linea image for token and badge * replaced hardcoded string with constant * UI updates for contacts Page (#19646) * updated contacts flow update * json file updates * updated contacts edit and view list * keep contacts tab selected * lint fix * replaced hardcoded strings with constant * updated padding in box * Replacing deprecated components and fixing prop errors (#19745) * Use `snaps@0.35.2-flask.1` and `snaps@1.0.0-prerelease.1` (#19734) * snaps@0.35.0-flask.1 * Update LavaMoat policies * Update stable snaps packages to 1.0.0-prerelease.1 * Update LavaMoat policies * Fix lint * snaps@0.35.2 * Exclude snap_manageAccounts * Code fencing * Revert removing endowment:keyring exclusion * Bump iframe URLs * UX: Ensure multichain native token name is always shown (#19705) * UX: Ensure multichain native token name is always shown * Fix lint * UX Multichain: fixed padding for edit screen (#19707) * fixed padding for edit screen * Use network picker for header trigger * Fix swaps display * updated snapshot --------- Co-authored-by: David Walsh <davidwalsh83@gmail.com> * Bump @metamask/providers to v11.1.0 (#19762) * Bump @metamask/providers to v11.1.0 --------- Co-authored-by: Alex <adonesky@gmail.com> * Fix fallback gas estimation (#19746) * Fix fallback gas estimation Our fallback gas estimation was failing due to a bug in the `@metamask/controller-utils` package. This was causing gas estimation to fail completely on certain networks (those not supported by our gas estimation APIs and non EIP-1559 compatibile), and it was causing the fallback gas estimation operation (in case our API was down) to fail across all networks. Fixes https://github.com/MetaMask/metamask-extension/issues/19735 * Add e2e tests E2E tests have been added to capture gas estimation. Cases are added for our API, for the fallback estimate, and for non-EIP-1559 estimates. As part of this work, the legacy gas API had to be disabled. This was being used in e2e tests but was dead code in production. It needed to be disabled to ensure the code under test was reachable. * Fix gas API referenced in e2e test * Update unit test snapshots * Update Label component font weight from bold to medium (#19731) * Update Label component font weight from bold to medium * update snapshot * fix snapshots * fix snapshots 2 * Removeing deprecated constants for enums --------- Co-authored-by: georgewrmarshall <george.marshall@consensys.net> * Part of #17670: Replace Typography with Text component in CancelSpeedupPopover (#18638) * create story * replace Typography with Text component * review changes * replace CSS with props styling * use `Button` from `component-library` * tooltip HTML refactor with `component-library` components * remove whitespace in story * strong tag support within Text component * addresses #18651 * taken from #18752 as suggested in https://github.com/MetaMask/metamask-extension/pull/18638#discussion_r1176334805 * replace `strong` with new `Text as="strong"` * remove unneccessary css from fa564e3f036f1439f9f220cca23595b508760614 * add text variant definition * Updating text variant of button * restrore proper spacing between elements * Quick fix for test * Adding key --------- Co-authored-by: georgewrmarshall <george.marshall@consensys.net> Co-authored-by: Garrett Bear <gwhisten@gmail.com> * Issue 17670 replace typography with text (#19433) * Replace Typograph with Text component in numeric-input-component.js * Replace Typography with Text component in signature-request-message.js * Replace Typography with Text component in signature-request.component.js * Replacing deprecating constants and fixing some signature story warnings * Updating snapshot * Fixing import --------- Co-authored-by: georgewrmarshall <george.marshall@consensys.net> Co-authored-by: Garrett Bear <gwhisten@gmail.com> * Part of #18714: Replacing deprecated constants in `confirm-subtitle` folder (#19699) * repalcing deprecated constants * resolve issue * lint fixes --------- Co-authored-by: georgewrmarshall <george.marshall@consensys.net> * Part of #17670: Replace Typography with Text component in: callout.js (#18912) * Part of #17670: Replace Typography with Text component in: callout.js * Update ui/components/ui/callout/callout.js Co-authored-by: Danica Shen <zhaodanica@gmail.com> * Update callout.js * Updating snapshot and deprecating component * Updating snapshot and deprecating component --------- Co-authored-by: Danica Shen <zhaodanica@gmail.com> Co-authored-by: George Marshall <george.marshall@consensys.net> Co-authored-by: Garrett Bear <gwhisten@gmail.com> * [MMI] Added code fences in whats new popup (#19581) * added code fences in whats new popup * Improved code * Added missing prop * Update LavaMoat policies * updated functions by using an options object for the rendering functions in order to bypass possible typsecript issues --------- Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com> * Updated action list in token, NFTs and activity view (#19702) * updated ui for nft import button * updated no nft image found in the center * updated footer for all screens in tabs * removed no nft state from nft tab * updated snapshot * lint fix * fixed e2e tests * fixed prep build error * removed no nfts yet test * updated tabs * fixed prod error * updated no nft screen * changed button size to md * fix: change 'M' to '?' * fix: update fence to keyring-snaps * chore: rename folder * fix: typo * chore: remove logs * feat: add metamask developer constant * fix: sass keyring-snap path * chore: update yarn.lock * fix: remove alias * feat: add KEYRING_SNAPS_REGISTRY_URL env * fix: nested fence * feat: add snap manageAccount e2e (#19777) * feat: add snap manageAccount e2e * feat: update link * fix: lint * fix: get values of restrictedMethodPermissionBuilders * fix: add fence to perferences * fix: stop shuffle * fix: remove KEYRING_SNAPS_REGISTRY_URL from metamaskRc * fix: use permissions to determine account snaps * fix: remove shuffle * fix: add comments to fences in excluded snap permission. * chore: fix policy.json * fix: fix snap-account-detail test * fix: lint * fix: snap accoutn detail page test * Update LavaMoat policies * Update ui/pages/keyring-snaps/snap-account-detail-page/snap-account-detail-page.test.tsx Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * Update ui/pages/keyring-snaps/snap-account-detail-page/snap-account-detail-page.test.tsx Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * fix: remove fence from isAbleToExportAccount * chore: remove comment line * fix: dismiss snap modal * fix: try catch for scroll * fix: icon for manageAccount * fix: update `handleSnapRequest` to make `params` optional and add `id` * fix: lint for uuid * fix: remove arg in saveSnapKeyring * fix: add fence for uuidV4 * chore: bump dep * fix: permission_manageAccounts message and icon * chore: update registry link * chore: convert address to lowercase * fix: change icon * chore: bump eth-snap-keyring * chore: update webapp policy.json * Update ui/pages/keyring-snaps/new-snap-account-page/new-snap-account-page.test.tsx Co-authored-by: Gustavo Antunes <17601467+gantunesr@users.noreply.github.com> * fix: update fences * fix: nested fence * Update app/_locales/en/messages.json Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * Update app/_locales/en/messages.json Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * Update app/_locales/en/messages.json Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * Update app/_locales/en/messages.json Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * Update ui/components/multichain/account-details/account-details-display.js Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * Update ui/pages/keyring-snaps/snap-account-detail-page/header.tsx Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * Update ui/pages/keyring-snaps/snap-account-detail-page/snap-account-detail-page.tsx Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * fix: rename and added jsdoc * fix: add fence to snap label * fix: remove comment * fix: change pixel to int and remove unused class * fix: lint * fix: create two tests for main and flask restricted methods * fix: remove fence in test * fix: lint header * feat: allow `metamask.github.io` in manifest * fix: remove comment * fix: rename isAbleToExportAccount * chore: use a more restrictive registry URL * fix: change to && not || * fix: remove unused * fix: move keyring snaps URL to Flask's base manifest * fix: use fetch instead of fetchWithCache * fix: lint --------- Co-authored-by: kumavis <aaron@kumavis.me> Co-authored-by: Howard Braham <howrad@gmail.com> Co-authored-by: Daniel Rocha <68558152+danroc@users.noreply.github.com> Co-authored-by: Gustavo Antunes <17601467+gantunesr@users.noreply.github.com> Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net> Co-authored-by: Mark Stacey <markjstacey@gmail.com> Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com> Co-authored-by: Gauthier Petetin <gauthierpetetin@hotmail.com> Co-authored-by: Brad Decker <bhdecker84@gmail.com> Co-authored-by: weizman <weizmangal@gmail.com> Co-authored-by: Ariella Vu <20778143+digiwand@users.noreply.github.com> Co-authored-by: Dhruv <79097544+dhruvv173@users.noreply.github.com> Co-authored-by: ryanml <ryanlanese@gmail.com> Co-authored-by: Alex Donesky <adonesky@gmail.com> Co-authored-by: David Walsh <davidwalsh83@gmail.com> Co-authored-by: George Marshall <george.marshall@consensys.net> Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com> Co-authored-by: jiexi <jiexiluan@gmail.com> Co-authored-by: jainex <jainexp017@gmail.com> Co-authored-by: Matthias Kretschmann <m@kretschmann.io> Co-authored-by: Garrett Bear <gwhisten@gmail.com> Co-authored-by: Ujwal Kumar <ujwalkumar95@gmail.com> Co-authored-by: rohit kerkar <129620973+rohiiittttt@users.noreply.github.com> Co-authored-by: Harsh Shukla <125105825+PrgrmrHarshShukla@users.noreply.github.com> Co-authored-by: Danica Shen <zhaodanica@gmail.com> Co-authored-by: Albert Olivé <albertolivecorbella@gmail.com> Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com>
2023-06-29 15:24:08 +02:00
"@metamask/eth-snap-keyring>@metamask/eth-sig-util": true,
"@metamask/scure-bip39": true,
"browserify>buffer": true
}
},
"@metamask/eth-keyring-controller>@metamask/eth-hd-keyring>ethereum-cryptography": {
"globals": {
"TextDecoder": true,
"crypto": true
},
"packages": {
"@metamask/eth-keyring-controller>@metamask/eth-hd-keyring>ethereum-cryptography>@noble/hashes": true,
"@metamask/eth-keyring-controller>@metamask/eth-hd-keyring>ethereum-cryptography>@scure/bip32": true
}
},
"@metamask/eth-keyring-controller>@metamask/eth-hd-keyring>ethereum-cryptography>@noble/hashes": {
"globals": {
"TextEncoder": true,
"crypto": true
}
},
"@metamask/eth-keyring-controller>@metamask/eth-hd-keyring>ethereum-cryptography>@noble/secp256k1": {
"globals": {
"crypto": true
},
"packages": {
"browserify>browser-resolve": true
}
},
"@metamask/eth-keyring-controller>@metamask/eth-hd-keyring>ethereum-cryptography>@scure/bip32": {
"packages": {
"@metamask/eth-keyring-controller>@metamask/eth-hd-keyring>ethereum-cryptography>@noble/secp256k1": true,
"@metamask/eth-keyring-controller>@metamask/eth-hd-keyring>ethereum-cryptography>@scure/bip39>@noble/hashes": true,
"@metamask/key-tree>@scure/base": true
}
},
"@metamask/eth-keyring-controller>@metamask/eth-hd-keyring>ethereum-cryptography>@scure/bip39>@noble/hashes": {
"globals": {
"TextEncoder": true,
"crypto": true
}
},
[FLASK] Add Snaps Keyring (#19710) * flask - add restricted snap_manageAccounts * snap keyring: use local snap keyring instead of package * mvp snap-keyring * fixed the easier lint errors * fix missing permission text * add removal function * update snap keyring * update dep * update git link * update messages and remove snap keyring from lib * set snapprovider as soon as possible * chore: update snap keyring dependency * chore: pass SnapController to SnapKeyring constructor * chore: update deps and comment line (wip) * fix latest update for snaps and remove setController * update yarn lock * add routes * add messages * add message * add snap account detail page * add snap account card * add snap account page * update route * add background * use css grid * update snap text styling * fix lint * remove unused import * change manage link to go to snap * add types for react-router-dom * add link to settings * add breadcrumb to header * add popover * add prop types * add link to propTypes * fix icon in header and tag * update popover * update yarn.lock * add link to account list menu * update from deprecated * add add-snap-popup * use popoverheader * fix lint * update to use modal instead of popup * add install snap * remove export of DeferredPromise * change snap keyring to its own enum * update imports and fences * fix snapId and route * fix header and button for snapCard * hide app header on AddSnapAccountPage * update icon * match path to SnapAccountDetail * set getting started button to close modal * fix key prop warning * add By Metamask message * fix label * add fence to snapkeyringtype * update yarn.lock * refactor removeAccount and static snap list * update removeSnap * feat: remove associated accounts when snap is removed * add get snaps installed to snaps page * fix updateAvailable * add tests to ui components * update test * update scss * udpate config snap popup style * fixed https://www.notion.so/Show-pop-up-only-once-c6aa8494486a4ece8a5c5e35fea56ab5 * update accountListMenu click to open tab or push depending on environment * update yark.lock * remove unused uuid * update lock * update eth-snap-keyring * udpate install from snap page * update to install to use popup * use release versino of eth-snap-keyring * chore: bump snaps-utils version to `0.34.1-flask.1` * update configure snap * chore: update eth-snap-keyring * chore: update policies * fix: remove unused * fix: fix snap-account-detail-page test * fix: fix styles * chore: remove swappable-obj-proxy * fix: fix duplicate entry * fix: disable export private key for snaps account * feat: shuffle snap lists on every reload * fix: configure not popping up * refactor: snapsAddSnapAccountModalDismissal into action and selector * fix: E2BIG when running prettier * fix: lint default export or add-snap-account-modal * fix: lint, remove vendor prefix * fix: fix snapCreatedByMetamask to snapCreatedByMetaMask * Add `manageAccounts` RPC method (#19724) * Update dependencies * Remove snap-keyring-permissions * Update dependencies * Update dependencies * Update imports * removed portfolio link from wallet view (#19716) * removed portfolio link from wallet view * removed unused code * updated test * updated spec file * updated test * Validate LavaMoat policies on each PR (#19703) * Validate LavaMoat policies on each PR The LavaMoat policies are now validated on every PR. This makes it easier to validate policy changes, as they should always correspond with the changes made in the PR (unlike today, when they could be due to a change in platform or a previous PR). Closes #19680 * Update LavaMoat policies --------- Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com> * fix(action): add required permissions to remove labels (#19728) * Fix dependencies * signature approved metrics e2e test (#19628) * Update dependencies * Integrate Snow with LavaMoat scuttling protection (#17969) * Update lavamoat policies * Security Provider cleanup (#19694) * security-prov: isFlaggedSecurityProviderResponse * security-prov: create shared/modules/util * security prov: rn isFlagged -> isSuspcious - util fn returns true if response is not verified and flagged * security prov: add util test and support undefined param * security prov: reorg util fn - no logic changes * Update LavaMoat policies (#19744) Update LavaMoat policies to match what CI expects. * Replacing deprecated constants & creating stories (#19686) * Replacing deprecated constants & creating stories * updating snapshot * fix: fix imports * chore: update policy.json * fix: move SmartTransactionController out of snaps code fence * fix: yarn.lock dedupe * fix: lavamoat policy * fix: update test * fix: remove snapshot, the list of snaps are always randomized. * fix: resole snaps-controller to use flask --------- Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net> Co-authored-by: Mark Stacey <markjstacey@gmail.com> Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com> Co-authored-by: Gauthier Petetin <gauthierpetetin@hotmail.com> Co-authored-by: Brad Decker <bhdecker84@gmail.com> Co-authored-by: weizman <weizmangal@gmail.com> Co-authored-by: Ariella Vu <20778143+digiwand@users.noreply.github.com> Co-authored-by: Dhruv <79097544+dhruvv173@users.noreply.github.com> Co-authored-by: Monte Lai <monte.lai@consensys.net> * Update LavaMoat policies * chore: fix webapp policy.json * feat: add snap label test * feat: test to disable export private key for snap accounts * feat: add snap account link test in account-list-menu * fix: add fence for setSnapsAddSnapAccountModalDismissed * fix: remove comments * fix: move routes into snaps fence * feat: use snap registry * fix: account snap identification * chore: add `keyring-snaps` feature flag * fix: remove unneeded spread * Disable warn logs in content-script (#19754) * Use Yarn caching in GitHub Actions (#19662) GitHub actions that install dependencies will now also cache those dependencies using the standard strategy for Yarn (which is to hash the lockfile). This matches the module template (see https://github.com/MetaMask/metamask-module-template/pull/145 for details). This should have no functional impact except that this action will run faster when dependencies are unchanged. * Fixing misspelling in 10.28.0 changelog notes (#19756) * Add `tokenId` type validation in `wallet_watchAsset` middleware (#19738) * Remove unused GitHub Action workflow (#19660) This GitHub action workflow was disabled, but was still running setup steps. It has now been removed entirely. We can re-introduce it again later once the problem that led to it being disabled has been fixed. The associated npm script and JavaScript module have been removed as well. * Fix #847 - Don't show account address on token pages (#19740) Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net> * Deprecating FormField and fixing console error (#19739) * Deprecating FormField and fixing console error * Updating snapshots * updated linea image for token and badge (#19717) * updated linea image for token and badge * replaced hardcoded string with constant * UI updates for contacts Page (#19646) * updated contacts flow update * json file updates * updated contacts edit and view list * keep contacts tab selected * lint fix * replaced hardcoded strings with constant * updated padding in box * Replacing deprecated components and fixing prop errors (#19745) * Use `snaps@0.35.2-flask.1` and `snaps@1.0.0-prerelease.1` (#19734) * snaps@0.35.0-flask.1 * Update LavaMoat policies * Update stable snaps packages to 1.0.0-prerelease.1 * Update LavaMoat policies * Fix lint * snaps@0.35.2 * Exclude snap_manageAccounts * Code fencing * Revert removing endowment:keyring exclusion * Bump iframe URLs * UX: Ensure multichain native token name is always shown (#19705) * UX: Ensure multichain native token name is always shown * Fix lint * UX Multichain: fixed padding for edit screen (#19707) * fixed padding for edit screen * Use network picker for header trigger * Fix swaps display * updated snapshot --------- Co-authored-by: David Walsh <davidwalsh83@gmail.com> * Bump @metamask/providers to v11.1.0 (#19762) * Bump @metamask/providers to v11.1.0 --------- Co-authored-by: Alex <adonesky@gmail.com> * Fix fallback gas estimation (#19746) * Fix fallback gas estimation Our fallback gas estimation was failing due to a bug in the `@metamask/controller-utils` package. This was causing gas estimation to fail completely on certain networks (those not supported by our gas estimation APIs and non EIP-1559 compatibile), and it was causing the fallback gas estimation operation (in case our API was down) to fail across all networks. Fixes https://github.com/MetaMask/metamask-extension/issues/19735 * Add e2e tests E2E tests have been added to capture gas estimation. Cases are added for our API, for the fallback estimate, and for non-EIP-1559 estimates. As part of this work, the legacy gas API had to be disabled. This was being used in e2e tests but was dead code in production. It needed to be disabled to ensure the code under test was reachable. * Fix gas API referenced in e2e test * Update unit test snapshots * Update Label component font weight from bold to medium (#19731) * Update Label component font weight from bold to medium * update snapshot * fix snapshots * fix snapshots 2 * Removeing deprecated constants for enums --------- Co-authored-by: georgewrmarshall <george.marshall@consensys.net> * Part of #17670: Replace Typography with Text component in CancelSpeedupPopover (#18638) * create story * replace Typography with Text component * review changes * replace CSS with props styling * use `Button` from `component-library` * tooltip HTML refactor with `component-library` components * remove whitespace in story * strong tag support within Text component * addresses #18651 * taken from #18752 as suggested in https://github.com/MetaMask/metamask-extension/pull/18638#discussion_r1176334805 * replace `strong` with new `Text as="strong"` * remove unneccessary css from fa564e3f036f1439f9f220cca23595b508760614 * add text variant definition * Updating text variant of button * restrore proper spacing between elements * Quick fix for test * Adding key --------- Co-authored-by: georgewrmarshall <george.marshall@consensys.net> Co-authored-by: Garrett Bear <gwhisten@gmail.com> * Issue 17670 replace typography with text (#19433) * Replace Typograph with Text component in numeric-input-component.js * Replace Typography with Text component in signature-request-message.js * Replace Typography with Text component in signature-request.component.js * Replacing deprecating constants and fixing some signature story warnings * Updating snapshot * Fixing import --------- Co-authored-by: georgewrmarshall <george.marshall@consensys.net> Co-authored-by: Garrett Bear <gwhisten@gmail.com> * Part of #18714: Replacing deprecated constants in `confirm-subtitle` folder (#19699) * repalcing deprecated constants * resolve issue * lint fixes --------- Co-authored-by: georgewrmarshall <george.marshall@consensys.net> * Part of #17670: Replace Typography with Text component in: callout.js (#18912) * Part of #17670: Replace Typography with Text component in: callout.js * Update ui/components/ui/callout/callout.js Co-authored-by: Danica Shen <zhaodanica@gmail.com> * Update callout.js * Updating snapshot and deprecating component * Updating snapshot and deprecating component --------- Co-authored-by: Danica Shen <zhaodanica@gmail.com> Co-authored-by: George Marshall <george.marshall@consensys.net> Co-authored-by: Garrett Bear <gwhisten@gmail.com> * [MMI] Added code fences in whats new popup (#19581) * added code fences in whats new popup * Improved code * Added missing prop * Update LavaMoat policies * updated functions by using an options object for the rendering functions in order to bypass possible typsecript issues --------- Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com> * Updated action list in token, NFTs and activity view (#19702) * updated ui for nft import button * updated no nft image found in the center * updated footer for all screens in tabs * removed no nft state from nft tab * updated snapshot * lint fix * fixed e2e tests * fixed prep build error * removed no nfts yet test * updated tabs * fixed prod error * updated no nft screen * changed button size to md * fix: change 'M' to '?' * fix: update fence to keyring-snaps * chore: rename folder * fix: typo * chore: remove logs * feat: add metamask developer constant * fix: sass keyring-snap path * chore: update yarn.lock * fix: remove alias * feat: add KEYRING_SNAPS_REGISTRY_URL env * fix: nested fence * feat: add snap manageAccount e2e (#19777) * feat: add snap manageAccount e2e * feat: update link * fix: lint * fix: get values of restrictedMethodPermissionBuilders * fix: add fence to perferences * fix: stop shuffle * fix: remove KEYRING_SNAPS_REGISTRY_URL from metamaskRc * fix: use permissions to determine account snaps * fix: remove shuffle * fix: add comments to fences in excluded snap permission. * chore: fix policy.json * fix: fix snap-account-detail test * fix: lint * fix: snap accoutn detail page test * Update LavaMoat policies * Update ui/pages/keyring-snaps/snap-account-detail-page/snap-account-detail-page.test.tsx Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * Update ui/pages/keyring-snaps/snap-account-detail-page/snap-account-detail-page.test.tsx Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * fix: remove fence from isAbleToExportAccount * chore: remove comment line * fix: dismiss snap modal * fix: try catch for scroll * fix: icon for manageAccount * fix: update `handleSnapRequest` to make `params` optional and add `id` * fix: lint for uuid * fix: remove arg in saveSnapKeyring * fix: add fence for uuidV4 * chore: bump dep * fix: permission_manageAccounts message and icon * chore: update registry link * chore: convert address to lowercase * fix: change icon * chore: bump eth-snap-keyring * chore: update webapp policy.json * Update ui/pages/keyring-snaps/new-snap-account-page/new-snap-account-page.test.tsx Co-authored-by: Gustavo Antunes <17601467+gantunesr@users.noreply.github.com> * fix: update fences * fix: nested fence * Update app/_locales/en/messages.json Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * Update app/_locales/en/messages.json Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * Update app/_locales/en/messages.json Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * Update app/_locales/en/messages.json Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * Update ui/components/multichain/account-details/account-details-display.js Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * Update ui/pages/keyring-snaps/snap-account-detail-page/header.tsx Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * Update ui/pages/keyring-snaps/snap-account-detail-page/snap-account-detail-page.tsx Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * fix: rename and added jsdoc * fix: add fence to snap label * fix: remove comment * fix: change pixel to int and remove unused class * fix: lint * fix: create two tests for main and flask restricted methods * fix: remove fence in test * fix: lint header * feat: allow `metamask.github.io` in manifest * fix: remove comment * fix: rename isAbleToExportAccount * chore: use a more restrictive registry URL * fix: change to && not || * fix: remove unused * fix: move keyring snaps URL to Flask's base manifest * fix: use fetch instead of fetchWithCache * fix: lint --------- Co-authored-by: kumavis <aaron@kumavis.me> Co-authored-by: Howard Braham <howrad@gmail.com> Co-authored-by: Daniel Rocha <68558152+danroc@users.noreply.github.com> Co-authored-by: Gustavo Antunes <17601467+gantunesr@users.noreply.github.com> Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net> Co-authored-by: Mark Stacey <markjstacey@gmail.com> Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com> Co-authored-by: Gauthier Petetin <gauthierpetetin@hotmail.com> Co-authored-by: Brad Decker <bhdecker84@gmail.com> Co-authored-by: weizman <weizmangal@gmail.com> Co-authored-by: Ariella Vu <20778143+digiwand@users.noreply.github.com> Co-authored-by: Dhruv <79097544+dhruvv173@users.noreply.github.com> Co-authored-by: ryanml <ryanlanese@gmail.com> Co-authored-by: Alex Donesky <adonesky@gmail.com> Co-authored-by: David Walsh <davidwalsh83@gmail.com> Co-authored-by: George Marshall <george.marshall@consensys.net> Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com> Co-authored-by: jiexi <jiexiluan@gmail.com> Co-authored-by: jainex <jainexp017@gmail.com> Co-authored-by: Matthias Kretschmann <m@kretschmann.io> Co-authored-by: Garrett Bear <gwhisten@gmail.com> Co-authored-by: Ujwal Kumar <ujwalkumar95@gmail.com> Co-authored-by: rohit kerkar <129620973+rohiiittttt@users.noreply.github.com> Co-authored-by: Harsh Shukla <125105825+PrgrmrHarshShukla@users.noreply.github.com> Co-authored-by: Danica Shen <zhaodanica@gmail.com> Co-authored-by: Albert Olivé <albertolivecorbella@gmail.com> Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com>
2023-06-29 15:24:08 +02:00
"@metamask/eth-keyring-controller>@metamask/eth-sig-util": {
"packages": {
"@ethereumjs/tx>@ethereumjs/util": true,
"@metamask/eth-keyring-controller>@metamask/eth-sig-util>ethereum-cryptography": true,
"@metamask/eth-keyring-controller>@metamask/eth-sig-util>ethjs-util": true,
"bn.js": true,
"browserify>buffer": true,
"eth-sig-util>tweetnacl": true,
"eth-sig-util>tweetnacl-util": true
}
},
"@metamask/eth-keyring-controller>@metamask/eth-sig-util>ethereum-cryptography": {
"globals": {
"TextDecoder": true,
"crypto": true
},
"packages": {
"@metamask/eth-keyring-controller>@metamask/eth-sig-util>ethereum-cryptography>@noble/hashes": true
}
},
"@metamask/eth-keyring-controller>@metamask/eth-sig-util>ethereum-cryptography>@noble/hashes": {
"globals": {
"TextEncoder": true,
"crypto": true
}
},
"@metamask/eth-keyring-controller>@metamask/eth-sig-util>ethjs-util": {
"packages": {
"browserify>buffer": true,
"ethjs>ethjs-util>is-hex-prefixed": true,
"ethjs>ethjs-util>strip-hex-prefix": true
}
},
"@metamask/eth-keyring-controller>@metamask/eth-simple-keyring": {
"packages": {
"@ethereumjs/tx>@ethereumjs/util": true,
"@metamask/eth-keyring-controller>@metamask/eth-simple-keyring>ethereum-cryptography": true,
[FLASK] Add Snaps Keyring (#19710) * flask - add restricted snap_manageAccounts * snap keyring: use local snap keyring instead of package * mvp snap-keyring * fixed the easier lint errors * fix missing permission text * add removal function * update snap keyring * update dep * update git link * update messages and remove snap keyring from lib * set snapprovider as soon as possible * chore: update snap keyring dependency * chore: pass SnapController to SnapKeyring constructor * chore: update deps and comment line (wip) * fix latest update for snaps and remove setController * update yarn lock * add routes * add messages * add message * add snap account detail page * add snap account card * add snap account page * update route * add background * use css grid * update snap text styling * fix lint * remove unused import * change manage link to go to snap * add types for react-router-dom * add link to settings * add breadcrumb to header * add popover * add prop types * add link to propTypes * fix icon in header and tag * update popover * update yarn.lock * add link to account list menu * update from deprecated * add add-snap-popup * use popoverheader * fix lint * update to use modal instead of popup * add install snap * remove export of DeferredPromise * change snap keyring to its own enum * update imports and fences * fix snapId and route * fix header and button for snapCard * hide app header on AddSnapAccountPage * update icon * match path to SnapAccountDetail * set getting started button to close modal * fix key prop warning * add By Metamask message * fix label * add fence to snapkeyringtype * update yarn.lock * refactor removeAccount and static snap list * update removeSnap * feat: remove associated accounts when snap is removed * add get snaps installed to snaps page * fix updateAvailable * add tests to ui components * update test * update scss * udpate config snap popup style * fixed https://www.notion.so/Show-pop-up-only-once-c6aa8494486a4ece8a5c5e35fea56ab5 * update accountListMenu click to open tab or push depending on environment * update yark.lock * remove unused uuid * update lock * update eth-snap-keyring * udpate install from snap page * update to install to use popup * use release versino of eth-snap-keyring * chore: bump snaps-utils version to `0.34.1-flask.1` * update configure snap * chore: update eth-snap-keyring * chore: update policies * fix: remove unused * fix: fix snap-account-detail-page test * fix: fix styles * chore: remove swappable-obj-proxy * fix: fix duplicate entry * fix: disable export private key for snaps account * feat: shuffle snap lists on every reload * fix: configure not popping up * refactor: snapsAddSnapAccountModalDismissal into action and selector * fix: E2BIG when running prettier * fix: lint default export or add-snap-account-modal * fix: lint, remove vendor prefix * fix: fix snapCreatedByMetamask to snapCreatedByMetaMask * Add `manageAccounts` RPC method (#19724) * Update dependencies * Remove snap-keyring-permissions * Update dependencies * Update dependencies * Update imports * removed portfolio link from wallet view (#19716) * removed portfolio link from wallet view * removed unused code * updated test * updated spec file * updated test * Validate LavaMoat policies on each PR (#19703) * Validate LavaMoat policies on each PR The LavaMoat policies are now validated on every PR. This makes it easier to validate policy changes, as they should always correspond with the changes made in the PR (unlike today, when they could be due to a change in platform or a previous PR). Closes #19680 * Update LavaMoat policies --------- Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com> * fix(action): add required permissions to remove labels (#19728) * Fix dependencies * signature approved metrics e2e test (#19628) * Update dependencies * Integrate Snow with LavaMoat scuttling protection (#17969) * Update lavamoat policies * Security Provider cleanup (#19694) * security-prov: isFlaggedSecurityProviderResponse * security-prov: create shared/modules/util * security prov: rn isFlagged -> isSuspcious - util fn returns true if response is not verified and flagged * security prov: add util test and support undefined param * security prov: reorg util fn - no logic changes * Update LavaMoat policies (#19744) Update LavaMoat policies to match what CI expects. * Replacing deprecated constants & creating stories (#19686) * Replacing deprecated constants & creating stories * updating snapshot * fix: fix imports * chore: update policy.json * fix: move SmartTransactionController out of snaps code fence * fix: yarn.lock dedupe * fix: lavamoat policy * fix: update test * fix: remove snapshot, the list of snaps are always randomized. * fix: resole snaps-controller to use flask --------- Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net> Co-authored-by: Mark Stacey <markjstacey@gmail.com> Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com> Co-authored-by: Gauthier Petetin <gauthierpetetin@hotmail.com> Co-authored-by: Brad Decker <bhdecker84@gmail.com> Co-authored-by: weizman <weizmangal@gmail.com> Co-authored-by: Ariella Vu <20778143+digiwand@users.noreply.github.com> Co-authored-by: Dhruv <79097544+dhruvv173@users.noreply.github.com> Co-authored-by: Monte Lai <monte.lai@consensys.net> * Update LavaMoat policies * chore: fix webapp policy.json * feat: add snap label test * feat: test to disable export private key for snap accounts * feat: add snap account link test in account-list-menu * fix: add fence for setSnapsAddSnapAccountModalDismissed * fix: remove comments * fix: move routes into snaps fence * feat: use snap registry * fix: account snap identification * chore: add `keyring-snaps` feature flag * fix: remove unneeded spread * Disable warn logs in content-script (#19754) * Use Yarn caching in GitHub Actions (#19662) GitHub actions that install dependencies will now also cache those dependencies using the standard strategy for Yarn (which is to hash the lockfile). This matches the module template (see https://github.com/MetaMask/metamask-module-template/pull/145 for details). This should have no functional impact except that this action will run faster when dependencies are unchanged. * Fixing misspelling in 10.28.0 changelog notes (#19756) * Add `tokenId` type validation in `wallet_watchAsset` middleware (#19738) * Remove unused GitHub Action workflow (#19660) This GitHub action workflow was disabled, but was still running setup steps. It has now been removed entirely. We can re-introduce it again later once the problem that led to it being disabled has been fixed. The associated npm script and JavaScript module have been removed as well. * Fix #847 - Don't show account address on token pages (#19740) Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net> * Deprecating FormField and fixing console error (#19739) * Deprecating FormField and fixing console error * Updating snapshots * updated linea image for token and badge (#19717) * updated linea image for token and badge * replaced hardcoded string with constant * UI updates for contacts Page (#19646) * updated contacts flow update * json file updates * updated contacts edit and view list * keep contacts tab selected * lint fix * replaced hardcoded strings with constant * updated padding in box * Replacing deprecated components and fixing prop errors (#19745) * Use `snaps@0.35.2-flask.1` and `snaps@1.0.0-prerelease.1` (#19734) * snaps@0.35.0-flask.1 * Update LavaMoat policies * Update stable snaps packages to 1.0.0-prerelease.1 * Update LavaMoat policies * Fix lint * snaps@0.35.2 * Exclude snap_manageAccounts * Code fencing * Revert removing endowment:keyring exclusion * Bump iframe URLs * UX: Ensure multichain native token name is always shown (#19705) * UX: Ensure multichain native token name is always shown * Fix lint * UX Multichain: fixed padding for edit screen (#19707) * fixed padding for edit screen * Use network picker for header trigger * Fix swaps display * updated snapshot --------- Co-authored-by: David Walsh <davidwalsh83@gmail.com> * Bump @metamask/providers to v11.1.0 (#19762) * Bump @metamask/providers to v11.1.0 --------- Co-authored-by: Alex <adonesky@gmail.com> * Fix fallback gas estimation (#19746) * Fix fallback gas estimation Our fallback gas estimation was failing due to a bug in the `@metamask/controller-utils` package. This was causing gas estimation to fail completely on certain networks (those not supported by our gas estimation APIs and non EIP-1559 compatibile), and it was causing the fallback gas estimation operation (in case our API was down) to fail across all networks. Fixes https://github.com/MetaMask/metamask-extension/issues/19735 * Add e2e tests E2E tests have been added to capture gas estimation. Cases are added for our API, for the fallback estimate, and for non-EIP-1559 estimates. As part of this work, the legacy gas API had to be disabled. This was being used in e2e tests but was dead code in production. It needed to be disabled to ensure the code under test was reachable. * Fix gas API referenced in e2e test * Update unit test snapshots * Update Label component font weight from bold to medium (#19731) * Update Label component font weight from bold to medium * update snapshot * fix snapshots * fix snapshots 2 * Removeing deprecated constants for enums --------- Co-authored-by: georgewrmarshall <george.marshall@consensys.net> * Part of #17670: Replace Typography with Text component in CancelSpeedupPopover (#18638) * create story * replace Typography with Text component * review changes * replace CSS with props styling * use `Button` from `component-library` * tooltip HTML refactor with `component-library` components * remove whitespace in story * strong tag support within Text component * addresses #18651 * taken from #18752 as suggested in https://github.com/MetaMask/metamask-extension/pull/18638#discussion_r1176334805 * replace `strong` with new `Text as="strong"` * remove unneccessary css from fa564e3f036f1439f9f220cca23595b508760614 * add text variant definition * Updating text variant of button * restrore proper spacing between elements * Quick fix for test * Adding key --------- Co-authored-by: georgewrmarshall <george.marshall@consensys.net> Co-authored-by: Garrett Bear <gwhisten@gmail.com> * Issue 17670 replace typography with text (#19433) * Replace Typograph with Text component in numeric-input-component.js * Replace Typography with Text component in signature-request-message.js * Replace Typography with Text component in signature-request.component.js * Replacing deprecating constants and fixing some signature story warnings * Updating snapshot * Fixing import --------- Co-authored-by: georgewrmarshall <george.marshall@consensys.net> Co-authored-by: Garrett Bear <gwhisten@gmail.com> * Part of #18714: Replacing deprecated constants in `confirm-subtitle` folder (#19699) * repalcing deprecated constants * resolve issue * lint fixes --------- Co-authored-by: georgewrmarshall <george.marshall@consensys.net> * Part of #17670: Replace Typography with Text component in: callout.js (#18912) * Part of #17670: Replace Typography with Text component in: callout.js * Update ui/components/ui/callout/callout.js Co-authored-by: Danica Shen <zhaodanica@gmail.com> * Update callout.js * Updating snapshot and deprecating component * Updating snapshot and deprecating component --------- Co-authored-by: Danica Shen <zhaodanica@gmail.com> Co-authored-by: George Marshall <george.marshall@consensys.net> Co-authored-by: Garrett Bear <gwhisten@gmail.com> * [MMI] Added code fences in whats new popup (#19581) * added code fences in whats new popup * Improved code * Added missing prop * Update LavaMoat policies * updated functions by using an options object for the rendering functions in order to bypass possible typsecript issues --------- Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com> * Updated action list in token, NFTs and activity view (#19702) * updated ui for nft import button * updated no nft image found in the center * updated footer for all screens in tabs * removed no nft state from nft tab * updated snapshot * lint fix * fixed e2e tests * fixed prep build error * removed no nfts yet test * updated tabs * fixed prod error * updated no nft screen * changed button size to md * fix: change 'M' to '?' * fix: update fence to keyring-snaps * chore: rename folder * fix: typo * chore: remove logs * feat: add metamask developer constant * fix: sass keyring-snap path * chore: update yarn.lock * fix: remove alias * feat: add KEYRING_SNAPS_REGISTRY_URL env * fix: nested fence * feat: add snap manageAccount e2e (#19777) * feat: add snap manageAccount e2e * feat: update link * fix: lint * fix: get values of restrictedMethodPermissionBuilders * fix: add fence to perferences * fix: stop shuffle * fix: remove KEYRING_SNAPS_REGISTRY_URL from metamaskRc * fix: use permissions to determine account snaps * fix: remove shuffle * fix: add comments to fences in excluded snap permission. * chore: fix policy.json * fix: fix snap-account-detail test * fix: lint * fix: snap accoutn detail page test * Update LavaMoat policies * Update ui/pages/keyring-snaps/snap-account-detail-page/snap-account-detail-page.test.tsx Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * Update ui/pages/keyring-snaps/snap-account-detail-page/snap-account-detail-page.test.tsx Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * fix: remove fence from isAbleToExportAccount * chore: remove comment line * fix: dismiss snap modal * fix: try catch for scroll * fix: icon for manageAccount * fix: update `handleSnapRequest` to make `params` optional and add `id` * fix: lint for uuid * fix: remove arg in saveSnapKeyring * fix: add fence for uuidV4 * chore: bump dep * fix: permission_manageAccounts message and icon * chore: update registry link * chore: convert address to lowercase * fix: change icon * chore: bump eth-snap-keyring * chore: update webapp policy.json * Update ui/pages/keyring-snaps/new-snap-account-page/new-snap-account-page.test.tsx Co-authored-by: Gustavo Antunes <17601467+gantunesr@users.noreply.github.com> * fix: update fences * fix: nested fence * Update app/_locales/en/messages.json Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * Update app/_locales/en/messages.json Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * Update app/_locales/en/messages.json Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * Update app/_locales/en/messages.json Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * Update ui/components/multichain/account-details/account-details-display.js Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * Update ui/pages/keyring-snaps/snap-account-detail-page/header.tsx Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * Update ui/pages/keyring-snaps/snap-account-detail-page/snap-account-detail-page.tsx Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * fix: rename and added jsdoc * fix: add fence to snap label * fix: remove comment * fix: change pixel to int and remove unused class * fix: lint * fix: create two tests for main and flask restricted methods * fix: remove fence in test * fix: lint header * feat: allow `metamask.github.io` in manifest * fix: remove comment * fix: rename isAbleToExportAccount * chore: use a more restrictive registry URL * fix: change to && not || * fix: remove unused * fix: move keyring snaps URL to Flask's base manifest * fix: use fetch instead of fetchWithCache * fix: lint --------- Co-authored-by: kumavis <aaron@kumavis.me> Co-authored-by: Howard Braham <howrad@gmail.com> Co-authored-by: Daniel Rocha <68558152+danroc@users.noreply.github.com> Co-authored-by: Gustavo Antunes <17601467+gantunesr@users.noreply.github.com> Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net> Co-authored-by: Mark Stacey <markjstacey@gmail.com> Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com> Co-authored-by: Gauthier Petetin <gauthierpetetin@hotmail.com> Co-authored-by: Brad Decker <bhdecker84@gmail.com> Co-authored-by: weizman <weizmangal@gmail.com> Co-authored-by: Ariella Vu <20778143+digiwand@users.noreply.github.com> Co-authored-by: Dhruv <79097544+dhruvv173@users.noreply.github.com> Co-authored-by: ryanml <ryanlanese@gmail.com> Co-authored-by: Alex Donesky <adonesky@gmail.com> Co-authored-by: David Walsh <davidwalsh83@gmail.com> Co-authored-by: George Marshall <george.marshall@consensys.net> Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com> Co-authored-by: jiexi <jiexiluan@gmail.com> Co-authored-by: jainex <jainexp017@gmail.com> Co-authored-by: Matthias Kretschmann <m@kretschmann.io> Co-authored-by: Garrett Bear <gwhisten@gmail.com> Co-authored-by: Ujwal Kumar <ujwalkumar95@gmail.com> Co-authored-by: rohit kerkar <129620973+rohiiittttt@users.noreply.github.com> Co-authored-by: Harsh Shukla <125105825+PrgrmrHarshShukla@users.noreply.github.com> Co-authored-by: Danica Shen <zhaodanica@gmail.com> Co-authored-by: Albert Olivé <albertolivecorbella@gmail.com> Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com>
2023-06-29 15:24:08 +02:00
"@metamask/eth-snap-keyring>@metamask/eth-sig-util": true,
"browserify>buffer": true,
"browserify>events": true,
"ethereumjs-wallet>randombytes": true
}
},
"@metamask/eth-keyring-controller>@metamask/eth-simple-keyring>ethereum-cryptography": {
"globals": {
"TextDecoder": true,
"crypto": true
},
"packages": {
"@metamask/eth-keyring-controller>@metamask/eth-simple-keyring>ethereum-cryptography>@noble/hashes": true
}
},
"@metamask/eth-keyring-controller>@metamask/eth-simple-keyring>ethereum-cryptography>@noble/hashes": {
"globals": {
"TextEncoder": true,
"crypto": true
}
},
"@metamask/eth-keyring-controller>obs-store": {
"packages": {
"@metamask/eth-token-tracker>safe-event-emitter": true,
"watchify>xtend": true
}
},
"@metamask/eth-ledger-bridge-keyring": {
"globals": {
"addEventListener": true,
"console.log": true,
"document.createElement": true,
"document.head.appendChild": true,
"fetch": true,
"removeEventListener": true
},
"packages": {
"@ethereumjs/tx": true,
"@metamask/eth-ledger-bridge-keyring>eth-sig-util": true,
"@metamask/eth-ledger-bridge-keyring>hdkey": true,
"browserify>buffer": true,
"browserify>events": true,
"ethereumjs-util": true
}
},
"@metamask/eth-ledger-bridge-keyring>eth-sig-util": {
"packages": {
"@metamask/eth-ledger-bridge-keyring>eth-sig-util>ethereumjs-util": true,
"browserify>buffer": true,
"eth-sig-util>tweetnacl": true,
"eth-sig-util>tweetnacl-util": true,
"ethereumjs-abi": true
}
},
"@metamask/eth-ledger-bridge-keyring>eth-sig-util>ethereumjs-util": {
"packages": {
"@metamask/eth-ledger-bridge-keyring>eth-sig-util>ethereumjs-util>ethjs-util": true,
"bn.js": true,
"browserify>assert": true,
"browserify>buffer": true,
"ethereumjs-util>create-hash": true,
"ethereumjs-util>ethereum-cryptography": true,
"ethereumjs-util>rlp": true,
"ethereumjs-wallet>safe-buffer": true,
"ganache>secp256k1>elliptic": true
}
},
"@metamask/eth-ledger-bridge-keyring>eth-sig-util>ethereumjs-util>ethjs-util": {
"packages": {
"browserify>buffer": true,
"ethjs>ethjs-util>is-hex-prefixed": true,
"ethjs>ethjs-util>strip-hex-prefix": true
}
},
"@metamask/eth-ledger-bridge-keyring>hdkey": {
"packages": {
"@metamask/eth-ledger-bridge-keyring>hdkey>secp256k1": true,
"@metamask/eth-trezor-keyring>hdkey>coinstring": true,
"browserify>assert": true,
"browserify>crypto-browserify": true,
"ethereumjs-wallet>safe-buffer": true
}
},
"@metamask/eth-ledger-bridge-keyring>hdkey>secp256k1": {
"packages": {
"@metamask/eth-trezor-keyring>hdkey>secp256k1>bip66": true,
"bn.js": true,
"browserify>insert-module-globals>is-buffer": true,
"ethereumjs-util>create-hash": true,
"ethereumjs-wallet>safe-buffer": true,
"ganache>secp256k1>elliptic": true
}
},
[FLASK] Add Snaps Keyring (#19710) * flask - add restricted snap_manageAccounts * snap keyring: use local snap keyring instead of package * mvp snap-keyring * fixed the easier lint errors * fix missing permission text * add removal function * update snap keyring * update dep * update git link * update messages and remove snap keyring from lib * set snapprovider as soon as possible * chore: update snap keyring dependency * chore: pass SnapController to SnapKeyring constructor * chore: update deps and comment line (wip) * fix latest update for snaps and remove setController * update yarn lock * add routes * add messages * add message * add snap account detail page * add snap account card * add snap account page * update route * add background * use css grid * update snap text styling * fix lint * remove unused import * change manage link to go to snap * add types for react-router-dom * add link to settings * add breadcrumb to header * add popover * add prop types * add link to propTypes * fix icon in header and tag * update popover * update yarn.lock * add link to account list menu * update from deprecated * add add-snap-popup * use popoverheader * fix lint * update to use modal instead of popup * add install snap * remove export of DeferredPromise * change snap keyring to its own enum * update imports and fences * fix snapId and route * fix header and button for snapCard * hide app header on AddSnapAccountPage * update icon * match path to SnapAccountDetail * set getting started button to close modal * fix key prop warning * add By Metamask message * fix label * add fence to snapkeyringtype * update yarn.lock * refactor removeAccount and static snap list * update removeSnap * feat: remove associated accounts when snap is removed * add get snaps installed to snaps page * fix updateAvailable * add tests to ui components * update test * update scss * udpate config snap popup style * fixed https://www.notion.so/Show-pop-up-only-once-c6aa8494486a4ece8a5c5e35fea56ab5 * update accountListMenu click to open tab or push depending on environment * update yark.lock * remove unused uuid * update lock * update eth-snap-keyring * udpate install from snap page * update to install to use popup * use release versino of eth-snap-keyring * chore: bump snaps-utils version to `0.34.1-flask.1` * update configure snap * chore: update eth-snap-keyring * chore: update policies * fix: remove unused * fix: fix snap-account-detail-page test * fix: fix styles * chore: remove swappable-obj-proxy * fix: fix duplicate entry * fix: disable export private key for snaps account * feat: shuffle snap lists on every reload * fix: configure not popping up * refactor: snapsAddSnapAccountModalDismissal into action and selector * fix: E2BIG when running prettier * fix: lint default export or add-snap-account-modal * fix: lint, remove vendor prefix * fix: fix snapCreatedByMetamask to snapCreatedByMetaMask * Add `manageAccounts` RPC method (#19724) * Update dependencies * Remove snap-keyring-permissions * Update dependencies * Update dependencies * Update imports * removed portfolio link from wallet view (#19716) * removed portfolio link from wallet view * removed unused code * updated test * updated spec file * updated test * Validate LavaMoat policies on each PR (#19703) * Validate LavaMoat policies on each PR The LavaMoat policies are now validated on every PR. This makes it easier to validate policy changes, as they should always correspond with the changes made in the PR (unlike today, when they could be due to a change in platform or a previous PR). Closes #19680 * Update LavaMoat policies --------- Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com> * fix(action): add required permissions to remove labels (#19728) * Fix dependencies * signature approved metrics e2e test (#19628) * Update dependencies * Integrate Snow with LavaMoat scuttling protection (#17969) * Update lavamoat policies * Security Provider cleanup (#19694) * security-prov: isFlaggedSecurityProviderResponse * security-prov: create shared/modules/util * security prov: rn isFlagged -> isSuspcious - util fn returns true if response is not verified and flagged * security prov: add util test and support undefined param * security prov: reorg util fn - no logic changes * Update LavaMoat policies (#19744) Update LavaMoat policies to match what CI expects. * Replacing deprecated constants & creating stories (#19686) * Replacing deprecated constants & creating stories * updating snapshot * fix: fix imports * chore: update policy.json * fix: move SmartTransactionController out of snaps code fence * fix: yarn.lock dedupe * fix: lavamoat policy * fix: update test * fix: remove snapshot, the list of snaps are always randomized. * fix: resole snaps-controller to use flask --------- Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net> Co-authored-by: Mark Stacey <markjstacey@gmail.com> Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com> Co-authored-by: Gauthier Petetin <gauthierpetetin@hotmail.com> Co-authored-by: Brad Decker <bhdecker84@gmail.com> Co-authored-by: weizman <weizmangal@gmail.com> Co-authored-by: Ariella Vu <20778143+digiwand@users.noreply.github.com> Co-authored-by: Dhruv <79097544+dhruvv173@users.noreply.github.com> Co-authored-by: Monte Lai <monte.lai@consensys.net> * Update LavaMoat policies * chore: fix webapp policy.json * feat: add snap label test * feat: test to disable export private key for snap accounts * feat: add snap account link test in account-list-menu * fix: add fence for setSnapsAddSnapAccountModalDismissed * fix: remove comments * fix: move routes into snaps fence * feat: use snap registry * fix: account snap identification * chore: add `keyring-snaps` feature flag * fix: remove unneeded spread * Disable warn logs in content-script (#19754) * Use Yarn caching in GitHub Actions (#19662) GitHub actions that install dependencies will now also cache those dependencies using the standard strategy for Yarn (which is to hash the lockfile). This matches the module template (see https://github.com/MetaMask/metamask-module-template/pull/145 for details). This should have no functional impact except that this action will run faster when dependencies are unchanged. * Fixing misspelling in 10.28.0 changelog notes (#19756) * Add `tokenId` type validation in `wallet_watchAsset` middleware (#19738) * Remove unused GitHub Action workflow (#19660) This GitHub action workflow was disabled, but was still running setup steps. It has now been removed entirely. We can re-introduce it again later once the problem that led to it being disabled has been fixed. The associated npm script and JavaScript module have been removed as well. * Fix #847 - Don't show account address on token pages (#19740) Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net> * Deprecating FormField and fixing console error (#19739) * Deprecating FormField and fixing console error * Updating snapshots * updated linea image for token and badge (#19717) * updated linea image for token and badge * replaced hardcoded string with constant * UI updates for contacts Page (#19646) * updated contacts flow update * json file updates * updated contacts edit and view list * keep contacts tab selected * lint fix * replaced hardcoded strings with constant * updated padding in box * Replacing deprecated components and fixing prop errors (#19745) * Use `snaps@0.35.2-flask.1` and `snaps@1.0.0-prerelease.1` (#19734) * snaps@0.35.0-flask.1 * Update LavaMoat policies * Update stable snaps packages to 1.0.0-prerelease.1 * Update LavaMoat policies * Fix lint * snaps@0.35.2 * Exclude snap_manageAccounts * Code fencing * Revert removing endowment:keyring exclusion * Bump iframe URLs * UX: Ensure multichain native token name is always shown (#19705) * UX: Ensure multichain native token name is always shown * Fix lint * UX Multichain: fixed padding for edit screen (#19707) * fixed padding for edit screen * Use network picker for header trigger * Fix swaps display * updated snapshot --------- Co-authored-by: David Walsh <davidwalsh83@gmail.com> * Bump @metamask/providers to v11.1.0 (#19762) * Bump @metamask/providers to v11.1.0 --------- Co-authored-by: Alex <adonesky@gmail.com> * Fix fallback gas estimation (#19746) * Fix fallback gas estimation Our fallback gas estimation was failing due to a bug in the `@metamask/controller-utils` package. This was causing gas estimation to fail completely on certain networks (those not supported by our gas estimation APIs and non EIP-1559 compatibile), and it was causing the fallback gas estimation operation (in case our API was down) to fail across all networks. Fixes https://github.com/MetaMask/metamask-extension/issues/19735 * Add e2e tests E2E tests have been added to capture gas estimation. Cases are added for our API, for the fallback estimate, and for non-EIP-1559 estimates. As part of this work, the legacy gas API had to be disabled. This was being used in e2e tests but was dead code in production. It needed to be disabled to ensure the code under test was reachable. * Fix gas API referenced in e2e test * Update unit test snapshots * Update Label component font weight from bold to medium (#19731) * Update Label component font weight from bold to medium * update snapshot * fix snapshots * fix snapshots 2 * Removeing deprecated constants for enums --------- Co-authored-by: georgewrmarshall <george.marshall@consensys.net> * Part of #17670: Replace Typography with Text component in CancelSpeedupPopover (#18638) * create story * replace Typography with Text component * review changes * replace CSS with props styling * use `Button` from `component-library` * tooltip HTML refactor with `component-library` components * remove whitespace in story * strong tag support within Text component * addresses #18651 * taken from #18752 as suggested in https://github.com/MetaMask/metamask-extension/pull/18638#discussion_r1176334805 * replace `strong` with new `Text as="strong"` * remove unneccessary css from fa564e3f036f1439f9f220cca23595b508760614 * add text variant definition * Updating text variant of button * restrore proper spacing between elements * Quick fix for test * Adding key --------- Co-authored-by: georgewrmarshall <george.marshall@consensys.net> Co-authored-by: Garrett Bear <gwhisten@gmail.com> * Issue 17670 replace typography with text (#19433) * Replace Typograph with Text component in numeric-input-component.js * Replace Typography with Text component in signature-request-message.js * Replace Typography with Text component in signature-request.component.js * Replacing deprecating constants and fixing some signature story warnings * Updating snapshot * Fixing import --------- Co-authored-by: georgewrmarshall <george.marshall@consensys.net> Co-authored-by: Garrett Bear <gwhisten@gmail.com> * Part of #18714: Replacing deprecated constants in `confirm-subtitle` folder (#19699) * repalcing deprecated constants * resolve issue * lint fixes --------- Co-authored-by: georgewrmarshall <george.marshall@consensys.net> * Part of #17670: Replace Typography with Text component in: callout.js (#18912) * Part of #17670: Replace Typography with Text component in: callout.js * Update ui/components/ui/callout/callout.js Co-authored-by: Danica Shen <zhaodanica@gmail.com> * Update callout.js * Updating snapshot and deprecating component * Updating snapshot and deprecating component --------- Co-authored-by: Danica Shen <zhaodanica@gmail.com> Co-authored-by: George Marshall <george.marshall@consensys.net> Co-authored-by: Garrett Bear <gwhisten@gmail.com> * [MMI] Added code fences in whats new popup (#19581) * added code fences in whats new popup * Improved code * Added missing prop * Update LavaMoat policies * updated functions by using an options object for the rendering functions in order to bypass possible typsecript issues --------- Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com> * Updated action list in token, NFTs and activity view (#19702) * updated ui for nft import button * updated no nft image found in the center * updated footer for all screens in tabs * removed no nft state from nft tab * updated snapshot * lint fix * fixed e2e tests * fixed prep build error * removed no nfts yet test * updated tabs * fixed prod error * updated no nft screen * changed button size to md * fix: change 'M' to '?' * fix: update fence to keyring-snaps * chore: rename folder * fix: typo * chore: remove logs * feat: add metamask developer constant * fix: sass keyring-snap path * chore: update yarn.lock * fix: remove alias * feat: add KEYRING_SNAPS_REGISTRY_URL env * fix: nested fence * feat: add snap manageAccount e2e (#19777) * feat: add snap manageAccount e2e * feat: update link * fix: lint * fix: get values of restrictedMethodPermissionBuilders * fix: add fence to perferences * fix: stop shuffle * fix: remove KEYRING_SNAPS_REGISTRY_URL from metamaskRc * fix: use permissions to determine account snaps * fix: remove shuffle * fix: add comments to fences in excluded snap permission. * chore: fix policy.json * fix: fix snap-account-detail test * fix: lint * fix: snap accoutn detail page test * Update LavaMoat policies * Update ui/pages/keyring-snaps/snap-account-detail-page/snap-account-detail-page.test.tsx Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * Update ui/pages/keyring-snaps/snap-account-detail-page/snap-account-detail-page.test.tsx Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * fix: remove fence from isAbleToExportAccount * chore: remove comment line * fix: dismiss snap modal * fix: try catch for scroll * fix: icon for manageAccount * fix: update `handleSnapRequest` to make `params` optional and add `id` * fix: lint for uuid * fix: remove arg in saveSnapKeyring * fix: add fence for uuidV4 * chore: bump dep * fix: permission_manageAccounts message and icon * chore: update registry link * chore: convert address to lowercase * fix: change icon * chore: bump eth-snap-keyring * chore: update webapp policy.json * Update ui/pages/keyring-snaps/new-snap-account-page/new-snap-account-page.test.tsx Co-authored-by: Gustavo Antunes <17601467+gantunesr@users.noreply.github.com> * fix: update fences * fix: nested fence * Update app/_locales/en/messages.json Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * Update app/_locales/en/messages.json Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * Update app/_locales/en/messages.json Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * Update app/_locales/en/messages.json Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * Update ui/components/multichain/account-details/account-details-display.js Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * Update ui/pages/keyring-snaps/snap-account-detail-page/header.tsx Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * Update ui/pages/keyring-snaps/snap-account-detail-page/snap-account-detail-page.tsx Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * fix: rename and added jsdoc * fix: add fence to snap label * fix: remove comment * fix: change pixel to int and remove unused class * fix: lint * fix: create two tests for main and flask restricted methods * fix: remove fence in test * fix: lint header * feat: allow `metamask.github.io` in manifest * fix: remove comment * fix: rename isAbleToExportAccount * chore: use a more restrictive registry URL * fix: change to && not || * fix: remove unused * fix: move keyring snaps URL to Flask's base manifest * fix: use fetch instead of fetchWithCache * fix: lint --------- Co-authored-by: kumavis <aaron@kumavis.me> Co-authored-by: Howard Braham <howrad@gmail.com> Co-authored-by: Daniel Rocha <68558152+danroc@users.noreply.github.com> Co-authored-by: Gustavo Antunes <17601467+gantunesr@users.noreply.github.com> Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net> Co-authored-by: Mark Stacey <markjstacey@gmail.com> Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com> Co-authored-by: Gauthier Petetin <gauthierpetetin@hotmail.com> Co-authored-by: Brad Decker <bhdecker84@gmail.com> Co-authored-by: weizman <weizmangal@gmail.com> Co-authored-by: Ariella Vu <20778143+digiwand@users.noreply.github.com> Co-authored-by: Dhruv <79097544+dhruvv173@users.noreply.github.com> Co-authored-by: ryanml <ryanlanese@gmail.com> Co-authored-by: Alex Donesky <adonesky@gmail.com> Co-authored-by: David Walsh <davidwalsh83@gmail.com> Co-authored-by: George Marshall <george.marshall@consensys.net> Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com> Co-authored-by: jiexi <jiexiluan@gmail.com> Co-authored-by: jainex <jainexp017@gmail.com> Co-authored-by: Matthias Kretschmann <m@kretschmann.io> Co-authored-by: Garrett Bear <gwhisten@gmail.com> Co-authored-by: Ujwal Kumar <ujwalkumar95@gmail.com> Co-authored-by: rohit kerkar <129620973+rohiiittttt@users.noreply.github.com> Co-authored-by: Harsh Shukla <125105825+PrgrmrHarshShukla@users.noreply.github.com> Co-authored-by: Danica Shen <zhaodanica@gmail.com> Co-authored-by: Albert Olivé <albertolivecorbella@gmail.com> Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com>
2023-06-29 15:24:08 +02:00
"@metamask/eth-snap-keyring": {
"globals": {
"console.error": true,
"console.warn": true
},
"packages": {
"@ethereumjs/tx": true,
"@metamask/eth-snap-keyring>@metamask/keyring-api": true,
"@metamask/eth-snap-keyring>@metamask/utils": true,
"@metamask/eth-snap-keyring>uuid": true,
"browserify>events": true,
"superstruct": true
}
},
"@metamask/eth-snap-keyring>@metamask/eth-sig-util": {
"packages": {
"@ethereumjs/tx>@ethereumjs/util": true,
"@metamask/eth-snap-keyring>@metamask/eth-sig-util>ethereum-cryptography": true,
"@metamask/eth-snap-keyring>@metamask/eth-sig-util>ethjs-util": true,
"bn.js": true,
"browserify>buffer": true,
"eth-sig-util>tweetnacl": true,
"eth-sig-util>tweetnacl-util": true
}
},
"@metamask/eth-snap-keyring>@metamask/eth-sig-util>ethereum-cryptography": {
"globals": {
"TextDecoder": true,
"crypto": true
},
"packages": {
"@metamask/eth-snap-keyring>@metamask/eth-sig-util>ethereum-cryptography>@noble/hashes": true
}
},
"@metamask/eth-snap-keyring>@metamask/eth-sig-util>ethereum-cryptography>@noble/hashes": {
"globals": {
"TextEncoder": true,
"crypto": true
}
},
"@metamask/eth-snap-keyring>@metamask/eth-sig-util>ethjs-util": {
"packages": {
"browserify>buffer": true,
"ethjs>ethjs-util>is-hex-prefixed": true,
"ethjs>ethjs-util>strip-hex-prefix": true
}
},
"@metamask/eth-snap-keyring>@metamask/keyring-api": {
"packages": {
"@metamask/eth-snap-keyring>@metamask/keyring-api>@metamask/utils": true,
"@metamask/eth-snap-keyring>@metamask/keyring-api>uuid": true,
"superstruct": true
}
},
"@metamask/eth-snap-keyring>@metamask/keyring-api>@metamask/utils": {
"globals": {
"TextDecoder": true,
"TextEncoder": true
},
"packages": {
"browserify>buffer": true,
"nock>debug": true,
"semver": true,
"superstruct": true
}
},
"@metamask/eth-snap-keyring>@metamask/keyring-api>uuid": {
"globals": {
"crypto": true
}
},
"@metamask/eth-snap-keyring>@metamask/utils": {
"globals": {
"TextDecoder": true,
"TextEncoder": true
},
"packages": {
"browserify>buffer": true,
"nock>debug": true,
"semver": true,
"superstruct": true
}
},
"@metamask/eth-snap-keyring>uuid": {
"globals": {
"crypto": true
}
},
"@metamask/eth-token-tracker": {
"globals": {
"console.warn": true
},
"packages": {
"@babel/runtime": true,
"@metamask/eth-token-tracker>deep-equal": true,
"@metamask/eth-token-tracker>eth-block-tracker": true,
"@metamask/eth-token-tracker>ethjs": true,
"@metamask/eth-token-tracker>human-standard-token-abi": true,
"@metamask/eth-token-tracker>safe-event-emitter": true,
"ethjs-contract": true,
"ethjs-query": true
}
},
"@metamask/eth-token-tracker>deep-equal": {
"packages": {
"@metamask/eth-token-tracker>deep-equal>is-arguments": true,
"@metamask/eth-token-tracker>deep-equal>is-date-object": true,
"@ngraveio/bc-ur>assert>object-is": true,
"globalthis>define-properties>object-keys": true,
"string.prototype.matchall>es-abstract>is-regex": true,
"string.prototype.matchall>regexp.prototype.flags": true
}
},
"@metamask/eth-token-tracker>deep-equal>is-arguments": {
"packages": {
"koa>is-generator-function>has-tostringtag": true,
"string.prototype.matchall>call-bind": true
}
},
"@metamask/eth-token-tracker>deep-equal>is-date-object": {
"packages": {
"koa>is-generator-function>has-tostringtag": true
}
},
"@metamask/eth-token-tracker>eth-block-tracker": {
"globals": {
"clearTimeout": true,
"console.error": true,
"setTimeout": true
},
"packages": {
"@metamask/eth-token-tracker>eth-block-tracker>pify": true,
"@metamask/eth-token-tracker>safe-event-emitter": true,
"eth-query": true
}
},
"@metamask/eth-token-tracker>ethjs": {
"globals": {
"clearInterval": true,
"setInterval": true
},
"packages": {
"@metamask/eth-token-tracker>ethjs>bn.js": true,
"@metamask/eth-token-tracker>ethjs>ethjs-abi": true,
"@metamask/eth-token-tracker>ethjs>ethjs-contract": true,
"@metamask/eth-token-tracker>ethjs>ethjs-query": true,
"browserify>buffer": true,
"ethjs>ethjs-filter": true,
"ethjs>ethjs-provider-http": true,
"ethjs>ethjs-unit": true,
"ethjs>ethjs-util": true,
"ethjs>js-sha3": true,
"ethjs>number-to-bn": true
}
},
"@metamask/eth-token-tracker>ethjs>ethjs-abi": {
"packages": {
"@metamask/eth-token-tracker>ethjs>bn.js": true,
"browserify>buffer": true,
"ethjs>js-sha3": true,
"ethjs>number-to-bn": true
}
},
"@metamask/eth-token-tracker>ethjs>ethjs-contract": {
"packages": {
"@metamask/eth-token-tracker>ethjs>ethjs-contract>ethjs-abi": true,
"ethjs-query>babel-runtime": true,
"ethjs>ethjs-filter": true,
"ethjs>ethjs-util": true,
"ethjs>js-sha3": true,
"promise-to-callback": true
}
},
"@metamask/eth-token-tracker>ethjs>ethjs-contract>ethjs-abi": {
"packages": {
"@metamask/eth-token-tracker>ethjs>bn.js": true,
"browserify>buffer": true,
"ethjs>js-sha3": true,
"ethjs>number-to-bn": true
}
},
"@metamask/eth-token-tracker>ethjs>ethjs-query": {
"globals": {
"console": true
},
"packages": {
"ethjs-query>babel-runtime": true,
"ethjs-query>ethjs-format": true,
"ethjs-query>ethjs-rpc": true,
"promise-to-callback": true
}
},
"@metamask/eth-token-tracker>safe-event-emitter": {
"globals": {
"setTimeout": true
},
"packages": {
"browserify>util": true,
"webpack>events": true
}
},
"@metamask/eth-trezor-keyring": {
"globals": {
"setTimeout": true
},
"packages": {
"@ethereumjs/tx": true,
"@ethereumjs/tx>@ethereumjs/util": true,
"@metamask/eth-trezor-keyring>@trezor/connect-plugin-ethereum": true,
"@metamask/eth-trezor-keyring>@trezor/connect-web": true,
"@metamask/eth-trezor-keyring>hdkey": true,
"browserify>buffer": true,
"browserify>events": true
}
},
"@metamask/eth-trezor-keyring>@trezor/connect-plugin-ethereum": {
"packages": {
[FLASK] Add Snaps Keyring (#19710) * flask - add restricted snap_manageAccounts * snap keyring: use local snap keyring instead of package * mvp snap-keyring * fixed the easier lint errors * fix missing permission text * add removal function * update snap keyring * update dep * update git link * update messages and remove snap keyring from lib * set snapprovider as soon as possible * chore: update snap keyring dependency * chore: pass SnapController to SnapKeyring constructor * chore: update deps and comment line (wip) * fix latest update for snaps and remove setController * update yarn lock * add routes * add messages * add message * add snap account detail page * add snap account card * add snap account page * update route * add background * use css grid * update snap text styling * fix lint * remove unused import * change manage link to go to snap * add types for react-router-dom * add link to settings * add breadcrumb to header * add popover * add prop types * add link to propTypes * fix icon in header and tag * update popover * update yarn.lock * add link to account list menu * update from deprecated * add add-snap-popup * use popoverheader * fix lint * update to use modal instead of popup * add install snap * remove export of DeferredPromise * change snap keyring to its own enum * update imports and fences * fix snapId and route * fix header and button for snapCard * hide app header on AddSnapAccountPage * update icon * match path to SnapAccountDetail * set getting started button to close modal * fix key prop warning * add By Metamask message * fix label * add fence to snapkeyringtype * update yarn.lock * refactor removeAccount and static snap list * update removeSnap * feat: remove associated accounts when snap is removed * add get snaps installed to snaps page * fix updateAvailable * add tests to ui components * update test * update scss * udpate config snap popup style * fixed https://www.notion.so/Show-pop-up-only-once-c6aa8494486a4ece8a5c5e35fea56ab5 * update accountListMenu click to open tab or push depending on environment * update yark.lock * remove unused uuid * update lock * update eth-snap-keyring * udpate install from snap page * update to install to use popup * use release versino of eth-snap-keyring * chore: bump snaps-utils version to `0.34.1-flask.1` * update configure snap * chore: update eth-snap-keyring * chore: update policies * fix: remove unused * fix: fix snap-account-detail-page test * fix: fix styles * chore: remove swappable-obj-proxy * fix: fix duplicate entry * fix: disable export private key for snaps account * feat: shuffle snap lists on every reload * fix: configure not popping up * refactor: snapsAddSnapAccountModalDismissal into action and selector * fix: E2BIG when running prettier * fix: lint default export or add-snap-account-modal * fix: lint, remove vendor prefix * fix: fix snapCreatedByMetamask to snapCreatedByMetaMask * Add `manageAccounts` RPC method (#19724) * Update dependencies * Remove snap-keyring-permissions * Update dependencies * Update dependencies * Update imports * removed portfolio link from wallet view (#19716) * removed portfolio link from wallet view * removed unused code * updated test * updated spec file * updated test * Validate LavaMoat policies on each PR (#19703) * Validate LavaMoat policies on each PR The LavaMoat policies are now validated on every PR. This makes it easier to validate policy changes, as they should always correspond with the changes made in the PR (unlike today, when they could be due to a change in platform or a previous PR). Closes #19680 * Update LavaMoat policies --------- Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com> * fix(action): add required permissions to remove labels (#19728) * Fix dependencies * signature approved metrics e2e test (#19628) * Update dependencies * Integrate Snow with LavaMoat scuttling protection (#17969) * Update lavamoat policies * Security Provider cleanup (#19694) * security-prov: isFlaggedSecurityProviderResponse * security-prov: create shared/modules/util * security prov: rn isFlagged -> isSuspcious - util fn returns true if response is not verified and flagged * security prov: add util test and support undefined param * security prov: reorg util fn - no logic changes * Update LavaMoat policies (#19744) Update LavaMoat policies to match what CI expects. * Replacing deprecated constants & creating stories (#19686) * Replacing deprecated constants & creating stories * updating snapshot * fix: fix imports * chore: update policy.json * fix: move SmartTransactionController out of snaps code fence * fix: yarn.lock dedupe * fix: lavamoat policy * fix: update test * fix: remove snapshot, the list of snaps are always randomized. * fix: resole snaps-controller to use flask --------- Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net> Co-authored-by: Mark Stacey <markjstacey@gmail.com> Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com> Co-authored-by: Gauthier Petetin <gauthierpetetin@hotmail.com> Co-authored-by: Brad Decker <bhdecker84@gmail.com> Co-authored-by: weizman <weizmangal@gmail.com> Co-authored-by: Ariella Vu <20778143+digiwand@users.noreply.github.com> Co-authored-by: Dhruv <79097544+dhruvv173@users.noreply.github.com> Co-authored-by: Monte Lai <monte.lai@consensys.net> * Update LavaMoat policies * chore: fix webapp policy.json * feat: add snap label test * feat: test to disable export private key for snap accounts * feat: add snap account link test in account-list-menu * fix: add fence for setSnapsAddSnapAccountModalDismissed * fix: remove comments * fix: move routes into snaps fence * feat: use snap registry * fix: account snap identification * chore: add `keyring-snaps` feature flag * fix: remove unneeded spread * Disable warn logs in content-script (#19754) * Use Yarn caching in GitHub Actions (#19662) GitHub actions that install dependencies will now also cache those dependencies using the standard strategy for Yarn (which is to hash the lockfile). This matches the module template (see https://github.com/MetaMask/metamask-module-template/pull/145 for details). This should have no functional impact except that this action will run faster when dependencies are unchanged. * Fixing misspelling in 10.28.0 changelog notes (#19756) * Add `tokenId` type validation in `wallet_watchAsset` middleware (#19738) * Remove unused GitHub Action workflow (#19660) This GitHub action workflow was disabled, but was still running setup steps. It has now been removed entirely. We can re-introduce it again later once the problem that led to it being disabled has been fixed. The associated npm script and JavaScript module have been removed as well. * Fix #847 - Don't show account address on token pages (#19740) Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net> * Deprecating FormField and fixing console error (#19739) * Deprecating FormField and fixing console error * Updating snapshots * updated linea image for token and badge (#19717) * updated linea image for token and badge * replaced hardcoded string with constant * UI updates for contacts Page (#19646) * updated contacts flow update * json file updates * updated contacts edit and view list * keep contacts tab selected * lint fix * replaced hardcoded strings with constant * updated padding in box * Replacing deprecated components and fixing prop errors (#19745) * Use `snaps@0.35.2-flask.1` and `snaps@1.0.0-prerelease.1` (#19734) * snaps@0.35.0-flask.1 * Update LavaMoat policies * Update stable snaps packages to 1.0.0-prerelease.1 * Update LavaMoat policies * Fix lint * snaps@0.35.2 * Exclude snap_manageAccounts * Code fencing * Revert removing endowment:keyring exclusion * Bump iframe URLs * UX: Ensure multichain native token name is always shown (#19705) * UX: Ensure multichain native token name is always shown * Fix lint * UX Multichain: fixed padding for edit screen (#19707) * fixed padding for edit screen * Use network picker for header trigger * Fix swaps display * updated snapshot --------- Co-authored-by: David Walsh <davidwalsh83@gmail.com> * Bump @metamask/providers to v11.1.0 (#19762) * Bump @metamask/providers to v11.1.0 --------- Co-authored-by: Alex <adonesky@gmail.com> * Fix fallback gas estimation (#19746) * Fix fallback gas estimation Our fallback gas estimation was failing due to a bug in the `@metamask/controller-utils` package. This was causing gas estimation to fail completely on certain networks (those not supported by our gas estimation APIs and non EIP-1559 compatibile), and it was causing the fallback gas estimation operation (in case our API was down) to fail across all networks. Fixes https://github.com/MetaMask/metamask-extension/issues/19735 * Add e2e tests E2E tests have been added to capture gas estimation. Cases are added for our API, for the fallback estimate, and for non-EIP-1559 estimates. As part of this work, the legacy gas API had to be disabled. This was being used in e2e tests but was dead code in production. It needed to be disabled to ensure the code under test was reachable. * Fix gas API referenced in e2e test * Update unit test snapshots * Update Label component font weight from bold to medium (#19731) * Update Label component font weight from bold to medium * update snapshot * fix snapshots * fix snapshots 2 * Removeing deprecated constants for enums --------- Co-authored-by: georgewrmarshall <george.marshall@consensys.net> * Part of #17670: Replace Typography with Text component in CancelSpeedupPopover (#18638) * create story * replace Typography with Text component * review changes * replace CSS with props styling * use `Button` from `component-library` * tooltip HTML refactor with `component-library` components * remove whitespace in story * strong tag support within Text component * addresses #18651 * taken from #18752 as suggested in https://github.com/MetaMask/metamask-extension/pull/18638#discussion_r1176334805 * replace `strong` with new `Text as="strong"` * remove unneccessary css from fa564e3f036f1439f9f220cca23595b508760614 * add text variant definition * Updating text variant of button * restrore proper spacing between elements * Quick fix for test * Adding key --------- Co-authored-by: georgewrmarshall <george.marshall@consensys.net> Co-authored-by: Garrett Bear <gwhisten@gmail.com> * Issue 17670 replace typography with text (#19433) * Replace Typograph with Text component in numeric-input-component.js * Replace Typography with Text component in signature-request-message.js * Replace Typography with Text component in signature-request.component.js * Replacing deprecating constants and fixing some signature story warnings * Updating snapshot * Fixing import --------- Co-authored-by: georgewrmarshall <george.marshall@consensys.net> Co-authored-by: Garrett Bear <gwhisten@gmail.com> * Part of #18714: Replacing deprecated constants in `confirm-subtitle` folder (#19699) * repalcing deprecated constants * resolve issue * lint fixes --------- Co-authored-by: georgewrmarshall <george.marshall@consensys.net> * Part of #17670: Replace Typography with Text component in: callout.js (#18912) * Part of #17670: Replace Typography with Text component in: callout.js * Update ui/components/ui/callout/callout.js Co-authored-by: Danica Shen <zhaodanica@gmail.com> * Update callout.js * Updating snapshot and deprecating component * Updating snapshot and deprecating component --------- Co-authored-by: Danica Shen <zhaodanica@gmail.com> Co-authored-by: George Marshall <george.marshall@consensys.net> Co-authored-by: Garrett Bear <gwhisten@gmail.com> * [MMI] Added code fences in whats new popup (#19581) * added code fences in whats new popup * Improved code * Added missing prop * Update LavaMoat policies * updated functions by using an options object for the rendering functions in order to bypass possible typsecript issues --------- Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com> * Updated action list in token, NFTs and activity view (#19702) * updated ui for nft import button * updated no nft image found in the center * updated footer for all screens in tabs * removed no nft state from nft tab * updated snapshot * lint fix * fixed e2e tests * fixed prep build error * removed no nfts yet test * updated tabs * fixed prod error * updated no nft screen * changed button size to md * fix: change 'M' to '?' * fix: update fence to keyring-snaps * chore: rename folder * fix: typo * chore: remove logs * feat: add metamask developer constant * fix: sass keyring-snap path * chore: update yarn.lock * fix: remove alias * feat: add KEYRING_SNAPS_REGISTRY_URL env * fix: nested fence * feat: add snap manageAccount e2e (#19777) * feat: add snap manageAccount e2e * feat: update link * fix: lint * fix: get values of restrictedMethodPermissionBuilders * fix: add fence to perferences * fix: stop shuffle * fix: remove KEYRING_SNAPS_REGISTRY_URL from metamaskRc * fix: use permissions to determine account snaps * fix: remove shuffle * fix: add comments to fences in excluded snap permission. * chore: fix policy.json * fix: fix snap-account-detail test * fix: lint * fix: snap accoutn detail page test * Update LavaMoat policies * Update ui/pages/keyring-snaps/snap-account-detail-page/snap-account-detail-page.test.tsx Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * Update ui/pages/keyring-snaps/snap-account-detail-page/snap-account-detail-page.test.tsx Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * fix: remove fence from isAbleToExportAccount * chore: remove comment line * fix: dismiss snap modal * fix: try catch for scroll * fix: icon for manageAccount * fix: update `handleSnapRequest` to make `params` optional and add `id` * fix: lint for uuid * fix: remove arg in saveSnapKeyring * fix: add fence for uuidV4 * chore: bump dep * fix: permission_manageAccounts message and icon * chore: update registry link * chore: convert address to lowercase * fix: change icon * chore: bump eth-snap-keyring * chore: update webapp policy.json * Update ui/pages/keyring-snaps/new-snap-account-page/new-snap-account-page.test.tsx Co-authored-by: Gustavo Antunes <17601467+gantunesr@users.noreply.github.com> * fix: update fences * fix: nested fence * Update app/_locales/en/messages.json Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * Update app/_locales/en/messages.json Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * Update app/_locales/en/messages.json Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * Update app/_locales/en/messages.json Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * Update ui/components/multichain/account-details/account-details-display.js Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * Update ui/pages/keyring-snaps/snap-account-detail-page/header.tsx Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * Update ui/pages/keyring-snaps/snap-account-detail-page/snap-account-detail-page.tsx Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com> * fix: rename and added jsdoc * fix: add fence to snap label * fix: remove comment * fix: change pixel to int and remove unused class * fix: lint * fix: create two tests for main and flask restricted methods * fix: remove fence in test * fix: lint header * feat: allow `metamask.github.io` in manifest * fix: remove comment * fix: rename isAbleToExportAccount * chore: use a more restrictive registry URL * fix: change to && not || * fix: remove unused * fix: move keyring snaps URL to Flask's base manifest * fix: use fetch instead of fetchWithCache * fix: lint --------- Co-authored-by: kumavis <aaron@kumavis.me> Co-authored-by: Howard Braham <howrad@gmail.com> Co-authored-by: Daniel Rocha <68558152+danroc@users.noreply.github.com> Co-authored-by: Gustavo Antunes <17601467+gantunesr@users.noreply.github.com> Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net> Co-authored-by: Mark Stacey <markjstacey@gmail.com> Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com> Co-authored-by: Gauthier Petetin <gauthierpetetin@hotmail.com> Co-authored-by: Brad Decker <bhdecker84@gmail.com> Co-authored-by: weizman <weizmangal@gmail.com> Co-authored-by: Ariella Vu <20778143+digiwand@users.noreply.github.com> Co-authored-by: Dhruv <79097544+dhruvv173@users.noreply.github.com> Co-authored-by: ryanml <ryanlanese@gmail.com> Co-authored-by: Alex Donesky <adonesky@gmail.com> Co-authored-by: David Walsh <davidwalsh83@gmail.com> Co-authored-by: George Marshall <george.marshall@consensys.net> Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com> Co-authored-by: jiexi <jiexiluan@gmail.com> Co-authored-by: jainex <jainexp017@gmail.com> Co-authored-by: Matthias Kretschmann <m@kretschmann.io> Co-authored-by: Garrett Bear <gwhisten@gmail.com> Co-authored-by: Ujwal Kumar <ujwalkumar95@gmail.com> Co-authored-by: rohit kerkar <129620973+rohiiittttt@users.noreply.github.com> Co-authored-by: Harsh Shukla <125105825+PrgrmrHarshShukla@users.noreply.github.com> Co-authored-by: Danica Shen <zhaodanica@gmail.com> Co-authored-by: Albert Olivé <albertolivecorbella@gmail.com> Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com>
2023-06-29 15:24:08 +02:00
"@metamask/eth-snap-keyring>@metamask/eth-sig-util": true
}
},
"@metamask/eth-trezor-keyring>@trezor/connect-web": {
"globals": {
"addEventListener": true,
"btoa": true,
"chrome": true,
"clearInterval": true,
"clearTimeout": true,
"console.warn": true,
"document.body": true,
"document.createElement": true,
"document.createTextNode": true,
"document.getElementById": true,
"document.querySelectorAll": true,
"navigator.usb.requestDevice": true,
"open": true,
"removeEventListener": true,
"setInterval": true,
"setTimeout": true
},
"packages": {
"@metamask/eth-trezor-keyring>@trezor/connect-web>@trezor/connect": true,
"@metamask/eth-trezor-keyring>@trezor/connect-web>@trezor/utils": true,
"browserify>events": true,
"wait-on>rxjs>tslib": true
}
},
"@metamask/eth-trezor-keyring>@trezor/connect-web>@trezor/connect": {
"globals": {
"__TREZOR_CONNECT_SRC": true,
"chrome": true,
"console.error": true,
"console.log": true,
"console.warn": true,
"location": true,
"navigator": true
},
"packages": {
"@metamask/eth-trezor-keyring>@trezor/connect-web>@trezor/connect>@trezor/transport": true,
"wait-on>rxjs>tslib": true
}
},
"@metamask/eth-trezor-keyring>@trezor/connect-web>@trezor/connect>@trezor/transport": {
"globals": {
"fetch": true,
"navigator.usb": true,
"onconnect": "write",
"setTimeout": true
},
"packages": {
"@metamask/eth-trezor-keyring>@trezor/connect-web>@trezor/connect>@trezor/transport>bytebuffer": true,
"@metamask/eth-trezor-keyring>@trezor/connect-web>@trezor/connect>@trezor/transport>long": true,
"@metamask/eth-trezor-keyring>@trezor/connect-web>@trezor/connect>@trezor/transport>protobufjs": true,
"@metamask/eth-trezor-keyring>@trezor/connect-web>@trezor/utils": true,
"browserify>buffer": true,
"browserify>events": true,
"lavamoat>json-stable-stringify": true
}
},
"@metamask/eth-trezor-keyring>@trezor/connect-web>@trezor/connect>@trezor/transport>bytebuffer": {
"globals": {
"console": true,
"define": true
},
"packages": {
"@metamask/eth-trezor-keyring>@trezor/connect-web>@trezor/connect>@trezor/transport>bytebuffer>long": true
}
},
"@metamask/eth-trezor-keyring>@trezor/connect-web>@trezor/connect>@trezor/transport>bytebuffer>long": {
"globals": {
"define": true
}
},
"@metamask/eth-trezor-keyring>@trezor/connect-web>@trezor/connect>@trezor/transport>long": {
"globals": {
"WebAssembly.Instance": true,
"WebAssembly.Module": true
}
},
"@metamask/eth-trezor-keyring>@trezor/connect-web>@trezor/connect>@trezor/transport>protobufjs": {
"globals": {
"process": true,
"setTimeout": true
},
"packages": {
"@metamask/eth-trezor-keyring>@trezor/connect-web>@trezor/connect>@trezor/transport>protobufjs>@protobufjs/aspromise": true,
"@metamask/eth-trezor-keyring>@trezor/connect-web>@trezor/connect>@trezor/transport>protobufjs>@protobufjs/base64": true,
"@metamask/eth-trezor-keyring>@trezor/connect-web>@trezor/connect>@trezor/transport>protobufjs>@protobufjs/codegen": true,
"@metamask/eth-trezor-keyring>@trezor/connect-web>@trezor/connect>@trezor/transport>protobufjs>@protobufjs/eventemitter": true,
"@metamask/eth-trezor-keyring>@trezor/connect-web>@trezor/connect>@trezor/transport>protobufjs>@protobufjs/fetch": true,
"@metamask/eth-trezor-keyring>@trezor/connect-web>@trezor/connect>@trezor/transport>protobufjs>@protobufjs/float": true,
"@metamask/eth-trezor-keyring>@trezor/connect-web>@trezor/connect>@trezor/transport>protobufjs>@protobufjs/inquire": true,
"@metamask/eth-trezor-keyring>@trezor/connect-web>@trezor/connect>@trezor/transport>protobufjs>@protobufjs/path": true,
"@metamask/eth-trezor-keyring>@trezor/connect-web>@trezor/connect>@trezor/transport>protobufjs>@protobufjs/pool": true,
"@metamask/eth-trezor-keyring>@trezor/connect-web>@trezor/connect>@trezor/transport>protobufjs>@protobufjs/utf8": true
}
},
"@metamask/eth-trezor-keyring>@trezor/connect-web>@trezor/connect>@trezor/transport>protobufjs>@protobufjs/codegen": {
"globals": {
"console.log": true
}
},
"@metamask/eth-trezor-keyring>@trezor/connect-web>@trezor/connect>@trezor/transport>protobufjs>@protobufjs/fetch": {
"globals": {
"XMLHttpRequest": true
},
"packages": {
"@metamask/eth-trezor-keyring>@trezor/connect-web>@trezor/connect>@trezor/transport>protobufjs>@protobufjs/aspromise": true,
"@metamask/eth-trezor-keyring>@trezor/connect-web>@trezor/connect>@trezor/transport>protobufjs>@protobufjs/inquire": true
}
},
"@metamask/eth-trezor-keyring>@trezor/connect-web>@trezor/utils": {
"globals": {
"AbortController": true,
"clearTimeout": true,
"setTimeout": true
},
"packages": {
"browserify>buffer": true
}
},
"@metamask/eth-trezor-keyring>hdkey": {
"packages": {
"@metamask/eth-trezor-keyring>hdkey>coinstring": true,
"@metamask/eth-trezor-keyring>hdkey>secp256k1": true,
"browserify>assert": true,
"browserify>crypto-browserify": true,
"ethereumjs-wallet>safe-buffer": true
}
},
"@metamask/eth-trezor-keyring>hdkey>coinstring": {
"packages": {
"@metamask/eth-trezor-keyring>hdkey>coinstring>bs58": true,
"browserify>buffer": true,
"ethereumjs-util>create-hash": true
}
},
"@metamask/eth-trezor-keyring>hdkey>secp256k1": {
"packages": {
"@metamask/eth-trezor-keyring>hdkey>secp256k1>bip66": true,
"bn.js": true,
"browserify>insert-module-globals>is-buffer": true,
"ethereumjs-util>create-hash": true,
"ethereumjs-wallet>safe-buffer": true,
"ganache>secp256k1>elliptic": true
}
},
"@metamask/eth-trezor-keyring>hdkey>secp256k1>bip66": {
"packages": {
"ethereumjs-wallet>safe-buffer": true
}
},
"@metamask/etherscan-link": {
"globals": {
"URL": true
}
},
"@metamask/gas-fee-controller": {
"globals": {
"clearInterval": true,
"console.error": true,
"setInterval": true
},
"packages": {
Update `@metamask/gas-fee-controller` to v6 (#19366) * Update `@metamask/gas-fee-controller` to v6 The `@metamask/address-book-controller` package has been updated to v3. This version was part of the [core monorepo v53](MetaMask/core#1385) release. The remaining packages released as part of v53 will be updated in later PRs. This release included a number of breaking changes, but most of them do not affect the extension: * Bump to Node 16 * The extension already uses Node.js v16 * The `getChainId` constructor parameter now expects a `Hex` return type rather than a decimal string * The extension was already passing in a `getChainId` parameter that returned `Hex` * The gas fee controller messenger now requires the `NetworkController:stateChange` event instead of the `NetworkController:providerConfigChange` event * This does not apply if `onNetworkStateChange` and `getChainId` are provided to the constructor, which is the case here. * Update `@metamask/network-controller` dependency and peer dependency * This dependency is only used for types, and none of the type changes affect how the extension interacts with this controller. The one change that did have an impact is that the constructor parameter `onNetworkStateChange` now expects event handlers to be passed the full network state. Relates to #19271 * Ensure chainid always matches mainnet in test builds This is a bit strange, but this is how the tests were setup previously. * Fix accidental state mutation * Remove hardcoded mainnet chain ID from test builds
2023-06-13 16:43:13 +02:00
"@metamask/base-controller": true,
"@metamask/controller-utils": true,
"eth-query": true,
"ethereumjs-util": true,
"ethjs>ethjs-unit": true,
"uuid": true
}
},
"@metamask/jazzicon": {
"globals": {
"document.createElement": true,
"document.createElementNS": true
},
"packages": {
"@metamask/jazzicon>color": true,
"@metamask/jazzicon>mersenne-twister": true
}
},
"@metamask/jazzicon>color": {
"packages": {
"@metamask/jazzicon>color>clone": true,
"@metamask/jazzicon>color>color-convert": true,
"@metamask/jazzicon>color>color-string": true
}
},
"@metamask/jazzicon>color>clone": {
"packages": {
"browserify>buffer": true
}
},
"@metamask/jazzicon>color>color-convert": {
"packages": {
"@metamask/jazzicon>color>color-convert>color-name": true
}
},
"@metamask/jazzicon>color>color-string": {
"packages": {
"jest-canvas-mock>moo-color>color-name": true
}
},
"@metamask/key-tree": {
"packages": {
"@metamask/key-tree>@metamask/utils": true,
"@metamask/key-tree>@noble/ed25519": true,
"@metamask/key-tree>@noble/hashes": true,
"@metamask/key-tree>@noble/secp256k1": true,
"@metamask/key-tree>@scure/base": true,
"@metamask/scure-bip39": true
}
},
"@metamask/key-tree>@metamask/utils": {
"globals": {
"TextDecoder": true,
"TextEncoder": true
},
"packages": {
"browserify>buffer": true,
"nock>debug": true,
"semver": true,
"superstruct": true
}
},
"@metamask/key-tree>@noble/ed25519": {
"globals": {
"crypto": true
},
"packages": {
"browserify>browser-resolve": true
}
},
"@metamask/key-tree>@noble/hashes": {
"globals": {
"TextEncoder": true,
"crypto": true
}
},
"@metamask/key-tree>@noble/secp256k1": {
"globals": {
"crypto": true
},
"packages": {
"browserify>browser-resolve": true
}
},
"@metamask/key-tree>@scure/base": {
"globals": {
"TextDecoder": true,
"TextEncoder": true
}
},
"@metamask/logo": {
"globals": {
"addEventListener": true,
"document.body.appendChild": true,
"document.createElementNS": true,
"innerHeight": true,
"innerWidth": true,
"requestAnimationFrame": true
},
"packages": {
"@metamask/logo>gl-mat4": true,
"@metamask/logo>gl-vec3": true
}
},
"@metamask/message-manager": {
"packages": {
"@metamask/base-controller": true,
"@metamask/controller-utils": true,
"@metamask/message-manager>jsonschema": true,
"browserify>buffer": true,
"browserify>events": true,
"eth-sig-util": true,
"ethereumjs-util": true,
"uuid": true
}
},
"@metamask/message-manager>jsonschema": {
"packages": {
"browserify>url": true
}
},
Replace NetworkController w/ core version (#19486) This commit fulfills a long-standing desire to get the extension using the same network controller as mobile by removing NetworkController from this repo and replacing it with NetworkController from the `@metamask/network-controller` package. The new version of NetworkController is different the old one in a few ways: - The new controller inherits from BaseControllerV2, so the `state` property is used to access the state instead of `store.getState()`. All references of the latter have been replaced with the former. - As the new controller no longer has a `store` property, it cannot be subscribed to; the controller takes a messenger which can be subscribed to instead. There were various places within MetamaskController where the old way of subscribing has been replaced with the new way. In addition, DetectTokensController has been updated to take a messenger object so that it can listen for NetworkController state changes. - The state of the new controller is not updatable from the outside. This affected BackupController, which dumps state from NetworkController (among other controllers), but also loads the same state into NetworkController on import. A method `loadBackup` has been added to NetworkController to facilitate this use case, and BackupController is now using this method instead of attempting to call `update` on NetworkController. - The new controller does not have a `getCurrentChainId` method; instead, the chain ID can be read from the provider config in state. This affected MmiController. (MmiController was also updated to read custom networks from the new network controller instead of the preferences controller). - The default network that the new controller is set to is always Mainnet (previously it could be either localhost or Goerli in test mode, depending on environment variables). This has been addressed by feeding the NetworkController initial state using the old logic, so this should not apply.
2023-06-22 20:46:09 +02:00
"@metamask/network-controller": {
"globals": {
"URL": true,
"btoa": true,
"fetch": true,
"setTimeout": true
},
"packages": {
"@metamask/base-controller": true,
"@metamask/controller-utils": true,
"@metamask/eth-json-rpc-middleware": true,
"@metamask/network-controller>@metamask/eth-json-rpc-infura": true,
"@metamask/network-controller>@metamask/eth-json-rpc-provider": true,
"@metamask/network-controller>@metamask/swappable-obj-proxy": true,
"@metamask/network-controller>eth-block-tracker": true,
"@metamask/utils": true,
"browserify>assert": true,
"eth-query": true,
"eth-rpc-errors": true,
"json-rpc-engine": true,
"uuid": true
}
},
"@metamask/network-controller>@metamask/eth-json-rpc-infura": {
"globals": {
"setTimeout": true
},
"packages": {
"@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/utils": true,
"@metamask/network-controller>@metamask/eth-json-rpc-provider": true,
Replace NetworkController w/ core version (#19486) This commit fulfills a long-standing desire to get the extension using the same network controller as mobile by removing NetworkController from this repo and replacing it with NetworkController from the `@metamask/network-controller` package. The new version of NetworkController is different the old one in a few ways: - The new controller inherits from BaseControllerV2, so the `state` property is used to access the state instead of `store.getState()`. All references of the latter have been replaced with the former. - As the new controller no longer has a `store` property, it cannot be subscribed to; the controller takes a messenger which can be subscribed to instead. There were various places within MetamaskController where the old way of subscribing has been replaced with the new way. In addition, DetectTokensController has been updated to take a messenger object so that it can listen for NetworkController state changes. - The state of the new controller is not updatable from the outside. This affected BackupController, which dumps state from NetworkController (among other controllers), but also loads the same state into NetworkController on import. A method `loadBackup` has been added to NetworkController to facilitate this use case, and BackupController is now using this method instead of attempting to call `update` on NetworkController. - The new controller does not have a `getCurrentChainId` method; instead, the chain ID can be read from the provider config in state. This affected MmiController. (MmiController was also updated to read custom networks from the new network controller instead of the preferences controller). - The default network that the new controller is set to is always Mainnet (previously it could be either localhost or Goerli in test mode, depending on environment variables). This has been addressed by feeding the NetworkController initial state using the old logic, so this should not apply.
2023-06-22 20:46:09 +02:00
"eth-rpc-errors": true,
"json-rpc-engine": true,
"node-fetch": true
}
},
"@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/utils": {
"globals": {
"TextDecoder": true,
"TextEncoder": true
},
"packages": {
"browserify>buffer": true,
"nock>debug": true,
"semver": true,
"superstruct": true
}
},
"@metamask/network-controller>@metamask/eth-json-rpc-provider": {
"packages": {
"@metamask/safe-event-emitter": true,
"json-rpc-engine": true
}
},
"@metamask/network-controller>eth-block-tracker": {
"globals": {
"clearTimeout": true,
"console.error": true,
"setTimeout": true
},
"packages": {
"@metamask/network-controller>eth-block-tracker>@metamask/safe-event-emitter": true,
"@metamask/network-controller>eth-block-tracker>pify": true,
"@metamask/utils": true,
"eth-query>json-rpc-random-id": true
}
},
"@metamask/network-controller>eth-block-tracker>@metamask/safe-event-emitter": {
"globals": {
"setTimeout": true
},
"packages": {
"browserify>events": true
}
},
"@metamask/notification-controller": {
"packages": {
"@metamask/base-controller": true,
"@metamask/notification-controller>nanoid": true,
"@metamask/utils": true
}
},
"@metamask/notification-controller>nanoid": {
"globals": {
"crypto.getRandomValues": true
}
},
"@metamask/obs-store": {
"packages": {
"@metamask/obs-store>through2": true,
"@metamask/safe-event-emitter": true,
"browserify>stream-browserify": true
}
},
"@metamask/obs-store>through2": {
"packages": {
"browserify>process": true,
"browserify>util": true,
"readable-stream": true,
"watchify>xtend": true
}
},
"@metamask/permission-controller": {
"globals": {
"console.error": true
},
"packages": {
"@metamask/base-controller": true,
"@metamask/controller-utils": true,
"@metamask/permission-controller>nanoid": true,
"@metamask/utils": true,
"deep-freeze-strict": true,
"eth-rpc-errors": true,
"immer": true,
"json-rpc-engine": true
}
},
"@metamask/permission-controller>nanoid": {
"globals": {
"crypto.getRandomValues": true
}
},
"@metamask/phishing-controller": {
"globals": {
"fetch": true
},
"packages": {
"@metamask/phishing-controller>@metamask/base-controller": true,
"@metamask/phishing-controller>@metamask/controller-utils": true,
"@metamask/phishing-warning>eth-phishing-detect": true,
"punycode": true
}
},
"@metamask/phishing-controller>@metamask/base-controller": {
"packages": {
"immer": true
}
},
"@metamask/phishing-controller>@metamask/controller-utils": {
"globals": {
"URL": true,
"console.error": true,
"fetch": true,
"setTimeout": true
},
"packages": {
"@metamask/controller-utils>@spruceid/siwe-parser": true,
"@metamask/utils": true,
"browserify>buffer": true,
"eslint>fast-deep-equal": true,
"eth-ens-namehash": true,
"ethereumjs-util": true,
"ethjs>ethjs-unit": true
}
},
"@metamask/phishing-warning>eth-phishing-detect": {
"packages": {
"eslint>optionator>fast-levenshtein": true
}
},
"@metamask/post-message-stream": {
"globals": {
"MessageEvent.prototype": true,
"WorkerGlobalScope": true,
"addEventListener": true,
"browser": true,
"chrome": true,
"location.origin": true,
"postMessage": true,
"removeEventListener": true
},
"packages": {
"@metamask/post-message-stream>readable-stream": true,
"@metamask/utils": true
}
},
"@metamask/post-message-stream>readable-stream": {
"packages": {
"@metamask/post-message-stream>readable-stream>process-nextick-args": true,
"@metamask/post-message-stream>readable-stream>safe-buffer": true,
"@metamask/post-message-stream>readable-stream>string_decoder": true,
"browserify>browser-resolve": true,
"browserify>events": true,
"browserify>process": true,
"browserify>timers-browserify": true,
"pumpify>inherits": true,
"readable-stream>core-util-is": true,
"readable-stream>isarray": true,
"readable-stream>util-deprecate": true
}
},
"@metamask/post-message-stream>readable-stream>process-nextick-args": {
"packages": {
"browserify>process": true
}
},
"@metamask/post-message-stream>readable-stream>safe-buffer": {
"packages": {
"browserify>buffer": true
}
},
"@metamask/post-message-stream>readable-stream>string_decoder": {
"packages": {
"@metamask/post-message-stream>readable-stream>safe-buffer": true
}
},
"@metamask/providers>@metamask/object-multiplex": {
"globals": {
"console.warn": true
},
"packages": {
"end-of-stream": true,
"pump>once": true,
"readable-stream": true
}
},
"@metamask/rate-limit-controller": {
"globals": {
"setTimeout": true
},
"packages": {
"@metamask/base-controller": true,
"eth-rpc-errors": true
}
},
"@metamask/rpc-methods-flask": {
"packages": {
"@metamask/key-tree": true,
"@metamask/key-tree>@noble/hashes": true,
"@metamask/permission-controller": true,
"@metamask/rpc-methods-flask>@metamask/snaps-ui": true,
"@metamask/rpc-methods-flask>@metamask/snaps-utils": true,
"@metamask/rpc-methods-flask>@metamask/utils": true,
"eth-rpc-errors": true,
"superstruct": true
}
},
"@metamask/rpc-methods-flask>@metamask/snaps-ui": {
"packages": {
"@metamask/rpc-methods-flask>@metamask/utils": true,
"superstruct": true
}
},
"@metamask/rpc-methods-flask>@metamask/snaps-utils": {
"globals": {
"TextDecoder": true,
"URL": true,
"console.error": true,
"console.log": true,
"console.warn": true,
"document.body.appendChild": true,
"document.createElement": true
},
"packages": {
"@metamask/key-tree": true,
"@metamask/key-tree>@noble/hashes": true,
"@metamask/key-tree>@scure/base": true,
"@metamask/rpc-methods-flask>@metamask/utils": true,
"@metamask/snaps-utils-flask>is-svg": true,
"@metamask/snaps-utils>cron-parser": true,
"@metamask/snaps-utils>fast-json-stable-stringify": true,
"@metamask/snaps-utils>rfdc": true,
"@metamask/snaps-utils>validate-npm-package-name": true,
"browserify>buffer": true,
"semver": true,
"superstruct": true
}
},
"@metamask/rpc-methods-flask>@metamask/utils": {
"globals": {
"TextDecoder": true,
"TextEncoder": true
},
"packages": {
"browserify>buffer": true,
"nock>debug": true,
"semver": true,
"superstruct": true
}
},
"@metamask/rpc-methods-flask>nanoid": {
"globals": {
"crypto.getRandomValues": true
}
},
"@metamask/rpc-methods>nanoid": {
"globals": {
"crypto.getRandomValues": true
}
},
"@metamask/safe-event-emitter": {
"globals": {
"setTimeout": true
},
"packages": {
"browserify>events": true
}
},
"@metamask/scure-bip39": {
"globals": {
"TextEncoder": true
},
"packages": {
"@metamask/key-tree>@scure/base": true,
"@metamask/scure-bip39>@noble/hashes": true
}
},
"@metamask/scure-bip39>@noble/hashes": {
"globals": {
"TextEncoder": true,
"crypto": true
}
},
2023-05-05 14:05:52 +02:00
"@metamask/signature-controller": {
"globals": {
"console.info": true
},
"packages": {
"@metamask/base-controller": true,
"@metamask/controller-utils": true,
2023-05-05 14:05:52 +02:00
"@metamask/message-manager": true,
"browserify>buffer": true,
"browserify>events": true,
"eth-rpc-errors": true,
"ethereumjs-util": true,
"lodash": true
2023-05-05 14:05:52 +02:00
}
},
"@metamask/smart-transactions-controller": {
"globals": {
"URLSearchParams": true,
"clearInterval": true,
"console.error": true,
"console.log": true,
"fetch": true,
"setInterval": true
},
"packages": {
"@ethersproject/abi>@ethersproject/bytes": true,
"@ethersproject/bignumber": true,
"@ethersproject/providers": true,
"@metamask/base-controller": true,
"@metamask/controller-utils": true,
"@metamask/smart-transactions-controller>bignumber.js": true,
2023-01-04 18:29:37 +01:00
"fast-json-patch": true,
"lodash": true
}
},
"@metamask/smart-transactions-controller>@metamask/controllers>nanoid": {
"globals": {
"crypto.getRandomValues": true
}
},
"@metamask/smart-transactions-controller>bignumber.js": {
"globals": {
"crypto": true,
"define": true
}
},
"@metamask/snaps-controllers-flask": {
"globals": {
"URL": true,
"chrome.offscreen.createDocument": true,
"chrome.offscreen.hasDocument": true,
"clearTimeout": true,
"document.getElementById": true,
"fetch.bind": true,
"setTimeout": true
},
"packages": {
"@metamask/base-controller": true,
"@metamask/permission-controller": true,
"@metamask/post-message-stream": true,
"@metamask/providers>@metamask/object-multiplex": true,
"@metamask/snaps-controllers-flask>@metamask/rpc-methods": true,
"@metamask/snaps-controllers-flask>@metamask/snaps-utils": true,
"@metamask/snaps-controllers-flask>@metamask/utils": true,
"@metamask/snaps-controllers-flask>concat-stream": true,
"@metamask/snaps-controllers-flask>nanoid": true,
"@metamask/snaps-controllers>@xstate/fsm": true,
"@metamask/snaps-controllers>gunzip-maybe": true,
"@metamask/snaps-controllers>readable-web-to-node-stream": true,
"@metamask/snaps-controllers>tar-stream": true,
"@metamask/snaps-utils>@metamask/snaps-registry": true,
"eth-rpc-errors": true,
"json-rpc-engine": true,
"json-rpc-middleware-stream": true,
"pump": true
}
},
"@metamask/snaps-controllers-flask>@metamask/rpc-methods": {
"packages": {
"@metamask/key-tree": true,
"@metamask/key-tree>@noble/hashes": true,
"@metamask/permission-controller": true,
"@metamask/snaps-controllers-flask>@metamask/snaps-utils": true,
"@metamask/snaps-controllers-flask>@metamask/snaps-utils>@metamask/snaps-ui": true,
"@metamask/snaps-controllers-flask>@metamask/utils": true,
"eth-rpc-errors": true,
"superstruct": true
}
},
"@metamask/snaps-controllers-flask>@metamask/snaps-utils": {
"globals": {
"TextDecoder": true,
"URL": true,
"console.error": true,
"console.log": true,
"console.warn": true,
"document.body.appendChild": true,
"document.createElement": true
},
"packages": {
"@metamask/key-tree": true,
"@metamask/key-tree>@noble/hashes": true,
"@metamask/key-tree>@scure/base": true,
"@metamask/snaps-controllers-flask>@metamask/utils": true,
"@metamask/snaps-utils-flask>is-svg": true,
"@metamask/snaps-utils>cron-parser": true,
"@metamask/snaps-utils>fast-json-stable-stringify": true,
"@metamask/snaps-utils>rfdc": true,
"@metamask/snaps-utils>validate-npm-package-name": true,
"browserify>buffer": true,
"semver": true,
"superstruct": true
}
},
"@metamask/snaps-controllers-flask>@metamask/snaps-utils>@metamask/snaps-ui": {
"packages": {
"@metamask/snaps-controllers-flask>@metamask/utils": true,
"superstruct": true
}
},
"@metamask/snaps-controllers-flask>@metamask/utils": {
"globals": {
"TextDecoder": true,
"TextEncoder": true
},
"packages": {
"browserify>buffer": true,
"nock>debug": true,
"semver": true,
"superstruct": true
}
},
"@metamask/snaps-controllers-flask>concat-stream": {
"packages": {
"@metamask/snaps-controllers-flask>concat-stream>readable-stream": true,
"browserify>buffer": true,
"pumpify>inherits": true
}
},
"@metamask/snaps-controllers-flask>concat-stream>readable-stream": {
"packages": {
"browserify>browser-resolve": true,
"browserify>buffer": true,
"browserify>events": true,
"browserify>process": true,
"browserify>string_decoder": true,
"pumpify>inherits": true,
"readable-stream>util-deprecate": true
}
},
"@metamask/snaps-controllers-flask>nanoid": {
"globals": {
"crypto.getRandomValues": true
}
},
"@metamask/snaps-controllers>gunzip-maybe": {
"packages": {
"@metamask/snaps-controllers>gunzip-maybe>browserify-zlib": true,
"@metamask/snaps-controllers>gunzip-maybe>is-deflate": true,
"@metamask/snaps-controllers>gunzip-maybe>is-gzip": true,
"@metamask/snaps-controllers>gunzip-maybe>peek-stream": true,
"@metamask/snaps-controllers>gunzip-maybe>pumpify": true,
"@metamask/snaps-controllers>gunzip-maybe>through2": true
}
},
"@metamask/snaps-controllers>gunzip-maybe>browserify-zlib": {
"packages": {
"@metamask/snaps-controllers>gunzip-maybe>browserify-zlib>pako": true,
"browserify>assert": true,
"browserify>buffer": true,
"browserify>process": true,
"browserify>util": true,
"readable-stream": true
}
},
"@metamask/snaps-controllers>gunzip-maybe>peek-stream": {
"packages": {
"@metamask/snaps-controllers>gunzip-maybe>peek-stream>duplexify": true,
"@metamask/snaps-controllers>gunzip-maybe>peek-stream>through2": true,
"browserify>buffer": true,
"terser>source-map-support>buffer-from": true
}
},
"@metamask/snaps-controllers>gunzip-maybe>peek-stream>duplexify": {
"packages": {
"browserify>buffer": true,
"browserify>process": true,
"duplexify>stream-shift": true,
"end-of-stream": true,
"pumpify>inherits": true,
"readable-stream": true
}
},
"@metamask/snaps-controllers>gunzip-maybe>peek-stream>through2": {
"packages": {
"browserify>process": true,
"browserify>util": true,
"readable-stream": true,
"watchify>xtend": true
}
},
"@metamask/snaps-controllers>gunzip-maybe>pumpify": {
"packages": {
"@metamask/snaps-controllers>gunzip-maybe>pumpify>duplexify": true,
"@metamask/snaps-controllers>gunzip-maybe>pumpify>pump": true,
"pumpify>inherits": true
}
},
"@metamask/snaps-controllers>gunzip-maybe>pumpify>duplexify": {
"packages": {
"browserify>buffer": true,
"browserify>process": true,
"duplexify>stream-shift": true,
"end-of-stream": true,
"pumpify>inherits": true,
"readable-stream": true
}
},
"@metamask/snaps-controllers>gunzip-maybe>pumpify>pump": {
"packages": {
"browserify>browser-resolve": true,
"end-of-stream": true,
"pump>once": true
}
},
"@metamask/snaps-controllers>gunzip-maybe>through2": {
"packages": {
"browserify>process": true,
"browserify>util": true,
"readable-stream": true,
"watchify>xtend": true
}
},
"@metamask/snaps-controllers>nanoid": {
"globals": {
"crypto.getRandomValues": true
}
},
"@metamask/snaps-controllers>readable-web-to-node-stream": {
"packages": {
"@metamask/snaps-controllers>readable-web-to-node-stream>readable-stream": true
}
},
"@metamask/snaps-controllers>readable-web-to-node-stream>readable-stream": {
"packages": {
"browserify>browser-resolve": true,
"browserify>buffer": true,
"browserify>events": true,
"browserify>process": true,
"browserify>string_decoder": true,
"pumpify>inherits": true,
"readable-stream>util-deprecate": true
}
},
"@metamask/snaps-controllers>tar-stream": {
"packages": {
"@metamask/snaps-controllers>tar-stream>fs-constants": true,
"@metamask/snaps-controllers>tar-stream>readable-stream": true,
"browserify>buffer": true,
"browserify>process": true,
"browserify>string_decoder": true,
"browserify>util": true,
"end-of-stream": true,
"madge>ora>bl": true,
"pumpify>inherits": true
}
},
"@metamask/snaps-controllers>tar-stream>fs-constants": {
"packages": {
"browserify>constants-browserify": true
}
},
"@metamask/snaps-controllers>tar-stream>readable-stream": {
"packages": {
"browserify>browser-resolve": true,
"browserify>buffer": true,
"browserify>events": true,
"browserify>process": true,
"browserify>string_decoder": true,
"pumpify>inherits": true,
"readable-stream>util-deprecate": true
}
},
"@metamask/snaps-ui-flask": {
"packages": {
"@metamask/snaps-ui-flask>@metamask/utils": true,
"superstruct": true
}
},
"@metamask/snaps-ui-flask>@metamask/utils": {
"globals": {
"TextDecoder": true,
"TextEncoder": true
},
"packages": {
"browserify>buffer": true,
"nock>debug": true,
"semver": true,
"superstruct": true
}
},
"@metamask/snaps-utils-flask": {
"globals": {
"TextDecoder": true,
"URL": true,
"console.error": true,
"console.log": true,
"console.warn": true,
"document.body.appendChild": true,
"document.createElement": true
},
"packages": {
"@metamask/key-tree": true,
"@metamask/key-tree>@noble/hashes": true,
"@metamask/key-tree>@scure/base": true,
"@metamask/snaps-utils-flask>@metamask/utils": true,
"@metamask/snaps-utils-flask>is-svg": true,
"@metamask/snaps-utils>cron-parser": true,
"@metamask/snaps-utils>fast-json-stable-stringify": true,
"@metamask/snaps-utils>rfdc": true,
"@metamask/snaps-utils>validate-npm-package-name": true,
"browserify>buffer": true,
"semver": true,
"superstruct": true
}
},
"@metamask/snaps-utils-flask>@metamask/utils": {
"globals": {
"TextDecoder": true,
"TextEncoder": true
},
"packages": {
"browserify>buffer": true,
"nock>debug": true,
"semver": true,
"superstruct": true
}
},
"@metamask/snaps-utils-flask>is-svg": {
"packages": {
"@metamask/snaps-utils-flask>is-svg>fast-xml-parser": true
}
},
"@metamask/snaps-utils-flask>is-svg>fast-xml-parser": {
"globals": {
"entityName": true,
"val": true
},
"packages": {
"@metamask/snaps-utils-flask>is-svg>fast-xml-parser>strnum": true
}
},
"@metamask/snaps-utils>@metamask/snaps-registry": {
"packages": {
"@metamask/key-tree>@noble/secp256k1": true,
"@metamask/snaps-utils>@metamask/snaps-registry>@metamask/utils": true,
"superstruct": true
}
},
"@metamask/snaps-utils>@metamask/snaps-registry>@metamask/utils": {
"globals": {
"TextDecoder": true,
"TextEncoder": true
},
"packages": {
"browserify>buffer": true,
"nock>debug": true,
"semver": true,
"superstruct": true
}
},
"@metamask/snaps-utils>cron-parser": {
"packages": {
"browserify>browser-resolve": true,
"luxon": true
}
},
"@metamask/snaps-utils>rfdc": {
"packages": {
"browserify>buffer": true
}
},
"@metamask/snaps-utils>validate-npm-package-name": {
"packages": {
"@metamask/snaps-utils>validate-npm-package-name>builtins": true
}
},
"@metamask/snaps-utils>validate-npm-package-name>builtins": {
"packages": {
"browserify>process": true,
"semver": true
}
},
"@metamask/subject-metadata-controller": {
"packages": {
"@metamask/subject-metadata-controller>@metamask/base-controller": true
}
},
"@metamask/subject-metadata-controller>@metamask/base-controller": {
"packages": {
"immer": true
}
},
2023-01-20 22:16:56 +01:00
"@metamask/utils": {
"globals": {
"TextDecoder": true,
"TextEncoder": true
},
"packages": {
"browserify>buffer": true,
"nock>debug": true,
"semver": true,
"superstruct": true
2023-01-20 22:16:56 +01:00
}
},
"@ngraveio/bc-ur": {
"packages": {
"@ngraveio/bc-ur>@apocentre/alias-sampling": true,
"@ngraveio/bc-ur>bignumber.js": true,
"@ngraveio/bc-ur>cbor-sync": true,
"@ngraveio/bc-ur>crc": true,
"@ngraveio/bc-ur>jsbi": true,
"addons-linter>sha.js": true,
"browserify>assert": true,
"browserify>buffer": true
}
},
"@ngraveio/bc-ur>assert>object-is": {
"packages": {
"globalthis>define-properties": true,
"string.prototype.matchall>call-bind": true
}
},
"@ngraveio/bc-ur>bignumber.js": {
"globals": {
"crypto": true,
"define": true
}
},
"@ngraveio/bc-ur>cbor-sync": {
"globals": {
"define": true
},
"packages": {
"browserify>buffer": true
}
},
"@ngraveio/bc-ur>crc": {
"packages": {
"browserify>buffer": true
}
},
"@ngraveio/bc-ur>jsbi": {
"globals": {
"define": true
}
},
"@popperjs/core": {
"globals": {
"Element": true,
"HTMLElement": true,
"ShadowRoot": true,
"console.error": true,
"console.warn": true,
"document": true,
"navigator.userAgent": true
}
},
"@reduxjs/toolkit": {
"globals": {
"AbortController": true,
"__REDUX_DEVTOOLS_EXTENSION_COMPOSE__": true,
"__REDUX_DEVTOOLS_EXTENSION__": true,
"console.error": true,
"console.info": true,
"console.warn": true
},
"packages": {
"@reduxjs/toolkit>reselect": true,
"immer": true,
"redux": true,
"redux-thunk": true
}
},
2022-10-11 17:04:32 +02:00
"@segment/loosely-validate-event": {
"packages": {
"@segment/loosely-validate-event>component-type": true,
"@segment/loosely-validate-event>join-component": true,
"browserify>assert": true,
"browserify>buffer": true
}
},
"@sentry/browser": {
"globals": {
"TextDecoder": true,
"TextEncoder": true,
"XMLHttpRequest": true,
"__SENTRY_DEBUG__": true,
"__SENTRY_RELEASE__": true,
"indexedDB.open": true,
"setTimeout": true
},
"packages": {
"@sentry/browser>@sentry-internal/tracing": true,
"@sentry/browser>@sentry/core": true,
"@sentry/browser>@sentry/replay": true,
"@sentry/utils": true
}
},
"@sentry/browser>@sentry-internal/tracing": {
"globals": {
"Headers": true,
"PerformanceObserver": true,
"Request": true,
"__SENTRY_DEBUG__": true,
"addEventListener": true,
"performance.getEntriesByType": true,
"removeEventListener": true
},
"packages": {
"@sentry/browser>@sentry/core": true,
"@sentry/utils": true
}
},
"@sentry/browser>@sentry/core": {
"globals": {
"__SENTRY_DEBUG__": true,
"__SENTRY_TRACING__": true,
"clearInterval": true,
"clearTimeout": true,
"console.warn": true,
"setInterval": true,
"setTimeout": true
},
"packages": {
"@sentry/utils": true
}
},
"@sentry/browser>@sentry/replay": {
"globals": {
"Blob": true,
"CSSConditionRule": true,
"CSSGroupingRule": true,
"CSSMediaRule": true,
"CSSSupportsRule": true,
"DragEvent": true,
"Element": true,
"FormData": true,
"HTMLCanvasElement": true,
"HTMLElement.prototype": true,
"HTMLFormElement": true,
"HTMLImageElement": true,
"HTMLInputElement.prototype": true,
"HTMLOptionElement.prototype": true,
"HTMLSelectElement.prototype": true,
"HTMLTextAreaElement.prototype": true,
"Headers": true,
"ImageData": true,
"MouseEvent": true,
"MutationObserver": true,
"Node.prototype.contains": true,
"PerformanceObserver": true,
"TextEncoder": true,
"URL": true,
"URLSearchParams": true,
"Worker": true,
"Zone": true,
"__SENTRY_DEBUG__": true,
"__rrMutationObserver": true,
"clearTimeout": true,
"console.error": true,
"console.warn": true,
"document": true,
"innerHeight": true,
"innerWidth": true,
"location.href": true,
"pageXOffset": true,
"pageYOffset": true,
"requestAnimationFrame": true,
"setTimeout": true
},
"packages": {
"@sentry/browser>@sentry/core": true,
"@sentry/utils": true,
"browserify>process": true
}
},
"@sentry/integrations": {
"globals": {
"Request": true,
"__SENTRY_DEBUG__": true,
"console.log": true
},
"packages": {
"@sentry/utils": true,
"localforage": true
}
},
"@sentry/utils": {
"globals": {
"CustomEvent": true,
"DOMError": true,
"DOMException": true,
"Element": true,
"ErrorEvent": true,
"Event": true,
"Headers": true,
"Request": true,
"Response": true,
"TextEncoder": true,
"URL": true,
"XMLHttpRequest.prototype": true,
"__SENTRY_BROWSER_BUNDLE__": true,
"__SENTRY_DEBUG__": true,
"clearTimeout": true,
"console.error": true,
"document": true,
"new": true,
"setTimeout": true,
"target": true
},
"packages": {
"browserify>process": true
}
},
"@truffle/codec": {
"packages": {
"@truffle/codec>@truffle/abi-utils": true,
"@truffle/codec>@truffle/compile-common": true,
"@truffle/codec>big.js": true,
"@truffle/codec>bn.js": true,
"@truffle/codec>cbor": true,
2023-01-11 17:30:04 +01:00
"@truffle/codec>semver": true,
"@truffle/codec>utf8": true,
"@truffle/codec>web3-utils": true,
"browserify>buffer": true,
2023-01-11 17:30:04 +01:00
"browserify>os-browserify": true,
"browserify>util": true,
2023-01-11 17:30:04 +01:00
"lodash": true,
"nock>debug": true
}
},
"@truffle/codec>@truffle/abi-utils": {
"packages": {
"@truffle/codec>@truffle/abi-utils>change-case": true,
2023-01-11 17:30:04 +01:00
"@truffle/codec>@truffle/abi-utils>fast-check": true,
"@truffle/codec>web3-utils": true
}
},
"@truffle/codec>@truffle/abi-utils>change-case": {
"packages": {
"@truffle/codec>@truffle/abi-utils>change-case>camel-case": true,
"@truffle/codec>@truffle/abi-utils>change-case>constant-case": true,
"@truffle/codec>@truffle/abi-utils>change-case>dot-case": true,
"@truffle/codec>@truffle/abi-utils>change-case>header-case": true,
"@truffle/codec>@truffle/abi-utils>change-case>is-lower-case": true,
"@truffle/codec>@truffle/abi-utils>change-case>is-upper-case": true,
"@truffle/codec>@truffle/abi-utils>change-case>lower-case": true,
"@truffle/codec>@truffle/abi-utils>change-case>lower-case-first": true,
"@truffle/codec>@truffle/abi-utils>change-case>no-case": true,
"@truffle/codec>@truffle/abi-utils>change-case>param-case": true,
"@truffle/codec>@truffle/abi-utils>change-case>pascal-case": true,
"@truffle/codec>@truffle/abi-utils>change-case>path-case": true,
"@truffle/codec>@truffle/abi-utils>change-case>sentence-case": true,
"@truffle/codec>@truffle/abi-utils>change-case>snake-case": true,
"@truffle/codec>@truffle/abi-utils>change-case>swap-case": true,
"@truffle/codec>@truffle/abi-utils>change-case>title-case": true,
"@truffle/codec>@truffle/abi-utils>change-case>upper-case": true,
"@truffle/codec>@truffle/abi-utils>change-case>upper-case-first": true
}
},
"@truffle/codec>@truffle/abi-utils>change-case>camel-case": {
"packages": {
"@truffle/codec>@truffle/abi-utils>change-case>no-case": true,
"@truffle/codec>@truffle/abi-utils>change-case>upper-case": true
}
},
"@truffle/codec>@truffle/abi-utils>change-case>constant-case": {
"packages": {
"@truffle/codec>@truffle/abi-utils>change-case>snake-case": true,
"@truffle/codec>@truffle/abi-utils>change-case>upper-case": true
}
},
"@truffle/codec>@truffle/abi-utils>change-case>dot-case": {
"packages": {
"@truffle/codec>@truffle/abi-utils>change-case>no-case": true
}
},
"@truffle/codec>@truffle/abi-utils>change-case>header-case": {
"packages": {
"@truffle/codec>@truffle/abi-utils>change-case>no-case": true,
"@truffle/codec>@truffle/abi-utils>change-case>upper-case": true
}
},
"@truffle/codec>@truffle/abi-utils>change-case>is-lower-case": {
"packages": {
"@truffle/codec>@truffle/abi-utils>change-case>lower-case": true
}
},
"@truffle/codec>@truffle/abi-utils>change-case>is-upper-case": {
"packages": {
"@truffle/codec>@truffle/abi-utils>change-case>upper-case": true
}
},
"@truffle/codec>@truffle/abi-utils>change-case>lower-case-first": {
"packages": {
"@truffle/codec>@truffle/abi-utils>change-case>lower-case": true
}
},
"@truffle/codec>@truffle/abi-utils>change-case>no-case": {
"packages": {
"@truffle/codec>@truffle/abi-utils>change-case>lower-case": true
}
},
"@truffle/codec>@truffle/abi-utils>change-case>param-case": {
"packages": {
"@truffle/codec>@truffle/abi-utils>change-case>no-case": true
}
},
"@truffle/codec>@truffle/abi-utils>change-case>pascal-case": {
"packages": {
"@truffle/codec>@truffle/abi-utils>change-case>camel-case": true,
"@truffle/codec>@truffle/abi-utils>change-case>upper-case-first": true
}
},
"@truffle/codec>@truffle/abi-utils>change-case>path-case": {
"packages": {
"@truffle/codec>@truffle/abi-utils>change-case>no-case": true
}
},
"@truffle/codec>@truffle/abi-utils>change-case>sentence-case": {
"packages": {
"@truffle/codec>@truffle/abi-utils>change-case>no-case": true,
"@truffle/codec>@truffle/abi-utils>change-case>upper-case-first": true
}
},
"@truffle/codec>@truffle/abi-utils>change-case>snake-case": {
"packages": {
"@truffle/codec>@truffle/abi-utils>change-case>no-case": true
}
},
"@truffle/codec>@truffle/abi-utils>change-case>swap-case": {
"packages": {
"@truffle/codec>@truffle/abi-utils>change-case>lower-case": true,
"@truffle/codec>@truffle/abi-utils>change-case>upper-case": true
}
},
"@truffle/codec>@truffle/abi-utils>change-case>title-case": {
"packages": {
"@truffle/codec>@truffle/abi-utils>change-case>no-case": true,
"@truffle/codec>@truffle/abi-utils>change-case>upper-case": true
}
},
"@truffle/codec>@truffle/abi-utils>change-case>upper-case-first": {
"packages": {
"@truffle/codec>@truffle/abi-utils>change-case>upper-case": true
}
},
"@truffle/codec>@truffle/abi-utils>fast-check": {
"globals": {
"clearTimeout": true,
"console.log": true,
"setTimeout": true
},
"packages": {
"@truffle/codec>@truffle/abi-utils>fast-check>pure-rand": true,
"browserify>buffer": true
}
},
"@truffle/codec>@truffle/compile-common": {
"packages": {
"@truffle/codec>@truffle/compile-common>@truffle/error": true,
"@truffle/codec>@truffle/compile-common>colors": true,
"browserify>path-browserify": true
}
},
"@truffle/codec>@truffle/compile-common>colors": {
"globals": {
"console.log": true
},
"packages": {
"browserify>os-browserify": true,
"browserify>process": true,
"browserify>util": true
}
},
"@truffle/codec>big.js": {
"globals": {
"define": true
}
},
"@truffle/codec>bn.js": {
"globals": {
"Buffer": true
},
"packages": {
"browserify>browser-resolve": true
}
},
"@truffle/codec>cbor": {
"globals": {
"TextDecoder": true
},
"packages": {
"@truffle/codec>cbor>bignumber.js": true,
"@truffle/codec>cbor>nofilter": true,
"browserify>buffer": true,
"browserify>insert-module-globals>is-buffer": true,
"browserify>stream-browserify": true,
"browserify>url": true,
"browserify>util": true
}
},
"@truffle/codec>cbor>bignumber.js": {
"globals": {
"crypto": true,
"define": true
}
},
"@truffle/codec>cbor>nofilter": {
"packages": {
"browserify>buffer": true,
"browserify>stream-browserify": true,
"browserify>util": true
}
},
2023-01-11 17:30:04 +01:00
"@truffle/codec>semver": {
"globals": {
"console.error": true
},
"packages": {
"browserify>process": true,
"semver>lru-cache": true
2023-01-11 17:30:04 +01:00
}
},
"@truffle/codec>web3-utils": {
"globals": {
"setTimeout": true
},
"packages": {
"@truffle/codec>utf8": true,
2023-01-11 17:30:04 +01:00
"@truffle/codec>web3-utils>bn.js": true,
"@truffle/codec>web3-utils>ethereum-bloom-filters": true,
2023-01-11 17:30:04 +01:00
"browserify>buffer": true,
"ethereumjs-util": true,
"ethereumjs-wallet>randombytes": true,
"ethjs>ethjs-unit": true,
"ethjs>number-to-bn": true
}
},
2023-01-11 17:30:04 +01:00
"@truffle/codec>web3-utils>bn.js": {
"globals": {
"Buffer": true
},
"packages": {
"browserify>browser-resolve": true
}
},
"@truffle/codec>web3-utils>ethereum-bloom-filters": {
"packages": {
"@truffle/codec>web3-utils>ethereum-bloom-filters>js-sha3": true
}
},
"@truffle/codec>web3-utils>ethereum-bloom-filters>js-sha3": {
"globals": {
"define": true
},
"packages": {
"browserify>process": true
}
},
"@truffle/decoder": {
"packages": {
"@truffle/codec": true,
"@truffle/codec>@truffle/abi-utils": true,
"@truffle/codec>@truffle/compile-common": true,
"@truffle/codec>web3-utils": true,
2023-01-11 17:30:04 +01:00
"@truffle/decoder>@truffle/encoder": true,
"@truffle/decoder>@truffle/source-map-utils": true,
"@truffle/decoder>bn.js": true,
"nock>debug": true
}
},
2023-01-11 17:30:04 +01:00
"@truffle/decoder>@truffle/encoder": {
"packages": {
"@ethersproject/abi>@ethersproject/address": true,
2023-01-11 17:30:04 +01:00
"@ethersproject/bignumber": true,
"@truffle/codec": true,
"@truffle/codec>@truffle/abi-utils": true,
"@truffle/codec>@truffle/compile-common": true,
"@truffle/codec>big.js": true,
2023-01-11 17:30:04 +01:00
"@truffle/codec>web3-utils": true,
"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs": true,
"@truffle/decoder>@truffle/encoder>bignumber.js": true,
"lodash": true,
"nock>debug": true
}
},
"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs": {
"globals": {
"console.log": true,
"console.warn": true,
"registries": true
},
"packages": {
"@babel/runtime": true,
"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>@ensdomains/address-encoder": true,
"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>@ensdomains/ens": true,
"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>@ensdomains/resolver": true,
"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>content-hash": true,
"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>ethers": true,
2023-01-11 17:30:04 +01:00
"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>js-sha3": true,
"browserify>buffer": true,
"eth-ens-namehash": true,
"ethereumjs-wallet>bs58check>bs58": true
2023-01-11 17:30:04 +01:00
}
},
"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>@ensdomains/address-encoder": {
"globals": {
"console": true
},
"packages": {
"bn.js": true,
"browserify>buffer": true,
"browserify>crypto-browserify": true,
"ethereumjs-util>create-hash>ripemd160": true
}
},
"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>content-hash": {
"packages": {
"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>content-hash>cids": true,
"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>content-hash>multicodec": true,
"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>content-hash>multihashes": true,
"browserify>buffer": true
}
},
"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>content-hash>cids": {
"packages": {
"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>content-hash>cids>class-is": true,
"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>content-hash>cids>multibase": true,
"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>content-hash>cids>multicodec": true,
"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>content-hash>multihashes": true,
"browserify>buffer": true
}
},
"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>content-hash>cids>multibase": {
"packages": {
"browserify>buffer": true,
"ethereumjs-wallet>bs58check>bs58>base-x": true
}
},
"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>content-hash>cids>multicodec": {
"packages": {
"@ensdomains/content-hash>multihashes>varint": true,
"browserify>buffer": true
}
},
"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>content-hash>multicodec": {
"packages": {
"@ensdomains/content-hash>multihashes>varint": true,
"browserify>buffer": true
}
},
"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>content-hash>multihashes": {
"packages": {
"@ensdomains/content-hash>multihashes>varint": true,
"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>content-hash>multihashes>multibase": true,
"browserify>buffer": true
}
},
"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>content-hash>multihashes>multibase": {
"packages": {
"browserify>buffer": true,
"ethereumjs-wallet>bs58check>bs58>base-x": true
}
},
"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>ethers": {
"packages": {
"@ethersproject/abi": true,
"@ethersproject/abi>@ethersproject/address": true,
"@ethersproject/abi>@ethersproject/bytes": true,
"@ethersproject/abi>@ethersproject/constants": true,
"@ethersproject/abi>@ethersproject/hash": true,
"@ethersproject/abi>@ethersproject/keccak256": true,
"@ethersproject/abi>@ethersproject/logger": true,
"@ethersproject/abi>@ethersproject/properties": true,
"@ethersproject/abi>@ethersproject/strings": true,
"@ethersproject/bignumber": true,
"@ethersproject/contracts": true,
"@ethersproject/hdnode": true,
"@ethersproject/hdnode>@ethersproject/abstract-signer": true,
"@ethersproject/hdnode>@ethersproject/basex": true,
"@ethersproject/hdnode>@ethersproject/sha2": true,
"@ethersproject/hdnode>@ethersproject/signing-key": true,
"@ethersproject/hdnode>@ethersproject/transactions": true,
"@ethersproject/hdnode>@ethersproject/wordlists": true,
"@ethersproject/providers": true,
"@ethersproject/providers>@ethersproject/base64": true,
"@ethersproject/providers>@ethersproject/random": true,
"@ethersproject/providers>@ethersproject/rlp": true,
"@ethersproject/providers>@ethersproject/web": true,
"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>ethers>@ethersproject/json-wallets": true,
"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>ethers>@ethersproject/solidity": true,
"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>ethers>@ethersproject/units": true,
"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>ethers>@ethersproject/wallet": true
}
},
"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>ethers>@ethersproject/json-wallets": {
"packages": {
"@ethersproject/abi>@ethersproject/address": true,
"@ethersproject/abi>@ethersproject/bytes": true,
"@ethersproject/abi>@ethersproject/keccak256": true,
"@ethersproject/abi>@ethersproject/logger": true,
"@ethersproject/abi>@ethersproject/properties": true,
"@ethersproject/abi>@ethersproject/strings": true,
"@ethersproject/hdnode": true,
"@ethersproject/hdnode>@ethersproject/pbkdf2": true,
"@ethersproject/hdnode>@ethersproject/transactions": true,
"@ethersproject/providers>@ethersproject/random": true,
"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>ethers>@ethersproject/json-wallets>aes-js": true,
"ethereumjs-util>ethereum-cryptography>scrypt-js": true
}
},
"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>ethers>@ethersproject/json-wallets>aes-js": {
"globals": {
"define": true
}
},
"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>ethers>@ethersproject/solidity": {
"packages": {
"@ethersproject/abi>@ethersproject/bytes": true,
"@ethersproject/abi>@ethersproject/keccak256": true,
"@ethersproject/abi>@ethersproject/logger": true,
"@ethersproject/abi>@ethersproject/strings": true,
"@ethersproject/bignumber": true,
"@ethersproject/hdnode>@ethersproject/sha2": true
}
},
"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>ethers>@ethersproject/units": {
"packages": {
"@ethersproject/abi>@ethersproject/logger": true,
"@ethersproject/bignumber": true
}
},
"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>ethers>@ethersproject/wallet": {
"packages": {
"@ethersproject/abi>@ethersproject/address": true,
"@ethersproject/abi>@ethersproject/bytes": true,
"@ethersproject/abi>@ethersproject/hash": true,
"@ethersproject/abi>@ethersproject/keccak256": true,
"@ethersproject/abi>@ethersproject/logger": true,
"@ethersproject/abi>@ethersproject/properties": true,
"@ethersproject/hdnode": true,
"@ethersproject/hdnode>@ethersproject/abstract-signer": true,
"@ethersproject/hdnode>@ethersproject/signing-key": true,
"@ethersproject/hdnode>@ethersproject/transactions": true,
"@ethersproject/providers>@ethersproject/abstract-provider": true,
"@ethersproject/providers>@ethersproject/random": true,
"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>ethers>@ethersproject/json-wallets": true
}
},
2023-01-11 17:30:04 +01:00
"@truffle/decoder>@truffle/encoder>@ensdomains/ensjs>js-sha3": {
"globals": {
"define": true
},
"packages": {
"browserify>process": true
}
},
"@truffle/decoder>@truffle/encoder>bignumber.js": {
"globals": {
"crypto": true,
"define": true
}
},
"@truffle/decoder>@truffle/source-map-utils": {
"packages": {
"@truffle/codec": true,
"@truffle/codec>web3-utils": true,
"@truffle/decoder>@truffle/source-map-utils>@truffle/code-utils": true,
"@truffle/decoder>@truffle/source-map-utils>json-pointer": true,
"@truffle/decoder>@truffle/source-map-utils>node-interval-tree": true,
"nock>debug": true
}
},
"@truffle/decoder>@truffle/source-map-utils>@truffle/code-utils": {
"packages": {
"@truffle/codec>cbor": true,
"browserify>buffer": true
}
},
"@truffle/decoder>@truffle/source-map-utils>json-pointer": {
"packages": {
"@truffle/decoder>@truffle/source-map-utils>json-pointer>foreach": true
}
},
"@truffle/decoder>@truffle/source-map-utils>node-interval-tree": {
"packages": {
"@truffle/decoder>@truffle/source-map-utils>node-interval-tree>shallowequal": true
}
},
"@truffle/decoder>bn.js": {
"globals": {
"Buffer": true
},
"packages": {
"browserify>browser-resolve": true
}
},
"@zxing/browser": {
"globals": {
"HTMLElement": true,
"HTMLImageElement": true,
"HTMLVideoElement": true,
"URL.createObjectURL": true,
"clearTimeout": true,
"console.error": true,
"console.warn": true,
"document": true,
"navigator": true,
"setTimeout": true
},
"packages": {
"@zxing/library": true
}
},
"@zxing/library": {
"globals": {
"TextDecoder": true,
"TextEncoder": true,
"btoa": true,
"clearTimeout": true,
"define": true,
"document.createElement": true,
"document.createElementNS": true,
"document.getElementById": true,
"navigator.mediaDevices.enumerateDevices": true,
"navigator.mediaDevices.getUserMedia": true,
"setTimeout": true
}
},
"addons-linter>sha.js": {
"packages": {
"ethereumjs-wallet>safe-buffer": true,
"pumpify>inherits": true
}
},
"await-semaphore": {
"packages": {
"browserify>process": true,
"browserify>timers-browserify": true
}
},
"base32-encode": {
"packages": {
"base32-encode>to-data-view": true
}
},
"bignumber.js": {
"globals": {
"crypto": true,
"define": true
}
},
"bn.js": {
"globals": {
"Buffer": true
},
"packages": {
"browserify>browser-resolve": true
}
},
"bowser": {
"globals": {
"define": true
}
},
"browserify>assert": {
"globals": {
"Buffer": true
},
"packages": {
"browserify>assert>util": true,
"react>object-assign": true
}
},
"browserify>assert>util": {
"globals": {
"console.error": true,
"console.log": true,
"console.trace": true,
"process": true
},
"packages": {
"browserify>assert>util>inherits": true,
"browserify>process": true
}
},
"browserify>browser-resolve": {
"packages": {
"ethjs-query>babel-runtime>core-js": true
}
},
"browserify>browserify-zlib": {
"packages": {
"browserify>assert": true,
"browserify>browserify-zlib>pako": true,
"browserify>buffer": true,
"browserify>process": true,
"browserify>stream-browserify": true,
"browserify>util": true
}
},
"browserify>buffer": {
"globals": {
"console": true
},
"packages": {
"base64-js": true,
"browserify>buffer>ieee754": true
}
},
"browserify>crypto-browserify": {
"packages": {
"browserify>crypto-browserify>browserify-cipher": true,
"browserify>crypto-browserify>browserify-sign": true,
"browserify>crypto-browserify>create-ecdh": true,
"browserify>crypto-browserify>create-hmac": true,
"browserify>crypto-browserify>diffie-hellman": true,
"browserify>crypto-browserify>pbkdf2": true,
"browserify>crypto-browserify>public-encrypt": true,
"browserify>crypto-browserify>randomfill": true,
"ethereumjs-util>create-hash": true,
"ethereumjs-wallet>randombytes": true
}
},
"browserify>crypto-browserify>browserify-cipher": {
"packages": {
"browserify>crypto-browserify>browserify-cipher>browserify-des": true,
"browserify>crypto-browserify>browserify-cipher>evp_bytestokey": true,
"ethereumjs-util>ethereum-cryptography>browserify-aes": true
}
},
"browserify>crypto-browserify>browserify-cipher>browserify-des": {
"packages": {
"browserify>buffer": true,
"browserify>crypto-browserify>browserify-cipher>browserify-des>des.js": true,
"ethereumjs-util>create-hash>cipher-base": true,
"pumpify>inherits": true
}
},
"browserify>crypto-browserify>browserify-cipher>browserify-des>des.js": {
"packages": {
"ganache>secp256k1>elliptic>minimalistic-assert": true,
"pumpify>inherits": true
}
},
"browserify>crypto-browserify>browserify-cipher>evp_bytestokey": {
"packages": {
"ethereumjs-util>create-hash>md5.js": true,
"ethereumjs-wallet>safe-buffer": true
}
},
"browserify>crypto-browserify>browserify-sign": {
"packages": {
"bn.js": true,
"browserify>buffer": true,
"browserify>crypto-browserify>create-hmac": true,
"browserify>crypto-browserify>public-encrypt>browserify-rsa": true,
"browserify>crypto-browserify>public-encrypt>parse-asn1": true,
"browserify>stream-browserify": true,
"ethereumjs-util>create-hash": true,
"ganache>secp256k1>elliptic": true,
"pumpify>inherits": true
}
},
"browserify>crypto-browserify>create-ecdh": {
"packages": {
"bn.js": true,
"browserify>buffer": true,
"ganache>secp256k1>elliptic": true
}
},
"browserify>crypto-browserify>create-hmac": {
"packages": {
"addons-linter>sha.js": true,
"ethereumjs-util>create-hash": true,
"ethereumjs-util>create-hash>cipher-base": true,
"ethereumjs-util>create-hash>ripemd160": true,
"ethereumjs-wallet>safe-buffer": true,
"pumpify>inherits": true
}
},
"browserify>crypto-browserify>diffie-hellman": {
"packages": {
"bn.js": true,
"browserify>buffer": true,
"browserify>crypto-browserify>diffie-hellman>miller-rabin": true,
"ethereumjs-wallet>randombytes": true
}
},
"browserify>crypto-browserify>diffie-hellman>miller-rabin": {
"packages": {
"bn.js": true,
"ganache>secp256k1>elliptic>brorand": true
}
},
"browserify>crypto-browserify>pbkdf2": {
"globals": {
"crypto": true,
"process": true,
"queueMicrotask": true,
"setImmediate": true,
"setTimeout": true
},
"packages": {
"addons-linter>sha.js": true,
"browserify>process": true,
"ethereumjs-util>create-hash": true,
"ethereumjs-util>create-hash>ripemd160": true,
"ethereumjs-wallet>safe-buffer": true
}
},
"browserify>crypto-browserify>public-encrypt": {
"packages": {
"bn.js": true,
"browserify>buffer": true,
"browserify>crypto-browserify>public-encrypt>browserify-rsa": true,
"browserify>crypto-browserify>public-encrypt>parse-asn1": true,
"ethereumjs-util>create-hash": true,
"ethereumjs-wallet>randombytes": true
}
},
"browserify>crypto-browserify>public-encrypt>browserify-rsa": {
"packages": {
"bn.js": true,
"browserify>buffer": true,
"ethereumjs-wallet>randombytes": true
}
},
"browserify>crypto-browserify>public-encrypt>parse-asn1": {
"packages": {
"browserify>buffer": true,
"browserify>crypto-browserify>browserify-cipher>evp_bytestokey": true,
"browserify>crypto-browserify>pbkdf2": true,
"browserify>crypto-browserify>public-encrypt>parse-asn1>asn1.js": true,
"ethereumjs-util>ethereum-cryptography>browserify-aes": true
}
},
"browserify>crypto-browserify>public-encrypt>parse-asn1>asn1.js": {
"packages": {
"bn.js": true,
"browserify>buffer": true,
"browserify>vm-browserify": true,
"ganache>secp256k1>elliptic>minimalistic-assert": true,
"pumpify>inherits": true
}
},
"browserify>crypto-browserify>randomfill": {
"globals": {
"crypto": true,
"msCrypto": true
},
"packages": {
"browserify>process": true,
"ethereumjs-wallet>randombytes": true,
"ethereumjs-wallet>safe-buffer": true
}
},
"browserify>events": {
"globals": {
"console": true
}
},
"browserify>has": {
"packages": {
"browserify>has>function-bind": true
}
},
"browserify>https-browserify": {
"packages": {
"browserify>stream-http": true,
"browserify>url": true
}
},
"browserify>os-browserify": {
"globals": {
"location": true,
"navigator": true
}
},
"browserify>path-browserify": {
"packages": {
"browserify>process": true
}
},
"browserify>process": {
"globals": {
"clearTimeout": true,
"setTimeout": true
}
},
"browserify>punycode": {
"globals": {
"define": true
}
},
"browserify>stream-browserify": {
"packages": {
"browserify>events": true,
"pumpify>inherits": true,
"readable-stream": true
}
},
"browserify>stream-http": {
"globals": {
"AbortController": true,
"Blob": true,
"MSStreamReader": true,
"ReadableStream": true,
"WritableStream": true,
"XDomainRequest": true,
"XMLHttpRequest": true,
"clearTimeout": true,
"fetch": true,
"location.protocol.search": true,
"setTimeout": true
},
"packages": {
"browserify>buffer": true,
"browserify>process": true,
"browserify>stream-http>builtin-status-codes": true,
"browserify>stream-http>readable-stream": true,
"browserify>url": true,
"pumpify>inherits": true,
"watchify>xtend": true
}
},
"browserify>stream-http>readable-stream": {
"packages": {
"browserify>browser-resolve": true,
"browserify>buffer": true,
"browserify>events": true,
"browserify>process": true,
"browserify>string_decoder": true,
"pumpify>inherits": true,
"readable-stream>util-deprecate": true
}
},
"browserify>string_decoder": {
"packages": {
"ethereumjs-wallet>safe-buffer": true
}
},
"browserify>timers-browserify": {
"globals": {
"clearInterval": true,
"clearTimeout": true,
"setInterval": true,
"setTimeout": true
},
"packages": {
"browserify>process": true
}
},
"browserify>url": {
"packages": {
"browserify>punycode": true,
"browserify>querystring-es3": true
}
},
"browserify>util": {
"globals": {
"console.error": true,
"console.log": true,
"console.trace": true,
"process": true
},
"packages": {
"browserify>process": true,
"browserify>util>inherits": true
}
},
"browserify>vm-browserify": {
"globals": {
"document.body.appendChild": true,
"document.body.removeChild": true,
"document.createElement": true
}
},
"classnames": {
"globals": {
"classNames": "write",
"define": true
}
},
"copy-to-clipboard": {
"globals": {
"clipboardData": true,
"console.error": true,
"console.warn": true,
"document.body.appendChild": true,
"document.body.removeChild": true,
"document.createElement": true,
"document.createRange": true,
"document.execCommand": true,
"document.getSelection": true,
"navigator.userAgent": true,
"prompt": true
},
"packages": {
"copy-to-clipboard>toggle-selection": true
}
},
"copy-to-clipboard>toggle-selection": {
"globals": {
"document.activeElement": true,
"document.getSelection": true
}
},
"currency-formatter": {
"packages": {
"currency-formatter>accounting": true,
"currency-formatter>locale-currency": true,
"react>object-assign": true
}
},
"currency-formatter>accounting": {
"globals": {
"define": true
}
},
"currency-formatter>locale-currency": {
"globals": {
"countryCode": true
}
},
"debounce-stream": {
"packages": {
"debounce-stream>debounce": true,
"debounce-stream>duplexer": true,
"debounce-stream>through": true
}
},
"debounce-stream>debounce": {
"globals": {
"clearTimeout": true,
"setTimeout": true
}
},
"debounce-stream>duplexer": {
"packages": {
"browserify>stream-browserify": true
}
},
"debounce-stream>through": {
"packages": {
"browserify>process": true,
"browserify>stream-browserify": true
}
},
"depcheck>@vue/compiler-sfc>postcss>nanoid": {
"globals": {
"crypto.getRandomValues": true
}
},
"dependency-tree>precinct>detective-postcss>postcss>nanoid": {
"globals": {
"crypto.getRandomValues": true
}
},
"end-of-stream": {
"packages": {
"browserify>process": true,
"pump>once": true
}
},
"eslint>optionator>fast-levenshtein": {
"globals": {
"Intl": true,
"Levenshtein": "write",
"console.log": true,
"define": true,
"importScripts": true,
"postMessage": true
}
},
"eth-ens-namehash": {
"globals": {
"name": "write"
},
"packages": {
"browserify>buffer": true,
"eth-ens-namehash>idna-uts46-hx": true,
"eth-ens-namehash>js-sha3": true
}
},
"eth-ens-namehash>idna-uts46-hx": {
"globals": {
"define": true
},
"packages": {
"browserify>punycode": true
}
},
"eth-ens-namehash>js-sha3": {
"packages": {
"browserify>process": true
}
},
"eth-json-rpc-filters": {
"globals": {
2023-01-17 19:24:06 +01:00
"console.error": true
},
"packages": {
"@metamask/safe-event-emitter": true,
"eth-json-rpc-filters>async-mutex": true,
"eth-query": true,
"json-rpc-engine": true,
"pify": true
}
},
"eth-json-rpc-filters>async-mutex": {
"globals": {
"setTimeout": true
},
"packages": {
"wait-on>rxjs>tslib": true
}
},
"eth-keyring-controller>@metamask/browser-passworder": {
"globals": {
"crypto": true
}
},
"eth-lattice-keyring": {
"globals": {
"addEventListener": true,
"browser": true,
"clearInterval": true,
"fetch": true,
"open": true,
"setInterval": true
},
"packages": {
"@ethereumjs/tx>@ethereumjs/util": true,
"browserify>buffer": true,
"browserify>crypto-browserify": true,
"browserify>events": true,
"eth-lattice-keyring>@ethereumjs/tx": true,
"eth-lattice-keyring>bn.js": true,
"eth-lattice-keyring>gridplus-sdk": true,
"eth-lattice-keyring>rlp": true
}
},
"eth-lattice-keyring>@ethereumjs/tx": {
"packages": {
"@ethereumjs/common": true,
"@ethereumjs/tx>@ethereumjs/rlp": true,
"@ethereumjs/tx>@ethereumjs/util": true,
"@ethersproject/providers": true,
"browserify>buffer": true,
"browserify>insert-module-globals>is-buffer": true,
"eth-lattice-keyring>@ethereumjs/tx>@chainsafe/ssz": true,
"eth-lattice-keyring>@ethereumjs/tx>ethereum-cryptography": true
}
},
"eth-lattice-keyring>@ethereumjs/tx>@chainsafe/ssz": {
"packages": {
"browserify": true,
"browserify>buffer": true,
"eth-lattice-keyring>@ethereumjs/tx>@chainsafe/ssz>@chainsafe/persistent-merkle-tree": true,
"eth-lattice-keyring>@ethereumjs/tx>@chainsafe/ssz>case": true
}
},
"eth-lattice-keyring>@ethereumjs/tx>@chainsafe/ssz>@chainsafe/persistent-merkle-tree": {
"globals": {
"WeakRef": true
},
"packages": {
"browserify": true
}
},
"eth-lattice-keyring>@ethereumjs/tx>ethereum-cryptography": {
"globals": {
"TextDecoder": true,
"crypto": true
},
"packages": {
"eth-lattice-keyring>@ethereumjs/tx>ethereum-cryptography>@noble/hashes": true
}
},
"eth-lattice-keyring>@ethereumjs/tx>ethereum-cryptography>@noble/hashes": {
"globals": {
"TextEncoder": true,
"crypto": true
}
},
"eth-lattice-keyring>bn.js": {
"globals": {
"Buffer": true
},
"packages": {
"browserify>browser-resolve": true
}
},
"eth-lattice-keyring>gridplus-sdk": {
"globals": {
"AbortController": true,
"Request": true,
"URL": true,
"__values": true,
"caches": true,
"clearTimeout": true,
"console.error": true,
"console.log": true,
"console.warn": true,
"fetch": true,
"setTimeout": true
},
"packages": {
"@ethereumjs/common>crc-32": true,
"@ethersproject/abi": true,
"bn.js": true,
"browserify>buffer": true,
"eth-lattice-keyring>gridplus-sdk>@ethereumjs/common": true,
"eth-lattice-keyring>gridplus-sdk>@ethereumjs/tx": true,
"eth-lattice-keyring>gridplus-sdk>bech32": true,
"eth-lattice-keyring>gridplus-sdk>bignumber.js": true,
"eth-lattice-keyring>gridplus-sdk>bitwise": true,
"eth-lattice-keyring>gridplus-sdk>borc": true,
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser": true,
"eth-lattice-keyring>gridplus-sdk>js-sha3": true,
"eth-lattice-keyring>gridplus-sdk>rlp": true,
"eth-lattice-keyring>gridplus-sdk>secp256k1": true,
"eth-lattice-keyring>gridplus-sdk>uuid": true,
"ethereumjs-util>ethereum-cryptography>hash.js": true,
"ethereumjs-wallet>aes-js": true,
"ethereumjs-wallet>bs58check": true,
"ganache>secp256k1>elliptic": true,
"lodash": true
}
},
"eth-lattice-keyring>gridplus-sdk>@ethereumjs/common": {
"packages": {
"@ethereumjs/common>crc-32": true,
"@ethereumjs/tx>@ethereumjs/util": true,
"browserify>buffer": true,
"browserify>events": true
}
},
"eth-lattice-keyring>gridplus-sdk>@ethereumjs/tx": {
"packages": {
"@ethereumjs/tx>@ethereumjs/rlp": true,
"@ethereumjs/tx>@ethereumjs/util": true,
"@ethersproject/providers": true,
"browserify>buffer": true,
"browserify>insert-module-globals>is-buffer": true,
"eth-lattice-keyring>gridplus-sdk>@ethereumjs/tx>@chainsafe/ssz": true,
"eth-lattice-keyring>gridplus-sdk>@ethereumjs/tx>@ethereumjs/common": true,
"eth-lattice-keyring>gridplus-sdk>@ethereumjs/tx>ethereum-cryptography": true
}
},
"eth-lattice-keyring>gridplus-sdk>@ethereumjs/tx>@chainsafe/ssz": {
"packages": {
"browserify": true,
"browserify>buffer": true,
"eth-lattice-keyring>@ethereumjs/tx>@chainsafe/ssz>case": true,
"eth-lattice-keyring>gridplus-sdk>@ethereumjs/tx>@chainsafe/ssz>@chainsafe/persistent-merkle-tree": true
}
},
"eth-lattice-keyring>gridplus-sdk>@ethereumjs/tx>@chainsafe/ssz>@chainsafe/persistent-merkle-tree": {
"globals": {
"WeakRef": true
},
"packages": {
"browserify": true
}
},
"eth-lattice-keyring>gridplus-sdk>@ethereumjs/tx>@ethereumjs/common": {
"packages": {
"@ethereumjs/common>crc-32": true,
"@ethereumjs/tx>@ethereumjs/util": true,
"browserify>buffer": true,
"browserify>events": true
}
},
"eth-lattice-keyring>gridplus-sdk>@ethereumjs/tx>ethereum-cryptography": {
"globals": {
"TextDecoder": true,
"crypto": true
},
"packages": {
"eth-lattice-keyring>gridplus-sdk>@ethereumjs/tx>ethereum-cryptography>@noble/hashes": true
}
},
"eth-lattice-keyring>gridplus-sdk>@ethereumjs/tx>ethereum-cryptography>@noble/hashes": {
"globals": {
"TextEncoder": true,
"crypto": true
}
},
"eth-lattice-keyring>gridplus-sdk>bignumber.js": {
"globals": {
"crypto": true,
"define": true
}
},
"eth-lattice-keyring>gridplus-sdk>bitwise": {
"packages": {
"browserify>buffer": true
}
},
"eth-lattice-keyring>gridplus-sdk>borc": {
"globals": {
"console": true
},
"packages": {
"browserify>buffer": true,
"browserify>buffer>ieee754": true,
"eth-lattice-keyring>gridplus-sdk>borc>bignumber.js": true,
"eth-lattice-keyring>gridplus-sdk>borc>iso-url": true
}
},
"eth-lattice-keyring>gridplus-sdk>borc>bignumber.js": {
"globals": {
"crypto": true,
"define": true
}
},
"eth-lattice-keyring>gridplus-sdk>borc>iso-url": {
"globals": {
"URL": true,
"URLSearchParams": true,
"location": true
}
},
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser": {
"globals": {
"intToBuffer": true
},
"packages": {
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser>bn.js": true,
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser>buffer": true,
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser>js-sha3": true
}
},
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser>bn.js": {
"globals": {
"Buffer": true
},
"packages": {
"browserify>browser-resolve": true
}
},
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser>buffer": {
"globals": {
"console": true
},
"packages": {
"base64-js": true,
"browserify>buffer>ieee754": true
}
},
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser>js-sha3": {
"globals": {
"define": true
},
"packages": {
"browserify>process": true
}
},
"eth-lattice-keyring>gridplus-sdk>js-sha3": {
"globals": {
"define": true
},
"packages": {
"browserify>process": true
}
},
"eth-lattice-keyring>gridplus-sdk>rlp": {
"globals": {
"TextEncoder": true
}
},
"eth-lattice-keyring>gridplus-sdk>secp256k1": {
"packages": {
"ganache>secp256k1>elliptic": true
}
},
"eth-lattice-keyring>gridplus-sdk>uuid": {
"globals": {
"crypto": true
}
},
"eth-lattice-keyring>rlp": {
"globals": {
"TextEncoder": true
}
},
"eth-method-registry": {
"packages": {
"ethjs": true
}
},
"eth-query": {
"packages": {
"eth-query>json-rpc-random-id": true,
"nock>debug": true,
"watchify>xtend": true
}
},
"eth-rpc-errors": {
"packages": {
"eth-rpc-errors>fast-safe-stringify": true
}
},
"eth-sig-util": {
"packages": {
"browserify>buffer": true,
"eth-sig-util>ethereumjs-util": true,
"eth-sig-util>tweetnacl": true,
"eth-sig-util>tweetnacl-util": true,
"ethereumjs-abi": true
}
},
"eth-sig-util>ethereumjs-util": {
"packages": {
"bn.js": true,
"browserify>assert": true,
"browserify>buffer": true,
"eth-sig-util>ethereumjs-util>ethjs-util": true,
"ethereumjs-util>create-hash": true,
"ethereumjs-util>ethereum-cryptography": true,
"ethereumjs-util>rlp": true,
"ethereumjs-wallet>safe-buffer": true,
"ganache>secp256k1>elliptic": true
}
},
"eth-sig-util>ethereumjs-util>ethjs-util": {
"packages": {
"browserify>buffer": true,
"ethjs>ethjs-util>is-hex-prefixed": true,
"ethjs>ethjs-util>strip-hex-prefix": true
}
},
"eth-sig-util>tweetnacl": {
"globals": {
"crypto": true,
"msCrypto": true,
"nacl": "write"
},
"packages": {
"browserify>browser-resolve": true
}
},
"eth-sig-util>tweetnacl-util": {
"globals": {
"atob": true,
"btoa": true
},
"packages": {
"browserify>browser-resolve": true
}
},
"ethereumjs-abi": {
"packages": {
"bn.js": true,
"browserify>buffer": true,
"ethereumjs-abi>ethereumjs-util": true
}
},
"ethereumjs-abi>ethereumjs-util": {
"packages": {
"bn.js": true,
"browserify>assert": true,
"browserify>buffer": true,
"ethereumjs-abi>ethereumjs-util>ethjs-util": true,
"ethereumjs-util>create-hash": true,
"ethereumjs-util>ethereum-cryptography": true,
"ethereumjs-util>rlp": true,
"ganache>secp256k1>elliptic": true
}
},
"ethereumjs-abi>ethereumjs-util>ethjs-util": {
"packages": {
"browserify>buffer": true,
"ethjs>ethjs-util>is-hex-prefixed": true,
"ethjs>ethjs-util>strip-hex-prefix": true
}
},
"ethereumjs-util": {
"packages": {
"browserify>assert": true,
"browserify>buffer": true,
"browserify>insert-module-globals>is-buffer": true,
"ethereumjs-util>bn.js": true,
"ethereumjs-util>create-hash": true,
"ethereumjs-util>ethereum-cryptography": true,
"ethereumjs-util>rlp": true
}
},
"ethereumjs-util>bn.js": {
"globals": {
"Buffer": true
},
"packages": {
"browserify>browser-resolve": true
}
},
"ethereumjs-util>create-hash": {
"packages": {
"addons-linter>sha.js": true,
"ethereumjs-util>create-hash>cipher-base": true,
"ethereumjs-util>create-hash>md5.js": true,
"ethereumjs-util>create-hash>ripemd160": true,
"pumpify>inherits": true
}
},
"ethereumjs-util>create-hash>cipher-base": {
"packages": {
"browserify>stream-browserify": true,
"browserify>string_decoder": true,
"ethereumjs-wallet>safe-buffer": true,
"pumpify>inherits": true
}
},
"ethereumjs-util>create-hash>md5.js": {
"packages": {
"ethereumjs-util>create-hash>md5.js>hash-base": true,
"ethereumjs-wallet>safe-buffer": true,
"pumpify>inherits": true
}
},
"ethereumjs-util>create-hash>md5.js>hash-base": {
"packages": {
"ethereumjs-util>create-hash>md5.js>hash-base>readable-stream": true,
"ethereumjs-wallet>safe-buffer": true,
"pumpify>inherits": true
}
},
"ethereumjs-util>create-hash>md5.js>hash-base>readable-stream": {
"packages": {
"browserify>browser-resolve": true,
"browserify>buffer": true,
"browserify>events": true,
"browserify>process": true,
"browserify>string_decoder": true,
"pumpify>inherits": true,
"readable-stream>util-deprecate": true
}
},
"ethereumjs-util>create-hash>ripemd160": {
"packages": {
"browserify>buffer": true,
"ethereumjs-util>create-hash>md5.js>hash-base": true,
"pumpify>inherits": true
}
},
"ethereumjs-util>ethereum-cryptography": {
"packages": {
"browserify>buffer": true,
"ethereumjs-util>ethereum-cryptography>keccak": true,
"ethereumjs-util>ethereum-cryptography>secp256k1": true,
"ethereumjs-wallet>randombytes": true
}
},
"ethereumjs-util>ethereum-cryptography>browserify-aes": {
"packages": {
"browserify>buffer": true,
"browserify>crypto-browserify>browserify-cipher>evp_bytestokey": true,
"ethereumjs-util>create-hash>cipher-base": true,
"ethereumjs-util>ethereum-cryptography>browserify-aes>buffer-xor": true,
"ethereumjs-wallet>safe-buffer": true,
"pumpify>inherits": true
}
},
"ethereumjs-util>ethereum-cryptography>browserify-aes>buffer-xor": {
"packages": {
"browserify>buffer": true
}
},
"ethereumjs-util>ethereum-cryptography>hash.js": {
"packages": {
"ganache>secp256k1>elliptic>minimalistic-assert": true,
"pumpify>inherits": true
}
},
"ethereumjs-util>ethereum-cryptography>keccak": {
"packages": {
"browserify>buffer": true,
"ethereumjs-util>ethereum-cryptography>keccak>readable-stream": true
}
},
"ethereumjs-util>ethereum-cryptography>keccak>readable-stream": {
"packages": {
"browserify>browser-resolve": true,
"browserify>buffer": true,
"browserify>events": true,
"browserify>process": true,
"browserify>string_decoder": true,
"pumpify>inherits": true,
"readable-stream>util-deprecate": true
}
},
"ethereumjs-util>ethereum-cryptography>scrypt-js": {
"globals": {
"define": true,
"setTimeout": true
},
"packages": {
"browserify>timers-browserify": true
}
},
"ethereumjs-util>ethereum-cryptography>secp256k1": {
"packages": {
"ganache>secp256k1>elliptic": true
}
},
"ethereumjs-util>rlp": {
"packages": {
"browserify>buffer": true,
"ethereumjs-util>rlp>bn.js": true
}
},
"ethereumjs-util>rlp>bn.js": {
"globals": {
"Buffer": true
},
"packages": {
"browserify>browser-resolve": true
}
},
"ethereumjs-wallet": {
"packages": {
"@truffle/codec>utf8": true,
"browserify>crypto-browserify": true,
"ethereumjs-wallet>aes-js": true,
"ethereumjs-wallet>bs58check": true,
"ethereumjs-wallet>ethereumjs-util": true,
"ethereumjs-wallet>randombytes": true,
"ethereumjs-wallet>safe-buffer": true,
"ethereumjs-wallet>scryptsy": true,
"ethereumjs-wallet>uuid": true
}
},
"ethereumjs-wallet>aes-js": {
"globals": {
"define": true
}
},
"ethereumjs-wallet>bs58check": {
"packages": {
"ethereumjs-util>create-hash": true,
"ethereumjs-wallet>bs58check>bs58": true,
"ethereumjs-wallet>safe-buffer": true
}
},
"ethereumjs-wallet>bs58check>bs58": {
"packages": {
"ethereumjs-wallet>bs58check>bs58>base-x": true
}
},
"ethereumjs-wallet>bs58check>bs58>base-x": {
"packages": {
"ethereumjs-wallet>safe-buffer": true
}
},
"ethereumjs-wallet>ethereumjs-util": {
"packages": {
"bn.js": true,
"browserify>assert": true,
"browserify>buffer": true,
"ethereumjs-util>create-hash": true,
"ethereumjs-util>ethereum-cryptography": true,
"ethereumjs-util>rlp": true,
"ethereumjs-wallet>ethereumjs-util>ethjs-util": true,
"ganache>secp256k1>elliptic": true
}
},
"ethereumjs-wallet>ethereumjs-util>ethjs-util": {
"packages": {
"browserify>buffer": true,
"ethjs>ethjs-util>is-hex-prefixed": true,
"ethjs>ethjs-util>strip-hex-prefix": true
}
},
"ethereumjs-wallet>randombytes": {
"globals": {
"crypto": true,
"msCrypto": true
},
"packages": {
"browserify>process": true,
"ethereumjs-wallet>safe-buffer": true
}
},
"ethereumjs-wallet>safe-buffer": {
"packages": {
"browserify>buffer": true
}
},
"ethereumjs-wallet>scryptsy": {
"packages": {
"browserify>buffer": true,
"browserify>crypto-browserify>pbkdf2": true
}
},
"ethereumjs-wallet>uuid": {
"globals": {
"crypto": true,
"msCrypto": true
}
},
"ethers>@ethersproject/random": {
"globals": {
"crypto.getRandomValues": true
}
},
"ethjs": {
"globals": {
"clearInterval": true,
"setInterval": true
},
"packages": {
"browserify>buffer": true,
"ethjs-contract": true,
"ethjs-query": true,
"ethjs>bn.js": true,
"ethjs>ethjs-abi": true,
"ethjs>ethjs-filter": true,
"ethjs>ethjs-provider-http": true,
"ethjs>ethjs-unit": true,
"ethjs>ethjs-util": true,
"ethjs>js-sha3": true,
"ethjs>number-to-bn": true
}
},
"ethjs-contract": {
"packages": {
"ethjs-contract>ethjs-abi": true,
"ethjs-query>babel-runtime": true,
"ethjs>ethjs-filter": true,
"ethjs>ethjs-util": true,
"ethjs>js-sha3": true,
"promise-to-callback": true
}
},
"ethjs-contract>ethjs-abi": {
"packages": {
"browserify>buffer": true,
"ethjs-contract>ethjs-abi>bn.js": true,
"ethjs>js-sha3": true,
"ethjs>number-to-bn": true
}
},
"ethjs-query": {
"globals": {
"console": true
},
"packages": {
"ethjs-query>ethjs-format": true,
"ethjs-query>ethjs-rpc": true,
"promise-to-callback": true
}
},
"ethjs-query>babel-runtime": {
"packages": {
"@babel/runtime": true,
"@babel/runtime>regenerator-runtime": true,
"ethjs-query>babel-runtime>core-js": true
}
},
"ethjs-query>babel-runtime>core-js": {
"globals": {
"PromiseRejectionEvent": true,
"__e": "write",
"__g": "write",
"document.createTextNode": true,
"postMessage": true,
"setTimeout": true
}
},
"ethjs-query>ethjs-format": {
"packages": {
"ethjs-query>ethjs-format>ethjs-schema": true,
"ethjs>ethjs-util": true,
"ethjs>ethjs-util>strip-hex-prefix": true,
"ethjs>number-to-bn": true
}
},
"ethjs-query>ethjs-rpc": {
"packages": {
"promise-to-callback": true
}
},
"ethjs>ethjs-abi": {
"packages": {
"browserify>buffer": true,
"ethjs>bn.js": true,
"ethjs>js-sha3": true,
"ethjs>number-to-bn": true
}
},
"ethjs>ethjs-filter": {
"globals": {
"clearInterval": true,
"setInterval": true
}
},
"ethjs>ethjs-provider-http": {
"packages": {
"ethjs>ethjs-provider-http>xhr2": true
}
},
"ethjs>ethjs-provider-http>xhr2": {
"globals": {
"XMLHttpRequest": true
}
},
"ethjs>ethjs-unit": {
"packages": {
"ethjs>ethjs-unit>bn.js": true,
"ethjs>number-to-bn": true
}
},
"ethjs>ethjs-util": {
"packages": {
"browserify>buffer": true,
"ethjs>ethjs-util>is-hex-prefixed": true,
"ethjs>ethjs-util>strip-hex-prefix": true
}
},
"ethjs>ethjs-util>strip-hex-prefix": {
"packages": {
"ethjs>ethjs-util>is-hex-prefixed": true
}
},
"ethjs>js-sha3": {
"packages": {
"browserify>process": true
}
},
"ethjs>number-to-bn": {
"packages": {
"ethjs>ethjs-util>strip-hex-prefix": true,
"ethjs>number-to-bn>bn.js": true
}
},
"extension-port-stream": {
"packages": {
"browserify>buffer": true,
"browserify>stream-browserify": true
}
},
"fast-json-patch": {
"globals": {
"addEventListener": true,
"clearTimeout": true,
"removeEventListener": true,
"setTimeout": true
}
},
"fuse.js": {
"globals": {
"console": true,
"define": true
}
},
"ganache>secp256k1>elliptic": {
"packages": {
"bn.js": true,
"ethereumjs-util>ethereum-cryptography>hash.js": true,
"ganache>secp256k1>elliptic>brorand": true,
"ganache>secp256k1>elliptic>hmac-drbg": true,
"ganache>secp256k1>elliptic>minimalistic-assert": true,
"ganache>secp256k1>elliptic>minimalistic-crypto-utils": true,
"pumpify>inherits": true
}
},
"ganache>secp256k1>elliptic>brorand": {
"globals": {
"crypto": true,
"msCrypto": true
},
"packages": {
"browserify>browser-resolve": true
}
},
"ganache>secp256k1>elliptic>hmac-drbg": {
"packages": {
"ethereumjs-util>ethereum-cryptography>hash.js": true,
"ganache>secp256k1>elliptic>minimalistic-assert": true,
"ganache>secp256k1>elliptic>minimalistic-crypto-utils": true
}
},
"globalthis>define-properties": {
"packages": {
2022-07-26 20:10:51 +02:00
"globalthis>define-properties>has-property-descriptors": true,
"globalthis>define-properties>object-keys": true
}
},
2022-07-26 20:10:51 +02:00
"globalthis>define-properties>has-property-descriptors": {
"packages": {
"string.prototype.matchall>get-intrinsic": true
}
},
"json-rpc-engine": {
"packages": {
"@metamask/safe-event-emitter": true,
"eth-rpc-errors": true
}
},
"json-rpc-middleware-stream": {
"globals": {
"console.warn": true,
"setTimeout": true
},
"packages": {
"@metamask/safe-event-emitter": true,
"readable-stream": true
}
},
"koa>is-generator-function>has-tostringtag": {
"packages": {
"string.prototype.matchall>has-symbols": true
}
},
"lavamoat>json-stable-stringify": {
"packages": {
"lavamoat>json-stable-stringify>jsonify": true
}
},
"localforage": {
"globals": {
"Blob": true,
"BlobBuilder": true,
"FileReader": true,
"IDBKeyRange": true,
"MSBlobBuilder": true,
"MozBlobBuilder": true,
"OIndexedDB": true,
"WebKitBlobBuilder": true,
"atob": true,
"btoa": true,
"console.error": true,
"console.info": true,
"console.warn": true,
"define": true,
"fetch": true,
"indexedDB": true,
"localStorage": true,
"mozIndexedDB": true,
"msIndexedDB": true,
"navigator.platform": true,
"navigator.userAgent": true,
"openDatabase": true,
"setTimeout": true,
"webkitIndexedDB": true
}
},
"lodash": {
"globals": {
"clearTimeout": true,
"define": true,
"setTimeout": true
}
},
"loglevel": {
"globals": {
"console": true,
"define": true,
"document.cookie": true,
"localStorage": true,
"log": "write",
"navigator": true
}
},
"luxon": {
"globals": {
"Intl": true
}
},
"madge>ora>bl": {
Add TypeScript migration dashboard (#13820) As we convert parts of the codebase to TypeScript, we will want a way to track progress. This commit adds a dashboard which displays all of the files that we wish to convert to TypeScript and which files we've already converted. The list of all possible files to convert is predetermined by walking the dependency graph of each entrypoint the build system uses to compile the extension (the files that the entrypoint imports, the files that the imports import, etc). The list should not need to be regenerated, but you can do it by running: yarn ts-migration:enumerate The dashboard is implemented as a separate React app. The CircleCI configuration has been updated so that when a new commit is pushed, the React app is built and stored in the CircleCI artifacts. When a PR is merged, the built files will be pushed to a separate repo whose sole purpose is to serve the dashboard via GitHub Pages (this is the same way that the Storybook works). All of the app code and script to build the app are self-contained under `development/ts-migration-dashboard`. To build this app yourself, you can run: yarn ts-migration:dashboard:build or if you want to build automatically as you change files, run: yarn ts-migration:dashboard:watch Then open the following file in your browser (there is no server component): development/ts-migration-dashboard/build/index.html Finally, although you shouldn't have to do this, to manually deploy the dashboard once built, you can run: git remote add ts-migration-dashboard git@github.com:MetaMask/metamask-extension-ts-migration-dashboard.git yarn ts-migration:dashboard:deploy
2022-08-09 22:16:08 +02:00
"packages": {
"browserify>buffer": true,
"madge>ora>bl>readable-stream": true,
"pumpify>inherits": true
Add TypeScript migration dashboard (#13820) As we convert parts of the codebase to TypeScript, we will want a way to track progress. This commit adds a dashboard which displays all of the files that we wish to convert to TypeScript and which files we've already converted. The list of all possible files to convert is predetermined by walking the dependency graph of each entrypoint the build system uses to compile the extension (the files that the entrypoint imports, the files that the imports import, etc). The list should not need to be regenerated, but you can do it by running: yarn ts-migration:enumerate The dashboard is implemented as a separate React app. The CircleCI configuration has been updated so that when a new commit is pushed, the React app is built and stored in the CircleCI artifacts. When a PR is merged, the built files will be pushed to a separate repo whose sole purpose is to serve the dashboard via GitHub Pages (this is the same way that the Storybook works). All of the app code and script to build the app are self-contained under `development/ts-migration-dashboard`. To build this app yourself, you can run: yarn ts-migration:dashboard:build or if you want to build automatically as you change files, run: yarn ts-migration:dashboard:watch Then open the following file in your browser (there is no server component): development/ts-migration-dashboard/build/index.html Finally, although you shouldn't have to do this, to manually deploy the dashboard once built, you can run: git remote add ts-migration-dashboard git@github.com:MetaMask/metamask-extension-ts-migration-dashboard.git yarn ts-migration:dashboard:deploy
2022-08-09 22:16:08 +02:00
}
},
"madge>ora>bl>readable-stream": {
"packages": {
"browserify>browser-resolve": true,
"browserify>buffer": true,
"browserify>events": true,
"browserify>process": true,
"browserify>string_decoder": true,
"pumpify>inherits": true,
"readable-stream>util-deprecate": true
}
},
"nanoid": {
"globals": {
"crypto": true,
"msCrypto": true,
"navigator": true
}
},
"nock>debug": {
"globals": {
"console": true,
"document": true,
"localStorage": true,
"navigator": true,
"process": true
},
"packages": {
"browserify>process": true,
"nock>debug>ms": true
}
},
"node-fetch": {
"globals": {
"Headers": true,
"Request": true,
"Response": true,
"fetch": true
}
},
"nonce-tracker": {
"packages": {
"await-semaphore": true,
"browserify>assert": true,
"ethjs-query": true
}
},
"obj-multiplex": {
"globals": {
"console.warn": true
},
"packages": {
"end-of-stream": true,
"pump>once": true,
"readable-stream": true
}
},
"promise-to-callback": {
"packages": {
"promise-to-callback>is-fn": true,
"promise-to-callback>set-immediate-shim": true
}
},
"promise-to-callback>set-immediate-shim": {
"globals": {
"setTimeout.apply": true
},
"packages": {
"browserify>timers-browserify": true
}
},
"prop-types": {
"globals": {
"console": true
},
"packages": {
"prop-types>react-is": true,
"react>object-assign": true
}
},
"prop-types>react-is": {
"globals": {
"console": true
}
},
"pump": {
"packages": {
"browserify>browser-resolve": true,
"browserify>process": true,
"end-of-stream": true,
"pump>once": true
}
},
"pump>once": {
"packages": {
"pump>once>wrappy": true
}
},
"qrcode-generator": {
"globals": {
"define": true
}
},
"qrcode.react": {
"globals": {
"Path2D": true,
"devicePixelRatio": true
},
"packages": {
"prop-types": true,
"qrcode.react>qr.js": true,
"react": true
}
},
"react": {
"globals": {
"console": true
},
"packages": {
"prop-types": true,
"react>object-assign": true
}
},
"react-devtools": {
"packages": {
"react-devtools>react-devtools-core": true
}
},
"react-devtools>react-devtools-core": {
"globals": {
"WebSocket": true,
"setTimeout": true
}
},
"react-dnd-html5-backend": {
"globals": {
"addEventListener": true,
"clearTimeout": true,
"removeEventListener": true
}
},
"react-dom": {
"globals": {
"HTMLIFrameElement": true,
"MSApp": true,
"__REACT_DEVTOOLS_GLOBAL_HOOK__": true,
"addEventListener": true,
"clearTimeout": true,
"clipboardData": true,
"console": true,
"dispatchEvent": true,
"document": true,
"event": "write",
"jest": true,
"location.protocol": true,
"navigator.userAgent.indexOf": true,
"performance": true,
"removeEventListener": true,
"self": true,
"setTimeout": true,
"top": true,
"trustedTypes": true
},
"packages": {
"prop-types": true,
"react": true,
"react-dom>scheduler": true,
"react>object-assign": true
}
},
"react-dom>scheduler": {
"globals": {
"MessageChannel": true,
"cancelAnimationFrame": true,
"clearTimeout": true,
"console": true,
"navigator": true,
"performance": true,
"requestAnimationFrame": true,
"setTimeout": true
}
},
2023-05-09 23:33:29 +02:00
"react-focus-lock": {
"globals": {
"addEventListener": true,
"console.error": true,
"console.warn": true,
"document": true,
"removeEventListener": true,
"setTimeout": true
},
"packages": {
"@babel/runtime": true,
"prop-types": true,
"react": true,
"react-focus-lock>focus-lock": true,
"react-focus-lock>react-clientside-effect": true,
"react-focus-lock>use-callback-ref": true,
"react-focus-lock>use-sidecar": true
}
},
"react-focus-lock>focus-lock": {
"globals": {
"HTMLIFrameElement": true,
"Node.DOCUMENT_FRAGMENT_NODE": true,
"Node.DOCUMENT_NODE": true,
"Node.DOCUMENT_POSITION_CONTAINED_BY": true,
"Node.DOCUMENT_POSITION_CONTAINS": true,
"Node.ELEMENT_NODE": true,
"console.error": true,
"console.warn": true,
"document": true,
"getComputedStyle": true,
"setTimeout": true
},
"packages": {
"wait-on>rxjs>tslib": true
}
},
"react-focus-lock>react-clientside-effect": {
"packages": {
"@babel/runtime": true,
"react": true
2023-05-09 23:33:29 +02:00
}
},
"react-focus-lock>use-callback-ref": {
"packages": {
"react": true
}
},
"react-focus-lock>use-sidecar": {
"globals": {
"console.error": true
},
"packages": {
"react": true,
"react-focus-lock>use-sidecar>detect-node-es": true,
"wait-on>rxjs>tslib": true
}
},
"react-idle-timer": {
"globals": {
"clearTimeout": true,
"document": true,
"setTimeout": true
},
"packages": {
"prop-types": true,
"react": true
}
},
"react-inspector": {
"globals": {
"Node.CDATA_SECTION_NODE": true,
"Node.COMMENT_NODE": true,
"Node.DOCUMENT_FRAGMENT_NODE": true,
"Node.DOCUMENT_NODE": true,
"Node.DOCUMENT_TYPE_NODE": true,
"Node.ELEMENT_NODE": true,
"Node.PROCESSING_INSTRUCTION_NODE": true,
"Node.TEXT_NODE": true
},
"packages": {
"ethjs-query>babel-runtime": true,
"prop-types": true,
"react": true,
"react-inspector>is-dom": true
}
},
"react-inspector>is-dom": {
"globals": {
"Node": true
},
"packages": {
"@lavamoat/snow>is-cross-origin>is-window": true,
"proxyquire>fill-keys>is-object": true
}
},
"react-markdown": {
"globals": {
"console.warn": true
},
"packages": {
"prop-types": true,
"react": true,
"react-markdown>comma-separated-tokens": true,
"react-markdown>property-information": true,
"react-markdown>react-is": true,
"react-markdown>remark-parse": true,
"react-markdown>remark-rehype": true,
"react-markdown>space-separated-tokens": true,
"react-markdown>style-to-object": true,
"react-markdown>unified": true,
"react-markdown>unist-util-visit": true,
"react-markdown>vfile": true
}
},
"react-markdown>property-information": {
"packages": {
"watchify>xtend": true
}
},
"react-markdown>react-is": {
"globals": {
"console": true
}
},
"react-markdown>remark-parse": {
"packages": {
"react-markdown>remark-parse>mdast-util-from-markdown": true
}
},
"react-markdown>remark-parse>mdast-util-from-markdown": {
"packages": {
"react-markdown>remark-parse>mdast-util-from-markdown>mdast-util-to-string": true,
"react-markdown>remark-parse>mdast-util-from-markdown>micromark": true,
"react-markdown>remark-parse>mdast-util-from-markdown>unist-util-stringify-position": true,
"react-syntax-highlighter>refractor>parse-entities": true
}
},
"react-markdown>remark-parse>mdast-util-from-markdown>micromark": {
"packages": {
"react-syntax-highlighter>refractor>parse-entities": true
}
},
"react-markdown>remark-rehype": {
"packages": {
"react-markdown>remark-rehype>mdast-util-to-hast": true
}
},
"react-markdown>remark-rehype>mdast-util-to-hast": {
"globals": {
"console.warn": true
},
"packages": {
"react-markdown>remark-rehype>mdast-util-to-hast>mdast-util-definitions": true,
"react-markdown>remark-rehype>mdast-util-to-hast>mdurl": true,
"react-markdown>remark-rehype>mdast-util-to-hast>unist-builder": true,
"react-markdown>remark-rehype>mdast-util-to-hast>unist-util-generated": true,
"react-markdown>remark-rehype>mdast-util-to-hast>unist-util-position": true,
"react-markdown>unist-util-visit": true
}
},
"react-markdown>remark-rehype>mdast-util-to-hast>mdast-util-definitions": {
"packages": {
"react-markdown>unist-util-visit": true
}
},
"react-markdown>style-to-object": {
"packages": {
"react-markdown>style-to-object>inline-style-parser": true
}
},
"react-markdown>unified": {
"packages": {
"mocha>yargs-unparser>is-plain-obj": true,
"react-markdown>unified>bail": true,
devDeps: jsdom@11.12.0->16.7.0 (#19971) * bump parse5; port patch * devDeps: jsdom@11.5.1->16.7.0 - patch-revert https://github.com/jsdom/jsdom/pull/2076 - jsdom's storage-overriding does not play well with test suite usage of localforage: $ yarn test:unit:global ✖ ERROR: TypeError: Cannot set property localStorage of #<Window> which has only a getter at Object.<anonymous> (/app/test/helpers/setup-helper.js:79:32) at Module._compile (node:internal/modules/cjs/loader:1198:14) at Module.m._compile (/app/node_modules/ts-node/src/index.ts:1459:23) at Module._compile (/app/node_modules/pirates/lib/index.js:136:24) at Module._extensions..js (node:internal/modules/cjs/loader:1252:10) at newLoader (/app/node_modules/pirates/lib/index.js:141:7) at Object.require.extensions.<computed> [as .js] (/app/node_modules/ts-node/src/index.ts:1462:12) at Module.load (node:internal/modules/cjs/loader:1076:32) at Function.Module._load (node:internal/modules/cjs/loader:911:12) at Module.require (node:internal/modules/cjs/loader:1100:19) at require (node:internal/modules/cjs/helpers:108:18) at Object.<anonymous> (/app/test/setup.js:4:1) at Module._compile (node:internal/modules/cjs/loader:1198:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10) at Module.load (node:internal/modules/cjs/loader:1076:32) at Function.Module._load (node:internal/modules/cjs/loader:911:12) at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:169:29) at ModuleJob.run (node:internal/modules/esm/module_job:193:25) at async Promise.all (index 0) at ESMLoader.import (node:internal/modules/esm/loader:530:24) at importModuleDynamicallyWrapper (node:internal/vm/module:438:15) at formattedImport (/app/node_modules/mocha/lib/nodejs/esm-utils.js:7:14) at exports.requireOrImport (/app/node_modules/mocha/lib/nodejs/esm-utils.js:48:32) at exports.handleRequires (/app/node_modules/mocha/lib/cli/run-helpers.js:94:28) at /app/node_modules/mocha/lib/cli/run.js:353:25 * update lavamoat policies * update lavamoat build policy
2023-07-13 16:06:08 +02:00
"react-markdown>unified>extend": true,
"react-markdown>unified>is-buffer": true,
"react-markdown>unified>trough": true,
"react-markdown>vfile": true
}
},
"react-markdown>unist-util-visit": {
"packages": {
"react-markdown>unist-util-visit>unist-util-visit-parents": true
}
},
"react-markdown>unist-util-visit>unist-util-visit-parents": {
"packages": {
"react-markdown>unist-util-visit>unist-util-is": true
}
},
"react-markdown>vfile": {
"packages": {
"browserify>path-browserify": true,
"browserify>process": true,
"react-markdown>vfile>is-buffer": true,
"react-markdown>vfile>vfile-message": true,
"vinyl>replace-ext": true
}
},
"react-markdown>vfile>vfile-message": {
"packages": {
"react-markdown>vfile>unist-util-stringify-position": true
}
},
"react-popper": {
"globals": {
"document": true
},
"packages": {
"@popperjs/core": true,
"react": true,
"react-popper>react-fast-compare": true,
"react-popper>warning": true
}
},
"react-popper>react-fast-compare": {
"globals": {
"Element": true,
"console.warn": true
}
},
"react-popper>warning": {
"globals": {
"console": true
}
},
"react-redux": {
"globals": {
"console": true,
"document": true
},
"packages": {
"@babel/runtime": true,
"prop-types": true,
"prop-types>react-is": true,
"react": true,
"react-dom": true,
"react-redux>hoist-non-react-statics": true,
"redux": true
}
},
"react-redux>hoist-non-react-statics": {
"packages": {
"prop-types>react-is": true
}
},
"react-responsive-carousel": {
"globals": {
"HTMLElement": true,
"addEventListener": true,
"clearTimeout": true,
"console.warn": true,
"document": true,
"getComputedStyle": true,
"removeEventListener": true,
"setTimeout": true
},
"packages": {
"classnames": true,
"react": true,
"react-dom": true,
"react-responsive-carousel>react-easy-swipe": true
}
},
"react-responsive-carousel>react-easy-swipe": {
"globals": {
"addEventListener": true,
"define": true,
"document.addEventListener": true,
"document.removeEventListener": true
},
"packages": {
"prop-types": true,
"react": true
}
},
"react-router-dom": {
"packages": {
"prop-types": true,
"react": true,
"react-router-dom>history": true,
"react-router-dom>react-router": true,
"react-router-dom>tiny-invariant": true,
"react-router-dom>tiny-warning": true
}
},
"react-router-dom>history": {
"globals": {
"addEventListener": true,
"confirm": true,
"document": true,
"history": true,
"location": true,
"navigator.userAgent": true,
"removeEventListener": true
},
"packages": {
"react-router-dom>history>resolve-pathname": true,
"react-router-dom>history>value-equal": true,
"react-router-dom>tiny-invariant": true,
"react-router-dom>tiny-warning": true
}
},
"react-router-dom>react-router": {
"packages": {
"prop-types": true,
"prop-types>react-is": true,
"react": true,
"react-redux>hoist-non-react-statics": true,
"react-router-dom>react-router>history": true,
"react-router-dom>react-router>mini-create-react-context": true,
"react-router-dom>tiny-invariant": true,
"react-router-dom>tiny-warning": true,
"sinon>nise>path-to-regexp": true
}
},
"react-router-dom>react-router>history": {
"globals": {
"addEventListener": true,
"confirm": true,
"document": true,
"history": true,
"location": true,
"navigator.userAgent": true,
"removeEventListener": true
},
"packages": {
"react-router-dom>history>resolve-pathname": true,
"react-router-dom>history>value-equal": true,
"react-router-dom>tiny-invariant": true,
"react-router-dom>tiny-warning": true
}
},
"react-router-dom>react-router>mini-create-react-context": {
"packages": {
"@babel/runtime": true,
"prop-types": true,
"react": true,
"react-router-dom>react-router>mini-create-react-context>gud": true,
"react-router-dom>tiny-warning": true
}
},
"react-router-dom>tiny-warning": {
"globals": {
"console": true
}
},
"react-simple-file-input": {
"globals": {
"File": true,
"FileReader": true,
"console.warn": true
},
"packages": {
"prop-types": true,
"react": true
}
},
"react-syntax-highlighter>refractor>parse-entities": {
"globals": {
"document.createElement": true
}
},
"react-tippy": {
"globals": {
"Element": true,
"MSStream": true,
"MutationObserver": true,
"addEventListener": true,
"clearTimeout": true,
"console.error": true,
"console.warn": true,
"define": true,
"document": true,
"getComputedStyle": true,
"innerHeight": true,
"innerWidth": true,
"navigator.maxTouchPoints": true,
"navigator.msMaxTouchPoints": true,
"navigator.userAgent": true,
"performance": true,
"requestAnimationFrame": true,
"setTimeout": true
},
"packages": {
"react": true,
"react-dom": true,
"react-tippy>popper.js": true
}
},
"react-tippy>popper.js": {
"globals": {
"MSInputMethodContext": true,
"Node.DOCUMENT_POSITION_FOLLOWING": true,
"cancelAnimationFrame": true,
"console.warn": true,
"define": true,
"devicePixelRatio": true,
"document": true,
"getComputedStyle": true,
"innerHeight": true,
"innerWidth": true,
"navigator.userAgent": true,
"requestAnimationFrame": true,
"setTimeout": true
}
},
"react-toggle-button": {
"globals": {
"clearTimeout": true,
"console.warn": true,
"define": true,
"performance": true,
"setTimeout": true
},
"packages": {
"react": true
}
},
"readable-stream": {
"packages": {
"browserify>browser-resolve": true,
"browserify>events": true,
"browserify>process": true,
"browserify>timers-browserify": true,
"pumpify>inherits": true,
"readable-stream>core-util-is": true,
"readable-stream>isarray": true,
"readable-stream>process-nextick-args": true,
"readable-stream>safe-buffer": true,
"readable-stream>string_decoder": true,
"readable-stream>util-deprecate": true
}
},
"readable-stream>core-util-is": {
"packages": {
"browserify>insert-module-globals>is-buffer": true
}
},
"readable-stream>process-nextick-args": {
"packages": {
"browserify>process": true
}
},
"readable-stream>safe-buffer": {
"packages": {
"browserify>buffer": true
}
},
"readable-stream>string_decoder": {
"packages": {
"readable-stream>safe-buffer": true
}
},
"readable-stream>util-deprecate": {
"globals": {
"console.trace": true,
"console.warn": true,
"localStorage": true
}
},
"redux": {
"globals": {
"console": true
},
"packages": {
"@babel/runtime": true
}
},
"semver": {
"globals": {
"console.error": true
},
"packages": {
"browserify>process": true,
"browserify>util": true,
"semver>lru-cache": true
}
},
"semver>lru-cache": {
"packages": {
"semver>lru-cache>yallist": true
}
},
"sinon>nise>path-to-regexp": {
"packages": {
"sinon>nise>path-to-regexp>isarray": true
}
},
"string.prototype.matchall>call-bind": {
"packages": {
"browserify>has>function-bind": true,
2022-07-26 20:10:51 +02:00
"string.prototype.matchall>get-intrinsic": true
}
},
"string.prototype.matchall>es-abstract>is-regex": {
"packages": {
"koa>is-generator-function>has-tostringtag": true,
"string.prototype.matchall>call-bind": true
}
},
2022-07-26 20:10:51 +02:00
"string.prototype.matchall>get-intrinsic": {
"globals": {
"AggregateError": true,
"FinalizationRegistry": true,
"WeakRef": true
},
"packages": {
"browserify>has": true,
"browserify>has>function-bind": true,
"string.prototype.matchall>es-abstract>has-proto": true,
2022-07-26 20:10:51 +02:00
"string.prototype.matchall>has-symbols": true
}
},
"string.prototype.matchall>regexp.prototype.flags": {
"packages": {
"globalthis>define-properties": true,
"string.prototype.matchall>call-bind": true,
"string.prototype.matchall>regexp.prototype.flags>functions-have-names": true
}
},
"superstruct": {
"globals": {
"console.warn": true,
"define": true
}
},
"terser>source-map-support>buffer-from": {
"packages": {
"browserify>buffer": true
}
},
"uuid": {
"globals": {
"crypto": true,
"msCrypto": true
}
},
"vinyl>replace-ext": {
"packages": {
"browserify>path-browserify": true
}
},
"wait-on>rxjs>tslib": {
"globals": {
"define": true
}
},
"web3": {
"globals": {
"XMLHttpRequest": true
}
},
"web3-stream-provider": {
"globals": {
"setTimeout": true
},
"packages": {
"browserify>util": true,
"readable-stream": true,
"web3-stream-provider>uuid": true
}
},
"web3-stream-provider>uuid": {
"globals": {
"crypto": true,
"msCrypto": true
}
},
"webextension-polyfill": {
"globals": {
"browser": true,
"chrome": true,
"console.error": true,
"console.warn": true,
"define": true
}
},
"webpack>events": {
"globals": {
"console": true
}
}
}
}