mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 01:47:00 +01:00
Dedupe bn.js (#20199)
* force latest version of dependency bn.js to @5.2.1 * test - fix broken standin data given to bn.js --------- Co-authored-by: kumavis <aaron@kumavis.me> Co-authored-by: Brad Decker <bhdecker84@gmail.com>
This commit is contained in:
parent
6e5ab2a945
commit
41f66271db
@ -308,15 +308,7 @@
|
|||||||
"packages": {
|
"packages": {
|
||||||
"@ethersproject/abi>@ethersproject/bytes": true,
|
"@ethersproject/abi>@ethersproject/bytes": true,
|
||||||
"@ethersproject/abi>@ethersproject/logger": true,
|
"@ethersproject/abi>@ethersproject/logger": true,
|
||||||
"@ethersproject/bignumber>bn.js": true
|
"bn.js": true
|
||||||
}
|
|
||||||
},
|
|
||||||
"@ethersproject/bignumber>bn.js": {
|
|
||||||
"globals": {
|
|
||||||
"Buffer": true
|
|
||||||
},
|
|
||||||
"packages": {
|
|
||||||
"browserify>browser-resolve": true
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@ethersproject/contracts": {
|
"@ethersproject/contracts": {
|
||||||
@ -1200,11 +1192,11 @@
|
|||||||
"setInterval": true
|
"setInterval": true
|
||||||
},
|
},
|
||||||
"packages": {
|
"packages": {
|
||||||
"@metamask/eth-token-tracker>ethjs>bn.js": true,
|
|
||||||
"@metamask/eth-token-tracker>ethjs>ethjs-abi": true,
|
"@metamask/eth-token-tracker>ethjs>ethjs-abi": true,
|
||||||
"@metamask/eth-token-tracker>ethjs>ethjs-contract": true,
|
"@metamask/eth-token-tracker>ethjs>ethjs-contract": true,
|
||||||
"@metamask/eth-token-tracker>ethjs>ethjs-query": true,
|
"@metamask/eth-token-tracker>ethjs>ethjs-query": true,
|
||||||
"@metamask/eth-token-tracker>ethjs>ethjs-util": true,
|
"@metamask/eth-token-tracker>ethjs>ethjs-util": true,
|
||||||
|
"bn.js": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"ethjs>ethjs-filter": true,
|
"ethjs>ethjs-filter": true,
|
||||||
"ethjs>ethjs-provider-http": true,
|
"ethjs>ethjs-provider-http": true,
|
||||||
@ -1215,7 +1207,7 @@
|
|||||||
},
|
},
|
||||||
"@metamask/eth-token-tracker>ethjs>ethjs-abi": {
|
"@metamask/eth-token-tracker>ethjs>ethjs-abi": {
|
||||||
"packages": {
|
"packages": {
|
||||||
"@metamask/eth-token-tracker>ethjs>bn.js": true,
|
"bn.js": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"ethjs>js-sha3": true,
|
"ethjs>js-sha3": true,
|
||||||
"ethjs>number-to-bn": true
|
"ethjs>number-to-bn": true
|
||||||
@ -1233,7 +1225,7 @@
|
|||||||
},
|
},
|
||||||
"@metamask/eth-token-tracker>ethjs>ethjs-contract>ethjs-abi": {
|
"@metamask/eth-token-tracker>ethjs>ethjs-contract>ethjs-abi": {
|
||||||
"packages": {
|
"packages": {
|
||||||
"@metamask/eth-token-tracker>ethjs>bn.js": true,
|
"bn.js": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"ethjs>js-sha3": true,
|
"ethjs>js-sha3": true,
|
||||||
"ethjs>number-to-bn": true
|
"ethjs>number-to-bn": true
|
||||||
@ -1595,7 +1587,7 @@
|
|||||||
},
|
},
|
||||||
"@metamask/keyring-controller>ethereumjs-wallet>ethereumjs-util": {
|
"@metamask/keyring-controller>ethereumjs-wallet>ethereumjs-util": {
|
||||||
"packages": {
|
"packages": {
|
||||||
"@metamask/keyring-controller>ethereumjs-wallet>ethereumjs-util>bn.js": true,
|
"bn.js": true,
|
||||||
"browserify>assert": true,
|
"browserify>assert": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"browserify>insert-module-globals>is-buffer": true,
|
"browserify>insert-module-globals>is-buffer": true,
|
||||||
@ -1604,14 +1596,6 @@
|
|||||||
"ethereumjs-util>rlp": true
|
"ethereumjs-util>rlp": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@metamask/keyring-controller>ethereumjs-wallet>ethereumjs-util>bn.js": {
|
|
||||||
"globals": {
|
|
||||||
"Buffer": true
|
|
||||||
},
|
|
||||||
"packages": {
|
|
||||||
"browserify>browser-resolve": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@metamask/logo": {
|
"@metamask/logo": {
|
||||||
"globals": {
|
"globals": {
|
||||||
"addEventListener": true,
|
"addEventListener": true,
|
||||||
@ -2271,11 +2255,11 @@
|
|||||||
"@truffle/codec>@truffle/abi-utils": true,
|
"@truffle/codec>@truffle/abi-utils": true,
|
||||||
"@truffle/codec>@truffle/compile-common": true,
|
"@truffle/codec>@truffle/compile-common": true,
|
||||||
"@truffle/codec>big.js": true,
|
"@truffle/codec>big.js": true,
|
||||||
"@truffle/codec>bn.js": true,
|
|
||||||
"@truffle/codec>cbor": true,
|
"@truffle/codec>cbor": true,
|
||||||
"@truffle/codec>semver": true,
|
"@truffle/codec>semver": true,
|
||||||
"@truffle/codec>utf8": true,
|
"@truffle/codec>utf8": true,
|
||||||
"@truffle/codec>web3-utils": true,
|
"@truffle/codec>web3-utils": true,
|
||||||
|
"bn.js": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"browserify>os-browserify": true,
|
"browserify>os-browserify": true,
|
||||||
"browserify>util": true,
|
"browserify>util": true,
|
||||||
@ -2432,14 +2416,6 @@
|
|||||||
"define": true
|
"define": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@truffle/codec>bn.js": {
|
|
||||||
"globals": {
|
|
||||||
"Buffer": true
|
|
||||||
},
|
|
||||||
"packages": {
|
|
||||||
"browserify>browser-resolve": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@truffle/codec>cbor": {
|
"@truffle/codec>cbor": {
|
||||||
"globals": {
|
"globals": {
|
||||||
"TextDecoder": true
|
"TextDecoder": true
|
||||||
@ -2482,8 +2458,8 @@
|
|||||||
},
|
},
|
||||||
"packages": {
|
"packages": {
|
||||||
"@truffle/codec>utf8": true,
|
"@truffle/codec>utf8": true,
|
||||||
"@truffle/codec>web3-utils>bn.js": true,
|
|
||||||
"@truffle/codec>web3-utils>ethereum-bloom-filters": true,
|
"@truffle/codec>web3-utils>ethereum-bloom-filters": true,
|
||||||
|
"bn.js": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"ethereumjs-util": true,
|
"ethereumjs-util": true,
|
||||||
"ethereumjs-wallet>randombytes": true,
|
"ethereumjs-wallet>randombytes": true,
|
||||||
@ -2491,14 +2467,6 @@
|
|||||||
"ethjs>number-to-bn": true
|
"ethjs>number-to-bn": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@truffle/codec>web3-utils>bn.js": {
|
|
||||||
"globals": {
|
|
||||||
"Buffer": true
|
|
||||||
},
|
|
||||||
"packages": {
|
|
||||||
"browserify>browser-resolve": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@truffle/codec>web3-utils>ethereum-bloom-filters": {
|
"@truffle/codec>web3-utils>ethereum-bloom-filters": {
|
||||||
"packages": {
|
"packages": {
|
||||||
"@truffle/codec>web3-utils>ethereum-bloom-filters>js-sha3": true
|
"@truffle/codec>web3-utils>ethereum-bloom-filters>js-sha3": true
|
||||||
@ -2520,7 +2488,7 @@
|
|||||||
"@truffle/codec>web3-utils": true,
|
"@truffle/codec>web3-utils": true,
|
||||||
"@truffle/decoder>@truffle/encoder": true,
|
"@truffle/decoder>@truffle/encoder": true,
|
||||||
"@truffle/decoder>@truffle/source-map-utils": true,
|
"@truffle/decoder>@truffle/source-map-utils": true,
|
||||||
"@truffle/decoder>bn.js": true,
|
"bn.js": true,
|
||||||
"nock>debug": true
|
"nock>debug": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -2742,14 +2710,6 @@
|
|||||||
"@truffle/decoder>@truffle/source-map-utils>node-interval-tree>shallowequal": true
|
"@truffle/decoder>@truffle/source-map-utils>node-interval-tree>shallowequal": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@truffle/decoder>bn.js": {
|
|
||||||
"globals": {
|
|
||||||
"Buffer": true
|
|
||||||
},
|
|
||||||
"packages": {
|
|
||||||
"browserify>browser-resolve": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@zxing/browser": {
|
"@zxing/browser": {
|
||||||
"globals": {
|
"globals": {
|
||||||
"HTMLElement": true,
|
"HTMLElement": true,
|
||||||
@ -3289,11 +3249,11 @@
|
|||||||
},
|
},
|
||||||
"packages": {
|
"packages": {
|
||||||
"@ethereumjs/tx>@ethereumjs/util": true,
|
"@ethereumjs/tx>@ethereumjs/util": true,
|
||||||
|
"bn.js": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"browserify>crypto-browserify": true,
|
"browserify>crypto-browserify": true,
|
||||||
"browserify>events": true,
|
"browserify>events": true,
|
||||||
"eth-lattice-keyring>@ethereumjs/tx": true,
|
"eth-lattice-keyring>@ethereumjs/tx": true,
|
||||||
"eth-lattice-keyring>bn.js": true,
|
|
||||||
"eth-lattice-keyring>gridplus-sdk": true,
|
"eth-lattice-keyring>gridplus-sdk": true,
|
||||||
"eth-lattice-keyring>rlp": true
|
"eth-lattice-keyring>rlp": true
|
||||||
}
|
}
|
||||||
@ -3341,14 +3301,6 @@
|
|||||||
"crypto": true
|
"crypto": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"eth-lattice-keyring>bn.js": {
|
|
||||||
"globals": {
|
|
||||||
"Buffer": true
|
|
||||||
},
|
|
||||||
"packages": {
|
|
||||||
"browserify>browser-resolve": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"eth-lattice-keyring>gridplus-sdk": {
|
"eth-lattice-keyring>gridplus-sdk": {
|
||||||
"globals": {
|
"globals": {
|
||||||
"AbortController": true,
|
"AbortController": true,
|
||||||
@ -3469,19 +3421,11 @@
|
|||||||
"intToBuffer": true
|
"intToBuffer": true
|
||||||
},
|
},
|
||||||
"packages": {
|
"packages": {
|
||||||
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser>bn.js": true,
|
"bn.js": true,
|
||||||
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser>buffer": true,
|
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser>buffer": true,
|
||||||
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser>js-sha3": true
|
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser>js-sha3": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser>bn.js": {
|
|
||||||
"globals": {
|
|
||||||
"Buffer": true
|
|
||||||
},
|
|
||||||
"packages": {
|
|
||||||
"browserify>browser-resolve": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser>buffer": {
|
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser>buffer": {
|
||||||
"globals": {
|
"globals": {
|
||||||
"console": true
|
"console": true
|
||||||
@ -3613,23 +3557,15 @@
|
|||||||
},
|
},
|
||||||
"ethereumjs-util": {
|
"ethereumjs-util": {
|
||||||
"packages": {
|
"packages": {
|
||||||
|
"bn.js": true,
|
||||||
"browserify>assert": true,
|
"browserify>assert": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"browserify>insert-module-globals>is-buffer": true,
|
"browserify>insert-module-globals>is-buffer": true,
|
||||||
"ethereumjs-util>bn.js": true,
|
|
||||||
"ethereumjs-util>create-hash": true,
|
"ethereumjs-util>create-hash": true,
|
||||||
"ethereumjs-util>ethereum-cryptography": true,
|
"ethereumjs-util>ethereum-cryptography": true,
|
||||||
"ethereumjs-util>rlp": true
|
"ethereumjs-util>rlp": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ethereumjs-util>bn.js": {
|
|
||||||
"globals": {
|
|
||||||
"Buffer": true
|
|
||||||
},
|
|
||||||
"packages": {
|
|
||||||
"browserify>browser-resolve": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"ethereumjs-util>create-hash": {
|
"ethereumjs-util>create-hash": {
|
||||||
"packages": {
|
"packages": {
|
||||||
"addons-linter>sha.js": true,
|
"addons-linter>sha.js": true,
|
||||||
@ -3746,16 +3682,8 @@
|
|||||||
},
|
},
|
||||||
"ethereumjs-util>rlp": {
|
"ethereumjs-util>rlp": {
|
||||||
"packages": {
|
"packages": {
|
||||||
"browserify>buffer": true,
|
"bn.js": true,
|
||||||
"ethereumjs-util>rlp>bn.js": true
|
"browserify>buffer": true
|
||||||
}
|
|
||||||
},
|
|
||||||
"ethereumjs-util>rlp>bn.js": {
|
|
||||||
"globals": {
|
|
||||||
"Buffer": true
|
|
||||||
},
|
|
||||||
"packages": {
|
|
||||||
"browserify>browser-resolve": true
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ethereumjs-wallet": {
|
"ethereumjs-wallet": {
|
||||||
@ -3843,10 +3771,10 @@
|
|||||||
"setInterval": true
|
"setInterval": true
|
||||||
},
|
},
|
||||||
"packages": {
|
"packages": {
|
||||||
|
"bn.js": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"ethjs-contract": true,
|
"ethjs-contract": true,
|
||||||
"ethjs-query": true,
|
"ethjs-query": true,
|
||||||
"ethjs>bn.js": true,
|
|
||||||
"ethjs>ethjs-abi": true,
|
"ethjs>ethjs-abi": true,
|
||||||
"ethjs>ethjs-filter": true,
|
"ethjs>ethjs-filter": true,
|
||||||
"ethjs>ethjs-provider-http": true,
|
"ethjs>ethjs-provider-http": true,
|
||||||
@ -3868,8 +3796,8 @@
|
|||||||
},
|
},
|
||||||
"ethjs-contract>ethjs-abi": {
|
"ethjs-contract>ethjs-abi": {
|
||||||
"packages": {
|
"packages": {
|
||||||
|
"bn.js": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"ethjs-contract>ethjs-abi>bn.js": true,
|
|
||||||
"ethjs>js-sha3": true,
|
"ethjs>js-sha3": true,
|
||||||
"ethjs>number-to-bn": true
|
"ethjs>number-to-bn": true
|
||||||
}
|
}
|
||||||
@ -3930,8 +3858,8 @@
|
|||||||
},
|
},
|
||||||
"ethjs>ethjs-abi": {
|
"ethjs>ethjs-abi": {
|
||||||
"packages": {
|
"packages": {
|
||||||
|
"bn.js": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"ethjs>bn.js": true,
|
|
||||||
"ethjs>js-sha3": true,
|
"ethjs>js-sha3": true,
|
||||||
"ethjs>number-to-bn": true
|
"ethjs>number-to-bn": true
|
||||||
}
|
}
|
||||||
@ -3954,7 +3882,7 @@
|
|||||||
},
|
},
|
||||||
"ethjs>ethjs-unit": {
|
"ethjs>ethjs-unit": {
|
||||||
"packages": {
|
"packages": {
|
||||||
"ethjs>ethjs-unit>bn.js": true,
|
"bn.js": true,
|
||||||
"ethjs>number-to-bn": true
|
"ethjs>number-to-bn": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -3977,8 +3905,8 @@
|
|||||||
},
|
},
|
||||||
"ethjs>number-to-bn": {
|
"ethjs>number-to-bn": {
|
||||||
"packages": {
|
"packages": {
|
||||||
"ethjs>ethjs-util>strip-hex-prefix": true,
|
"bn.js": true,
|
||||||
"ethjs>number-to-bn>bn.js": true
|
"ethjs>ethjs-util>strip-hex-prefix": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"extension-port-stream": {
|
"extension-port-stream": {
|
||||||
|
@ -308,15 +308,7 @@
|
|||||||
"packages": {
|
"packages": {
|
||||||
"@ethersproject/abi>@ethersproject/bytes": true,
|
"@ethersproject/abi>@ethersproject/bytes": true,
|
||||||
"@ethersproject/abi>@ethersproject/logger": true,
|
"@ethersproject/abi>@ethersproject/logger": true,
|
||||||
"@ethersproject/bignumber>bn.js": true
|
"bn.js": true
|
||||||
}
|
|
||||||
},
|
|
||||||
"@ethersproject/bignumber>bn.js": {
|
|
||||||
"globals": {
|
|
||||||
"Buffer": true
|
|
||||||
},
|
|
||||||
"packages": {
|
|
||||||
"browserify>browser-resolve": true
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@ethersproject/contracts": {
|
"@ethersproject/contracts": {
|
||||||
@ -1328,11 +1320,11 @@
|
|||||||
"setInterval": true
|
"setInterval": true
|
||||||
},
|
},
|
||||||
"packages": {
|
"packages": {
|
||||||
"@metamask/eth-token-tracker>ethjs>bn.js": true,
|
|
||||||
"@metamask/eth-token-tracker>ethjs>ethjs-abi": true,
|
"@metamask/eth-token-tracker>ethjs>ethjs-abi": true,
|
||||||
"@metamask/eth-token-tracker>ethjs>ethjs-contract": true,
|
"@metamask/eth-token-tracker>ethjs>ethjs-contract": true,
|
||||||
"@metamask/eth-token-tracker>ethjs>ethjs-query": true,
|
"@metamask/eth-token-tracker>ethjs>ethjs-query": true,
|
||||||
"@metamask/eth-token-tracker>ethjs>ethjs-util": true,
|
"@metamask/eth-token-tracker>ethjs>ethjs-util": true,
|
||||||
|
"bn.js": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"ethjs>ethjs-filter": true,
|
"ethjs>ethjs-filter": true,
|
||||||
"ethjs>ethjs-provider-http": true,
|
"ethjs>ethjs-provider-http": true,
|
||||||
@ -1343,7 +1335,7 @@
|
|||||||
},
|
},
|
||||||
"@metamask/eth-token-tracker>ethjs>ethjs-abi": {
|
"@metamask/eth-token-tracker>ethjs>ethjs-abi": {
|
||||||
"packages": {
|
"packages": {
|
||||||
"@metamask/eth-token-tracker>ethjs>bn.js": true,
|
"bn.js": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"ethjs>js-sha3": true,
|
"ethjs>js-sha3": true,
|
||||||
"ethjs>number-to-bn": true
|
"ethjs>number-to-bn": true
|
||||||
@ -1361,7 +1353,7 @@
|
|||||||
},
|
},
|
||||||
"@metamask/eth-token-tracker>ethjs>ethjs-contract>ethjs-abi": {
|
"@metamask/eth-token-tracker>ethjs>ethjs-contract>ethjs-abi": {
|
||||||
"packages": {
|
"packages": {
|
||||||
"@metamask/eth-token-tracker>ethjs>bn.js": true,
|
"bn.js": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"ethjs>js-sha3": true,
|
"ethjs>js-sha3": true,
|
||||||
"ethjs>number-to-bn": true
|
"ethjs>number-to-bn": true
|
||||||
@ -1746,7 +1738,7 @@
|
|||||||
},
|
},
|
||||||
"@metamask/keyring-controller>ethereumjs-wallet>ethereumjs-util": {
|
"@metamask/keyring-controller>ethereumjs-wallet>ethereumjs-util": {
|
||||||
"packages": {
|
"packages": {
|
||||||
"@metamask/keyring-controller>ethereumjs-wallet>ethereumjs-util>bn.js": true,
|
"bn.js": true,
|
||||||
"browserify>assert": true,
|
"browserify>assert": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"browserify>insert-module-globals>is-buffer": true,
|
"browserify>insert-module-globals>is-buffer": true,
|
||||||
@ -1755,14 +1747,6 @@
|
|||||||
"ethereumjs-util>rlp": true
|
"ethereumjs-util>rlp": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@metamask/keyring-controller>ethereumjs-wallet>ethereumjs-util>bn.js": {
|
|
||||||
"globals": {
|
|
||||||
"Buffer": true
|
|
||||||
},
|
|
||||||
"packages": {
|
|
||||||
"browserify>browser-resolve": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@metamask/logo": {
|
"@metamask/logo": {
|
||||||
"globals": {
|
"globals": {
|
||||||
"addEventListener": true,
|
"addEventListener": true,
|
||||||
@ -2767,11 +2751,11 @@
|
|||||||
"@truffle/codec>@truffle/abi-utils": true,
|
"@truffle/codec>@truffle/abi-utils": true,
|
||||||
"@truffle/codec>@truffle/compile-common": true,
|
"@truffle/codec>@truffle/compile-common": true,
|
||||||
"@truffle/codec>big.js": true,
|
"@truffle/codec>big.js": true,
|
||||||
"@truffle/codec>bn.js": true,
|
|
||||||
"@truffle/codec>cbor": true,
|
"@truffle/codec>cbor": true,
|
||||||
"@truffle/codec>semver": true,
|
"@truffle/codec>semver": true,
|
||||||
"@truffle/codec>utf8": true,
|
"@truffle/codec>utf8": true,
|
||||||
"@truffle/codec>web3-utils": true,
|
"@truffle/codec>web3-utils": true,
|
||||||
|
"bn.js": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"browserify>os-browserify": true,
|
"browserify>os-browserify": true,
|
||||||
"browserify>util": true,
|
"browserify>util": true,
|
||||||
@ -2928,14 +2912,6 @@
|
|||||||
"define": true
|
"define": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@truffle/codec>bn.js": {
|
|
||||||
"globals": {
|
|
||||||
"Buffer": true
|
|
||||||
},
|
|
||||||
"packages": {
|
|
||||||
"browserify>browser-resolve": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@truffle/codec>cbor": {
|
"@truffle/codec>cbor": {
|
||||||
"globals": {
|
"globals": {
|
||||||
"TextDecoder": true
|
"TextDecoder": true
|
||||||
@ -2978,8 +2954,8 @@
|
|||||||
},
|
},
|
||||||
"packages": {
|
"packages": {
|
||||||
"@truffle/codec>utf8": true,
|
"@truffle/codec>utf8": true,
|
||||||
"@truffle/codec>web3-utils>bn.js": true,
|
|
||||||
"@truffle/codec>web3-utils>ethereum-bloom-filters": true,
|
"@truffle/codec>web3-utils>ethereum-bloom-filters": true,
|
||||||
|
"bn.js": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"ethereumjs-util": true,
|
"ethereumjs-util": true,
|
||||||
"ethereumjs-wallet>randombytes": true,
|
"ethereumjs-wallet>randombytes": true,
|
||||||
@ -2987,14 +2963,6 @@
|
|||||||
"ethjs>number-to-bn": true
|
"ethjs>number-to-bn": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@truffle/codec>web3-utils>bn.js": {
|
|
||||||
"globals": {
|
|
||||||
"Buffer": true
|
|
||||||
},
|
|
||||||
"packages": {
|
|
||||||
"browserify>browser-resolve": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@truffle/codec>web3-utils>ethereum-bloom-filters": {
|
"@truffle/codec>web3-utils>ethereum-bloom-filters": {
|
||||||
"packages": {
|
"packages": {
|
||||||
"@truffle/codec>web3-utils>ethereum-bloom-filters>js-sha3": true
|
"@truffle/codec>web3-utils>ethereum-bloom-filters>js-sha3": true
|
||||||
@ -3016,7 +2984,7 @@
|
|||||||
"@truffle/codec>web3-utils": true,
|
"@truffle/codec>web3-utils": true,
|
||||||
"@truffle/decoder>@truffle/encoder": true,
|
"@truffle/decoder>@truffle/encoder": true,
|
||||||
"@truffle/decoder>@truffle/source-map-utils": true,
|
"@truffle/decoder>@truffle/source-map-utils": true,
|
||||||
"@truffle/decoder>bn.js": true,
|
"bn.js": true,
|
||||||
"nock>debug": true
|
"nock>debug": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -3238,14 +3206,6 @@
|
|||||||
"@truffle/decoder>@truffle/source-map-utils>node-interval-tree>shallowequal": true
|
"@truffle/decoder>@truffle/source-map-utils>node-interval-tree>shallowequal": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@truffle/decoder>bn.js": {
|
|
||||||
"globals": {
|
|
||||||
"Buffer": true
|
|
||||||
},
|
|
||||||
"packages": {
|
|
||||||
"browserify>browser-resolve": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@zxing/browser": {
|
"@zxing/browser": {
|
||||||
"globals": {
|
"globals": {
|
||||||
"HTMLElement": true,
|
"HTMLElement": true,
|
||||||
@ -3785,11 +3745,11 @@
|
|||||||
},
|
},
|
||||||
"packages": {
|
"packages": {
|
||||||
"@ethereumjs/tx>@ethereumjs/util": true,
|
"@ethereumjs/tx>@ethereumjs/util": true,
|
||||||
|
"bn.js": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"browserify>crypto-browserify": true,
|
"browserify>crypto-browserify": true,
|
||||||
"browserify>events": true,
|
"browserify>events": true,
|
||||||
"eth-lattice-keyring>@ethereumjs/tx": true,
|
"eth-lattice-keyring>@ethereumjs/tx": true,
|
||||||
"eth-lattice-keyring>bn.js": true,
|
|
||||||
"eth-lattice-keyring>gridplus-sdk": true,
|
"eth-lattice-keyring>gridplus-sdk": true,
|
||||||
"eth-lattice-keyring>rlp": true
|
"eth-lattice-keyring>rlp": true
|
||||||
}
|
}
|
||||||
@ -3837,14 +3797,6 @@
|
|||||||
"crypto": true
|
"crypto": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"eth-lattice-keyring>bn.js": {
|
|
||||||
"globals": {
|
|
||||||
"Buffer": true
|
|
||||||
},
|
|
||||||
"packages": {
|
|
||||||
"browserify>browser-resolve": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"eth-lattice-keyring>gridplus-sdk": {
|
"eth-lattice-keyring>gridplus-sdk": {
|
||||||
"globals": {
|
"globals": {
|
||||||
"AbortController": true,
|
"AbortController": true,
|
||||||
@ -3965,19 +3917,11 @@
|
|||||||
"intToBuffer": true
|
"intToBuffer": true
|
||||||
},
|
},
|
||||||
"packages": {
|
"packages": {
|
||||||
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser>bn.js": true,
|
"bn.js": true,
|
||||||
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser>buffer": true,
|
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser>buffer": true,
|
||||||
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser>js-sha3": true
|
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser>js-sha3": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser>bn.js": {
|
|
||||||
"globals": {
|
|
||||||
"Buffer": true
|
|
||||||
},
|
|
||||||
"packages": {
|
|
||||||
"browserify>browser-resolve": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser>buffer": {
|
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser>buffer": {
|
||||||
"globals": {
|
"globals": {
|
||||||
"console": true
|
"console": true
|
||||||
@ -4109,23 +4053,15 @@
|
|||||||
},
|
},
|
||||||
"ethereumjs-util": {
|
"ethereumjs-util": {
|
||||||
"packages": {
|
"packages": {
|
||||||
|
"bn.js": true,
|
||||||
"browserify>assert": true,
|
"browserify>assert": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"browserify>insert-module-globals>is-buffer": true,
|
"browserify>insert-module-globals>is-buffer": true,
|
||||||
"ethereumjs-util>bn.js": true,
|
|
||||||
"ethereumjs-util>create-hash": true,
|
"ethereumjs-util>create-hash": true,
|
||||||
"ethereumjs-util>ethereum-cryptography": true,
|
"ethereumjs-util>ethereum-cryptography": true,
|
||||||
"ethereumjs-util>rlp": true
|
"ethereumjs-util>rlp": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ethereumjs-util>bn.js": {
|
|
||||||
"globals": {
|
|
||||||
"Buffer": true
|
|
||||||
},
|
|
||||||
"packages": {
|
|
||||||
"browserify>browser-resolve": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"ethereumjs-util>create-hash": {
|
"ethereumjs-util>create-hash": {
|
||||||
"packages": {
|
"packages": {
|
||||||
"addons-linter>sha.js": true,
|
"addons-linter>sha.js": true,
|
||||||
@ -4242,16 +4178,8 @@
|
|||||||
},
|
},
|
||||||
"ethereumjs-util>rlp": {
|
"ethereumjs-util>rlp": {
|
||||||
"packages": {
|
"packages": {
|
||||||
"browserify>buffer": true,
|
"bn.js": true,
|
||||||
"ethereumjs-util>rlp>bn.js": true
|
"browserify>buffer": true
|
||||||
}
|
|
||||||
},
|
|
||||||
"ethereumjs-util>rlp>bn.js": {
|
|
||||||
"globals": {
|
|
||||||
"Buffer": true
|
|
||||||
},
|
|
||||||
"packages": {
|
|
||||||
"browserify>browser-resolve": true
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ethereumjs-wallet": {
|
"ethereumjs-wallet": {
|
||||||
@ -4339,10 +4267,10 @@
|
|||||||
"setInterval": true
|
"setInterval": true
|
||||||
},
|
},
|
||||||
"packages": {
|
"packages": {
|
||||||
|
"bn.js": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"ethjs-contract": true,
|
"ethjs-contract": true,
|
||||||
"ethjs-query": true,
|
"ethjs-query": true,
|
||||||
"ethjs>bn.js": true,
|
|
||||||
"ethjs>ethjs-abi": true,
|
"ethjs>ethjs-abi": true,
|
||||||
"ethjs>ethjs-filter": true,
|
"ethjs>ethjs-filter": true,
|
||||||
"ethjs>ethjs-provider-http": true,
|
"ethjs>ethjs-provider-http": true,
|
||||||
@ -4364,8 +4292,8 @@
|
|||||||
},
|
},
|
||||||
"ethjs-contract>ethjs-abi": {
|
"ethjs-contract>ethjs-abi": {
|
||||||
"packages": {
|
"packages": {
|
||||||
|
"bn.js": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"ethjs-contract>ethjs-abi>bn.js": true,
|
|
||||||
"ethjs>js-sha3": true,
|
"ethjs>js-sha3": true,
|
||||||
"ethjs>number-to-bn": true
|
"ethjs>number-to-bn": true
|
||||||
}
|
}
|
||||||
@ -4426,8 +4354,8 @@
|
|||||||
},
|
},
|
||||||
"ethjs>ethjs-abi": {
|
"ethjs>ethjs-abi": {
|
||||||
"packages": {
|
"packages": {
|
||||||
|
"bn.js": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"ethjs>bn.js": true,
|
|
||||||
"ethjs>js-sha3": true,
|
"ethjs>js-sha3": true,
|
||||||
"ethjs>number-to-bn": true
|
"ethjs>number-to-bn": true
|
||||||
}
|
}
|
||||||
@ -4450,7 +4378,7 @@
|
|||||||
},
|
},
|
||||||
"ethjs>ethjs-unit": {
|
"ethjs>ethjs-unit": {
|
||||||
"packages": {
|
"packages": {
|
||||||
"ethjs>ethjs-unit>bn.js": true,
|
"bn.js": true,
|
||||||
"ethjs>number-to-bn": true
|
"ethjs>number-to-bn": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -4473,8 +4401,8 @@
|
|||||||
},
|
},
|
||||||
"ethjs>number-to-bn": {
|
"ethjs>number-to-bn": {
|
||||||
"packages": {
|
"packages": {
|
||||||
"ethjs>ethjs-util>strip-hex-prefix": true,
|
"bn.js": true,
|
||||||
"ethjs>number-to-bn>bn.js": true
|
"ethjs>ethjs-util>strip-hex-prefix": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"extension-port-stream": {
|
"extension-port-stream": {
|
||||||
|
@ -308,15 +308,7 @@
|
|||||||
"packages": {
|
"packages": {
|
||||||
"@ethersproject/abi>@ethersproject/bytes": true,
|
"@ethersproject/abi>@ethersproject/bytes": true,
|
||||||
"@ethersproject/abi>@ethersproject/logger": true,
|
"@ethersproject/abi>@ethersproject/logger": true,
|
||||||
"@ethersproject/bignumber>bn.js": true
|
"bn.js": true
|
||||||
}
|
|
||||||
},
|
|
||||||
"@ethersproject/bignumber>bn.js": {
|
|
||||||
"globals": {
|
|
||||||
"Buffer": true
|
|
||||||
},
|
|
||||||
"packages": {
|
|
||||||
"browserify>browser-resolve": true
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@ethersproject/contracts": {
|
"@ethersproject/contracts": {
|
||||||
@ -1328,11 +1320,11 @@
|
|||||||
"setInterval": true
|
"setInterval": true
|
||||||
},
|
},
|
||||||
"packages": {
|
"packages": {
|
||||||
"@metamask/eth-token-tracker>ethjs>bn.js": true,
|
|
||||||
"@metamask/eth-token-tracker>ethjs>ethjs-abi": true,
|
"@metamask/eth-token-tracker>ethjs>ethjs-abi": true,
|
||||||
"@metamask/eth-token-tracker>ethjs>ethjs-contract": true,
|
"@metamask/eth-token-tracker>ethjs>ethjs-contract": true,
|
||||||
"@metamask/eth-token-tracker>ethjs>ethjs-query": true,
|
"@metamask/eth-token-tracker>ethjs>ethjs-query": true,
|
||||||
"@metamask/eth-token-tracker>ethjs>ethjs-util": true,
|
"@metamask/eth-token-tracker>ethjs>ethjs-util": true,
|
||||||
|
"bn.js": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"ethjs>ethjs-filter": true,
|
"ethjs>ethjs-filter": true,
|
||||||
"ethjs>ethjs-provider-http": true,
|
"ethjs>ethjs-provider-http": true,
|
||||||
@ -1343,7 +1335,7 @@
|
|||||||
},
|
},
|
||||||
"@metamask/eth-token-tracker>ethjs>ethjs-abi": {
|
"@metamask/eth-token-tracker>ethjs>ethjs-abi": {
|
||||||
"packages": {
|
"packages": {
|
||||||
"@metamask/eth-token-tracker>ethjs>bn.js": true,
|
"bn.js": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"ethjs>js-sha3": true,
|
"ethjs>js-sha3": true,
|
||||||
"ethjs>number-to-bn": true
|
"ethjs>number-to-bn": true
|
||||||
@ -1361,7 +1353,7 @@
|
|||||||
},
|
},
|
||||||
"@metamask/eth-token-tracker>ethjs>ethjs-contract>ethjs-abi": {
|
"@metamask/eth-token-tracker>ethjs>ethjs-contract>ethjs-abi": {
|
||||||
"packages": {
|
"packages": {
|
||||||
"@metamask/eth-token-tracker>ethjs>bn.js": true,
|
"bn.js": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"ethjs>js-sha3": true,
|
"ethjs>js-sha3": true,
|
||||||
"ethjs>number-to-bn": true
|
"ethjs>number-to-bn": true
|
||||||
@ -1746,7 +1738,7 @@
|
|||||||
},
|
},
|
||||||
"@metamask/keyring-controller>ethereumjs-wallet>ethereumjs-util": {
|
"@metamask/keyring-controller>ethereumjs-wallet>ethereumjs-util": {
|
||||||
"packages": {
|
"packages": {
|
||||||
"@metamask/keyring-controller>ethereumjs-wallet>ethereumjs-util>bn.js": true,
|
"bn.js": true,
|
||||||
"browserify>assert": true,
|
"browserify>assert": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"browserify>insert-module-globals>is-buffer": true,
|
"browserify>insert-module-globals>is-buffer": true,
|
||||||
@ -1755,14 +1747,6 @@
|
|||||||
"ethereumjs-util>rlp": true
|
"ethereumjs-util>rlp": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@metamask/keyring-controller>ethereumjs-wallet>ethereumjs-util>bn.js": {
|
|
||||||
"globals": {
|
|
||||||
"Buffer": true
|
|
||||||
},
|
|
||||||
"packages": {
|
|
||||||
"browserify>browser-resolve": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@metamask/logo": {
|
"@metamask/logo": {
|
||||||
"globals": {
|
"globals": {
|
||||||
"addEventListener": true,
|
"addEventListener": true,
|
||||||
@ -2767,11 +2751,11 @@
|
|||||||
"@truffle/codec>@truffle/abi-utils": true,
|
"@truffle/codec>@truffle/abi-utils": true,
|
||||||
"@truffle/codec>@truffle/compile-common": true,
|
"@truffle/codec>@truffle/compile-common": true,
|
||||||
"@truffle/codec>big.js": true,
|
"@truffle/codec>big.js": true,
|
||||||
"@truffle/codec>bn.js": true,
|
|
||||||
"@truffle/codec>cbor": true,
|
"@truffle/codec>cbor": true,
|
||||||
"@truffle/codec>semver": true,
|
"@truffle/codec>semver": true,
|
||||||
"@truffle/codec>utf8": true,
|
"@truffle/codec>utf8": true,
|
||||||
"@truffle/codec>web3-utils": true,
|
"@truffle/codec>web3-utils": true,
|
||||||
|
"bn.js": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"browserify>os-browserify": true,
|
"browserify>os-browserify": true,
|
||||||
"browserify>util": true,
|
"browserify>util": true,
|
||||||
@ -2928,14 +2912,6 @@
|
|||||||
"define": true
|
"define": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@truffle/codec>bn.js": {
|
|
||||||
"globals": {
|
|
||||||
"Buffer": true
|
|
||||||
},
|
|
||||||
"packages": {
|
|
||||||
"browserify>browser-resolve": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@truffle/codec>cbor": {
|
"@truffle/codec>cbor": {
|
||||||
"globals": {
|
"globals": {
|
||||||
"TextDecoder": true
|
"TextDecoder": true
|
||||||
@ -2978,8 +2954,8 @@
|
|||||||
},
|
},
|
||||||
"packages": {
|
"packages": {
|
||||||
"@truffle/codec>utf8": true,
|
"@truffle/codec>utf8": true,
|
||||||
"@truffle/codec>web3-utils>bn.js": true,
|
|
||||||
"@truffle/codec>web3-utils>ethereum-bloom-filters": true,
|
"@truffle/codec>web3-utils>ethereum-bloom-filters": true,
|
||||||
|
"bn.js": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"ethereumjs-util": true,
|
"ethereumjs-util": true,
|
||||||
"ethereumjs-wallet>randombytes": true,
|
"ethereumjs-wallet>randombytes": true,
|
||||||
@ -2987,14 +2963,6 @@
|
|||||||
"ethjs>number-to-bn": true
|
"ethjs>number-to-bn": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@truffle/codec>web3-utils>bn.js": {
|
|
||||||
"globals": {
|
|
||||||
"Buffer": true
|
|
||||||
},
|
|
||||||
"packages": {
|
|
||||||
"browserify>browser-resolve": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@truffle/codec>web3-utils>ethereum-bloom-filters": {
|
"@truffle/codec>web3-utils>ethereum-bloom-filters": {
|
||||||
"packages": {
|
"packages": {
|
||||||
"@truffle/codec>web3-utils>ethereum-bloom-filters>js-sha3": true
|
"@truffle/codec>web3-utils>ethereum-bloom-filters>js-sha3": true
|
||||||
@ -3016,7 +2984,7 @@
|
|||||||
"@truffle/codec>web3-utils": true,
|
"@truffle/codec>web3-utils": true,
|
||||||
"@truffle/decoder>@truffle/encoder": true,
|
"@truffle/decoder>@truffle/encoder": true,
|
||||||
"@truffle/decoder>@truffle/source-map-utils": true,
|
"@truffle/decoder>@truffle/source-map-utils": true,
|
||||||
"@truffle/decoder>bn.js": true,
|
"bn.js": true,
|
||||||
"nock>debug": true
|
"nock>debug": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -3238,14 +3206,6 @@
|
|||||||
"@truffle/decoder>@truffle/source-map-utils>node-interval-tree>shallowequal": true
|
"@truffle/decoder>@truffle/source-map-utils>node-interval-tree>shallowequal": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@truffle/decoder>bn.js": {
|
|
||||||
"globals": {
|
|
||||||
"Buffer": true
|
|
||||||
},
|
|
||||||
"packages": {
|
|
||||||
"browserify>browser-resolve": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@zxing/browser": {
|
"@zxing/browser": {
|
||||||
"globals": {
|
"globals": {
|
||||||
"HTMLElement": true,
|
"HTMLElement": true,
|
||||||
@ -3785,11 +3745,11 @@
|
|||||||
},
|
},
|
||||||
"packages": {
|
"packages": {
|
||||||
"@ethereumjs/tx>@ethereumjs/util": true,
|
"@ethereumjs/tx>@ethereumjs/util": true,
|
||||||
|
"bn.js": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"browserify>crypto-browserify": true,
|
"browserify>crypto-browserify": true,
|
||||||
"browserify>events": true,
|
"browserify>events": true,
|
||||||
"eth-lattice-keyring>@ethereumjs/tx": true,
|
"eth-lattice-keyring>@ethereumjs/tx": true,
|
||||||
"eth-lattice-keyring>bn.js": true,
|
|
||||||
"eth-lattice-keyring>gridplus-sdk": true,
|
"eth-lattice-keyring>gridplus-sdk": true,
|
||||||
"eth-lattice-keyring>rlp": true
|
"eth-lattice-keyring>rlp": true
|
||||||
}
|
}
|
||||||
@ -3837,14 +3797,6 @@
|
|||||||
"crypto": true
|
"crypto": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"eth-lattice-keyring>bn.js": {
|
|
||||||
"globals": {
|
|
||||||
"Buffer": true
|
|
||||||
},
|
|
||||||
"packages": {
|
|
||||||
"browserify>browser-resolve": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"eth-lattice-keyring>gridplus-sdk": {
|
"eth-lattice-keyring>gridplus-sdk": {
|
||||||
"globals": {
|
"globals": {
|
||||||
"AbortController": true,
|
"AbortController": true,
|
||||||
@ -3965,19 +3917,11 @@
|
|||||||
"intToBuffer": true
|
"intToBuffer": true
|
||||||
},
|
},
|
||||||
"packages": {
|
"packages": {
|
||||||
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser>bn.js": true,
|
"bn.js": true,
|
||||||
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser>buffer": true,
|
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser>buffer": true,
|
||||||
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser>js-sha3": true
|
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser>js-sha3": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser>bn.js": {
|
|
||||||
"globals": {
|
|
||||||
"Buffer": true
|
|
||||||
},
|
|
||||||
"packages": {
|
|
||||||
"browserify>browser-resolve": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser>buffer": {
|
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser>buffer": {
|
||||||
"globals": {
|
"globals": {
|
||||||
"console": true
|
"console": true
|
||||||
@ -4109,23 +4053,15 @@
|
|||||||
},
|
},
|
||||||
"ethereumjs-util": {
|
"ethereumjs-util": {
|
||||||
"packages": {
|
"packages": {
|
||||||
|
"bn.js": true,
|
||||||
"browserify>assert": true,
|
"browserify>assert": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"browserify>insert-module-globals>is-buffer": true,
|
"browserify>insert-module-globals>is-buffer": true,
|
||||||
"ethereumjs-util>bn.js": true,
|
|
||||||
"ethereumjs-util>create-hash": true,
|
"ethereumjs-util>create-hash": true,
|
||||||
"ethereumjs-util>ethereum-cryptography": true,
|
"ethereumjs-util>ethereum-cryptography": true,
|
||||||
"ethereumjs-util>rlp": true
|
"ethereumjs-util>rlp": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ethereumjs-util>bn.js": {
|
|
||||||
"globals": {
|
|
||||||
"Buffer": true
|
|
||||||
},
|
|
||||||
"packages": {
|
|
||||||
"browserify>browser-resolve": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"ethereumjs-util>create-hash": {
|
"ethereumjs-util>create-hash": {
|
||||||
"packages": {
|
"packages": {
|
||||||
"addons-linter>sha.js": true,
|
"addons-linter>sha.js": true,
|
||||||
@ -4242,16 +4178,8 @@
|
|||||||
},
|
},
|
||||||
"ethereumjs-util>rlp": {
|
"ethereumjs-util>rlp": {
|
||||||
"packages": {
|
"packages": {
|
||||||
"browserify>buffer": true,
|
"bn.js": true,
|
||||||
"ethereumjs-util>rlp>bn.js": true
|
"browserify>buffer": true
|
||||||
}
|
|
||||||
},
|
|
||||||
"ethereumjs-util>rlp>bn.js": {
|
|
||||||
"globals": {
|
|
||||||
"Buffer": true
|
|
||||||
},
|
|
||||||
"packages": {
|
|
||||||
"browserify>browser-resolve": true
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ethereumjs-wallet": {
|
"ethereumjs-wallet": {
|
||||||
@ -4339,10 +4267,10 @@
|
|||||||
"setInterval": true
|
"setInterval": true
|
||||||
},
|
},
|
||||||
"packages": {
|
"packages": {
|
||||||
|
"bn.js": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"ethjs-contract": true,
|
"ethjs-contract": true,
|
||||||
"ethjs-query": true,
|
"ethjs-query": true,
|
||||||
"ethjs>bn.js": true,
|
|
||||||
"ethjs>ethjs-abi": true,
|
"ethjs>ethjs-abi": true,
|
||||||
"ethjs>ethjs-filter": true,
|
"ethjs>ethjs-filter": true,
|
||||||
"ethjs>ethjs-provider-http": true,
|
"ethjs>ethjs-provider-http": true,
|
||||||
@ -4364,8 +4292,8 @@
|
|||||||
},
|
},
|
||||||
"ethjs-contract>ethjs-abi": {
|
"ethjs-contract>ethjs-abi": {
|
||||||
"packages": {
|
"packages": {
|
||||||
|
"bn.js": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"ethjs-contract>ethjs-abi>bn.js": true,
|
|
||||||
"ethjs>js-sha3": true,
|
"ethjs>js-sha3": true,
|
||||||
"ethjs>number-to-bn": true
|
"ethjs>number-to-bn": true
|
||||||
}
|
}
|
||||||
@ -4426,8 +4354,8 @@
|
|||||||
},
|
},
|
||||||
"ethjs>ethjs-abi": {
|
"ethjs>ethjs-abi": {
|
||||||
"packages": {
|
"packages": {
|
||||||
|
"bn.js": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"ethjs>bn.js": true,
|
|
||||||
"ethjs>js-sha3": true,
|
"ethjs>js-sha3": true,
|
||||||
"ethjs>number-to-bn": true
|
"ethjs>number-to-bn": true
|
||||||
}
|
}
|
||||||
@ -4450,7 +4378,7 @@
|
|||||||
},
|
},
|
||||||
"ethjs>ethjs-unit": {
|
"ethjs>ethjs-unit": {
|
||||||
"packages": {
|
"packages": {
|
||||||
"ethjs>ethjs-unit>bn.js": true,
|
"bn.js": true,
|
||||||
"ethjs>number-to-bn": true
|
"ethjs>number-to-bn": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -4473,8 +4401,8 @@
|
|||||||
},
|
},
|
||||||
"ethjs>number-to-bn": {
|
"ethjs>number-to-bn": {
|
||||||
"packages": {
|
"packages": {
|
||||||
"ethjs>ethjs-util>strip-hex-prefix": true,
|
"bn.js": true,
|
||||||
"ethjs>number-to-bn>bn.js": true
|
"ethjs>ethjs-util>strip-hex-prefix": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"extension-port-stream": {
|
"extension-port-stream": {
|
||||||
|
@ -308,15 +308,7 @@
|
|||||||
"packages": {
|
"packages": {
|
||||||
"@ethersproject/abi>@ethersproject/bytes": true,
|
"@ethersproject/abi>@ethersproject/bytes": true,
|
||||||
"@ethersproject/abi>@ethersproject/logger": true,
|
"@ethersproject/abi>@ethersproject/logger": true,
|
||||||
"@ethersproject/bignumber>bn.js": true
|
"bn.js": true
|
||||||
}
|
|
||||||
},
|
|
||||||
"@ethersproject/bignumber>bn.js": {
|
|
||||||
"globals": {
|
|
||||||
"Buffer": true
|
|
||||||
},
|
|
||||||
"packages": {
|
|
||||||
"browserify>browser-resolve": true
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@ethersproject/contracts": {
|
"@ethersproject/contracts": {
|
||||||
@ -1200,11 +1192,11 @@
|
|||||||
"setInterval": true
|
"setInterval": true
|
||||||
},
|
},
|
||||||
"packages": {
|
"packages": {
|
||||||
"@metamask/eth-token-tracker>ethjs>bn.js": true,
|
|
||||||
"@metamask/eth-token-tracker>ethjs>ethjs-abi": true,
|
"@metamask/eth-token-tracker>ethjs>ethjs-abi": true,
|
||||||
"@metamask/eth-token-tracker>ethjs>ethjs-contract": true,
|
"@metamask/eth-token-tracker>ethjs>ethjs-contract": true,
|
||||||
"@metamask/eth-token-tracker>ethjs>ethjs-query": true,
|
"@metamask/eth-token-tracker>ethjs>ethjs-query": true,
|
||||||
"@metamask/eth-token-tracker>ethjs>ethjs-util": true,
|
"@metamask/eth-token-tracker>ethjs>ethjs-util": true,
|
||||||
|
"bn.js": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"ethjs>ethjs-filter": true,
|
"ethjs>ethjs-filter": true,
|
||||||
"ethjs>ethjs-provider-http": true,
|
"ethjs>ethjs-provider-http": true,
|
||||||
@ -1215,7 +1207,7 @@
|
|||||||
},
|
},
|
||||||
"@metamask/eth-token-tracker>ethjs>ethjs-abi": {
|
"@metamask/eth-token-tracker>ethjs>ethjs-abi": {
|
||||||
"packages": {
|
"packages": {
|
||||||
"@metamask/eth-token-tracker>ethjs>bn.js": true,
|
"bn.js": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"ethjs>js-sha3": true,
|
"ethjs>js-sha3": true,
|
||||||
"ethjs>number-to-bn": true
|
"ethjs>number-to-bn": true
|
||||||
@ -1233,7 +1225,7 @@
|
|||||||
},
|
},
|
||||||
"@metamask/eth-token-tracker>ethjs>ethjs-contract>ethjs-abi": {
|
"@metamask/eth-token-tracker>ethjs>ethjs-contract>ethjs-abi": {
|
||||||
"packages": {
|
"packages": {
|
||||||
"@metamask/eth-token-tracker>ethjs>bn.js": true,
|
"bn.js": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"ethjs>js-sha3": true,
|
"ethjs>js-sha3": true,
|
||||||
"ethjs>number-to-bn": true
|
"ethjs>number-to-bn": true
|
||||||
@ -1595,7 +1587,7 @@
|
|||||||
},
|
},
|
||||||
"@metamask/keyring-controller>ethereumjs-wallet>ethereumjs-util": {
|
"@metamask/keyring-controller>ethereumjs-wallet>ethereumjs-util": {
|
||||||
"packages": {
|
"packages": {
|
||||||
"@metamask/keyring-controller>ethereumjs-wallet>ethereumjs-util>bn.js": true,
|
"bn.js": true,
|
||||||
"browserify>assert": true,
|
"browserify>assert": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"browserify>insert-module-globals>is-buffer": true,
|
"browserify>insert-module-globals>is-buffer": true,
|
||||||
@ -1604,14 +1596,6 @@
|
|||||||
"ethereumjs-util>rlp": true
|
"ethereumjs-util>rlp": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@metamask/keyring-controller>ethereumjs-wallet>ethereumjs-util>bn.js": {
|
|
||||||
"globals": {
|
|
||||||
"Buffer": true
|
|
||||||
},
|
|
||||||
"packages": {
|
|
||||||
"browserify>browser-resolve": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@metamask/logo": {
|
"@metamask/logo": {
|
||||||
"globals": {
|
"globals": {
|
||||||
"addEventListener": true,
|
"addEventListener": true,
|
||||||
@ -2271,11 +2255,11 @@
|
|||||||
"@truffle/codec>@truffle/abi-utils": true,
|
"@truffle/codec>@truffle/abi-utils": true,
|
||||||
"@truffle/codec>@truffle/compile-common": true,
|
"@truffle/codec>@truffle/compile-common": true,
|
||||||
"@truffle/codec>big.js": true,
|
"@truffle/codec>big.js": true,
|
||||||
"@truffle/codec>bn.js": true,
|
|
||||||
"@truffle/codec>cbor": true,
|
"@truffle/codec>cbor": true,
|
||||||
"@truffle/codec>semver": true,
|
"@truffle/codec>semver": true,
|
||||||
"@truffle/codec>utf8": true,
|
"@truffle/codec>utf8": true,
|
||||||
"@truffle/codec>web3-utils": true,
|
"@truffle/codec>web3-utils": true,
|
||||||
|
"bn.js": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"browserify>os-browserify": true,
|
"browserify>os-browserify": true,
|
||||||
"browserify>util": true,
|
"browserify>util": true,
|
||||||
@ -2432,14 +2416,6 @@
|
|||||||
"define": true
|
"define": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@truffle/codec>bn.js": {
|
|
||||||
"globals": {
|
|
||||||
"Buffer": true
|
|
||||||
},
|
|
||||||
"packages": {
|
|
||||||
"browserify>browser-resolve": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@truffle/codec>cbor": {
|
"@truffle/codec>cbor": {
|
||||||
"globals": {
|
"globals": {
|
||||||
"TextDecoder": true
|
"TextDecoder": true
|
||||||
@ -2482,8 +2458,8 @@
|
|||||||
},
|
},
|
||||||
"packages": {
|
"packages": {
|
||||||
"@truffle/codec>utf8": true,
|
"@truffle/codec>utf8": true,
|
||||||
"@truffle/codec>web3-utils>bn.js": true,
|
|
||||||
"@truffle/codec>web3-utils>ethereum-bloom-filters": true,
|
"@truffle/codec>web3-utils>ethereum-bloom-filters": true,
|
||||||
|
"bn.js": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"ethereumjs-util": true,
|
"ethereumjs-util": true,
|
||||||
"ethereumjs-wallet>randombytes": true,
|
"ethereumjs-wallet>randombytes": true,
|
||||||
@ -2491,14 +2467,6 @@
|
|||||||
"ethjs>number-to-bn": true
|
"ethjs>number-to-bn": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@truffle/codec>web3-utils>bn.js": {
|
|
||||||
"globals": {
|
|
||||||
"Buffer": true
|
|
||||||
},
|
|
||||||
"packages": {
|
|
||||||
"browserify>browser-resolve": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@truffle/codec>web3-utils>ethereum-bloom-filters": {
|
"@truffle/codec>web3-utils>ethereum-bloom-filters": {
|
||||||
"packages": {
|
"packages": {
|
||||||
"@truffle/codec>web3-utils>ethereum-bloom-filters>js-sha3": true
|
"@truffle/codec>web3-utils>ethereum-bloom-filters>js-sha3": true
|
||||||
@ -2520,7 +2488,7 @@
|
|||||||
"@truffle/codec>web3-utils": true,
|
"@truffle/codec>web3-utils": true,
|
||||||
"@truffle/decoder>@truffle/encoder": true,
|
"@truffle/decoder>@truffle/encoder": true,
|
||||||
"@truffle/decoder>@truffle/source-map-utils": true,
|
"@truffle/decoder>@truffle/source-map-utils": true,
|
||||||
"@truffle/decoder>bn.js": true,
|
"bn.js": true,
|
||||||
"nock>debug": true
|
"nock>debug": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -2742,14 +2710,6 @@
|
|||||||
"@truffle/decoder>@truffle/source-map-utils>node-interval-tree>shallowequal": true
|
"@truffle/decoder>@truffle/source-map-utils>node-interval-tree>shallowequal": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@truffle/decoder>bn.js": {
|
|
||||||
"globals": {
|
|
||||||
"Buffer": true
|
|
||||||
},
|
|
||||||
"packages": {
|
|
||||||
"browserify>browser-resolve": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@zxing/browser": {
|
"@zxing/browser": {
|
||||||
"globals": {
|
"globals": {
|
||||||
"HTMLElement": true,
|
"HTMLElement": true,
|
||||||
@ -3289,11 +3249,11 @@
|
|||||||
},
|
},
|
||||||
"packages": {
|
"packages": {
|
||||||
"@ethereumjs/tx>@ethereumjs/util": true,
|
"@ethereumjs/tx>@ethereumjs/util": true,
|
||||||
|
"bn.js": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"browserify>crypto-browserify": true,
|
"browserify>crypto-browserify": true,
|
||||||
"browserify>events": true,
|
"browserify>events": true,
|
||||||
"eth-lattice-keyring>@ethereumjs/tx": true,
|
"eth-lattice-keyring>@ethereumjs/tx": true,
|
||||||
"eth-lattice-keyring>bn.js": true,
|
|
||||||
"eth-lattice-keyring>gridplus-sdk": true,
|
"eth-lattice-keyring>gridplus-sdk": true,
|
||||||
"eth-lattice-keyring>rlp": true
|
"eth-lattice-keyring>rlp": true
|
||||||
}
|
}
|
||||||
@ -3341,14 +3301,6 @@
|
|||||||
"crypto": true
|
"crypto": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"eth-lattice-keyring>bn.js": {
|
|
||||||
"globals": {
|
|
||||||
"Buffer": true
|
|
||||||
},
|
|
||||||
"packages": {
|
|
||||||
"browserify>browser-resolve": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"eth-lattice-keyring>gridplus-sdk": {
|
"eth-lattice-keyring>gridplus-sdk": {
|
||||||
"globals": {
|
"globals": {
|
||||||
"AbortController": true,
|
"AbortController": true,
|
||||||
@ -3469,19 +3421,11 @@
|
|||||||
"intToBuffer": true
|
"intToBuffer": true
|
||||||
},
|
},
|
||||||
"packages": {
|
"packages": {
|
||||||
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser>bn.js": true,
|
"bn.js": true,
|
||||||
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser>buffer": true,
|
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser>buffer": true,
|
||||||
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser>js-sha3": true
|
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser>js-sha3": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser>bn.js": {
|
|
||||||
"globals": {
|
|
||||||
"Buffer": true
|
|
||||||
},
|
|
||||||
"packages": {
|
|
||||||
"browserify>browser-resolve": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser>buffer": {
|
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser>buffer": {
|
||||||
"globals": {
|
"globals": {
|
||||||
"console": true
|
"console": true
|
||||||
@ -3613,23 +3557,15 @@
|
|||||||
},
|
},
|
||||||
"ethereumjs-util": {
|
"ethereumjs-util": {
|
||||||
"packages": {
|
"packages": {
|
||||||
|
"bn.js": true,
|
||||||
"browserify>assert": true,
|
"browserify>assert": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"browserify>insert-module-globals>is-buffer": true,
|
"browserify>insert-module-globals>is-buffer": true,
|
||||||
"ethereumjs-util>bn.js": true,
|
|
||||||
"ethereumjs-util>create-hash": true,
|
"ethereumjs-util>create-hash": true,
|
||||||
"ethereumjs-util>ethereum-cryptography": true,
|
"ethereumjs-util>ethereum-cryptography": true,
|
||||||
"ethereumjs-util>rlp": true
|
"ethereumjs-util>rlp": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ethereumjs-util>bn.js": {
|
|
||||||
"globals": {
|
|
||||||
"Buffer": true
|
|
||||||
},
|
|
||||||
"packages": {
|
|
||||||
"browserify>browser-resolve": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"ethereumjs-util>create-hash": {
|
"ethereumjs-util>create-hash": {
|
||||||
"packages": {
|
"packages": {
|
||||||
"addons-linter>sha.js": true,
|
"addons-linter>sha.js": true,
|
||||||
@ -3746,16 +3682,8 @@
|
|||||||
},
|
},
|
||||||
"ethereumjs-util>rlp": {
|
"ethereumjs-util>rlp": {
|
||||||
"packages": {
|
"packages": {
|
||||||
"browserify>buffer": true,
|
"bn.js": true,
|
||||||
"ethereumjs-util>rlp>bn.js": true
|
"browserify>buffer": true
|
||||||
}
|
|
||||||
},
|
|
||||||
"ethereumjs-util>rlp>bn.js": {
|
|
||||||
"globals": {
|
|
||||||
"Buffer": true
|
|
||||||
},
|
|
||||||
"packages": {
|
|
||||||
"browserify>browser-resolve": true
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ethereumjs-wallet": {
|
"ethereumjs-wallet": {
|
||||||
@ -3843,10 +3771,10 @@
|
|||||||
"setInterval": true
|
"setInterval": true
|
||||||
},
|
},
|
||||||
"packages": {
|
"packages": {
|
||||||
|
"bn.js": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"ethjs-contract": true,
|
"ethjs-contract": true,
|
||||||
"ethjs-query": true,
|
"ethjs-query": true,
|
||||||
"ethjs>bn.js": true,
|
|
||||||
"ethjs>ethjs-abi": true,
|
"ethjs>ethjs-abi": true,
|
||||||
"ethjs>ethjs-filter": true,
|
"ethjs>ethjs-filter": true,
|
||||||
"ethjs>ethjs-provider-http": true,
|
"ethjs>ethjs-provider-http": true,
|
||||||
@ -3868,8 +3796,8 @@
|
|||||||
},
|
},
|
||||||
"ethjs-contract>ethjs-abi": {
|
"ethjs-contract>ethjs-abi": {
|
||||||
"packages": {
|
"packages": {
|
||||||
|
"bn.js": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"ethjs-contract>ethjs-abi>bn.js": true,
|
|
||||||
"ethjs>js-sha3": true,
|
"ethjs>js-sha3": true,
|
||||||
"ethjs>number-to-bn": true
|
"ethjs>number-to-bn": true
|
||||||
}
|
}
|
||||||
@ -3930,8 +3858,8 @@
|
|||||||
},
|
},
|
||||||
"ethjs>ethjs-abi": {
|
"ethjs>ethjs-abi": {
|
||||||
"packages": {
|
"packages": {
|
||||||
|
"bn.js": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"ethjs>bn.js": true,
|
|
||||||
"ethjs>js-sha3": true,
|
"ethjs>js-sha3": true,
|
||||||
"ethjs>number-to-bn": true
|
"ethjs>number-to-bn": true
|
||||||
}
|
}
|
||||||
@ -3954,7 +3882,7 @@
|
|||||||
},
|
},
|
||||||
"ethjs>ethjs-unit": {
|
"ethjs>ethjs-unit": {
|
||||||
"packages": {
|
"packages": {
|
||||||
"ethjs>ethjs-unit>bn.js": true,
|
"bn.js": true,
|
||||||
"ethjs>number-to-bn": true
|
"ethjs>number-to-bn": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -3977,8 +3905,8 @@
|
|||||||
},
|
},
|
||||||
"ethjs>number-to-bn": {
|
"ethjs>number-to-bn": {
|
||||||
"packages": {
|
"packages": {
|
||||||
"ethjs>ethjs-util>strip-hex-prefix": true,
|
"bn.js": true,
|
||||||
"ethjs>number-to-bn>bn.js": true
|
"ethjs>ethjs-util>strip-hex-prefix": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"extension-port-stream": {
|
"extension-port-stream": {
|
||||||
|
@ -308,15 +308,7 @@
|
|||||||
"packages": {
|
"packages": {
|
||||||
"@ethersproject/abi>@ethersproject/bytes": true,
|
"@ethersproject/abi>@ethersproject/bytes": true,
|
||||||
"@ethersproject/abi>@ethersproject/logger": true,
|
"@ethersproject/abi>@ethersproject/logger": true,
|
||||||
"@ethersproject/bignumber>bn.js": true
|
"bn.js": true
|
||||||
}
|
|
||||||
},
|
|
||||||
"@ethersproject/bignumber>bn.js": {
|
|
||||||
"globals": {
|
|
||||||
"Buffer": true
|
|
||||||
},
|
|
||||||
"packages": {
|
|
||||||
"browserify>browser-resolve": true
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@ethersproject/contracts": {
|
"@ethersproject/contracts": {
|
||||||
@ -1428,11 +1420,11 @@
|
|||||||
"setInterval": true
|
"setInterval": true
|
||||||
},
|
},
|
||||||
"packages": {
|
"packages": {
|
||||||
"@metamask/eth-token-tracker>ethjs>bn.js": true,
|
|
||||||
"@metamask/eth-token-tracker>ethjs>ethjs-abi": true,
|
"@metamask/eth-token-tracker>ethjs>ethjs-abi": true,
|
||||||
"@metamask/eth-token-tracker>ethjs>ethjs-contract": true,
|
"@metamask/eth-token-tracker>ethjs>ethjs-contract": true,
|
||||||
"@metamask/eth-token-tracker>ethjs>ethjs-query": true,
|
"@metamask/eth-token-tracker>ethjs>ethjs-query": true,
|
||||||
"@metamask/eth-token-tracker>ethjs>ethjs-util": true,
|
"@metamask/eth-token-tracker>ethjs>ethjs-util": true,
|
||||||
|
"bn.js": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"ethjs>ethjs-filter": true,
|
"ethjs>ethjs-filter": true,
|
||||||
"ethjs>ethjs-provider-http": true,
|
"ethjs>ethjs-provider-http": true,
|
||||||
@ -1443,7 +1435,7 @@
|
|||||||
},
|
},
|
||||||
"@metamask/eth-token-tracker>ethjs>ethjs-abi": {
|
"@metamask/eth-token-tracker>ethjs>ethjs-abi": {
|
||||||
"packages": {
|
"packages": {
|
||||||
"@metamask/eth-token-tracker>ethjs>bn.js": true,
|
"bn.js": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"ethjs>js-sha3": true,
|
"ethjs>js-sha3": true,
|
||||||
"ethjs>number-to-bn": true
|
"ethjs>number-to-bn": true
|
||||||
@ -1461,7 +1453,7 @@
|
|||||||
},
|
},
|
||||||
"@metamask/eth-token-tracker>ethjs>ethjs-contract>ethjs-abi": {
|
"@metamask/eth-token-tracker>ethjs>ethjs-contract>ethjs-abi": {
|
||||||
"packages": {
|
"packages": {
|
||||||
"@metamask/eth-token-tracker>ethjs>bn.js": true,
|
"bn.js": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"ethjs>js-sha3": true,
|
"ethjs>js-sha3": true,
|
||||||
"ethjs>number-to-bn": true
|
"ethjs>number-to-bn": true
|
||||||
@ -1823,7 +1815,7 @@
|
|||||||
},
|
},
|
||||||
"@metamask/keyring-controller>ethereumjs-wallet>ethereumjs-util": {
|
"@metamask/keyring-controller>ethereumjs-wallet>ethereumjs-util": {
|
||||||
"packages": {
|
"packages": {
|
||||||
"@metamask/keyring-controller>ethereumjs-wallet>ethereumjs-util>bn.js": true,
|
"bn.js": true,
|
||||||
"browserify>assert": true,
|
"browserify>assert": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"browserify>insert-module-globals>is-buffer": true,
|
"browserify>insert-module-globals>is-buffer": true,
|
||||||
@ -1832,14 +1824,6 @@
|
|||||||
"ethereumjs-util>rlp": true
|
"ethereumjs-util>rlp": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@metamask/keyring-controller>ethereumjs-wallet>ethereumjs-util>bn.js": {
|
|
||||||
"globals": {
|
|
||||||
"Buffer": true
|
|
||||||
},
|
|
||||||
"packages": {
|
|
||||||
"browserify>browser-resolve": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@metamask/logo": {
|
"@metamask/logo": {
|
||||||
"globals": {
|
"globals": {
|
||||||
"addEventListener": true,
|
"addEventListener": true,
|
||||||
@ -2499,11 +2483,11 @@
|
|||||||
"@truffle/codec>@truffle/abi-utils": true,
|
"@truffle/codec>@truffle/abi-utils": true,
|
||||||
"@truffle/codec>@truffle/compile-common": true,
|
"@truffle/codec>@truffle/compile-common": true,
|
||||||
"@truffle/codec>big.js": true,
|
"@truffle/codec>big.js": true,
|
||||||
"@truffle/codec>bn.js": true,
|
|
||||||
"@truffle/codec>cbor": true,
|
"@truffle/codec>cbor": true,
|
||||||
"@truffle/codec>semver": true,
|
"@truffle/codec>semver": true,
|
||||||
"@truffle/codec>utf8": true,
|
"@truffle/codec>utf8": true,
|
||||||
"@truffle/codec>web3-utils": true,
|
"@truffle/codec>web3-utils": true,
|
||||||
|
"bn.js": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"browserify>os-browserify": true,
|
"browserify>os-browserify": true,
|
||||||
"browserify>util": true,
|
"browserify>util": true,
|
||||||
@ -2660,14 +2644,6 @@
|
|||||||
"define": true
|
"define": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@truffle/codec>bn.js": {
|
|
||||||
"globals": {
|
|
||||||
"Buffer": true
|
|
||||||
},
|
|
||||||
"packages": {
|
|
||||||
"browserify>browser-resolve": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@truffle/codec>cbor": {
|
"@truffle/codec>cbor": {
|
||||||
"globals": {
|
"globals": {
|
||||||
"TextDecoder": true
|
"TextDecoder": true
|
||||||
@ -2710,8 +2686,8 @@
|
|||||||
},
|
},
|
||||||
"packages": {
|
"packages": {
|
||||||
"@truffle/codec>utf8": true,
|
"@truffle/codec>utf8": true,
|
||||||
"@truffle/codec>web3-utils>bn.js": true,
|
|
||||||
"@truffle/codec>web3-utils>ethereum-bloom-filters": true,
|
"@truffle/codec>web3-utils>ethereum-bloom-filters": true,
|
||||||
|
"bn.js": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"ethereumjs-util": true,
|
"ethereumjs-util": true,
|
||||||
"ethereumjs-wallet>randombytes": true,
|
"ethereumjs-wallet>randombytes": true,
|
||||||
@ -2719,14 +2695,6 @@
|
|||||||
"ethjs>number-to-bn": true
|
"ethjs>number-to-bn": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@truffle/codec>web3-utils>bn.js": {
|
|
||||||
"globals": {
|
|
||||||
"Buffer": true
|
|
||||||
},
|
|
||||||
"packages": {
|
|
||||||
"browserify>browser-resolve": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@truffle/codec>web3-utils>ethereum-bloom-filters": {
|
"@truffle/codec>web3-utils>ethereum-bloom-filters": {
|
||||||
"packages": {
|
"packages": {
|
||||||
"@truffle/codec>web3-utils>ethereum-bloom-filters>js-sha3": true
|
"@truffle/codec>web3-utils>ethereum-bloom-filters>js-sha3": true
|
||||||
@ -2748,7 +2716,7 @@
|
|||||||
"@truffle/codec>web3-utils": true,
|
"@truffle/codec>web3-utils": true,
|
||||||
"@truffle/decoder>@truffle/encoder": true,
|
"@truffle/decoder>@truffle/encoder": true,
|
||||||
"@truffle/decoder>@truffle/source-map-utils": true,
|
"@truffle/decoder>@truffle/source-map-utils": true,
|
||||||
"@truffle/decoder>bn.js": true,
|
"bn.js": true,
|
||||||
"nock>debug": true
|
"nock>debug": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -2970,14 +2938,6 @@
|
|||||||
"@truffle/decoder>@truffle/source-map-utils>node-interval-tree>shallowequal": true
|
"@truffle/decoder>@truffle/source-map-utils>node-interval-tree>shallowequal": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@truffle/decoder>bn.js": {
|
|
||||||
"globals": {
|
|
||||||
"Buffer": true
|
|
||||||
},
|
|
||||||
"packages": {
|
|
||||||
"browserify>browser-resolve": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@zxing/browser": {
|
"@zxing/browser": {
|
||||||
"globals": {
|
"globals": {
|
||||||
"HTMLElement": true,
|
"HTMLElement": true,
|
||||||
@ -3517,11 +3477,11 @@
|
|||||||
},
|
},
|
||||||
"packages": {
|
"packages": {
|
||||||
"@ethereumjs/tx>@ethereumjs/util": true,
|
"@ethereumjs/tx>@ethereumjs/util": true,
|
||||||
|
"bn.js": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"browserify>crypto-browserify": true,
|
"browserify>crypto-browserify": true,
|
||||||
"browserify>events": true,
|
"browserify>events": true,
|
||||||
"eth-lattice-keyring>@ethereumjs/tx": true,
|
"eth-lattice-keyring>@ethereumjs/tx": true,
|
||||||
"eth-lattice-keyring>bn.js": true,
|
|
||||||
"eth-lattice-keyring>gridplus-sdk": true,
|
"eth-lattice-keyring>gridplus-sdk": true,
|
||||||
"eth-lattice-keyring>rlp": true
|
"eth-lattice-keyring>rlp": true
|
||||||
}
|
}
|
||||||
@ -3569,14 +3529,6 @@
|
|||||||
"crypto": true
|
"crypto": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"eth-lattice-keyring>bn.js": {
|
|
||||||
"globals": {
|
|
||||||
"Buffer": true
|
|
||||||
},
|
|
||||||
"packages": {
|
|
||||||
"browserify>browser-resolve": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"eth-lattice-keyring>gridplus-sdk": {
|
"eth-lattice-keyring>gridplus-sdk": {
|
||||||
"globals": {
|
"globals": {
|
||||||
"AbortController": true,
|
"AbortController": true,
|
||||||
@ -3697,19 +3649,11 @@
|
|||||||
"intToBuffer": true
|
"intToBuffer": true
|
||||||
},
|
},
|
||||||
"packages": {
|
"packages": {
|
||||||
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser>bn.js": true,
|
"bn.js": true,
|
||||||
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser>buffer": true,
|
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser>buffer": true,
|
||||||
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser>js-sha3": true
|
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser>js-sha3": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser>bn.js": {
|
|
||||||
"globals": {
|
|
||||||
"Buffer": true
|
|
||||||
},
|
|
||||||
"packages": {
|
|
||||||
"browserify>browser-resolve": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser>buffer": {
|
"eth-lattice-keyring>gridplus-sdk>eth-eip712-util-browser>buffer": {
|
||||||
"globals": {
|
"globals": {
|
||||||
"console": true
|
"console": true
|
||||||
@ -3841,23 +3785,15 @@
|
|||||||
},
|
},
|
||||||
"ethereumjs-util": {
|
"ethereumjs-util": {
|
||||||
"packages": {
|
"packages": {
|
||||||
|
"bn.js": true,
|
||||||
"browserify>assert": true,
|
"browserify>assert": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"browserify>insert-module-globals>is-buffer": true,
|
"browserify>insert-module-globals>is-buffer": true,
|
||||||
"ethereumjs-util>bn.js": true,
|
|
||||||
"ethereumjs-util>create-hash": true,
|
"ethereumjs-util>create-hash": true,
|
||||||
"ethereumjs-util>ethereum-cryptography": true,
|
"ethereumjs-util>ethereum-cryptography": true,
|
||||||
"ethereumjs-util>rlp": true
|
"ethereumjs-util>rlp": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ethereumjs-util>bn.js": {
|
|
||||||
"globals": {
|
|
||||||
"Buffer": true
|
|
||||||
},
|
|
||||||
"packages": {
|
|
||||||
"browserify>browser-resolve": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"ethereumjs-util>create-hash": {
|
"ethereumjs-util>create-hash": {
|
||||||
"packages": {
|
"packages": {
|
||||||
"addons-linter>sha.js": true,
|
"addons-linter>sha.js": true,
|
||||||
@ -3974,16 +3910,8 @@
|
|||||||
},
|
},
|
||||||
"ethereumjs-util>rlp": {
|
"ethereumjs-util>rlp": {
|
||||||
"packages": {
|
"packages": {
|
||||||
"browserify>buffer": true,
|
"bn.js": true,
|
||||||
"ethereumjs-util>rlp>bn.js": true
|
"browserify>buffer": true
|
||||||
}
|
|
||||||
},
|
|
||||||
"ethereumjs-util>rlp>bn.js": {
|
|
||||||
"globals": {
|
|
||||||
"Buffer": true
|
|
||||||
},
|
|
||||||
"packages": {
|
|
||||||
"browserify>browser-resolve": true
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ethereumjs-wallet": {
|
"ethereumjs-wallet": {
|
||||||
@ -4071,10 +3999,10 @@
|
|||||||
"setInterval": true
|
"setInterval": true
|
||||||
},
|
},
|
||||||
"packages": {
|
"packages": {
|
||||||
|
"bn.js": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"ethjs-contract": true,
|
"ethjs-contract": true,
|
||||||
"ethjs-query": true,
|
"ethjs-query": true,
|
||||||
"ethjs>bn.js": true,
|
|
||||||
"ethjs>ethjs-abi": true,
|
"ethjs>ethjs-abi": true,
|
||||||
"ethjs>ethjs-filter": true,
|
"ethjs>ethjs-filter": true,
|
||||||
"ethjs>ethjs-provider-http": true,
|
"ethjs>ethjs-provider-http": true,
|
||||||
@ -4096,8 +4024,8 @@
|
|||||||
},
|
},
|
||||||
"ethjs-contract>ethjs-abi": {
|
"ethjs-contract>ethjs-abi": {
|
||||||
"packages": {
|
"packages": {
|
||||||
|
"bn.js": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"ethjs-contract>ethjs-abi>bn.js": true,
|
|
||||||
"ethjs>js-sha3": true,
|
"ethjs>js-sha3": true,
|
||||||
"ethjs>number-to-bn": true
|
"ethjs>number-to-bn": true
|
||||||
}
|
}
|
||||||
@ -4158,8 +4086,8 @@
|
|||||||
},
|
},
|
||||||
"ethjs>ethjs-abi": {
|
"ethjs>ethjs-abi": {
|
||||||
"packages": {
|
"packages": {
|
||||||
|
"bn.js": true,
|
||||||
"browserify>buffer": true,
|
"browserify>buffer": true,
|
||||||
"ethjs>bn.js": true,
|
|
||||||
"ethjs>js-sha3": true,
|
"ethjs>js-sha3": true,
|
||||||
"ethjs>number-to-bn": true
|
"ethjs>number-to-bn": true
|
||||||
}
|
}
|
||||||
@ -4182,7 +4110,7 @@
|
|||||||
},
|
},
|
||||||
"ethjs>ethjs-unit": {
|
"ethjs>ethjs-unit": {
|
||||||
"packages": {
|
"packages": {
|
||||||
"ethjs>ethjs-unit>bn.js": true,
|
"bn.js": true,
|
||||||
"ethjs>number-to-bn": true
|
"ethjs>number-to-bn": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -4205,8 +4133,8 @@
|
|||||||
},
|
},
|
||||||
"ethjs>number-to-bn": {
|
"ethjs>number-to-bn": {
|
||||||
"packages": {
|
"packages": {
|
||||||
"ethjs>ethjs-util>strip-hex-prefix": true,
|
"bn.js": true,
|
||||||
"ethjs>number-to-bn>bn.js": true
|
"ethjs>ethjs-util>strip-hex-prefix": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"extension-port-stream": {
|
"extension-port-stream": {
|
||||||
|
@ -103,6 +103,7 @@
|
|||||||
"@metamask/approval-controller": "^3.4.0",
|
"@metamask/approval-controller": "^3.4.0",
|
||||||
"@types/react": "^16.9.53",
|
"@types/react": "^16.9.53",
|
||||||
"analytics-node/axios": "^0.21.2",
|
"analytics-node/axios": "^0.21.2",
|
||||||
|
"bn.js": "^5.2.1",
|
||||||
"ganache-core/lodash": "^4.17.21",
|
"ganache-core/lodash": "^4.17.21",
|
||||||
"git-url-parse@^12.0.0": "^13.1.0",
|
"git-url-parse@^12.0.0": "^13.1.0",
|
||||||
"glob-parent": "^6.0.2",
|
"glob-parent": "^6.0.2",
|
||||||
@ -289,7 +290,7 @@
|
|||||||
"base32-encode": "^1.2.0",
|
"base32-encode": "^1.2.0",
|
||||||
"base64-js": "^1.5.1",
|
"base64-js": "^1.5.1",
|
||||||
"bignumber.js": "^4.1.0",
|
"bignumber.js": "^4.1.0",
|
||||||
"bn.js": "^4.11.7",
|
"bn.js": "^5.2.1",
|
||||||
"bowser": "^2.11.0",
|
"bowser": "^2.11.0",
|
||||||
"classnames": "^2.2.6",
|
"classnames": "^2.2.6",
|
||||||
"copy-to-clipboard": "^3.3.3",
|
"copy-to-clipboard": "^3.3.3",
|
||||||
|
@ -77,6 +77,9 @@ import { draftTransactionInitialState, editExistingTransaction } from '.';
|
|||||||
|
|
||||||
const mockStore = createMockStore([thunk]);
|
const mockStore = createMockStore([thunk]);
|
||||||
|
|
||||||
|
const mockAddress1 = '0xdafea492d9c6733ae3d56b7ed1adb60692c98123';
|
||||||
|
const mockNftAddress1 = 'f4831105676a5fc024684d056390b8bc529daf51c7';
|
||||||
|
|
||||||
jest.mock('./send', () => {
|
jest.mock('./send', () => {
|
||||||
const actual = jest.requireActual('./send');
|
const actual = jest.requireActual('./send');
|
||||||
return {
|
return {
|
||||||
@ -541,7 +544,7 @@ describe('Send Slice', () => {
|
|||||||
const action = {
|
const action = {
|
||||||
type: 'send/updateRecipient',
|
type: 'send/updateRecipient',
|
||||||
payload: {
|
payload: {
|
||||||
address: '0xNewAddress',
|
address: mockNftAddress1,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -1063,7 +1066,7 @@ describe('Send Slice', () => {
|
|||||||
describe('QR Code Detected', () => {
|
describe('QR Code Detected', () => {
|
||||||
const qrCodestate = getInitialSendStateWithExistingTxState({
|
const qrCodestate = getInitialSendStateWithExistingTxState({
|
||||||
recipient: {
|
recipient: {
|
||||||
address: '0xAddress',
|
address: mockAddress1,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -1102,7 +1105,7 @@ describe('Send Slice', () => {
|
|||||||
|
|
||||||
const draftTransaction = getTestUUIDTx(result);
|
const draftTransaction = getTestUUIDTx(result);
|
||||||
|
|
||||||
expect(draftTransaction.recipient.address).toStrictEqual('0xAddress');
|
expect(draftTransaction.recipient.address).toStrictEqual(mockAddress1);
|
||||||
expect(draftTransaction.recipient.error).toStrictEqual(
|
expect(draftTransaction.recipient.error).toStrictEqual(
|
||||||
INVALID_RECIPIENT_ADDRESS_ERROR,
|
INVALID_RECIPIENT_ADDRESS_ERROR,
|
||||||
);
|
);
|
||||||
@ -1115,7 +1118,7 @@ describe('Send Slice', () => {
|
|||||||
...INITIAL_SEND_STATE_FOR_EXISTING_DRAFT,
|
...INITIAL_SEND_STATE_FOR_EXISTING_DRAFT,
|
||||||
selectedAccount: {
|
selectedAccount: {
|
||||||
balance: '0x0',
|
balance: '0x0',
|
||||||
address: '0xAddress',
|
address: mockAddress1,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -1144,7 +1147,7 @@ describe('Send Slice', () => {
|
|||||||
...INITIAL_SEND_STATE_FOR_EXISTING_DRAFT,
|
...INITIAL_SEND_STATE_FOR_EXISTING_DRAFT,
|
||||||
selectedAccount: {
|
selectedAccount: {
|
||||||
balance: '0x0',
|
balance: '0x0',
|
||||||
address: '0xAddress',
|
address: mockAddress1,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -1158,7 +1161,7 @@ describe('Send Slice', () => {
|
|||||||
const result = sendReducer(olderState, action);
|
const result = sendReducer(olderState, action);
|
||||||
|
|
||||||
expect(result.selectedAccount.balance).toStrictEqual('0x0');
|
expect(result.selectedAccount.balance).toStrictEqual('0x0');
|
||||||
expect(result.selectedAccount.address).toStrictEqual('0xAddress');
|
expect(result.selectedAccount.address).toStrictEqual(mockAddress1);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -1167,13 +1170,13 @@ describe('Send Slice', () => {
|
|||||||
const accountsChangedState = {
|
const accountsChangedState = {
|
||||||
...getInitialSendStateWithExistingTxState({
|
...getInitialSendStateWithExistingTxState({
|
||||||
fromAccount: {
|
fromAccount: {
|
||||||
address: '0xAddress',
|
address: mockAddress1,
|
||||||
balance: '0x0',
|
balance: '0x0',
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
stage: SEND_STAGES.EDIT,
|
stage: SEND_STAGES.EDIT,
|
||||||
selectedAccount: {
|
selectedAccount: {
|
||||||
address: '0xAddress',
|
address: mockAddress1,
|
||||||
balance: '0x0',
|
balance: '0x0',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
@ -1182,7 +1185,7 @@ describe('Send Slice', () => {
|
|||||||
type: 'ACCOUNT_CHANGED',
|
type: 'ACCOUNT_CHANGED',
|
||||||
payload: {
|
payload: {
|
||||||
account: {
|
account: {
|
||||||
address: '0xAddress',
|
address: mockAddress1,
|
||||||
balance: '0x1',
|
balance: '0x1',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@ -1201,13 +1204,13 @@ describe('Send Slice', () => {
|
|||||||
const accountsChangedState = {
|
const accountsChangedState = {
|
||||||
...getInitialSendStateWithExistingTxState({
|
...getInitialSendStateWithExistingTxState({
|
||||||
fromAccount: {
|
fromAccount: {
|
||||||
address: '0xAddress',
|
address: mockAddress1,
|
||||||
balance: '0x0',
|
balance: '0x0',
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
stage: SEND_STAGES.EDIT,
|
stage: SEND_STAGES.EDIT,
|
||||||
selectedAccount: {
|
selectedAccount: {
|
||||||
address: '0xAddress',
|
address: mockAddress1,
|
||||||
balance: '0x0',
|
balance: '0x0',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
@ -1231,7 +1234,7 @@ describe('Send Slice', () => {
|
|||||||
...INITIAL_SEND_STATE_FOR_EXISTING_DRAFT,
|
...INITIAL_SEND_STATE_FOR_EXISTING_DRAFT,
|
||||||
stage: SEND_STAGES.EDIT,
|
stage: SEND_STAGES.EDIT,
|
||||||
selectedAccount: {
|
selectedAccount: {
|
||||||
address: '0xAddress',
|
address: mockAddress1,
|
||||||
balance: '0x0',
|
balance: '0x0',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
@ -1274,23 +1277,23 @@ describe('Send Slice', () => {
|
|||||||
1559: true,
|
1559: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
selectedAddress: '0xAddress',
|
selectedAddress: mockAddress1,
|
||||||
identities: { '0xAddress': { address: '0xAddress' } },
|
identities: { [mockAddress1]: { address: mockAddress1 } },
|
||||||
keyrings: [
|
keyrings: [
|
||||||
{
|
{
|
||||||
type: KeyringType.hdKeyTree,
|
type: KeyringType.hdKeyTree,
|
||||||
accounts: ['0xAddress'],
|
accounts: [mockAddress1],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
accounts: {
|
accounts: {
|
||||||
'0xAddress': {
|
[mockAddress1]: {
|
||||||
address: '0xAddress',
|
address: mockAddress1,
|
||||||
balance: '0x0',
|
balance: '0x0',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
cachedBalances: {
|
cachedBalances: {
|
||||||
0x5: {
|
0x5: {
|
||||||
'0xAddress': '0x0',
|
[mockAddress1]: '0x0',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
providerConfig: {
|
providerConfig: {
|
||||||
@ -1580,12 +1583,12 @@ describe('Send Slice', () => {
|
|||||||
},
|
},
|
||||||
cachedBalances: {
|
cachedBalances: {
|
||||||
[CHAIN_IDS.GOERLI]: {
|
[CHAIN_IDS.GOERLI]: {
|
||||||
'0xAddress': '0x0',
|
[mockAddress1]: '0x0',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
accounts: {
|
accounts: {
|
||||||
'0xAddress': {
|
[mockAddress1]: {
|
||||||
address: '0xAddress',
|
address: mockAddress1,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@ -1607,7 +1610,7 @@ describe('Send Slice', () => {
|
|||||||
userInputHexData: '',
|
userInputHexData: '',
|
||||||
}),
|
}),
|
||||||
selectedAccount: {
|
selectedAccount: {
|
||||||
address: '0xAddress',
|
address: mockAddress1,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
@ -2379,14 +2382,14 @@ describe('Send Slice', () => {
|
|||||||
},
|
},
|
||||||
identities: {},
|
identities: {},
|
||||||
accounts: {
|
accounts: {
|
||||||
'0xAddress': {
|
[mockAddress1]: {
|
||||||
address: '0xAddress',
|
address: mockAddress1,
|
||||||
balance: '0x0',
|
balance: '0x0',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
cachedBalances: {
|
cachedBalances: {
|
||||||
[CHAIN_IDS.GOERLI]: {
|
[CHAIN_IDS.GOERLI]: {
|
||||||
'0xAddress': '0x0',
|
[mockAddress1]: '0x0',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
tokenList: {},
|
tokenList: {},
|
||||||
@ -2395,7 +2398,7 @@ describe('Send Slice', () => {
|
|||||||
id: 1,
|
id: 1,
|
||||||
txParams: {
|
txParams: {
|
||||||
data: '',
|
data: '',
|
||||||
from: '0xAddress',
|
from: mockAddress1,
|
||||||
to: '0xRecipientAddress',
|
to: '0xRecipientAddress',
|
||||||
gas: GAS_LIMITS.SIMPLE,
|
gas: GAS_LIMITS.SIMPLE,
|
||||||
gasPrice: '0x3b9aca00', // 1000000000
|
gasPrice: '0x3b9aca00', // 1000000000
|
||||||
@ -2412,7 +2415,7 @@ describe('Send Slice', () => {
|
|||||||
...getInitialSendStateWithExistingTxState({
|
...getInitialSendStateWithExistingTxState({
|
||||||
id: 1,
|
id: 1,
|
||||||
fromAccount: {
|
fromAccount: {
|
||||||
address: '0xAddress',
|
address: mockAddress1,
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
@ -2441,7 +2444,7 @@ describe('Send Slice', () => {
|
|||||||
type: AssetType.native,
|
type: AssetType.native,
|
||||||
},
|
},
|
||||||
fromAccount: {
|
fromAccount: {
|
||||||
address: '0xAddress',
|
address: mockAddress1,
|
||||||
balance: '0x0',
|
balance: '0x0',
|
||||||
},
|
},
|
||||||
gas: {
|
gas: {
|
||||||
@ -2514,14 +2517,14 @@ describe('Send Slice', () => {
|
|||||||
},
|
},
|
||||||
identities: {},
|
identities: {},
|
||||||
accounts: {
|
accounts: {
|
||||||
'0xAddress': {
|
[mockAddress1]: {
|
||||||
address: '0xAddress',
|
address: mockAddress1,
|
||||||
balance: '0x0',
|
balance: '0x0',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
cachedBalances: {
|
cachedBalances: {
|
||||||
[CHAIN_IDS.GOERLI]: {
|
[CHAIN_IDS.GOERLI]: {
|
||||||
'0xAddress': '0x0',
|
[mockAddress1]: '0x0',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
tokenList: {},
|
tokenList: {},
|
||||||
@ -2531,10 +2534,10 @@ describe('Send Slice', () => {
|
|||||||
txParams: {
|
txParams: {
|
||||||
data: generateERC721TransferData({
|
data: generateERC721TransferData({
|
||||||
toAddress: BURN_ADDRESS,
|
toAddress: BURN_ADDRESS,
|
||||||
fromAddress: '0xAddress',
|
fromAddress: mockAddress1,
|
||||||
tokenId: BigNumber.from(15000).toString(),
|
tokenId: BigNumber.from(15000).toString(),
|
||||||
}),
|
}),
|
||||||
from: '0xAddress',
|
from: mockAddress1,
|
||||||
to: '0xNftAddress',
|
to: '0xNftAddress',
|
||||||
gas: GAS_LIMITS.BASE_TOKEN_ESTIMATE,
|
gas: GAS_LIMITS.BASE_TOKEN_ESTIMATE,
|
||||||
gasPrice: '0x3b9aca00', // 1000000000
|
gasPrice: '0x3b9aca00', // 1000000000
|
||||||
@ -2584,7 +2587,7 @@ describe('Send Slice', () => {
|
|||||||
type: AssetType.native,
|
type: AssetType.native,
|
||||||
},
|
},
|
||||||
fromAccount: {
|
fromAccount: {
|
||||||
address: '0xAddress',
|
address: mockAddress1,
|
||||||
balance: '0x0',
|
balance: '0x0',
|
||||||
},
|
},
|
||||||
gas: {
|
gas: {
|
||||||
@ -2697,14 +2700,14 @@ describe('Send Slice', () => {
|
|||||||
},
|
},
|
||||||
identities: {},
|
identities: {},
|
||||||
accounts: {
|
accounts: {
|
||||||
'0xAddress': {
|
[mockAddress1]: {
|
||||||
address: '0xAddress',
|
address: mockAddress1,
|
||||||
balance: '0x0',
|
balance: '0x0',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
cachedBalances: {
|
cachedBalances: {
|
||||||
[CHAIN_IDS.GOERLI]: {
|
[CHAIN_IDS.GOERLI]: {
|
||||||
'0xAddress': '0x0',
|
[mockAddress1]: '0x0',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
unapprovedTxs: {
|
unapprovedTxs: {
|
||||||
@ -2720,7 +2723,7 @@ describe('Send Slice', () => {
|
|||||||
decimals: 18,
|
decimals: 18,
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
from: '0xAddress',
|
from: mockAddress1,
|
||||||
to: '0xTokenAddress',
|
to: '0xTokenAddress',
|
||||||
gas: GAS_LIMITS.BASE_TOKEN_ESTIMATE,
|
gas: GAS_LIMITS.BASE_TOKEN_ESTIMATE,
|
||||||
gasPrice: '0x3b9aca00', // 1000000000
|
gasPrice: '0x3b9aca00', // 1000000000
|
||||||
@ -2738,7 +2741,7 @@ describe('Send Slice', () => {
|
|||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
selectedAccount: {
|
selectedAccount: {
|
||||||
address: '0xAddress',
|
address: mockAddress1,
|
||||||
balance: '0x0',
|
balance: '0x0',
|
||||||
},
|
},
|
||||||
stage: SEND_STAGES.EDIT,
|
stage: SEND_STAGES.EDIT,
|
||||||
@ -2775,7 +2778,7 @@ describe('Send Slice', () => {
|
|||||||
type: AssetType.native,
|
type: AssetType.native,
|
||||||
},
|
},
|
||||||
fromAccount: {
|
fromAccount: {
|
||||||
address: '0xAddress',
|
address: mockAddress1,
|
||||||
balance: '0x0',
|
balance: '0x0',
|
||||||
},
|
},
|
||||||
gas: {
|
gas: {
|
||||||
|
18
yarn.lock
18
yarn.lock
@ -10868,27 +10868,13 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"bn.js@npm:4.11.6":
|
"bn.js@npm:^5.2.1":
|
||||||
version: 4.11.6
|
|
||||||
resolution: "bn.js@npm:4.11.6"
|
|
||||||
checksum: db23047bf06fdf9cf74401c8e76bca9f55313c81df382247d2c753868b368562e69171716b81b7038ada8860af18346fd4bcd1cf9d4963f923fe8e54e61cb58a
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"bn.js@npm:>4.0.0, bn.js@npm:^5.1.1, bn.js@npm:^5.1.2, bn.js@npm:^5.1.3, bn.js@npm:^5.2.0, bn.js@npm:^5.2.1":
|
|
||||||
version: 5.2.1
|
version: 5.2.1
|
||||||
resolution: "bn.js@npm:5.2.1"
|
resolution: "bn.js@npm:5.2.1"
|
||||||
checksum: 3dd8c8d38055fedfa95c1d5fc3c99f8dd547b36287b37768db0abab3c239711f88ff58d18d155dd8ad902b0b0cee973747b7ae20ea12a09473272b0201c9edd3
|
checksum: 3dd8c8d38055fedfa95c1d5fc3c99f8dd547b36287b37768db0abab3c239711f88ff58d18d155dd8ad902b0b0cee973747b7ae20ea12a09473272b0201c9edd3
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"bn.js@npm:^4.0.0, bn.js@npm:^4.1.0, bn.js@npm:^4.1.1, bn.js@npm:^4.11.0, bn.js@npm:^4.11.7, bn.js@npm:^4.11.8, bn.js@npm:^4.11.9, bn.js@npm:^4.12.0":
|
|
||||||
version: 4.12.0
|
|
||||||
resolution: "bn.js@npm:4.12.0"
|
|
||||||
checksum: 39afb4f15f4ea537b55eaf1446c896af28ac948fdcf47171961475724d1bb65118cca49fa6e3d67706e4790955ec0e74de584e45c8f1ef89f46c812bee5b5a12
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"bo-selector@npm:0.0.10":
|
"bo-selector@npm:0.0.10":
|
||||||
version: 0.0.10
|
version: 0.0.10
|
||||||
resolution: "bo-selector@npm:0.0.10"
|
resolution: "bo-selector@npm:0.0.10"
|
||||||
@ -24338,7 +24324,7 @@ __metadata:
|
|||||||
base64-js: ^1.5.1
|
base64-js: ^1.5.1
|
||||||
bify-module-groups: ^2.0.0
|
bify-module-groups: ^2.0.0
|
||||||
bignumber.js: ^4.1.0
|
bignumber.js: ^4.1.0
|
||||||
bn.js: ^4.11.7
|
bn.js: ^5.2.1
|
||||||
bowser: ^2.11.0
|
bowser: ^2.11.0
|
||||||
brfs: ^2.0.2
|
brfs: ^2.0.2
|
||||||
browser-util-inspect: ^0.2.0
|
browser-util-inspect: ^0.2.0
|
||||||
|
Loading…
Reference in New Issue
Block a user