mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 01:47:00 +01:00
Bump @metamask/controllers version, remove patches (#14618)
This commit is contained in:
parent
a3917763d4
commit
23565cac2c
@ -3217,12 +3217,201 @@
|
||||
},
|
||||
"@metamask/rpc-methods": {
|
||||
"packages": {
|
||||
"@metamask/controllers": true,
|
||||
"@metamask/rpc-methods>@metamask/controllers": true,
|
||||
"@metamask/rpc-methods>@metamask/key-tree": true,
|
||||
"@metamask/snap-controllers": true,
|
||||
"eth-rpc-errors": true
|
||||
}
|
||||
},
|
||||
"@metamask/rpc-methods>@metamask/controllers": {
|
||||
"globals": {
|
||||
"Headers": true,
|
||||
"URL": true,
|
||||
"clearInterval": true,
|
||||
"clearTimeout": true,
|
||||
"console.error": true,
|
||||
"console.log": true,
|
||||
"fetch": true,
|
||||
"setInterval": true,
|
||||
"setTimeout": true
|
||||
},
|
||||
"packages": {
|
||||
"@ethereumjs/common": true,
|
||||
"@ethereumjs/tx": true,
|
||||
"@metamask/contract-metadata": true,
|
||||
"@metamask/controllers>abort-controller": true,
|
||||
"@metamask/controllers>async-mutex": true,
|
||||
"@metamask/controllers>eth-phishing-detect": true,
|
||||
"@metamask/controllers>isomorphic-fetch": true,
|
||||
"@metamask/controllers>multiformats": true,
|
||||
"@metamask/controllers>web3-provider-engine": true,
|
||||
"@metamask/metamask-eth-abis": true,
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller": true,
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry": true,
|
||||
"@metamask/rpc-methods>@metamask/controllers>ethereumjs-wallet": true,
|
||||
"@metamask/rpc-methods>@metamask/controllers>nanoid": true,
|
||||
"@storybook/api>fast-deep-equal": true,
|
||||
"browserify>buffer": true,
|
||||
"browserify>events": true,
|
||||
"deep-freeze-strict": true,
|
||||
"eth-ens-namehash": true,
|
||||
"eth-json-rpc-infura": true,
|
||||
"eth-query": true,
|
||||
"eth-rpc-errors": true,
|
||||
"eth-sig-util": true,
|
||||
"ethereumjs-util": true,
|
||||
"ethers": true,
|
||||
"ethjs>ethjs-unit": true,
|
||||
"immer": true,
|
||||
"json-rpc-engine": true,
|
||||
"jsonschema": true,
|
||||
"punycode": true,
|
||||
"single-call-balance-checker-abi": true,
|
||||
"uuid": true,
|
||||
"web3": true
|
||||
}
|
||||
},
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller": {
|
||||
"packages": {
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>bip39": true,
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>eth-hd-keyring": true,
|
||||
"browserify>events": true,
|
||||
"eth-keyring-controller>browser-passworder": true,
|
||||
"eth-keyring-controller>eth-simple-keyring": true,
|
||||
"eth-keyring-controller>obs-store": true,
|
||||
"eth-sig-util": true,
|
||||
"ethereumjs-util": true,
|
||||
"loglevel": true
|
||||
}
|
||||
},
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>bip39": {
|
||||
"packages": {
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>bip39>unorm": true,
|
||||
"browserify>crypto-browserify>pbkdf2": true,
|
||||
"ethereumjs-util>create-hash": true,
|
||||
"ethereumjs-wallet>randombytes": true,
|
||||
"ethereumjs-wallet>safe-buffer": true
|
||||
}
|
||||
},
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>bip39>unorm": {
|
||||
"globals": {
|
||||
"define": true
|
||||
}
|
||||
},
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>eth-hd-keyring": {
|
||||
"packages": {
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>bip39": true,
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>eth-hd-keyring>ethereumjs-wallet": true,
|
||||
"eth-keyring-controller>eth-simple-keyring": true,
|
||||
"eth-sig-util": true
|
||||
}
|
||||
},
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>eth-hd-keyring>ethereumjs-wallet": {
|
||||
"packages": {
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>eth-hd-keyring>ethereumjs-wallet>uuid": true,
|
||||
"@truffle/codec>utf8": true,
|
||||
"browserify>buffer": true,
|
||||
"browserify>crypto-browserify": true,
|
||||
"ethereumjs-util": true,
|
||||
"ethereumjs-util>ethereum-cryptography": true,
|
||||
"ethereumjs-wallet>aes-js": true,
|
||||
"ethereumjs-wallet>bs58check": true,
|
||||
"ethereumjs-wallet>randombytes": true,
|
||||
"ethers>@ethersproject/json-wallets>scrypt-js": true
|
||||
}
|
||||
},
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>eth-hd-keyring>ethereumjs-wallet>uuid": {
|
||||
"globals": {
|
||||
"crypto": true,
|
||||
"msCrypto": true
|
||||
}
|
||||
},
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry": {
|
||||
"packages": {
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs": true
|
||||
}
|
||||
},
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs": {
|
||||
"globals": {
|
||||
"clearInterval": true,
|
||||
"setInterval": true
|
||||
},
|
||||
"packages": {
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>bn.js": true,
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>ethjs-abi": true,
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>ethjs-contract": true,
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>ethjs-query": true,
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>js-sha3": true,
|
||||
"browserify>buffer": true,
|
||||
"ethjs>ethjs-filter": true,
|
||||
"ethjs>ethjs-provider-http": true,
|
||||
"ethjs>ethjs-unit": true,
|
||||
"ethjs>ethjs-util": true,
|
||||
"ethjs>number-to-bn": true
|
||||
}
|
||||
},
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>ethjs-abi": {
|
||||
"packages": {
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>bn.js": true,
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>js-sha3": true,
|
||||
"browserify>buffer": true,
|
||||
"ethjs>number-to-bn": true
|
||||
}
|
||||
},
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>ethjs-contract": {
|
||||
"packages": {
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>ethjs-contract>ethjs-abi": true,
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>js-sha3": true,
|
||||
"ethjs-query>babel-runtime": true,
|
||||
"ethjs>ethjs-filter": true,
|
||||
"ethjs>ethjs-util": true,
|
||||
"promise-to-callback": true
|
||||
}
|
||||
},
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>ethjs-contract>ethjs-abi": {
|
||||
"packages": {
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>bn.js": true,
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>js-sha3": true,
|
||||
"browserify>buffer": true,
|
||||
"ethjs>number-to-bn": true
|
||||
}
|
||||
},
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry>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/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>js-sha3": {
|
||||
"packages": {
|
||||
"browserify>process": true
|
||||
}
|
||||
},
|
||||
"@metamask/rpc-methods>@metamask/controllers>ethereumjs-wallet": {
|
||||
"packages": {
|
||||
"@metamask/rpc-methods>@metamask/controllers>ethereumjs-wallet>uuid": true,
|
||||
"@truffle/codec>utf8": true,
|
||||
"browserify>buffer": true,
|
||||
"browserify>crypto-browserify": true,
|
||||
"ethereumjs-util": true,
|
||||
"ethereumjs-util>ethereum-cryptography": true,
|
||||
"ethereumjs-wallet>aes-js": true,
|
||||
"ethereumjs-wallet>bs58check": true,
|
||||
"ethereumjs-wallet>randombytes": true,
|
||||
"ethers>@ethersproject/json-wallets>scrypt-js": true
|
||||
}
|
||||
},
|
||||
"@metamask/rpc-methods>@metamask/controllers>ethereumjs-wallet>uuid": {
|
||||
"globals": {
|
||||
"crypto": true,
|
||||
"msCrypto": true
|
||||
}
|
||||
},
|
||||
"@metamask/rpc-methods>@metamask/key-tree": {
|
||||
"packages": {
|
||||
"@metamask/rpc-methods>@metamask/key-tree>bip39": true,
|
||||
@ -3288,6 +3477,7 @@
|
||||
"@metamask/controllers>multiformats": true,
|
||||
"@metamask/controllers>web3-provider-engine": true,
|
||||
"@metamask/metamask-eth-abis": true,
|
||||
"@metamask/smart-transactions-controller>@metamask/controllers>eth-keyring-controller": true,
|
||||
"@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry": true,
|
||||
"@metamask/smart-transactions-controller>@metamask/controllers>ethereumjs-wallet": true,
|
||||
"@metamask/smart-transactions-controller>@metamask/controllers>nanoid": true,
|
||||
@ -3297,7 +3487,6 @@
|
||||
"deep-freeze-strict": true,
|
||||
"eth-ens-namehash": true,
|
||||
"eth-json-rpc-infura": true,
|
||||
"eth-keyring-controller": true,
|
||||
"eth-query": true,
|
||||
"eth-rpc-errors": true,
|
||||
"eth-sig-util": true,
|
||||
@ -3313,6 +3502,19 @@
|
||||
"web3": true
|
||||
}
|
||||
},
|
||||
"@metamask/smart-transactions-controller>@metamask/controllers>eth-keyring-controller": {
|
||||
"packages": {
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>bip39": true,
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>eth-hd-keyring": true,
|
||||
"browserify>events": true,
|
||||
"eth-keyring-controller>browser-passworder": true,
|
||||
"eth-keyring-controller>eth-simple-keyring": true,
|
||||
"eth-keyring-controller>obs-store": true,
|
||||
"eth-sig-util": true,
|
||||
"ethereumjs-util": true,
|
||||
"loglevel": true
|
||||
}
|
||||
},
|
||||
"@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry": {
|
||||
"packages": {
|
||||
"@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry>ethjs": true
|
||||
@ -3434,9 +3636,9 @@
|
||||
"setTimeout": true
|
||||
},
|
||||
"packages": {
|
||||
"@metamask/controllers": true,
|
||||
"@metamask/post-message-stream": true,
|
||||
"@metamask/providers>@metamask/object-multiplex": true,
|
||||
"@metamask/snap-controllers>@metamask/controllers": true,
|
||||
"@metamask/snap-controllers>@metamask/execution-environments": true,
|
||||
"@metamask/snap-controllers>@metamask/obs-store": true,
|
||||
"@metamask/snap-controllers>ajv": true,
|
||||
@ -3456,6 +3658,153 @@
|
||||
"semver": true
|
||||
}
|
||||
},
|
||||
"@metamask/snap-controllers>@metamask/controllers": {
|
||||
"globals": {
|
||||
"Headers": true,
|
||||
"URL": true,
|
||||
"clearInterval": true,
|
||||
"clearTimeout": true,
|
||||
"console.error": true,
|
||||
"console.log": true,
|
||||
"fetch": true,
|
||||
"setInterval": true,
|
||||
"setTimeout": true
|
||||
},
|
||||
"packages": {
|
||||
"@ethereumjs/common": true,
|
||||
"@ethereumjs/tx": true,
|
||||
"@metamask/contract-metadata": true,
|
||||
"@metamask/controllers>abort-controller": true,
|
||||
"@metamask/controllers>async-mutex": true,
|
||||
"@metamask/controllers>eth-phishing-detect": true,
|
||||
"@metamask/controllers>isomorphic-fetch": true,
|
||||
"@metamask/controllers>multiformats": true,
|
||||
"@metamask/controllers>web3-provider-engine": true,
|
||||
"@metamask/metamask-eth-abis": true,
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-keyring-controller": true,
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry": true,
|
||||
"@metamask/snap-controllers>@metamask/controllers>ethereumjs-wallet": true,
|
||||
"@metamask/snap-controllers>nanoid": true,
|
||||
"@storybook/api>fast-deep-equal": true,
|
||||
"browserify>buffer": true,
|
||||
"browserify>events": true,
|
||||
"deep-freeze-strict": true,
|
||||
"eth-ens-namehash": true,
|
||||
"eth-json-rpc-infura": true,
|
||||
"eth-query": true,
|
||||
"eth-rpc-errors": true,
|
||||
"eth-sig-util": true,
|
||||
"ethereumjs-util": true,
|
||||
"ethers": true,
|
||||
"ethjs>ethjs-unit": true,
|
||||
"immer": true,
|
||||
"json-rpc-engine": true,
|
||||
"jsonschema": true,
|
||||
"punycode": true,
|
||||
"single-call-balance-checker-abi": true,
|
||||
"uuid": true,
|
||||
"web3": true
|
||||
}
|
||||
},
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-keyring-controller": {
|
||||
"packages": {
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>bip39": true,
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>eth-hd-keyring": true,
|
||||
"browserify>events": true,
|
||||
"eth-keyring-controller>browser-passworder": true,
|
||||
"eth-keyring-controller>eth-simple-keyring": true,
|
||||
"eth-keyring-controller>obs-store": true,
|
||||
"eth-sig-util": true,
|
||||
"ethereumjs-util": true,
|
||||
"loglevel": true
|
||||
}
|
||||
},
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry": {
|
||||
"packages": {
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry>ethjs": true
|
||||
}
|
||||
},
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry>ethjs": {
|
||||
"globals": {
|
||||
"clearInterval": true,
|
||||
"setInterval": true
|
||||
},
|
||||
"packages": {
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry>ethjs>bn.js": true,
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry>ethjs>ethjs-abi": true,
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry>ethjs>ethjs-contract": true,
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry>ethjs>ethjs-query": true,
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry>ethjs>js-sha3": true,
|
||||
"browserify>buffer": true,
|
||||
"ethjs>ethjs-filter": true,
|
||||
"ethjs>ethjs-provider-http": true,
|
||||
"ethjs>ethjs-unit": true,
|
||||
"ethjs>ethjs-util": true,
|
||||
"ethjs>number-to-bn": true
|
||||
}
|
||||
},
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry>ethjs>ethjs-abi": {
|
||||
"packages": {
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry>ethjs>bn.js": true,
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry>ethjs>js-sha3": true,
|
||||
"browserify>buffer": true,
|
||||
"ethjs>number-to-bn": true
|
||||
}
|
||||
},
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry>ethjs>ethjs-contract": {
|
||||
"packages": {
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry>ethjs>ethjs-contract>ethjs-abi": true,
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry>ethjs>js-sha3": true,
|
||||
"ethjs-query>babel-runtime": true,
|
||||
"ethjs>ethjs-filter": true,
|
||||
"ethjs>ethjs-util": true,
|
||||
"promise-to-callback": true
|
||||
}
|
||||
},
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry>ethjs>ethjs-contract>ethjs-abi": {
|
||||
"packages": {
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry>ethjs>bn.js": true,
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry>ethjs>js-sha3": true,
|
||||
"browserify>buffer": true,
|
||||
"ethjs>number-to-bn": true
|
||||
}
|
||||
},
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry>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/snap-controllers>@metamask/controllers>eth-method-registry>ethjs>js-sha3": {
|
||||
"packages": {
|
||||
"browserify>process": true
|
||||
}
|
||||
},
|
||||
"@metamask/snap-controllers>@metamask/controllers>ethereumjs-wallet": {
|
||||
"packages": {
|
||||
"@metamask/snap-controllers>@metamask/controllers>ethereumjs-wallet>uuid": true,
|
||||
"@truffle/codec>utf8": true,
|
||||
"browserify>buffer": true,
|
||||
"browserify>crypto-browserify": true,
|
||||
"ethereumjs-util": true,
|
||||
"ethereumjs-util>ethereum-cryptography": true,
|
||||
"ethereumjs-wallet>aes-js": true,
|
||||
"ethereumjs-wallet>bs58check": true,
|
||||
"ethereumjs-wallet>randombytes": true,
|
||||
"ethers>@ethersproject/json-wallets>scrypt-js": true
|
||||
}
|
||||
},
|
||||
"@metamask/snap-controllers>@metamask/controllers>ethereumjs-wallet>uuid": {
|
||||
"globals": {
|
||||
"crypto": true,
|
||||
"msCrypto": true
|
||||
}
|
||||
},
|
||||
"@metamask/snap-controllers>@metamask/obs-store": {
|
||||
"packages": {
|
||||
"@metamask/snap-controllers>@metamask/obs-store>through2": true,
|
||||
@ -4777,31 +5126,49 @@
|
||||
"packages": {
|
||||
"browserify>buffer": true,
|
||||
"browserify>events": true,
|
||||
"eth-keyring-controller>bip39": true,
|
||||
"eth-keyring-controller>@metamask/bip39": true,
|
||||
"eth-keyring-controller>@metamask/eth-hd-keyring": true,
|
||||
"eth-keyring-controller>browser-passworder": true,
|
||||
"eth-keyring-controller>eth-hd-keyring": true,
|
||||
"eth-keyring-controller>eth-simple-keyring": true,
|
||||
"eth-keyring-controller>obs-store": true,
|
||||
"eth-sig-util": true,
|
||||
"ethereumjs-util": true,
|
||||
"loglevel": true
|
||||
"eth-sig-util": true
|
||||
}
|
||||
},
|
||||
"eth-keyring-controller>bip39": {
|
||||
"globals": {
|
||||
"console.log": true
|
||||
},
|
||||
"eth-keyring-controller>@metamask/bip39": {
|
||||
"packages": {
|
||||
"browserify>buffer": true,
|
||||
"browserify>crypto-browserify>pbkdf2": true,
|
||||
"eth-keyring-controller>bip39>unorm": true,
|
||||
"ethereumjs-util>create-hash": true,
|
||||
"ethereumjs-wallet>randombytes": true,
|
||||
"ethereumjs-wallet>safe-buffer": true
|
||||
"ethereumjs-wallet>randombytes": true
|
||||
}
|
||||
},
|
||||
"eth-keyring-controller>bip39>unorm": {
|
||||
"eth-keyring-controller>@metamask/eth-hd-keyring": {
|
||||
"packages": {
|
||||
"browserify>buffer": true,
|
||||
"eth-keyring-controller>@metamask/bip39": true,
|
||||
"eth-keyring-controller>@metamask/eth-hd-keyring>ethereumjs-wallet": true,
|
||||
"eth-keyring-controller>eth-simple-keyring": true,
|
||||
"eth-trezor-keyring>@metamask/eth-sig-util": true
|
||||
}
|
||||
},
|
||||
"eth-keyring-controller>@metamask/eth-hd-keyring>ethereumjs-wallet": {
|
||||
"packages": {
|
||||
"@truffle/codec>utf8": true,
|
||||
"browserify>buffer": true,
|
||||
"browserify>crypto-browserify": true,
|
||||
"eth-keyring-controller>@metamask/eth-hd-keyring>ethereumjs-wallet>uuid": true,
|
||||
"ethereumjs-util": true,
|
||||
"ethereumjs-util>ethereum-cryptography": true,
|
||||
"ethereumjs-wallet>aes-js": true,
|
||||
"ethereumjs-wallet>bs58check": true,
|
||||
"ethereumjs-wallet>randombytes": true,
|
||||
"ethers>@ethersproject/json-wallets>scrypt-js": true
|
||||
}
|
||||
},
|
||||
"eth-keyring-controller>@metamask/eth-hd-keyring>ethereumjs-wallet>uuid": {
|
||||
"globals": {
|
||||
"define": true
|
||||
"crypto": true,
|
||||
"msCrypto": true
|
||||
}
|
||||
},
|
||||
"eth-keyring-controller>browser-passworder": {
|
||||
@ -4819,35 +5186,6 @@
|
||||
"btoa": true
|
||||
}
|
||||
},
|
||||
"eth-keyring-controller>eth-hd-keyring": {
|
||||
"packages": {
|
||||
"browserify>buffer": true,
|
||||
"eth-keyring-controller>bip39": true,
|
||||
"eth-keyring-controller>eth-hd-keyring>ethereumjs-wallet": true,
|
||||
"eth-keyring-controller>eth-simple-keyring": true,
|
||||
"eth-sig-util": true
|
||||
}
|
||||
},
|
||||
"eth-keyring-controller>eth-hd-keyring>ethereumjs-wallet": {
|
||||
"packages": {
|
||||
"@truffle/codec>utf8": true,
|
||||
"browserify>buffer": true,
|
||||
"browserify>crypto-browserify": true,
|
||||
"eth-keyring-controller>eth-hd-keyring>ethereumjs-wallet>uuid": true,
|
||||
"ethereumjs-util": true,
|
||||
"ethereumjs-util>ethereum-cryptography": true,
|
||||
"ethereumjs-wallet>aes-js": true,
|
||||
"ethereumjs-wallet>bs58check": true,
|
||||
"ethereumjs-wallet>randombytes": true,
|
||||
"ethers>@ethersproject/json-wallets>scrypt-js": true
|
||||
}
|
||||
},
|
||||
"eth-keyring-controller>eth-hd-keyring>ethereumjs-wallet>uuid": {
|
||||
"globals": {
|
||||
"crypto": true,
|
||||
"msCrypto": true
|
||||
}
|
||||
},
|
||||
"eth-keyring-controller>eth-simple-keyring": {
|
||||
"packages": {
|
||||
"browserify>buffer": true,
|
||||
|
@ -3217,12 +3217,201 @@
|
||||
},
|
||||
"@metamask/rpc-methods": {
|
||||
"packages": {
|
||||
"@metamask/controllers": true,
|
||||
"@metamask/rpc-methods>@metamask/controllers": true,
|
||||
"@metamask/rpc-methods>@metamask/key-tree": true,
|
||||
"@metamask/snap-controllers": true,
|
||||
"eth-rpc-errors": true
|
||||
}
|
||||
},
|
||||
"@metamask/rpc-methods>@metamask/controllers": {
|
||||
"globals": {
|
||||
"Headers": true,
|
||||
"URL": true,
|
||||
"clearInterval": true,
|
||||
"clearTimeout": true,
|
||||
"console.error": true,
|
||||
"console.log": true,
|
||||
"fetch": true,
|
||||
"setInterval": true,
|
||||
"setTimeout": true
|
||||
},
|
||||
"packages": {
|
||||
"@ethereumjs/common": true,
|
||||
"@ethereumjs/tx": true,
|
||||
"@metamask/contract-metadata": true,
|
||||
"@metamask/controllers>abort-controller": true,
|
||||
"@metamask/controllers>async-mutex": true,
|
||||
"@metamask/controllers>eth-phishing-detect": true,
|
||||
"@metamask/controllers>isomorphic-fetch": true,
|
||||
"@metamask/controllers>multiformats": true,
|
||||
"@metamask/controllers>web3-provider-engine": true,
|
||||
"@metamask/metamask-eth-abis": true,
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller": true,
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry": true,
|
||||
"@metamask/rpc-methods>@metamask/controllers>ethereumjs-wallet": true,
|
||||
"@metamask/rpc-methods>@metamask/controllers>nanoid": true,
|
||||
"@storybook/api>fast-deep-equal": true,
|
||||
"browserify>buffer": true,
|
||||
"browserify>events": true,
|
||||
"deep-freeze-strict": true,
|
||||
"eth-ens-namehash": true,
|
||||
"eth-json-rpc-infura": true,
|
||||
"eth-query": true,
|
||||
"eth-rpc-errors": true,
|
||||
"eth-sig-util": true,
|
||||
"ethereumjs-util": true,
|
||||
"ethers": true,
|
||||
"ethjs>ethjs-unit": true,
|
||||
"immer": true,
|
||||
"json-rpc-engine": true,
|
||||
"jsonschema": true,
|
||||
"punycode": true,
|
||||
"single-call-balance-checker-abi": true,
|
||||
"uuid": true,
|
||||
"web3": true
|
||||
}
|
||||
},
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller": {
|
||||
"packages": {
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>bip39": true,
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>eth-hd-keyring": true,
|
||||
"browserify>events": true,
|
||||
"eth-keyring-controller>browser-passworder": true,
|
||||
"eth-keyring-controller>eth-simple-keyring": true,
|
||||
"eth-keyring-controller>obs-store": true,
|
||||
"eth-sig-util": true,
|
||||
"ethereumjs-util": true,
|
||||
"loglevel": true
|
||||
}
|
||||
},
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>bip39": {
|
||||
"packages": {
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>bip39>unorm": true,
|
||||
"browserify>crypto-browserify>pbkdf2": true,
|
||||
"ethereumjs-util>create-hash": true,
|
||||
"ethereumjs-wallet>randombytes": true,
|
||||
"ethereumjs-wallet>safe-buffer": true
|
||||
}
|
||||
},
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>bip39>unorm": {
|
||||
"globals": {
|
||||
"define": true
|
||||
}
|
||||
},
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>eth-hd-keyring": {
|
||||
"packages": {
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>bip39": true,
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>eth-hd-keyring>ethereumjs-wallet": true,
|
||||
"eth-keyring-controller>eth-simple-keyring": true,
|
||||
"eth-sig-util": true
|
||||
}
|
||||
},
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>eth-hd-keyring>ethereumjs-wallet": {
|
||||
"packages": {
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>eth-hd-keyring>ethereumjs-wallet>uuid": true,
|
||||
"@truffle/codec>utf8": true,
|
||||
"browserify>buffer": true,
|
||||
"browserify>crypto-browserify": true,
|
||||
"ethereumjs-util": true,
|
||||
"ethereumjs-util>ethereum-cryptography": true,
|
||||
"ethereumjs-wallet>aes-js": true,
|
||||
"ethereumjs-wallet>bs58check": true,
|
||||
"ethereumjs-wallet>randombytes": true,
|
||||
"ethers>@ethersproject/json-wallets>scrypt-js": true
|
||||
}
|
||||
},
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>eth-hd-keyring>ethereumjs-wallet>uuid": {
|
||||
"globals": {
|
||||
"crypto": true,
|
||||
"msCrypto": true
|
||||
}
|
||||
},
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry": {
|
||||
"packages": {
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs": true
|
||||
}
|
||||
},
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs": {
|
||||
"globals": {
|
||||
"clearInterval": true,
|
||||
"setInterval": true
|
||||
},
|
||||
"packages": {
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>bn.js": true,
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>ethjs-abi": true,
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>ethjs-contract": true,
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>ethjs-query": true,
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>js-sha3": true,
|
||||
"browserify>buffer": true,
|
||||
"ethjs>ethjs-filter": true,
|
||||
"ethjs>ethjs-provider-http": true,
|
||||
"ethjs>ethjs-unit": true,
|
||||
"ethjs>ethjs-util": true,
|
||||
"ethjs>number-to-bn": true
|
||||
}
|
||||
},
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>ethjs-abi": {
|
||||
"packages": {
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>bn.js": true,
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>js-sha3": true,
|
||||
"browserify>buffer": true,
|
||||
"ethjs>number-to-bn": true
|
||||
}
|
||||
},
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>ethjs-contract": {
|
||||
"packages": {
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>ethjs-contract>ethjs-abi": true,
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>js-sha3": true,
|
||||
"ethjs-query>babel-runtime": true,
|
||||
"ethjs>ethjs-filter": true,
|
||||
"ethjs>ethjs-util": true,
|
||||
"promise-to-callback": true
|
||||
}
|
||||
},
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>ethjs-contract>ethjs-abi": {
|
||||
"packages": {
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>bn.js": true,
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>js-sha3": true,
|
||||
"browserify>buffer": true,
|
||||
"ethjs>number-to-bn": true
|
||||
}
|
||||
},
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry>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/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>js-sha3": {
|
||||
"packages": {
|
||||
"browserify>process": true
|
||||
}
|
||||
},
|
||||
"@metamask/rpc-methods>@metamask/controllers>ethereumjs-wallet": {
|
||||
"packages": {
|
||||
"@metamask/rpc-methods>@metamask/controllers>ethereumjs-wallet>uuid": true,
|
||||
"@truffle/codec>utf8": true,
|
||||
"browserify>buffer": true,
|
||||
"browserify>crypto-browserify": true,
|
||||
"ethereumjs-util": true,
|
||||
"ethereumjs-util>ethereum-cryptography": true,
|
||||
"ethereumjs-wallet>aes-js": true,
|
||||
"ethereumjs-wallet>bs58check": true,
|
||||
"ethereumjs-wallet>randombytes": true,
|
||||
"ethers>@ethersproject/json-wallets>scrypt-js": true
|
||||
}
|
||||
},
|
||||
"@metamask/rpc-methods>@metamask/controllers>ethereumjs-wallet>uuid": {
|
||||
"globals": {
|
||||
"crypto": true,
|
||||
"msCrypto": true
|
||||
}
|
||||
},
|
||||
"@metamask/rpc-methods>@metamask/key-tree": {
|
||||
"packages": {
|
||||
"@metamask/rpc-methods>@metamask/key-tree>bip39": true,
|
||||
@ -3288,6 +3477,7 @@
|
||||
"@metamask/controllers>multiformats": true,
|
||||
"@metamask/controllers>web3-provider-engine": true,
|
||||
"@metamask/metamask-eth-abis": true,
|
||||
"@metamask/smart-transactions-controller>@metamask/controllers>eth-keyring-controller": true,
|
||||
"@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry": true,
|
||||
"@metamask/smart-transactions-controller>@metamask/controllers>ethereumjs-wallet": true,
|
||||
"@metamask/smart-transactions-controller>@metamask/controllers>nanoid": true,
|
||||
@ -3297,7 +3487,6 @@
|
||||
"deep-freeze-strict": true,
|
||||
"eth-ens-namehash": true,
|
||||
"eth-json-rpc-infura": true,
|
||||
"eth-keyring-controller": true,
|
||||
"eth-query": true,
|
||||
"eth-rpc-errors": true,
|
||||
"eth-sig-util": true,
|
||||
@ -3313,6 +3502,19 @@
|
||||
"web3": true
|
||||
}
|
||||
},
|
||||
"@metamask/smart-transactions-controller>@metamask/controllers>eth-keyring-controller": {
|
||||
"packages": {
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>bip39": true,
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>eth-hd-keyring": true,
|
||||
"browserify>events": true,
|
||||
"eth-keyring-controller>browser-passworder": true,
|
||||
"eth-keyring-controller>eth-simple-keyring": true,
|
||||
"eth-keyring-controller>obs-store": true,
|
||||
"eth-sig-util": true,
|
||||
"ethereumjs-util": true,
|
||||
"loglevel": true
|
||||
}
|
||||
},
|
||||
"@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry": {
|
||||
"packages": {
|
||||
"@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry>ethjs": true
|
||||
@ -3434,9 +3636,9 @@
|
||||
"setTimeout": true
|
||||
},
|
||||
"packages": {
|
||||
"@metamask/controllers": true,
|
||||
"@metamask/post-message-stream": true,
|
||||
"@metamask/providers>@metamask/object-multiplex": true,
|
||||
"@metamask/snap-controllers>@metamask/controllers": true,
|
||||
"@metamask/snap-controllers>@metamask/execution-environments": true,
|
||||
"@metamask/snap-controllers>@metamask/obs-store": true,
|
||||
"@metamask/snap-controllers>ajv": true,
|
||||
@ -3456,6 +3658,153 @@
|
||||
"semver": true
|
||||
}
|
||||
},
|
||||
"@metamask/snap-controllers>@metamask/controllers": {
|
||||
"globals": {
|
||||
"Headers": true,
|
||||
"URL": true,
|
||||
"clearInterval": true,
|
||||
"clearTimeout": true,
|
||||
"console.error": true,
|
||||
"console.log": true,
|
||||
"fetch": true,
|
||||
"setInterval": true,
|
||||
"setTimeout": true
|
||||
},
|
||||
"packages": {
|
||||
"@ethereumjs/common": true,
|
||||
"@ethereumjs/tx": true,
|
||||
"@metamask/contract-metadata": true,
|
||||
"@metamask/controllers>abort-controller": true,
|
||||
"@metamask/controllers>async-mutex": true,
|
||||
"@metamask/controllers>eth-phishing-detect": true,
|
||||
"@metamask/controllers>isomorphic-fetch": true,
|
||||
"@metamask/controllers>multiformats": true,
|
||||
"@metamask/controllers>web3-provider-engine": true,
|
||||
"@metamask/metamask-eth-abis": true,
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-keyring-controller": true,
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry": true,
|
||||
"@metamask/snap-controllers>@metamask/controllers>ethereumjs-wallet": true,
|
||||
"@metamask/snap-controllers>nanoid": true,
|
||||
"@storybook/api>fast-deep-equal": true,
|
||||
"browserify>buffer": true,
|
||||
"browserify>events": true,
|
||||
"deep-freeze-strict": true,
|
||||
"eth-ens-namehash": true,
|
||||
"eth-json-rpc-infura": true,
|
||||
"eth-query": true,
|
||||
"eth-rpc-errors": true,
|
||||
"eth-sig-util": true,
|
||||
"ethereumjs-util": true,
|
||||
"ethers": true,
|
||||
"ethjs>ethjs-unit": true,
|
||||
"immer": true,
|
||||
"json-rpc-engine": true,
|
||||
"jsonschema": true,
|
||||
"punycode": true,
|
||||
"single-call-balance-checker-abi": true,
|
||||
"uuid": true,
|
||||
"web3": true
|
||||
}
|
||||
},
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-keyring-controller": {
|
||||
"packages": {
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>bip39": true,
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>eth-hd-keyring": true,
|
||||
"browserify>events": true,
|
||||
"eth-keyring-controller>browser-passworder": true,
|
||||
"eth-keyring-controller>eth-simple-keyring": true,
|
||||
"eth-keyring-controller>obs-store": true,
|
||||
"eth-sig-util": true,
|
||||
"ethereumjs-util": true,
|
||||
"loglevel": true
|
||||
}
|
||||
},
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry": {
|
||||
"packages": {
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry>ethjs": true
|
||||
}
|
||||
},
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry>ethjs": {
|
||||
"globals": {
|
||||
"clearInterval": true,
|
||||
"setInterval": true
|
||||
},
|
||||
"packages": {
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry>ethjs>bn.js": true,
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry>ethjs>ethjs-abi": true,
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry>ethjs>ethjs-contract": true,
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry>ethjs>ethjs-query": true,
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry>ethjs>js-sha3": true,
|
||||
"browserify>buffer": true,
|
||||
"ethjs>ethjs-filter": true,
|
||||
"ethjs>ethjs-provider-http": true,
|
||||
"ethjs>ethjs-unit": true,
|
||||
"ethjs>ethjs-util": true,
|
||||
"ethjs>number-to-bn": true
|
||||
}
|
||||
},
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry>ethjs>ethjs-abi": {
|
||||
"packages": {
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry>ethjs>bn.js": true,
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry>ethjs>js-sha3": true,
|
||||
"browserify>buffer": true,
|
||||
"ethjs>number-to-bn": true
|
||||
}
|
||||
},
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry>ethjs>ethjs-contract": {
|
||||
"packages": {
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry>ethjs>ethjs-contract>ethjs-abi": true,
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry>ethjs>js-sha3": true,
|
||||
"ethjs-query>babel-runtime": true,
|
||||
"ethjs>ethjs-filter": true,
|
||||
"ethjs>ethjs-util": true,
|
||||
"promise-to-callback": true
|
||||
}
|
||||
},
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry>ethjs>ethjs-contract>ethjs-abi": {
|
||||
"packages": {
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry>ethjs>bn.js": true,
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry>ethjs>js-sha3": true,
|
||||
"browserify>buffer": true,
|
||||
"ethjs>number-to-bn": true
|
||||
}
|
||||
},
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry>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/snap-controllers>@metamask/controllers>eth-method-registry>ethjs>js-sha3": {
|
||||
"packages": {
|
||||
"browserify>process": true
|
||||
}
|
||||
},
|
||||
"@metamask/snap-controllers>@metamask/controllers>ethereumjs-wallet": {
|
||||
"packages": {
|
||||
"@metamask/snap-controllers>@metamask/controllers>ethereumjs-wallet>uuid": true,
|
||||
"@truffle/codec>utf8": true,
|
||||
"browserify>buffer": true,
|
||||
"browserify>crypto-browserify": true,
|
||||
"ethereumjs-util": true,
|
||||
"ethereumjs-util>ethereum-cryptography": true,
|
||||
"ethereumjs-wallet>aes-js": true,
|
||||
"ethereumjs-wallet>bs58check": true,
|
||||
"ethereumjs-wallet>randombytes": true,
|
||||
"ethers>@ethersproject/json-wallets>scrypt-js": true
|
||||
}
|
||||
},
|
||||
"@metamask/snap-controllers>@metamask/controllers>ethereumjs-wallet>uuid": {
|
||||
"globals": {
|
||||
"crypto": true,
|
||||
"msCrypto": true
|
||||
}
|
||||
},
|
||||
"@metamask/snap-controllers>@metamask/obs-store": {
|
||||
"packages": {
|
||||
"@metamask/snap-controllers>@metamask/obs-store>through2": true,
|
||||
@ -4777,31 +5126,49 @@
|
||||
"packages": {
|
||||
"browserify>buffer": true,
|
||||
"browserify>events": true,
|
||||
"eth-keyring-controller>bip39": true,
|
||||
"eth-keyring-controller>@metamask/bip39": true,
|
||||
"eth-keyring-controller>@metamask/eth-hd-keyring": true,
|
||||
"eth-keyring-controller>browser-passworder": true,
|
||||
"eth-keyring-controller>eth-hd-keyring": true,
|
||||
"eth-keyring-controller>eth-simple-keyring": true,
|
||||
"eth-keyring-controller>obs-store": true,
|
||||
"eth-sig-util": true,
|
||||
"ethereumjs-util": true,
|
||||
"loglevel": true
|
||||
"eth-sig-util": true
|
||||
}
|
||||
},
|
||||
"eth-keyring-controller>bip39": {
|
||||
"globals": {
|
||||
"console.log": true
|
||||
},
|
||||
"eth-keyring-controller>@metamask/bip39": {
|
||||
"packages": {
|
||||
"browserify>buffer": true,
|
||||
"browserify>crypto-browserify>pbkdf2": true,
|
||||
"eth-keyring-controller>bip39>unorm": true,
|
||||
"ethereumjs-util>create-hash": true,
|
||||
"ethereumjs-wallet>randombytes": true,
|
||||
"ethereumjs-wallet>safe-buffer": true
|
||||
"ethereumjs-wallet>randombytes": true
|
||||
}
|
||||
},
|
||||
"eth-keyring-controller>bip39>unorm": {
|
||||
"eth-keyring-controller>@metamask/eth-hd-keyring": {
|
||||
"packages": {
|
||||
"browserify>buffer": true,
|
||||
"eth-keyring-controller>@metamask/bip39": true,
|
||||
"eth-keyring-controller>@metamask/eth-hd-keyring>ethereumjs-wallet": true,
|
||||
"eth-keyring-controller>eth-simple-keyring": true,
|
||||
"eth-trezor-keyring>@metamask/eth-sig-util": true
|
||||
}
|
||||
},
|
||||
"eth-keyring-controller>@metamask/eth-hd-keyring>ethereumjs-wallet": {
|
||||
"packages": {
|
||||
"@truffle/codec>utf8": true,
|
||||
"browserify>buffer": true,
|
||||
"browserify>crypto-browserify": true,
|
||||
"eth-keyring-controller>@metamask/eth-hd-keyring>ethereumjs-wallet>uuid": true,
|
||||
"ethereumjs-util": true,
|
||||
"ethereumjs-util>ethereum-cryptography": true,
|
||||
"ethereumjs-wallet>aes-js": true,
|
||||
"ethereumjs-wallet>bs58check": true,
|
||||
"ethereumjs-wallet>randombytes": true,
|
||||
"ethers>@ethersproject/json-wallets>scrypt-js": true
|
||||
}
|
||||
},
|
||||
"eth-keyring-controller>@metamask/eth-hd-keyring>ethereumjs-wallet>uuid": {
|
||||
"globals": {
|
||||
"define": true
|
||||
"crypto": true,
|
||||
"msCrypto": true
|
||||
}
|
||||
},
|
||||
"eth-keyring-controller>browser-passworder": {
|
||||
@ -4819,35 +5186,6 @@
|
||||
"btoa": true
|
||||
}
|
||||
},
|
||||
"eth-keyring-controller>eth-hd-keyring": {
|
||||
"packages": {
|
||||
"browserify>buffer": true,
|
||||
"eth-keyring-controller>bip39": true,
|
||||
"eth-keyring-controller>eth-hd-keyring>ethereumjs-wallet": true,
|
||||
"eth-keyring-controller>eth-simple-keyring": true,
|
||||
"eth-sig-util": true
|
||||
}
|
||||
},
|
||||
"eth-keyring-controller>eth-hd-keyring>ethereumjs-wallet": {
|
||||
"packages": {
|
||||
"@truffle/codec>utf8": true,
|
||||
"browserify>buffer": true,
|
||||
"browserify>crypto-browserify": true,
|
||||
"eth-keyring-controller>eth-hd-keyring>ethereumjs-wallet>uuid": true,
|
||||
"ethereumjs-util": true,
|
||||
"ethereumjs-util>ethereum-cryptography": true,
|
||||
"ethereumjs-wallet>aes-js": true,
|
||||
"ethereumjs-wallet>bs58check": true,
|
||||
"ethereumjs-wallet>randombytes": true,
|
||||
"ethers>@ethersproject/json-wallets>scrypt-js": true
|
||||
}
|
||||
},
|
||||
"eth-keyring-controller>eth-hd-keyring>ethereumjs-wallet>uuid": {
|
||||
"globals": {
|
||||
"crypto": true,
|
||||
"msCrypto": true
|
||||
}
|
||||
},
|
||||
"eth-keyring-controller>eth-simple-keyring": {
|
||||
"packages": {
|
||||
"browserify>buffer": true,
|
||||
|
@ -3217,12 +3217,201 @@
|
||||
},
|
||||
"@metamask/rpc-methods": {
|
||||
"packages": {
|
||||
"@metamask/controllers": true,
|
||||
"@metamask/rpc-methods>@metamask/controllers": true,
|
||||
"@metamask/rpc-methods>@metamask/key-tree": true,
|
||||
"@metamask/snap-controllers": true,
|
||||
"eth-rpc-errors": true
|
||||
}
|
||||
},
|
||||
"@metamask/rpc-methods>@metamask/controllers": {
|
||||
"globals": {
|
||||
"Headers": true,
|
||||
"URL": true,
|
||||
"clearInterval": true,
|
||||
"clearTimeout": true,
|
||||
"console.error": true,
|
||||
"console.log": true,
|
||||
"fetch": true,
|
||||
"setInterval": true,
|
||||
"setTimeout": true
|
||||
},
|
||||
"packages": {
|
||||
"@ethereumjs/common": true,
|
||||
"@ethereumjs/tx": true,
|
||||
"@metamask/contract-metadata": true,
|
||||
"@metamask/controllers>abort-controller": true,
|
||||
"@metamask/controllers>async-mutex": true,
|
||||
"@metamask/controllers>eth-phishing-detect": true,
|
||||
"@metamask/controllers>isomorphic-fetch": true,
|
||||
"@metamask/controllers>multiformats": true,
|
||||
"@metamask/controllers>web3-provider-engine": true,
|
||||
"@metamask/metamask-eth-abis": true,
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller": true,
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry": true,
|
||||
"@metamask/rpc-methods>@metamask/controllers>ethereumjs-wallet": true,
|
||||
"@metamask/rpc-methods>@metamask/controllers>nanoid": true,
|
||||
"@storybook/api>fast-deep-equal": true,
|
||||
"browserify>buffer": true,
|
||||
"browserify>events": true,
|
||||
"deep-freeze-strict": true,
|
||||
"eth-ens-namehash": true,
|
||||
"eth-json-rpc-infura": true,
|
||||
"eth-query": true,
|
||||
"eth-rpc-errors": true,
|
||||
"eth-sig-util": true,
|
||||
"ethereumjs-util": true,
|
||||
"ethers": true,
|
||||
"ethjs>ethjs-unit": true,
|
||||
"immer": true,
|
||||
"json-rpc-engine": true,
|
||||
"jsonschema": true,
|
||||
"punycode": true,
|
||||
"single-call-balance-checker-abi": true,
|
||||
"uuid": true,
|
||||
"web3": true
|
||||
}
|
||||
},
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller": {
|
||||
"packages": {
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>bip39": true,
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>eth-hd-keyring": true,
|
||||
"browserify>events": true,
|
||||
"eth-keyring-controller>browser-passworder": true,
|
||||
"eth-keyring-controller>eth-simple-keyring": true,
|
||||
"eth-keyring-controller>obs-store": true,
|
||||
"eth-sig-util": true,
|
||||
"ethereumjs-util": true,
|
||||
"loglevel": true
|
||||
}
|
||||
},
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>bip39": {
|
||||
"packages": {
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>bip39>unorm": true,
|
||||
"browserify>crypto-browserify>pbkdf2": true,
|
||||
"ethereumjs-util>create-hash": true,
|
||||
"ethereumjs-wallet>randombytes": true,
|
||||
"ethereumjs-wallet>safe-buffer": true
|
||||
}
|
||||
},
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>bip39>unorm": {
|
||||
"globals": {
|
||||
"define": true
|
||||
}
|
||||
},
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>eth-hd-keyring": {
|
||||
"packages": {
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>bip39": true,
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>eth-hd-keyring>ethereumjs-wallet": true,
|
||||
"eth-keyring-controller>eth-simple-keyring": true,
|
||||
"eth-sig-util": true
|
||||
}
|
||||
},
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>eth-hd-keyring>ethereumjs-wallet": {
|
||||
"packages": {
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>eth-hd-keyring>ethereumjs-wallet>uuid": true,
|
||||
"@truffle/codec>utf8": true,
|
||||
"browserify>buffer": true,
|
||||
"browserify>crypto-browserify": true,
|
||||
"ethereumjs-util": true,
|
||||
"ethereumjs-util>ethereum-cryptography": true,
|
||||
"ethereumjs-wallet>aes-js": true,
|
||||
"ethereumjs-wallet>bs58check": true,
|
||||
"ethereumjs-wallet>randombytes": true,
|
||||
"ethers>@ethersproject/json-wallets>scrypt-js": true
|
||||
}
|
||||
},
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>eth-hd-keyring>ethereumjs-wallet>uuid": {
|
||||
"globals": {
|
||||
"crypto": true,
|
||||
"msCrypto": true
|
||||
}
|
||||
},
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry": {
|
||||
"packages": {
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs": true
|
||||
}
|
||||
},
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs": {
|
||||
"globals": {
|
||||
"clearInterval": true,
|
||||
"setInterval": true
|
||||
},
|
||||
"packages": {
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>bn.js": true,
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>ethjs-abi": true,
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>ethjs-contract": true,
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>ethjs-query": true,
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>js-sha3": true,
|
||||
"browserify>buffer": true,
|
||||
"ethjs>ethjs-filter": true,
|
||||
"ethjs>ethjs-provider-http": true,
|
||||
"ethjs>ethjs-unit": true,
|
||||
"ethjs>ethjs-util": true,
|
||||
"ethjs>number-to-bn": true
|
||||
}
|
||||
},
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>ethjs-abi": {
|
||||
"packages": {
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>bn.js": true,
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>js-sha3": true,
|
||||
"browserify>buffer": true,
|
||||
"ethjs>number-to-bn": true
|
||||
}
|
||||
},
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>ethjs-contract": {
|
||||
"packages": {
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>ethjs-contract>ethjs-abi": true,
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>js-sha3": true,
|
||||
"ethjs-query>babel-runtime": true,
|
||||
"ethjs>ethjs-filter": true,
|
||||
"ethjs>ethjs-util": true,
|
||||
"promise-to-callback": true
|
||||
}
|
||||
},
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>ethjs-contract>ethjs-abi": {
|
||||
"packages": {
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>bn.js": true,
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>js-sha3": true,
|
||||
"browserify>buffer": true,
|
||||
"ethjs>number-to-bn": true
|
||||
}
|
||||
},
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-method-registry>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/rpc-methods>@metamask/controllers>eth-method-registry>ethjs>js-sha3": {
|
||||
"packages": {
|
||||
"browserify>process": true
|
||||
}
|
||||
},
|
||||
"@metamask/rpc-methods>@metamask/controllers>ethereumjs-wallet": {
|
||||
"packages": {
|
||||
"@metamask/rpc-methods>@metamask/controllers>ethereumjs-wallet>uuid": true,
|
||||
"@truffle/codec>utf8": true,
|
||||
"browserify>buffer": true,
|
||||
"browserify>crypto-browserify": true,
|
||||
"ethereumjs-util": true,
|
||||
"ethereumjs-util>ethereum-cryptography": true,
|
||||
"ethereumjs-wallet>aes-js": true,
|
||||
"ethereumjs-wallet>bs58check": true,
|
||||
"ethereumjs-wallet>randombytes": true,
|
||||
"ethers>@ethersproject/json-wallets>scrypt-js": true
|
||||
}
|
||||
},
|
||||
"@metamask/rpc-methods>@metamask/controllers>ethereumjs-wallet>uuid": {
|
||||
"globals": {
|
||||
"crypto": true,
|
||||
"msCrypto": true
|
||||
}
|
||||
},
|
||||
"@metamask/rpc-methods>@metamask/key-tree": {
|
||||
"packages": {
|
||||
"@metamask/rpc-methods>@metamask/key-tree>bip39": true,
|
||||
@ -3288,6 +3477,7 @@
|
||||
"@metamask/controllers>multiformats": true,
|
||||
"@metamask/controllers>web3-provider-engine": true,
|
||||
"@metamask/metamask-eth-abis": true,
|
||||
"@metamask/smart-transactions-controller>@metamask/controllers>eth-keyring-controller": true,
|
||||
"@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry": true,
|
||||
"@metamask/smart-transactions-controller>@metamask/controllers>ethereumjs-wallet": true,
|
||||
"@metamask/smart-transactions-controller>@metamask/controllers>nanoid": true,
|
||||
@ -3297,7 +3487,6 @@
|
||||
"deep-freeze-strict": true,
|
||||
"eth-ens-namehash": true,
|
||||
"eth-json-rpc-infura": true,
|
||||
"eth-keyring-controller": true,
|
||||
"eth-query": true,
|
||||
"eth-rpc-errors": true,
|
||||
"eth-sig-util": true,
|
||||
@ -3313,6 +3502,19 @@
|
||||
"web3": true
|
||||
}
|
||||
},
|
||||
"@metamask/smart-transactions-controller>@metamask/controllers>eth-keyring-controller": {
|
||||
"packages": {
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>bip39": true,
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>eth-hd-keyring": true,
|
||||
"browserify>events": true,
|
||||
"eth-keyring-controller>browser-passworder": true,
|
||||
"eth-keyring-controller>eth-simple-keyring": true,
|
||||
"eth-keyring-controller>obs-store": true,
|
||||
"eth-sig-util": true,
|
||||
"ethereumjs-util": true,
|
||||
"loglevel": true
|
||||
}
|
||||
},
|
||||
"@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry": {
|
||||
"packages": {
|
||||
"@metamask/smart-transactions-controller>@metamask/controllers>eth-method-registry>ethjs": true
|
||||
@ -3434,9 +3636,9 @@
|
||||
"setTimeout": true
|
||||
},
|
||||
"packages": {
|
||||
"@metamask/controllers": true,
|
||||
"@metamask/post-message-stream": true,
|
||||
"@metamask/providers>@metamask/object-multiplex": true,
|
||||
"@metamask/snap-controllers>@metamask/controllers": true,
|
||||
"@metamask/snap-controllers>@metamask/execution-environments": true,
|
||||
"@metamask/snap-controllers>@metamask/obs-store": true,
|
||||
"@metamask/snap-controllers>ajv": true,
|
||||
@ -3456,6 +3658,153 @@
|
||||
"semver": true
|
||||
}
|
||||
},
|
||||
"@metamask/snap-controllers>@metamask/controllers": {
|
||||
"globals": {
|
||||
"Headers": true,
|
||||
"URL": true,
|
||||
"clearInterval": true,
|
||||
"clearTimeout": true,
|
||||
"console.error": true,
|
||||
"console.log": true,
|
||||
"fetch": true,
|
||||
"setInterval": true,
|
||||
"setTimeout": true
|
||||
},
|
||||
"packages": {
|
||||
"@ethereumjs/common": true,
|
||||
"@ethereumjs/tx": true,
|
||||
"@metamask/contract-metadata": true,
|
||||
"@metamask/controllers>abort-controller": true,
|
||||
"@metamask/controllers>async-mutex": true,
|
||||
"@metamask/controllers>eth-phishing-detect": true,
|
||||
"@metamask/controllers>isomorphic-fetch": true,
|
||||
"@metamask/controllers>multiformats": true,
|
||||
"@metamask/controllers>web3-provider-engine": true,
|
||||
"@metamask/metamask-eth-abis": true,
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-keyring-controller": true,
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry": true,
|
||||
"@metamask/snap-controllers>@metamask/controllers>ethereumjs-wallet": true,
|
||||
"@metamask/snap-controllers>nanoid": true,
|
||||
"@storybook/api>fast-deep-equal": true,
|
||||
"browserify>buffer": true,
|
||||
"browserify>events": true,
|
||||
"deep-freeze-strict": true,
|
||||
"eth-ens-namehash": true,
|
||||
"eth-json-rpc-infura": true,
|
||||
"eth-query": true,
|
||||
"eth-rpc-errors": true,
|
||||
"eth-sig-util": true,
|
||||
"ethereumjs-util": true,
|
||||
"ethers": true,
|
||||
"ethjs>ethjs-unit": true,
|
||||
"immer": true,
|
||||
"json-rpc-engine": true,
|
||||
"jsonschema": true,
|
||||
"punycode": true,
|
||||
"single-call-balance-checker-abi": true,
|
||||
"uuid": true,
|
||||
"web3": true
|
||||
}
|
||||
},
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-keyring-controller": {
|
||||
"packages": {
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>bip39": true,
|
||||
"@metamask/rpc-methods>@metamask/controllers>eth-keyring-controller>eth-hd-keyring": true,
|
||||
"browserify>events": true,
|
||||
"eth-keyring-controller>browser-passworder": true,
|
||||
"eth-keyring-controller>eth-simple-keyring": true,
|
||||
"eth-keyring-controller>obs-store": true,
|
||||
"eth-sig-util": true,
|
||||
"ethereumjs-util": true,
|
||||
"loglevel": true
|
||||
}
|
||||
},
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry": {
|
||||
"packages": {
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry>ethjs": true
|
||||
}
|
||||
},
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry>ethjs": {
|
||||
"globals": {
|
||||
"clearInterval": true,
|
||||
"setInterval": true
|
||||
},
|
||||
"packages": {
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry>ethjs>bn.js": true,
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry>ethjs>ethjs-abi": true,
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry>ethjs>ethjs-contract": true,
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry>ethjs>ethjs-query": true,
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry>ethjs>js-sha3": true,
|
||||
"browserify>buffer": true,
|
||||
"ethjs>ethjs-filter": true,
|
||||
"ethjs>ethjs-provider-http": true,
|
||||
"ethjs>ethjs-unit": true,
|
||||
"ethjs>ethjs-util": true,
|
||||
"ethjs>number-to-bn": true
|
||||
}
|
||||
},
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry>ethjs>ethjs-abi": {
|
||||
"packages": {
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry>ethjs>bn.js": true,
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry>ethjs>js-sha3": true,
|
||||
"browserify>buffer": true,
|
||||
"ethjs>number-to-bn": true
|
||||
}
|
||||
},
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry>ethjs>ethjs-contract": {
|
||||
"packages": {
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry>ethjs>ethjs-contract>ethjs-abi": true,
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry>ethjs>js-sha3": true,
|
||||
"ethjs-query>babel-runtime": true,
|
||||
"ethjs>ethjs-filter": true,
|
||||
"ethjs>ethjs-util": true,
|
||||
"promise-to-callback": true
|
||||
}
|
||||
},
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry>ethjs>ethjs-contract>ethjs-abi": {
|
||||
"packages": {
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry>ethjs>bn.js": true,
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry>ethjs>js-sha3": true,
|
||||
"browserify>buffer": true,
|
||||
"ethjs>number-to-bn": true
|
||||
}
|
||||
},
|
||||
"@metamask/snap-controllers>@metamask/controllers>eth-method-registry>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/snap-controllers>@metamask/controllers>eth-method-registry>ethjs>js-sha3": {
|
||||
"packages": {
|
||||
"browserify>process": true
|
||||
}
|
||||
},
|
||||
"@metamask/snap-controllers>@metamask/controllers>ethereumjs-wallet": {
|
||||
"packages": {
|
||||
"@metamask/snap-controllers>@metamask/controllers>ethereumjs-wallet>uuid": true,
|
||||
"@truffle/codec>utf8": true,
|
||||
"browserify>buffer": true,
|
||||
"browserify>crypto-browserify": true,
|
||||
"ethereumjs-util": true,
|
||||
"ethereumjs-util>ethereum-cryptography": true,
|
||||
"ethereumjs-wallet>aes-js": true,
|
||||
"ethereumjs-wallet>bs58check": true,
|
||||
"ethereumjs-wallet>randombytes": true,
|
||||
"ethers>@ethersproject/json-wallets>scrypt-js": true
|
||||
}
|
||||
},
|
||||
"@metamask/snap-controllers>@metamask/controllers>ethereumjs-wallet>uuid": {
|
||||
"globals": {
|
||||
"crypto": true,
|
||||
"msCrypto": true
|
||||
}
|
||||
},
|
||||
"@metamask/snap-controllers>@metamask/obs-store": {
|
||||
"packages": {
|
||||
"@metamask/snap-controllers>@metamask/obs-store>through2": true,
|
||||
@ -4777,31 +5126,49 @@
|
||||
"packages": {
|
||||
"browserify>buffer": true,
|
||||
"browserify>events": true,
|
||||
"eth-keyring-controller>bip39": true,
|
||||
"eth-keyring-controller>@metamask/bip39": true,
|
||||
"eth-keyring-controller>@metamask/eth-hd-keyring": true,
|
||||
"eth-keyring-controller>browser-passworder": true,
|
||||
"eth-keyring-controller>eth-hd-keyring": true,
|
||||
"eth-keyring-controller>eth-simple-keyring": true,
|
||||
"eth-keyring-controller>obs-store": true,
|
||||
"eth-sig-util": true,
|
||||
"ethereumjs-util": true,
|
||||
"loglevel": true
|
||||
"eth-sig-util": true
|
||||
}
|
||||
},
|
||||
"eth-keyring-controller>bip39": {
|
||||
"globals": {
|
||||
"console.log": true
|
||||
},
|
||||
"eth-keyring-controller>@metamask/bip39": {
|
||||
"packages": {
|
||||
"browserify>buffer": true,
|
||||
"browserify>crypto-browserify>pbkdf2": true,
|
||||
"eth-keyring-controller>bip39>unorm": true,
|
||||
"ethereumjs-util>create-hash": true,
|
||||
"ethereumjs-wallet>randombytes": true,
|
||||
"ethereumjs-wallet>safe-buffer": true
|
||||
"ethereumjs-wallet>randombytes": true
|
||||
}
|
||||
},
|
||||
"eth-keyring-controller>bip39>unorm": {
|
||||
"eth-keyring-controller>@metamask/eth-hd-keyring": {
|
||||
"packages": {
|
||||
"browserify>buffer": true,
|
||||
"eth-keyring-controller>@metamask/bip39": true,
|
||||
"eth-keyring-controller>@metamask/eth-hd-keyring>ethereumjs-wallet": true,
|
||||
"eth-keyring-controller>eth-simple-keyring": true,
|
||||
"eth-trezor-keyring>@metamask/eth-sig-util": true
|
||||
}
|
||||
},
|
||||
"eth-keyring-controller>@metamask/eth-hd-keyring>ethereumjs-wallet": {
|
||||
"packages": {
|
||||
"@truffle/codec>utf8": true,
|
||||
"browserify>buffer": true,
|
||||
"browserify>crypto-browserify": true,
|
||||
"eth-keyring-controller>@metamask/eth-hd-keyring>ethereumjs-wallet>uuid": true,
|
||||
"ethereumjs-util": true,
|
||||
"ethereumjs-util>ethereum-cryptography": true,
|
||||
"ethereumjs-wallet>aes-js": true,
|
||||
"ethereumjs-wallet>bs58check": true,
|
||||
"ethereumjs-wallet>randombytes": true,
|
||||
"ethers>@ethersproject/json-wallets>scrypt-js": true
|
||||
}
|
||||
},
|
||||
"eth-keyring-controller>@metamask/eth-hd-keyring>ethereumjs-wallet>uuid": {
|
||||
"globals": {
|
||||
"define": true
|
||||
"crypto": true,
|
||||
"msCrypto": true
|
||||
}
|
||||
},
|
||||
"eth-keyring-controller>browser-passworder": {
|
||||
@ -4819,35 +5186,6 @@
|
||||
"btoa": true
|
||||
}
|
||||
},
|
||||
"eth-keyring-controller>eth-hd-keyring": {
|
||||
"packages": {
|
||||
"browserify>buffer": true,
|
||||
"eth-keyring-controller>bip39": true,
|
||||
"eth-keyring-controller>eth-hd-keyring>ethereumjs-wallet": true,
|
||||
"eth-keyring-controller>eth-simple-keyring": true,
|
||||
"eth-sig-util": true
|
||||
}
|
||||
},
|
||||
"eth-keyring-controller>eth-hd-keyring>ethereumjs-wallet": {
|
||||
"packages": {
|
||||
"@truffle/codec>utf8": true,
|
||||
"browserify>buffer": true,
|
||||
"browserify>crypto-browserify": true,
|
||||
"eth-keyring-controller>eth-hd-keyring>ethereumjs-wallet>uuid": true,
|
||||
"ethereumjs-util": true,
|
||||
"ethereumjs-util>ethereum-cryptography": true,
|
||||
"ethereumjs-wallet>aes-js": true,
|
||||
"ethereumjs-wallet>bs58check": true,
|
||||
"ethereumjs-wallet>randombytes": true,
|
||||
"ethers>@ethersproject/json-wallets>scrypt-js": true
|
||||
}
|
||||
},
|
||||
"eth-keyring-controller>eth-hd-keyring>ethereumjs-wallet>uuid": {
|
||||
"globals": {
|
||||
"crypto": true,
|
||||
"msCrypto": true
|
||||
}
|
||||
},
|
||||
"eth-keyring-controller>eth-simple-keyring": {
|
||||
"packages": {
|
||||
"browserify>buffer": true,
|
||||
|
@ -4150,6 +4150,7 @@
|
||||
"gulp-watch>chokidar>anymatch": true,
|
||||
"gulp-watch>chokidar>async-each": true,
|
||||
"gulp-watch>chokidar>braces": true,
|
||||
"gulp-watch>chokidar>fsevents": true,
|
||||
"gulp-watch>chokidar>is-binary-path": true,
|
||||
"gulp-watch>chokidar>is-glob": true,
|
||||
"gulp-watch>chokidar>normalize-path": true,
|
||||
@ -4298,6 +4299,389 @@
|
||||
"webpack>micromatch>braces>fill-range>repeat-string": true
|
||||
}
|
||||
},
|
||||
"gulp-watch>chokidar>fsevents": {
|
||||
"builtin": {
|
||||
"events.EventEmitter": true,
|
||||
"fs.stat": true,
|
||||
"path.join": true,
|
||||
"util.inherits": true
|
||||
},
|
||||
"globals": {
|
||||
"__dirname": true,
|
||||
"process.nextTick": true,
|
||||
"process.platform": true,
|
||||
"setImmediate": true
|
||||
},
|
||||
"packages": {
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp": true
|
||||
}
|
||||
},
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp": {
|
||||
"builtin": {
|
||||
"events.EventEmitter": true,
|
||||
"fs.existsSync": true,
|
||||
"fs.readFileSync": true,
|
||||
"fs.renameSync": true,
|
||||
"path.dirname": true,
|
||||
"path.existsSync": true,
|
||||
"path.join": true,
|
||||
"path.resolve": true,
|
||||
"url.parse": true,
|
||||
"url.resolve": true,
|
||||
"util.inherits": true
|
||||
},
|
||||
"globals": {
|
||||
"__dirname": true,
|
||||
"console.log": true,
|
||||
"process.arch": true,
|
||||
"process.cwd": true,
|
||||
"process.env": true,
|
||||
"process.platform": true,
|
||||
"process.version.substr": true,
|
||||
"process.versions": true
|
||||
},
|
||||
"packages": {
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>detect-libc": true,
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>nopt": true,
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog": true,
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf": true,
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>semver": true
|
||||
}
|
||||
},
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>detect-libc": {
|
||||
"builtin": {
|
||||
"child_process.spawnSync": true,
|
||||
"fs.readdirSync": true,
|
||||
"os.platform": true
|
||||
},
|
||||
"globals": {
|
||||
"process.env": true
|
||||
}
|
||||
},
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>nopt": {
|
||||
"builtin": {
|
||||
"path": true,
|
||||
"stream.Stream": true,
|
||||
"url": true
|
||||
},
|
||||
"globals": {
|
||||
"console": true,
|
||||
"process.argv": true,
|
||||
"process.env.DEBUG_NOPT": true,
|
||||
"process.env.NOPT_DEBUG": true,
|
||||
"process.platform": true
|
||||
},
|
||||
"packages": {
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>nopt>abbrev": true,
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>nopt>osenv": true
|
||||
}
|
||||
},
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>nopt>osenv": {
|
||||
"builtin": {
|
||||
"child_process.exec": true,
|
||||
"path": true
|
||||
},
|
||||
"globals": {
|
||||
"process.env.COMPUTERNAME": true,
|
||||
"process.env.ComSpec": true,
|
||||
"process.env.EDITOR": true,
|
||||
"process.env.HOSTNAME": true,
|
||||
"process.env.PATH": true,
|
||||
"process.env.PROMPT": true,
|
||||
"process.env.PS1": true,
|
||||
"process.env.Path": true,
|
||||
"process.env.SHELL": true,
|
||||
"process.env.USER": true,
|
||||
"process.env.USERDOMAIN": true,
|
||||
"process.env.USERNAME": true,
|
||||
"process.env.VISUAL": true,
|
||||
"process.env.path": true,
|
||||
"process.nextTick": true,
|
||||
"process.platform": true
|
||||
},
|
||||
"packages": {
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>nopt>osenv>os-homedir": true,
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>nopt>osenv>os-tmpdir": true
|
||||
}
|
||||
},
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>nopt>osenv>os-homedir": {
|
||||
"builtin": {
|
||||
"os.homedir": true
|
||||
},
|
||||
"globals": {
|
||||
"process.env": true,
|
||||
"process.getuid": true,
|
||||
"process.platform": true
|
||||
}
|
||||
},
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>nopt>osenv>os-tmpdir": {
|
||||
"globals": {
|
||||
"process.env.SystemRoot": true,
|
||||
"process.env.TEMP": true,
|
||||
"process.env.TMP": true,
|
||||
"process.env.TMPDIR": true,
|
||||
"process.env.windir": true,
|
||||
"process.platform": true
|
||||
}
|
||||
},
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog": {
|
||||
"builtin": {
|
||||
"events.EventEmitter": true,
|
||||
"util": true
|
||||
},
|
||||
"globals": {
|
||||
"process.nextTick": true,
|
||||
"process.stderr": true
|
||||
},
|
||||
"packages": {
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet": true,
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>console-control-strings": true,
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge": true,
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>set-blocking": true
|
||||
}
|
||||
},
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet": {
|
||||
"builtin": {
|
||||
"events.EventEmitter": true,
|
||||
"util.inherits": true
|
||||
},
|
||||
"packages": {
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet>delegates": true,
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet>readable-stream": true
|
||||
}
|
||||
},
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet>readable-stream": {
|
||||
"builtin": {
|
||||
"events.EventEmitter": true,
|
||||
"stream": true,
|
||||
"util": true
|
||||
},
|
||||
"globals": {
|
||||
"process.browser": true,
|
||||
"process.env.READABLE_STREAM": true,
|
||||
"process.stderr": true,
|
||||
"process.stdout": true,
|
||||
"process.version.slice": true,
|
||||
"setImmediate": true
|
||||
},
|
||||
"packages": {
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet>readable-stream>core-util-is": true,
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet>readable-stream>isarray": true,
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet>readable-stream>process-nextick-args": true,
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet>readable-stream>string_decoder": true,
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet>readable-stream>util-deprecate": true,
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf>glob>inherits": true,
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>tar>safe-buffer": true
|
||||
}
|
||||
},
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet>readable-stream>core-util-is": {
|
||||
"globals": {
|
||||
"Buffer.isBuffer": true
|
||||
}
|
||||
},
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet>readable-stream>process-nextick-args": {
|
||||
"globals": {
|
||||
"process": true
|
||||
}
|
||||
},
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet>readable-stream>string_decoder": {
|
||||
"packages": {
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>tar>safe-buffer": true
|
||||
}
|
||||
},
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet>readable-stream>util-deprecate": {
|
||||
"builtin": {
|
||||
"util.deprecate": true
|
||||
}
|
||||
},
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge": {
|
||||
"builtin": {
|
||||
"util.format": true
|
||||
},
|
||||
"globals": {
|
||||
"clearInterval": true,
|
||||
"process": true,
|
||||
"setImmediate": true,
|
||||
"setInterval": true
|
||||
},
|
||||
"packages": {
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>console-control-strings": true,
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge>aproba": true,
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge>has-unicode": true,
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge>object-assign": true,
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge>signal-exit": true,
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge>string-width": true,
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge>strip-ansi": true,
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge>wide-align": true
|
||||
}
|
||||
},
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge>has-unicode": {
|
||||
"builtin": {
|
||||
"os.type": true
|
||||
},
|
||||
"globals": {
|
||||
"process.env.LANG": true,
|
||||
"process.env.LC_ALL": true,
|
||||
"process.env.LC_CTYPE": true
|
||||
}
|
||||
},
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge>signal-exit": {
|
||||
"builtin": {
|
||||
"assert.equal": true,
|
||||
"events": true
|
||||
},
|
||||
"globals": {
|
||||
"process": true
|
||||
}
|
||||
},
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge>string-width": {
|
||||
"packages": {
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge>string-width>code-point-at": true,
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge>string-width>is-fullwidth-code-point": true,
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge>strip-ansi": true
|
||||
}
|
||||
},
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge>string-width>is-fullwidth-code-point": {
|
||||
"packages": {
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge>string-width>is-fullwidth-code-point>number-is-nan": true
|
||||
}
|
||||
},
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge>strip-ansi": {
|
||||
"packages": {
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge>strip-ansi>ansi-regex": true
|
||||
}
|
||||
},
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge>wide-align": {
|
||||
"packages": {
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge>string-width": true
|
||||
}
|
||||
},
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>set-blocking": {
|
||||
"globals": {
|
||||
"process.stderr": true,
|
||||
"process.stdout": true
|
||||
}
|
||||
},
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf": {
|
||||
"builtin": {
|
||||
"assert": true,
|
||||
"fs": true,
|
||||
"path.join": true
|
||||
},
|
||||
"globals": {
|
||||
"process.platform": true,
|
||||
"setTimeout": true
|
||||
},
|
||||
"packages": {
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf>glob": true
|
||||
}
|
||||
},
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf>glob": {
|
||||
"builtin": {
|
||||
"assert": true,
|
||||
"events.EventEmitter": true,
|
||||
"fs.lstat": true,
|
||||
"fs.lstatSync": true,
|
||||
"fs.readdir": true,
|
||||
"fs.readdirSync": true,
|
||||
"fs.stat": true,
|
||||
"fs.statSync": true,
|
||||
"path.join": true,
|
||||
"path.resolve": true,
|
||||
"util": true
|
||||
},
|
||||
"globals": {
|
||||
"console.error": true,
|
||||
"process.cwd": true,
|
||||
"process.nextTick": true,
|
||||
"process.platform": true
|
||||
},
|
||||
"packages": {
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf>glob>fs.realpath": true,
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf>glob>inflight": true,
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf>glob>inherits": true,
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf>glob>minimatch": true,
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf>glob>once": true,
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf>glob>path-is-absolute": true
|
||||
}
|
||||
},
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf>glob>fs.realpath": {
|
||||
"builtin": {
|
||||
"fs.lstat": true,
|
||||
"fs.lstatSync": true,
|
||||
"fs.readlink": true,
|
||||
"fs.readlinkSync": true,
|
||||
"fs.realpath": true,
|
||||
"fs.realpathSync": true,
|
||||
"fs.stat": true,
|
||||
"fs.statSync": true,
|
||||
"path.normalize": true,
|
||||
"path.resolve": true
|
||||
},
|
||||
"globals": {
|
||||
"console.error": true,
|
||||
"console.trace": true,
|
||||
"process.env.NODE_DEBUG": true,
|
||||
"process.nextTick": true,
|
||||
"process.noDeprecation": true,
|
||||
"process.platform": true,
|
||||
"process.throwDeprecation": true,
|
||||
"process.traceDeprecation": true,
|
||||
"process.version": true
|
||||
}
|
||||
},
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf>glob>inflight": {
|
||||
"globals": {
|
||||
"process.nextTick": true
|
||||
},
|
||||
"packages": {
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf>glob>once": true,
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf>glob>once>wrappy": true
|
||||
}
|
||||
},
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf>glob>inherits": {
|
||||
"builtin": {
|
||||
"util.inherits": true
|
||||
}
|
||||
},
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf>glob>minimatch": {
|
||||
"builtin": {
|
||||
"path": true
|
||||
},
|
||||
"globals": {
|
||||
"console.error": true
|
||||
},
|
||||
"packages": {
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf>glob>minimatch>brace-expansion": true
|
||||
}
|
||||
},
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf>glob>minimatch>brace-expansion": {
|
||||
"packages": {
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf>glob>minimatch>brace-expansion>balanced-match": true,
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf>glob>minimatch>brace-expansion>concat-map": true
|
||||
}
|
||||
},
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf>glob>once": {
|
||||
"packages": {
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf>glob>once>wrappy": true
|
||||
}
|
||||
},
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf>glob>path-is-absolute": {
|
||||
"globals": {
|
||||
"process.platform": true
|
||||
}
|
||||
},
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>semver": {
|
||||
"globals": {
|
||||
"console": true,
|
||||
"process": true
|
||||
}
|
||||
},
|
||||
"gulp-watch>chokidar>fsevents>node-pre-gyp>tar>safe-buffer": {
|
||||
"builtin": {
|
||||
"buffer": true
|
||||
}
|
||||
},
|
||||
"gulp-watch>chokidar>is-binary-path": {
|
||||
"builtin": {
|
||||
"path.extname": true
|
||||
@ -4793,6 +5177,7 @@
|
||||
"gulp-watch>path-is-absolute": true,
|
||||
"gulp>glob-watcher>anymatch": true,
|
||||
"gulp>glob-watcher>chokidar>braces": true,
|
||||
"gulp>glob-watcher>chokidar>fsevents": true,
|
||||
"gulp>glob-watcher>chokidar>glob-parent": true,
|
||||
"gulp>glob-watcher>chokidar>is-binary-path": true,
|
||||
"gulp>glob-watcher>chokidar>normalize-path": true,
|
||||
@ -4841,6 +5226,389 @@
|
||||
"webpack>micromatch>braces>fill-range>repeat-string": true
|
||||
}
|
||||
},
|
||||
"gulp>glob-watcher>chokidar>fsevents": {
|
||||
"builtin": {
|
||||
"events.EventEmitter": true,
|
||||
"fs.stat": true,
|
||||
"path.join": true,
|
||||
"util.inherits": true
|
||||
},
|
||||
"globals": {
|
||||
"__dirname": true,
|
||||
"process.nextTick": true,
|
||||
"process.platform": true,
|
||||
"setImmediate": true
|
||||
},
|
||||
"packages": {
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp": true
|
||||
}
|
||||
},
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp": {
|
||||
"builtin": {
|
||||
"events.EventEmitter": true,
|
||||
"fs.existsSync": true,
|
||||
"fs.readFileSync": true,
|
||||
"fs.renameSync": true,
|
||||
"path.dirname": true,
|
||||
"path.existsSync": true,
|
||||
"path.join": true,
|
||||
"path.resolve": true,
|
||||
"url.parse": true,
|
||||
"url.resolve": true,
|
||||
"util.inherits": true
|
||||
},
|
||||
"globals": {
|
||||
"__dirname": true,
|
||||
"console.log": true,
|
||||
"process.arch": true,
|
||||
"process.cwd": true,
|
||||
"process.env": true,
|
||||
"process.platform": true,
|
||||
"process.version.substr": true,
|
||||
"process.versions": true
|
||||
},
|
||||
"packages": {
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>detect-libc": true,
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>nopt": true,
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog": true,
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>rimraf": true,
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>semver": true
|
||||
}
|
||||
},
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>detect-libc": {
|
||||
"builtin": {
|
||||
"child_process.spawnSync": true,
|
||||
"fs.readdirSync": true,
|
||||
"os.platform": true
|
||||
},
|
||||
"globals": {
|
||||
"process.env": true
|
||||
}
|
||||
},
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>nopt": {
|
||||
"builtin": {
|
||||
"path": true,
|
||||
"stream.Stream": true,
|
||||
"url": true
|
||||
},
|
||||
"globals": {
|
||||
"console": true,
|
||||
"process.argv": true,
|
||||
"process.env.DEBUG_NOPT": true,
|
||||
"process.env.NOPT_DEBUG": true,
|
||||
"process.platform": true
|
||||
},
|
||||
"packages": {
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>nopt>abbrev": true,
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>nopt>osenv": true
|
||||
}
|
||||
},
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>nopt>osenv": {
|
||||
"builtin": {
|
||||
"child_process.exec": true,
|
||||
"path": true
|
||||
},
|
||||
"globals": {
|
||||
"process.env.COMPUTERNAME": true,
|
||||
"process.env.ComSpec": true,
|
||||
"process.env.EDITOR": true,
|
||||
"process.env.HOSTNAME": true,
|
||||
"process.env.PATH": true,
|
||||
"process.env.PROMPT": true,
|
||||
"process.env.PS1": true,
|
||||
"process.env.Path": true,
|
||||
"process.env.SHELL": true,
|
||||
"process.env.USER": true,
|
||||
"process.env.USERDOMAIN": true,
|
||||
"process.env.USERNAME": true,
|
||||
"process.env.VISUAL": true,
|
||||
"process.env.path": true,
|
||||
"process.nextTick": true,
|
||||
"process.platform": true
|
||||
},
|
||||
"packages": {
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>nopt>osenv>os-homedir": true,
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>nopt>osenv>os-tmpdir": true
|
||||
}
|
||||
},
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>nopt>osenv>os-homedir": {
|
||||
"builtin": {
|
||||
"os.homedir": true
|
||||
},
|
||||
"globals": {
|
||||
"process.env": true,
|
||||
"process.getuid": true,
|
||||
"process.platform": true
|
||||
}
|
||||
},
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>nopt>osenv>os-tmpdir": {
|
||||
"globals": {
|
||||
"process.env.SystemRoot": true,
|
||||
"process.env.TEMP": true,
|
||||
"process.env.TMP": true,
|
||||
"process.env.TMPDIR": true,
|
||||
"process.env.windir": true,
|
||||
"process.platform": true
|
||||
}
|
||||
},
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog": {
|
||||
"builtin": {
|
||||
"events.EventEmitter": true,
|
||||
"util": true
|
||||
},
|
||||
"globals": {
|
||||
"process.nextTick": true,
|
||||
"process.stderr": true
|
||||
},
|
||||
"packages": {
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet": true,
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>console-control-strings": true,
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>gauge": true,
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>set-blocking": true
|
||||
}
|
||||
},
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet": {
|
||||
"builtin": {
|
||||
"events.EventEmitter": true,
|
||||
"util.inherits": true
|
||||
},
|
||||
"packages": {
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet>delegates": true,
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet>readable-stream": true
|
||||
}
|
||||
},
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet>readable-stream": {
|
||||
"builtin": {
|
||||
"events.EventEmitter": true,
|
||||
"stream": true,
|
||||
"util": true
|
||||
},
|
||||
"globals": {
|
||||
"process.browser": true,
|
||||
"process.env.READABLE_STREAM": true,
|
||||
"process.stderr": true,
|
||||
"process.stdout": true,
|
||||
"process.version.slice": true,
|
||||
"setImmediate": true
|
||||
},
|
||||
"packages": {
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet>readable-stream>core-util-is": true,
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet>readable-stream>isarray": true,
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet>readable-stream>process-nextick-args": true,
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet>readable-stream>string_decoder": true,
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet>readable-stream>util-deprecate": true,
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>rimraf>glob>inherits": true,
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>tar>safe-buffer": true
|
||||
}
|
||||
},
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet>readable-stream>core-util-is": {
|
||||
"globals": {
|
||||
"Buffer.isBuffer": true
|
||||
}
|
||||
},
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet>readable-stream>process-nextick-args": {
|
||||
"globals": {
|
||||
"process": true
|
||||
}
|
||||
},
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet>readable-stream>string_decoder": {
|
||||
"packages": {
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>tar>safe-buffer": true
|
||||
}
|
||||
},
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet>readable-stream>util-deprecate": {
|
||||
"builtin": {
|
||||
"util.deprecate": true
|
||||
}
|
||||
},
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>gauge": {
|
||||
"builtin": {
|
||||
"util.format": true
|
||||
},
|
||||
"globals": {
|
||||
"clearInterval": true,
|
||||
"process": true,
|
||||
"setImmediate": true,
|
||||
"setInterval": true
|
||||
},
|
||||
"packages": {
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>console-control-strings": true,
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>gauge>aproba": true,
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>gauge>has-unicode": true,
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>gauge>object-assign": true,
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>gauge>signal-exit": true,
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>gauge>string-width": true,
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>gauge>strip-ansi": true,
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>gauge>wide-align": true
|
||||
}
|
||||
},
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>gauge>has-unicode": {
|
||||
"builtin": {
|
||||
"os.type": true
|
||||
},
|
||||
"globals": {
|
||||
"process.env.LANG": true,
|
||||
"process.env.LC_ALL": true,
|
||||
"process.env.LC_CTYPE": true
|
||||
}
|
||||
},
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>gauge>signal-exit": {
|
||||
"builtin": {
|
||||
"assert.equal": true,
|
||||
"events": true
|
||||
},
|
||||
"globals": {
|
||||
"process": true
|
||||
}
|
||||
},
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>gauge>string-width": {
|
||||
"packages": {
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>gauge>string-width>code-point-at": true,
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>gauge>string-width>is-fullwidth-code-point": true,
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>gauge>strip-ansi": true
|
||||
}
|
||||
},
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>gauge>string-width>is-fullwidth-code-point": {
|
||||
"packages": {
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>gauge>string-width>is-fullwidth-code-point>number-is-nan": true
|
||||
}
|
||||
},
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>gauge>strip-ansi": {
|
||||
"packages": {
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>gauge>strip-ansi>ansi-regex": true
|
||||
}
|
||||
},
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>gauge>wide-align": {
|
||||
"packages": {
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>gauge>string-width": true
|
||||
}
|
||||
},
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>npmlog>set-blocking": {
|
||||
"globals": {
|
||||
"process.stderr": true,
|
||||
"process.stdout": true
|
||||
}
|
||||
},
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>rimraf": {
|
||||
"builtin": {
|
||||
"assert": true,
|
||||
"fs": true,
|
||||
"path.join": true
|
||||
},
|
||||
"globals": {
|
||||
"process.platform": true,
|
||||
"setTimeout": true
|
||||
},
|
||||
"packages": {
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>rimraf>glob": true
|
||||
}
|
||||
},
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>rimraf>glob": {
|
||||
"builtin": {
|
||||
"assert": true,
|
||||
"events.EventEmitter": true,
|
||||
"fs.lstat": true,
|
||||
"fs.lstatSync": true,
|
||||
"fs.readdir": true,
|
||||
"fs.readdirSync": true,
|
||||
"fs.stat": true,
|
||||
"fs.statSync": true,
|
||||
"path.join": true,
|
||||
"path.resolve": true,
|
||||
"util": true
|
||||
},
|
||||
"globals": {
|
||||
"console.error": true,
|
||||
"process.cwd": true,
|
||||
"process.nextTick": true,
|
||||
"process.platform": true
|
||||
},
|
||||
"packages": {
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>rimraf>glob>fs.realpath": true,
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>rimraf>glob>inflight": true,
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>rimraf>glob>inherits": true,
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>rimraf>glob>minimatch": true,
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>rimraf>glob>once": true,
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>rimraf>glob>path-is-absolute": true
|
||||
}
|
||||
},
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>rimraf>glob>fs.realpath": {
|
||||
"builtin": {
|
||||
"fs.lstat": true,
|
||||
"fs.lstatSync": true,
|
||||
"fs.readlink": true,
|
||||
"fs.readlinkSync": true,
|
||||
"fs.realpath": true,
|
||||
"fs.realpathSync": true,
|
||||
"fs.stat": true,
|
||||
"fs.statSync": true,
|
||||
"path.normalize": true,
|
||||
"path.resolve": true
|
||||
},
|
||||
"globals": {
|
||||
"console.error": true,
|
||||
"console.trace": true,
|
||||
"process.env.NODE_DEBUG": true,
|
||||
"process.nextTick": true,
|
||||
"process.noDeprecation": true,
|
||||
"process.platform": true,
|
||||
"process.throwDeprecation": true,
|
||||
"process.traceDeprecation": true,
|
||||
"process.version": true
|
||||
}
|
||||
},
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>rimraf>glob>inflight": {
|
||||
"globals": {
|
||||
"process.nextTick": true
|
||||
},
|
||||
"packages": {
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>rimraf>glob>once": true,
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>rimraf>glob>once>wrappy": true
|
||||
}
|
||||
},
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>rimraf>glob>inherits": {
|
||||
"builtin": {
|
||||
"util.inherits": true
|
||||
}
|
||||
},
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>rimraf>glob>minimatch": {
|
||||
"builtin": {
|
||||
"path": true
|
||||
},
|
||||
"globals": {
|
||||
"console.error": true
|
||||
},
|
||||
"packages": {
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>rimraf>glob>minimatch>brace-expansion": true
|
||||
}
|
||||
},
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>rimraf>glob>minimatch>brace-expansion": {
|
||||
"packages": {
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>rimraf>glob>minimatch>brace-expansion>balanced-match": true,
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>rimraf>glob>minimatch>brace-expansion>concat-map": true
|
||||
}
|
||||
},
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>rimraf>glob>once": {
|
||||
"packages": {
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>rimraf>glob>once>wrappy": true
|
||||
}
|
||||
},
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>rimraf>glob>path-is-absolute": {
|
||||
"globals": {
|
||||
"process.platform": true
|
||||
}
|
||||
},
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>semver": {
|
||||
"globals": {
|
||||
"console": true,
|
||||
"process": true
|
||||
}
|
||||
},
|
||||
"gulp>glob-watcher>chokidar>fsevents>node-pre-gyp>tar>safe-buffer": {
|
||||
"builtin": {
|
||||
"buffer": true
|
||||
}
|
||||
},
|
||||
"gulp>glob-watcher>chokidar>glob-parent": {
|
||||
"builtin": {
|
||||
"os.platform": true,
|
||||
@ -6065,6 +6833,7 @@
|
||||
"eslint>glob-parent": true,
|
||||
"eslint>is-glob": true,
|
||||
"sass>chokidar>braces": true,
|
||||
"sass>chokidar>fsevents": true,
|
||||
"sass>chokidar>is-binary-path": true,
|
||||
"watchify>anymatch": true
|
||||
}
|
||||
@ -6087,6 +6856,12 @@
|
||||
"sass>chokidar>braces>fill-range>to-regex-range>is-number": true
|
||||
}
|
||||
},
|
||||
"sass>chokidar>fsevents": {
|
||||
"globals": {
|
||||
"process.platform": true
|
||||
},
|
||||
"native": true
|
||||
},
|
||||
"sass>chokidar>is-binary-path": {
|
||||
"builtin": {
|
||||
"path.extname": true
|
||||
|
@ -115,7 +115,7 @@
|
||||
"@keystonehq/metamask-airgapped-keyring": "0.2.1",
|
||||
"@material-ui/core": "^4.11.0",
|
||||
"@metamask/contract-metadata": "^1.31.0",
|
||||
"@metamask/controllers": "^28.0.0",
|
||||
"@metamask/controllers": "^29.0.1",
|
||||
"@metamask/design-tokens": "^1.5.1",
|
||||
"@metamask/eth-ledger-bridge-keyring": "^0.12.0",
|
||||
"@metamask/eth-token-tracker": "^4.0.0",
|
||||
@ -156,7 +156,7 @@
|
||||
"eth-json-rpc-filters": "^4.2.1",
|
||||
"eth-json-rpc-infura": "^5.1.0",
|
||||
"eth-json-rpc-middleware": "^8.0.0",
|
||||
"eth-keyring-controller": "^6.2.0",
|
||||
"eth-keyring-controller": "^7.0.2",
|
||||
"eth-lattice-keyring": "^0.7.3",
|
||||
"eth-method-registry": "^2.0.0",
|
||||
"eth-query": "^2.1.2",
|
||||
|
@ -1,99 +0,0 @@
|
||||
diff --git a/node_modules/bip39/index.js b/node_modules/bip39/index.js
|
||||
index aa0f29f..bee8008 100644
|
||||
--- a/node_modules/bip39/index.js
|
||||
+++ b/node_modules/bip39/index.js
|
||||
@@ -48,7 +48,9 @@ function salt (password) {
|
||||
}
|
||||
|
||||
function mnemonicToSeed (mnemonic, password) {
|
||||
- var mnemonicBuffer = Buffer.from(unorm.nfkd(mnemonic), 'utf8')
|
||||
+ var mnemonicBuffer = typeof mnemonic === 'string'
|
||||
+ ? Buffer.from(unorm.nfkd(mnemonic), 'utf8')
|
||||
+ : mnemonic
|
||||
var saltBuffer = Buffer.from(salt(unorm.nfkd(password)), 'utf8')
|
||||
|
||||
return pbkdf2(mnemonicBuffer, saltBuffer, 2048, 64, 'sha512')
|
||||
@@ -61,12 +63,28 @@ function mnemonicToSeedHex (mnemonic, password) {
|
||||
function mnemonicToEntropy (mnemonic, wordlist) {
|
||||
wordlist = wordlist || DEFAULT_WORDLIST
|
||||
|
||||
- var words = unorm.nfkd(mnemonic).split(' ')
|
||||
+ var mnemonicAsBuffer = typeof mnemonic === 'string'
|
||||
+ ? Buffer.from(unorm.nfkd(mnemonic), 'utf8')
|
||||
+ : mnemonic
|
||||
+
|
||||
+ var words = [];
|
||||
+ var currentWord = [];
|
||||
+ for (const byte of mnemonicAsBuffer.values()) {
|
||||
+ // split at space or \u3000 (ideographic space, for Japanese wordlists)
|
||||
+ if (byte === 0x20 || byte === 0x3000) {
|
||||
+ words.push(Buffer.from(currentWord));
|
||||
+ currentWord = [];
|
||||
+ } else {
|
||||
+ currentWord.push(byte);
|
||||
+ }
|
||||
+ }
|
||||
+ words.push(Buffer.from(currentWord));
|
||||
+
|
||||
if (words.length % 3 !== 0) throw new Error(INVALID_MNEMONIC)
|
||||
|
||||
// convert word indices to 11 bit binary strings
|
||||
var bits = words.map(function (word) {
|
||||
- var index = wordlist.indexOf(word)
|
||||
+ var index = wordlist.indexOf(word.toString('utf8'))
|
||||
if (index === -1) throw new Error(INVALID_MNEMONIC)
|
||||
|
||||
return lpad(index.toString(2), '0', 11)
|
||||
@@ -104,12 +122,41 @@ function entropyToMnemonic (entropy, wordlist) {
|
||||
|
||||
var bits = entropyBits + checksumBits
|
||||
var chunks = bits.match(/(.{1,11})/g)
|
||||
- var words = chunks.map(function (binary) {
|
||||
+ var wordsAsBuffers = chunks.map(function (binary) {
|
||||
var index = binaryToByte(binary)
|
||||
- return wordlist[index]
|
||||
+ return Buffer.from(wordlist[index], 'utf8')
|
||||
})
|
||||
|
||||
- return wordlist === JAPANESE_WORDLIST ? words.join('\u3000') : words.join(' ')
|
||||
+ var bufferSize = wordsAsBuffers.reduce(function (bufferSize, wordAsBuffer, i) {
|
||||
+ var shouldAddSeparator = i < wordsAsBuffers.length - 1
|
||||
+ return (
|
||||
+ bufferSize +
|
||||
+ wordAsBuffer.length +
|
||||
+ (shouldAddSeparator ? 1 : 0)
|
||||
+ )
|
||||
+ }, 0)
|
||||
+ var separator = wordlist === JAPANESE_WORDLIST ? '\u3000' : ' '
|
||||
+ var result = wordsAsBuffers.reduce(function (result, wordAsBuffer, i) {
|
||||
+ var shouldAddSeparator = i < wordsAsBuffers.length - 1
|
||||
+ result.workingBuffer.set(wordAsBuffer, result.offset)
|
||||
+ if (shouldAddSeparator) {
|
||||
+ result.workingBuffer.write(
|
||||
+ separator,
|
||||
+ result.offset + wordAsBuffer.length,
|
||||
+ separator.length,
|
||||
+ 'utf8'
|
||||
+ )
|
||||
+ }
|
||||
+ return {
|
||||
+ workingBuffer: result.workingBuffer,
|
||||
+ offset: (
|
||||
+ result.offset +
|
||||
+ wordAsBuffer.length +
|
||||
+ (shouldAddSeparator ? 1 : 0)
|
||||
+ )
|
||||
+ }
|
||||
+ }, { workingBuffer: Buffer.alloc(bufferSize), offset: 0 })
|
||||
+ return result.workingBuffer;
|
||||
}
|
||||
|
||||
function generateMnemonic (strength, rng, wordlist) {
|
||||
@@ -124,6 +171,7 @@ function validateMnemonic (mnemonic, wordlist) {
|
||||
try {
|
||||
mnemonicToEntropy(mnemonic, wordlist)
|
||||
} catch (e) {
|
||||
+ console.log('could not validate mnemonic', e)
|
||||
return false
|
||||
}
|
||||
|
@ -1,43 +0,0 @@
|
||||
diff --git a/node_modules/eth-hd-keyring/index.js b/node_modules/eth-hd-keyring/index.js
|
||||
index 19d1d7f..350d6b8 100644
|
||||
--- a/node_modules/eth-hd-keyring/index.js
|
||||
+++ b/node_modules/eth-hd-keyring/index.js
|
||||
@@ -17,8 +17,11 @@ class HdKeyring extends SimpleKeyring {
|
||||
}
|
||||
|
||||
serialize () {
|
||||
+ const mnemonicAsBuffer = typeof this.mnemonic === 'string'
|
||||
+ ? Buffer.from(this.mnemonic, 'utf8')
|
||||
+ : this.mnemonic
|
||||
return Promise.resolve({
|
||||
- mnemonic: this.mnemonic,
|
||||
+ mnemonic: Array.from(mnemonicAsBuffer.values()),
|
||||
numberOfAccounts: this.wallets.length,
|
||||
hdPath: this.hdPath,
|
||||
})
|
||||
@@ -69,9 +72,22 @@ class HdKeyring extends SimpleKeyring {
|
||||
|
||||
/* PRIVATE METHODS */
|
||||
|
||||
- _initFromMnemonic (mnemonic) {
|
||||
- this.mnemonic = mnemonic
|
||||
- const seed = bip39.mnemonicToSeed(mnemonic)
|
||||
+ /**
|
||||
+ * Sets appropriate properties for the keyring based on the given
|
||||
+ * BIP39-compliant mnemonic.
|
||||
+ *
|
||||
+ * @param {string|Array<number>|Buffer} mnemonic - A seed phrase represented
|
||||
+ * as a string, an array of UTF-8 bytes, or a Buffer.
|
||||
+ */
|
||||
+ _initFromMnemonic(mnemonic) {
|
||||
+ if (typeof mnemonic === 'string') {
|
||||
+ this.mnemonic = Buffer.from(mnemonic, 'utf8')
|
||||
+ } else if (Array.isArray(mnemonic)) {
|
||||
+ this.mnemonic = Buffer.from(mnemonic)
|
||||
+ } else {
|
||||
+ this.mnemonic = mnemonic
|
||||
+ }
|
||||
+ const seed = bip39.mnemonicToSeed(this.mnemonic)
|
||||
this.hdWallet = hdkey.fromMasterSeed(seed)
|
||||
this.root = this.hdWallet.derivePath(this.hdPath)
|
||||
}
|
@ -1,37 +0,0 @@
|
||||
diff --git a/node_modules/eth-keyring-controller/index.js b/node_modules/eth-keyring-controller/index.js
|
||||
index 250ab98..38615aa 100644
|
||||
--- a/node_modules/eth-keyring-controller/index.js
|
||||
+++ b/node_modules/eth-keyring-controller/index.js
|
||||
@@ -84,15 +84,20 @@ class KeyringController extends EventEmitter {
|
||||
*
|
||||
* @emits KeyringController#unlock
|
||||
* @param {string} password - The password to encrypt the vault with
|
||||
- * @param {string} seed - The BIP44-compliant seed phrase.
|
||||
+ * @param {string|Array<number>} seedPhrase - The BIP39-compliant seed phrase,
|
||||
+ * either as a string or an array of UTF-8 bytes that represent the string.
|
||||
* @returns {Promise<Object>} A Promise that resolves to the state.
|
||||
*/
|
||||
- createNewVaultAndRestore (password, seed) {
|
||||
+ createNewVaultAndRestore(password, seedPhrase) {
|
||||
+ const seedPhraseAsBuffer = typeof seedPhrase === 'string'
|
||||
+ ? Buffer.from(seedPhrase, 'utf8')
|
||||
+ : Buffer.from(seedPhrase)
|
||||
+
|
||||
if (typeof password !== 'string') {
|
||||
return Promise.reject(new Error('Password must be text.'))
|
||||
}
|
||||
|
||||
- if (!bip39.validateMnemonic(seed)) {
|
||||
+ if (!bip39.validateMnemonic(seedPhraseAsBuffer)) {
|
||||
return Promise.reject(new Error('Seed phrase is invalid.'))
|
||||
}
|
||||
|
||||
@@ -101,7 +106,7 @@ class KeyringController extends EventEmitter {
|
||||
return this.persistAllKeyrings(password)
|
||||
.then(() => {
|
||||
return this.addNewKeyring('HD Key Tree', {
|
||||
- mnemonic: seed,
|
||||
+ mnemonic: seedPhraseAsBuffer,
|
||||
numberOfAccounts: 1,
|
||||
})
|
||||
})
|
76
yarn.lock
76
yarn.lock
@ -2758,6 +2758,16 @@
|
||||
semver "^7.3.5"
|
||||
yargs "^17.0.1"
|
||||
|
||||
"@metamask/bip39@^4.0.0":
|
||||
version "4.0.0"
|
||||
resolved "https://registry.yarnpkg.com/@metamask/bip39/-/bip39-4.0.0.tgz#1cb867a8454e3d45d065107b4e070d58bdb64aac"
|
||||
integrity sha512-xH2g8mFe9p2WePnKeQJH4U8MB6pWPyvwpsz4stb0YdnMOR7cKA6Jm/KOSFiPKr1i9+AzNDImt/XxhwF5ej4jXQ==
|
||||
dependencies:
|
||||
"@types/node" "11.11.6"
|
||||
create-hash "^1.1.0"
|
||||
pbkdf2 "^3.0.9"
|
||||
randombytes "^2.0.1"
|
||||
|
||||
"@metamask/contract-metadata@^1.31.0", "@metamask/contract-metadata@^1.33.0":
|
||||
version "1.33.0"
|
||||
resolved "https://registry.yarnpkg.com/@metamask/contract-metadata/-/contract-metadata-1.33.0.tgz#3f0501d5c6d9119ce09c1edb075fc0a8fed7d09c"
|
||||
@ -2845,6 +2855,47 @@
|
||||
web3 "^0.20.7"
|
||||
web3-provider-engine "^16.0.3"
|
||||
|
||||
"@metamask/controllers@^29.0.1":
|
||||
version "29.0.1"
|
||||
resolved "https://registry.yarnpkg.com/@metamask/controllers/-/controllers-29.0.1.tgz#8b6d066a23877c82de005ce566b7fd6bbaa7cc13"
|
||||
integrity sha512-jOZiaOg9E0Th2Pq75kRNMtKmku7dba6KVvKA5olEd7YB+2tzCkBh+TU16RAS1RUQzGXahWvt+kXDV/FLFa2ixg==
|
||||
dependencies:
|
||||
"@ethereumjs/common" "^2.3.1"
|
||||
"@ethereumjs/tx" "^3.2.1"
|
||||
"@keystonehq/metamask-airgapped-keyring" "^0.3.0"
|
||||
"@metamask/contract-metadata" "^1.33.0"
|
||||
"@metamask/metamask-eth-abis" "3.0.0"
|
||||
"@metamask/types" "^1.1.0"
|
||||
"@types/uuid" "^8.3.0"
|
||||
abort-controller "^3.0.0"
|
||||
async-mutex "^0.2.6"
|
||||
babel-runtime "^6.26.0"
|
||||
deep-freeze-strict "^1.1.1"
|
||||
eth-ens-namehash "^2.0.8"
|
||||
eth-json-rpc-infura "^5.1.0"
|
||||
eth-keyring-controller "^7.0.2"
|
||||
eth-method-registry "1.1.0"
|
||||
eth-phishing-detect "^1.1.16"
|
||||
eth-query "^2.1.2"
|
||||
eth-rpc-errors "^4.0.0"
|
||||
eth-sig-util "^3.0.0"
|
||||
ethereumjs-util "^7.0.10"
|
||||
ethereumjs-wallet "^1.0.1"
|
||||
ethers "^5.4.1"
|
||||
ethjs-unit "^0.1.6"
|
||||
fast-deep-equal "^3.1.3"
|
||||
immer "^9.0.6"
|
||||
isomorphic-fetch "^3.0.0"
|
||||
json-rpc-engine "^6.1.0"
|
||||
jsonschema "^1.2.4"
|
||||
multiformats "^9.5.2"
|
||||
nanoid "^3.1.31"
|
||||
punycode "^2.1.1"
|
||||
single-call-balance-checker-abi "^1.0.0"
|
||||
uuid "^8.3.2"
|
||||
web3 "^0.20.7"
|
||||
web3-provider-engine "^16.0.3"
|
||||
|
||||
"@metamask/design-tokens@^1.5.1":
|
||||
version "1.5.1"
|
||||
resolved "https://registry.yarnpkg.com/@metamask/design-tokens/-/design-tokens-1.5.1.tgz#723f10bc5fe03ce14d47b1ad6190a835df62745a"
|
||||
@ -2875,6 +2926,17 @@
|
||||
resolved "https://registry.yarnpkg.com/@metamask/eslint-config/-/eslint-config-9.0.0.tgz#22d4911b705f7e4e566efbdda0e37912da33e30f"
|
||||
integrity sha512-mWlLGQKjXXFOj9EtDClKSoTLeQuPW2kM1w3EpUMf4goYAQ+kLXCCa8pEff6h8ApWAnjhYmXydA1znQ2J4XvD+A==
|
||||
|
||||
"@metamask/eth-hd-keyring@^4.0.2":
|
||||
version "4.0.2"
|
||||
resolved "https://registry.yarnpkg.com/@metamask/eth-hd-keyring/-/eth-hd-keyring-4.0.2.tgz#0a81556a556b361755c8d6fb5aced1ce5be0331c"
|
||||
integrity sha512-v47VOTCCmZUZ6uxM5tQNoasQjLdrZADmgph2fhk4m7zKVUxDvYFU7FJT3Rm55fk8mg+dKSbEObDriqbdWeBbcA==
|
||||
dependencies:
|
||||
"@metamask/bip39" "^4.0.0"
|
||||
"@metamask/eth-sig-util" "^4.0.0"
|
||||
eth-simple-keyring "^4.2.0"
|
||||
ethereumjs-util "^7.0.9"
|
||||
ethereumjs-wallet "^1.0.1"
|
||||
|
||||
"@metamask/eth-ledger-bridge-keyring@^0.12.0":
|
||||
version "0.12.0"
|
||||
resolved "https://registry.yarnpkg.com/@metamask/eth-ledger-bridge-keyring/-/eth-ledger-bridge-keyring-0.12.0.tgz#d3986e0dbbfeab713f4e0338bf4e5c74a2265bdd"
|
||||
@ -11204,7 +11266,7 @@ eth-json-rpc-middleware@^8.0.0:
|
||||
node-fetch "^2.6.7"
|
||||
pify "^3.0.0"
|
||||
|
||||
eth-keyring-controller@^6.2.0, eth-keyring-controller@^6.2.1:
|
||||
eth-keyring-controller@^6.2.1:
|
||||
version "6.2.1"
|
||||
resolved "https://registry.yarnpkg.com/eth-keyring-controller/-/eth-keyring-controller-6.2.1.tgz#61901071fc74059ed37cb5ae93870fdcae6e3781"
|
||||
integrity sha512-x2gTM1iHp2Kbvdtd9Eslysw0qzVZiqOzpVB3AU/ni2Xiit+rlcv2H80zYKjrEwlfWFDj4YILD3bOqlnEMmRJOA==
|
||||
@ -11219,6 +11281,18 @@ eth-keyring-controller@^6.2.0, eth-keyring-controller@^6.2.1:
|
||||
loglevel "^1.5.0"
|
||||
obs-store "^4.0.3"
|
||||
|
||||
eth-keyring-controller@^7.0.2:
|
||||
version "7.0.2"
|
||||
resolved "https://registry.yarnpkg.com/eth-keyring-controller/-/eth-keyring-controller-7.0.2.tgz#c4d7f9be179f08b3bb18410066bc4c8e91f50552"
|
||||
integrity sha512-U4bqbXkTn7js/47rnFtVyBYQcvOKtmraD/YReBwuy4R56bFSJN8kinP0JJRl3WTtVfVS1l5A/jjsF3qk5TaTeg==
|
||||
dependencies:
|
||||
"@metamask/bip39" "^4.0.0"
|
||||
"@metamask/eth-hd-keyring" "^4.0.2"
|
||||
browser-passworder "^2.0.3"
|
||||
eth-sig-util "^3.0.1"
|
||||
eth-simple-keyring "^4.2.0"
|
||||
obs-store "^4.0.3"
|
||||
|
||||
eth-lattice-keyring@^0.7.3:
|
||||
version "0.7.3"
|
||||
resolved "https://registry.yarnpkg.com/eth-lattice-keyring/-/eth-lattice-keyring-0.7.3.tgz#fe27b1ff3f81535506be5804801da1bfdc379cbe"
|
||||
|
Loading…
Reference in New Issue
Block a user