mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 09:57:02 +01:00
Update @metamask/safe-event-emitter
(#18419)
The package `safe-event-emitter` has been updated to v2. This update includes renaming the package to be scoped under `@metamask`, and it includes a TypeScript migration.
This commit is contained in:
parent
0614b3db68
commit
74f2d27d10
@ -1,4 +1,4 @@
|
||||
import EventEmitter from 'safe-event-emitter';
|
||||
import EventEmitter from '@metamask/safe-event-emitter';
|
||||
import { ObservableStore } from '@metamask/obs-store';
|
||||
import { bufferToHex, keccak, toBuffer, isHexString } from 'ethereumjs-util';
|
||||
import EthQuery from 'ethjs-query';
|
||||
|
@ -1,4 +1,4 @@
|
||||
import EventEmitter from 'safe-event-emitter';
|
||||
import EventEmitter from '@metamask/safe-event-emitter';
|
||||
import log from 'loglevel';
|
||||
import EthQuery from 'ethjs-query';
|
||||
import { TransactionStatus } from '../../../../shared/constants/transaction';
|
||||
|
@ -1,4 +1,4 @@
|
||||
import EventEmitter from 'safe-event-emitter';
|
||||
import EventEmitter from '@metamask/safe-event-emitter';
|
||||
import { ObservableStore } from '@metamask/obs-store';
|
||||
import log from 'loglevel';
|
||||
import { values, keyBy, mapValues, omitBy, pickBy, sortBy } from 'lodash';
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { EthereumRpcError } from 'eth-rpc-errors';
|
||||
import SafeEventEmitter from 'safe-event-emitter';
|
||||
import SafeEventEmitter from '@metamask/safe-event-emitter';
|
||||
import createRandomId from '../../../shared/modules/random-id';
|
||||
import { TEN_SECONDS_IN_MILLISECONDS } from '../../../shared/lib/transactions-controller-utils';
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
import EventEmitter from 'safe-event-emitter';
|
||||
import EventEmitter from '@metamask/safe-event-emitter';
|
||||
import ExtensionPlatform from '../platforms/extension';
|
||||
|
||||
const NOTIFICATION_HEIGHT = 620;
|
||||
|
@ -469,8 +469,8 @@
|
||||
"@keystonehq/metamask-airgapped-keyring>@metamask/obs-store": {
|
||||
"packages": {
|
||||
"@keystonehq/metamask-airgapped-keyring>@metamask/obs-store>through2": true,
|
||||
"browserify>stream-browserify": true,
|
||||
"json-rpc-engine>@metamask/safe-event-emitter": true
|
||||
"@metamask/safe-event-emitter": true,
|
||||
"browserify>stream-browserify": true
|
||||
}
|
||||
},
|
||||
"@keystonehq/metamask-airgapped-keyring>@metamask/obs-store>through2": {
|
||||
@ -874,10 +874,10 @@
|
||||
"@metamask/eth-json-rpc-infura>@metamask/utils": true,
|
||||
"@metamask/eth-json-rpc-infura>eth-json-rpc-middleware>pify": true,
|
||||
"@metamask/eth-keyring-controller>@metamask/eth-sig-util": true,
|
||||
"@metamask/safe-event-emitter": true,
|
||||
"browserify>browser-resolve": true,
|
||||
"eth-rpc-errors": true,
|
||||
"json-rpc-engine": true,
|
||||
"json-rpc-engine>@metamask/safe-event-emitter": true,
|
||||
"lavamoat>json-stable-stringify": true,
|
||||
"vinyl>clone": true
|
||||
}
|
||||
@ -912,8 +912,8 @@
|
||||
},
|
||||
"@metamask/eth-json-rpc-provider": {
|
||||
"packages": {
|
||||
"json-rpc-engine": true,
|
||||
"json-rpc-engine>@metamask/safe-event-emitter": true
|
||||
"@metamask/safe-event-emitter": true,
|
||||
"json-rpc-engine": true
|
||||
}
|
||||
},
|
||||
"@metamask/eth-keyring-controller": {
|
||||
@ -968,7 +968,7 @@
|
||||
},
|
||||
"@metamask/eth-keyring-controller>obs-store": {
|
||||
"packages": {
|
||||
"safe-event-emitter": true,
|
||||
"@metamask/eth-token-tracker>safe-event-emitter": true,
|
||||
"watchify>xtend": true
|
||||
}
|
||||
},
|
||||
@ -1056,9 +1056,9 @@
|
||||
"@metamask/eth-token-tracker>eth-block-tracker": true,
|
||||
"@metamask/eth-token-tracker>ethjs": true,
|
||||
"@metamask/eth-token-tracker>human-standard-token-abi": true,
|
||||
"@metamask/eth-token-tracker>safe-event-emitter": true,
|
||||
"ethjs-contract": true,
|
||||
"ethjs-query": true,
|
||||
"safe-event-emitter": true
|
||||
"ethjs-query": true
|
||||
}
|
||||
},
|
||||
"@metamask/eth-token-tracker>deep-equal": {
|
||||
@ -1090,8 +1090,8 @@
|
||||
},
|
||||
"packages": {
|
||||
"@metamask/eth-token-tracker>eth-block-tracker>pify": true,
|
||||
"eth-query": true,
|
||||
"safe-event-emitter": true
|
||||
"@metamask/eth-token-tracker>safe-event-emitter": true,
|
||||
"eth-query": true
|
||||
}
|
||||
},
|
||||
"@metamask/eth-token-tracker>ethjs": {
|
||||
@ -1150,6 +1150,15 @@
|
||||
"promise-to-callback": true
|
||||
}
|
||||
},
|
||||
"@metamask/eth-token-tracker>safe-event-emitter": {
|
||||
"globals": {
|
||||
"setTimeout": true
|
||||
},
|
||||
"packages": {
|
||||
"browserify>util": true,
|
||||
"webpack>events": true
|
||||
}
|
||||
},
|
||||
"@metamask/etherscan-link": {
|
||||
"globals": {
|
||||
"URL": true
|
||||
@ -1332,8 +1341,8 @@
|
||||
},
|
||||
"packages": {
|
||||
"@metamask/obs-store>through2": true,
|
||||
"browserify>stream-browserify": true,
|
||||
"json-rpc-engine>@metamask/safe-event-emitter": true
|
||||
"@metamask/safe-event-emitter": true,
|
||||
"browserify>stream-browserify": true
|
||||
}
|
||||
},
|
||||
"@metamask/obs-store>through2": {
|
||||
@ -1455,6 +1464,14 @@
|
||||
"crypto.getRandomValues": true
|
||||
}
|
||||
},
|
||||
"@metamask/safe-event-emitter": {
|
||||
"globals": {
|
||||
"setTimeout": true
|
||||
},
|
||||
"packages": {
|
||||
"browserify>events": true
|
||||
}
|
||||
},
|
||||
"@metamask/scure-bip39": {
|
||||
"globals": {
|
||||
"TextEncoder": true
|
||||
@ -2726,10 +2743,10 @@
|
||||
"setTimeout": true
|
||||
},
|
||||
"packages": {
|
||||
"@metamask/safe-event-emitter": true,
|
||||
"eth-block-tracker>@metamask/utils": true,
|
||||
"eth-block-tracker>pify": true,
|
||||
"eth-query>json-rpc-random-id": true,
|
||||
"json-rpc-engine>@metamask/safe-event-emitter": true
|
||||
"eth-query>json-rpc-random-id": true
|
||||
}
|
||||
},
|
||||
"eth-block-tracker>@metamask/utils": {
|
||||
@ -2772,10 +2789,10 @@
|
||||
"console.error": true
|
||||
},
|
||||
"packages": {
|
||||
"@metamask/safe-event-emitter": true,
|
||||
"eth-json-rpc-filters>async-mutex": true,
|
||||
"eth-query": true,
|
||||
"json-rpc-engine": true,
|
||||
"json-rpc-engine>@metamask/safe-event-emitter": true,
|
||||
"pify": true
|
||||
}
|
||||
},
|
||||
@ -3614,16 +3631,8 @@
|
||||
},
|
||||
"json-rpc-engine": {
|
||||
"packages": {
|
||||
"eth-rpc-errors": true,
|
||||
"json-rpc-engine>@metamask/safe-event-emitter": true
|
||||
}
|
||||
},
|
||||
"json-rpc-engine>@metamask/safe-event-emitter": {
|
||||
"globals": {
|
||||
"setTimeout": true
|
||||
},
|
||||
"packages": {
|
||||
"browserify>events": true
|
||||
"@metamask/safe-event-emitter": true,
|
||||
"eth-rpc-errors": true
|
||||
}
|
||||
},
|
||||
"json-rpc-middleware-stream": {
|
||||
@ -3632,7 +3641,7 @@
|
||||
"setTimeout": true
|
||||
},
|
||||
"packages": {
|
||||
"json-rpc-engine>@metamask/safe-event-emitter": true,
|
||||
"@metamask/safe-event-emitter": true,
|
||||
"readable-stream": true
|
||||
}
|
||||
},
|
||||
@ -4211,15 +4220,6 @@
|
||||
"@babel/runtime": true
|
||||
}
|
||||
},
|
||||
"safe-event-emitter": {
|
||||
"globals": {
|
||||
"setTimeout": true
|
||||
},
|
||||
"packages": {
|
||||
"browserify>util": true,
|
||||
"webpack>events": true
|
||||
}
|
||||
},
|
||||
"semver": {
|
||||
"globals": {
|
||||
"console.error": true
|
||||
|
@ -469,8 +469,8 @@
|
||||
"@keystonehq/metamask-airgapped-keyring>@metamask/obs-store": {
|
||||
"packages": {
|
||||
"@keystonehq/metamask-airgapped-keyring>@metamask/obs-store>through2": true,
|
||||
"browserify>stream-browserify": true,
|
||||
"json-rpc-engine>@metamask/safe-event-emitter": true
|
||||
"@metamask/safe-event-emitter": true,
|
||||
"browserify>stream-browserify": true
|
||||
}
|
||||
},
|
||||
"@keystonehq/metamask-airgapped-keyring>@metamask/obs-store>through2": {
|
||||
@ -928,10 +928,10 @@
|
||||
"@metamask/eth-json-rpc-infura>@metamask/utils": true,
|
||||
"@metamask/eth-json-rpc-infura>eth-json-rpc-middleware>pify": true,
|
||||
"@metamask/eth-keyring-controller>@metamask/eth-sig-util": true,
|
||||
"@metamask/safe-event-emitter": true,
|
||||
"browserify>browser-resolve": true,
|
||||
"eth-rpc-errors": true,
|
||||
"json-rpc-engine": true,
|
||||
"json-rpc-engine>@metamask/safe-event-emitter": true,
|
||||
"lavamoat>json-stable-stringify": true,
|
||||
"vinyl>clone": true
|
||||
}
|
||||
@ -966,8 +966,8 @@
|
||||
},
|
||||
"@metamask/eth-json-rpc-provider": {
|
||||
"packages": {
|
||||
"json-rpc-engine": true,
|
||||
"json-rpc-engine>@metamask/safe-event-emitter": true
|
||||
"@metamask/safe-event-emitter": true,
|
||||
"json-rpc-engine": true
|
||||
}
|
||||
},
|
||||
"@metamask/eth-keyring-controller": {
|
||||
@ -1022,7 +1022,7 @@
|
||||
},
|
||||
"@metamask/eth-keyring-controller>obs-store": {
|
||||
"packages": {
|
||||
"safe-event-emitter": true,
|
||||
"@metamask/eth-token-tracker>safe-event-emitter": true,
|
||||
"watchify>xtend": true
|
||||
}
|
||||
},
|
||||
@ -1110,9 +1110,9 @@
|
||||
"@metamask/eth-token-tracker>eth-block-tracker": true,
|
||||
"@metamask/eth-token-tracker>ethjs": true,
|
||||
"@metamask/eth-token-tracker>human-standard-token-abi": true,
|
||||
"@metamask/eth-token-tracker>safe-event-emitter": true,
|
||||
"ethjs-contract": true,
|
||||
"ethjs-query": true,
|
||||
"safe-event-emitter": true
|
||||
"ethjs-query": true
|
||||
}
|
||||
},
|
||||
"@metamask/eth-token-tracker>deep-equal": {
|
||||
@ -1144,8 +1144,8 @@
|
||||
},
|
||||
"packages": {
|
||||
"@metamask/eth-token-tracker>eth-block-tracker>pify": true,
|
||||
"eth-query": true,
|
||||
"safe-event-emitter": true
|
||||
"@metamask/eth-token-tracker>safe-event-emitter": true,
|
||||
"eth-query": true
|
||||
}
|
||||
},
|
||||
"@metamask/eth-token-tracker>ethjs": {
|
||||
@ -1204,6 +1204,15 @@
|
||||
"promise-to-callback": true
|
||||
}
|
||||
},
|
||||
"@metamask/eth-token-tracker>safe-event-emitter": {
|
||||
"globals": {
|
||||
"setTimeout": true
|
||||
},
|
||||
"packages": {
|
||||
"browserify>util": true,
|
||||
"webpack>events": true
|
||||
}
|
||||
},
|
||||
"@metamask/etherscan-link": {
|
||||
"globals": {
|
||||
"URL": true
|
||||
@ -1398,8 +1407,8 @@
|
||||
},
|
||||
"packages": {
|
||||
"@metamask/obs-store>through2": true,
|
||||
"browserify>stream-browserify": true,
|
||||
"json-rpc-engine>@metamask/safe-event-emitter": true
|
||||
"@metamask/safe-event-emitter": true,
|
||||
"browserify>stream-browserify": true
|
||||
}
|
||||
},
|
||||
"@metamask/obs-store>through2": {
|
||||
@ -1610,6 +1619,14 @@
|
||||
"crypto.getRandomValues": true
|
||||
}
|
||||
},
|
||||
"@metamask/safe-event-emitter": {
|
||||
"globals": {
|
||||
"setTimeout": true
|
||||
},
|
||||
"packages": {
|
||||
"browserify>events": true
|
||||
}
|
||||
},
|
||||
"@metamask/scure-bip39": {
|
||||
"globals": {
|
||||
"TextEncoder": true
|
||||
@ -3121,10 +3138,10 @@
|
||||
"setTimeout": true
|
||||
},
|
||||
"packages": {
|
||||
"@metamask/safe-event-emitter": true,
|
||||
"eth-block-tracker>@metamask/utils": true,
|
||||
"eth-block-tracker>pify": true,
|
||||
"eth-query>json-rpc-random-id": true,
|
||||
"json-rpc-engine>@metamask/safe-event-emitter": true
|
||||
"eth-query>json-rpc-random-id": true
|
||||
}
|
||||
},
|
||||
"eth-block-tracker>@metamask/utils": {
|
||||
@ -3167,10 +3184,10 @@
|
||||
"console.error": true
|
||||
},
|
||||
"packages": {
|
||||
"@metamask/safe-event-emitter": true,
|
||||
"eth-json-rpc-filters>async-mutex": true,
|
||||
"eth-query": true,
|
||||
"json-rpc-engine": true,
|
||||
"json-rpc-engine>@metamask/safe-event-emitter": true,
|
||||
"pify": true
|
||||
}
|
||||
},
|
||||
@ -4009,16 +4026,8 @@
|
||||
},
|
||||
"json-rpc-engine": {
|
||||
"packages": {
|
||||
"eth-rpc-errors": true,
|
||||
"json-rpc-engine>@metamask/safe-event-emitter": true
|
||||
}
|
||||
},
|
||||
"json-rpc-engine>@metamask/safe-event-emitter": {
|
||||
"globals": {
|
||||
"setTimeout": true
|
||||
},
|
||||
"packages": {
|
||||
"browserify>events": true
|
||||
"@metamask/safe-event-emitter": true,
|
||||
"eth-rpc-errors": true
|
||||
}
|
||||
},
|
||||
"json-rpc-middleware-stream": {
|
||||
@ -4027,7 +4036,7 @@
|
||||
"setTimeout": true
|
||||
},
|
||||
"packages": {
|
||||
"json-rpc-engine>@metamask/safe-event-emitter": true,
|
||||
"@metamask/safe-event-emitter": true,
|
||||
"readable-stream": true
|
||||
}
|
||||
},
|
||||
@ -4738,15 +4747,6 @@
|
||||
"@babel/runtime": true
|
||||
}
|
||||
},
|
||||
"safe-event-emitter": {
|
||||
"globals": {
|
||||
"setTimeout": true
|
||||
},
|
||||
"packages": {
|
||||
"browserify>util": true,
|
||||
"webpack>events": true
|
||||
}
|
||||
},
|
||||
"semver": {
|
||||
"globals": {
|
||||
"console.error": true
|
||||
|
@ -469,8 +469,8 @@
|
||||
"@keystonehq/metamask-airgapped-keyring>@metamask/obs-store": {
|
||||
"packages": {
|
||||
"@keystonehq/metamask-airgapped-keyring>@metamask/obs-store>through2": true,
|
||||
"browserify>stream-browserify": true,
|
||||
"json-rpc-engine>@metamask/safe-event-emitter": true
|
||||
"@metamask/safe-event-emitter": true,
|
||||
"browserify>stream-browserify": true
|
||||
}
|
||||
},
|
||||
"@keystonehq/metamask-airgapped-keyring>@metamask/obs-store>through2": {
|
||||
@ -928,10 +928,10 @@
|
||||
"@metamask/eth-json-rpc-infura>@metamask/utils": true,
|
||||
"@metamask/eth-json-rpc-infura>eth-json-rpc-middleware>pify": true,
|
||||
"@metamask/eth-keyring-controller>@metamask/eth-sig-util": true,
|
||||
"@metamask/safe-event-emitter": true,
|
||||
"browserify>browser-resolve": true,
|
||||
"eth-rpc-errors": true,
|
||||
"json-rpc-engine": true,
|
||||
"json-rpc-engine>@metamask/safe-event-emitter": true,
|
||||
"lavamoat>json-stable-stringify": true,
|
||||
"vinyl>clone": true
|
||||
}
|
||||
@ -966,8 +966,8 @@
|
||||
},
|
||||
"@metamask/eth-json-rpc-provider": {
|
||||
"packages": {
|
||||
"json-rpc-engine": true,
|
||||
"json-rpc-engine>@metamask/safe-event-emitter": true
|
||||
"@metamask/safe-event-emitter": true,
|
||||
"json-rpc-engine": true
|
||||
}
|
||||
},
|
||||
"@metamask/eth-keyring-controller": {
|
||||
@ -1022,7 +1022,7 @@
|
||||
},
|
||||
"@metamask/eth-keyring-controller>obs-store": {
|
||||
"packages": {
|
||||
"safe-event-emitter": true,
|
||||
"@metamask/eth-token-tracker>safe-event-emitter": true,
|
||||
"watchify>xtend": true
|
||||
}
|
||||
},
|
||||
@ -1110,9 +1110,9 @@
|
||||
"@metamask/eth-token-tracker>eth-block-tracker": true,
|
||||
"@metamask/eth-token-tracker>ethjs": true,
|
||||
"@metamask/eth-token-tracker>human-standard-token-abi": true,
|
||||
"@metamask/eth-token-tracker>safe-event-emitter": true,
|
||||
"ethjs-contract": true,
|
||||
"ethjs-query": true,
|
||||
"safe-event-emitter": true
|
||||
"ethjs-query": true
|
||||
}
|
||||
},
|
||||
"@metamask/eth-token-tracker>deep-equal": {
|
||||
@ -1144,8 +1144,8 @@
|
||||
},
|
||||
"packages": {
|
||||
"@metamask/eth-token-tracker>eth-block-tracker>pify": true,
|
||||
"eth-query": true,
|
||||
"safe-event-emitter": true
|
||||
"@metamask/eth-token-tracker>safe-event-emitter": true,
|
||||
"eth-query": true
|
||||
}
|
||||
},
|
||||
"@metamask/eth-token-tracker>ethjs": {
|
||||
@ -1204,6 +1204,15 @@
|
||||
"promise-to-callback": true
|
||||
}
|
||||
},
|
||||
"@metamask/eth-token-tracker>safe-event-emitter": {
|
||||
"globals": {
|
||||
"setTimeout": true
|
||||
},
|
||||
"packages": {
|
||||
"browserify>util": true,
|
||||
"webpack>events": true
|
||||
}
|
||||
},
|
||||
"@metamask/etherscan-link": {
|
||||
"globals": {
|
||||
"URL": true
|
||||
@ -1398,8 +1407,8 @@
|
||||
},
|
||||
"packages": {
|
||||
"@metamask/obs-store>through2": true,
|
||||
"browserify>stream-browserify": true,
|
||||
"json-rpc-engine>@metamask/safe-event-emitter": true
|
||||
"@metamask/safe-event-emitter": true,
|
||||
"browserify>stream-browserify": true
|
||||
}
|
||||
},
|
||||
"@metamask/obs-store>through2": {
|
||||
@ -1610,6 +1619,14 @@
|
||||
"crypto.getRandomValues": true
|
||||
}
|
||||
},
|
||||
"@metamask/safe-event-emitter": {
|
||||
"globals": {
|
||||
"setTimeout": true
|
||||
},
|
||||
"packages": {
|
||||
"browserify>events": true
|
||||
}
|
||||
},
|
||||
"@metamask/scure-bip39": {
|
||||
"globals": {
|
||||
"TextEncoder": true
|
||||
@ -3121,10 +3138,10 @@
|
||||
"setTimeout": true
|
||||
},
|
||||
"packages": {
|
||||
"@metamask/safe-event-emitter": true,
|
||||
"eth-block-tracker>@metamask/utils": true,
|
||||
"eth-block-tracker>pify": true,
|
||||
"eth-query>json-rpc-random-id": true,
|
||||
"json-rpc-engine>@metamask/safe-event-emitter": true
|
||||
"eth-query>json-rpc-random-id": true
|
||||
}
|
||||
},
|
||||
"eth-block-tracker>@metamask/utils": {
|
||||
@ -3167,10 +3184,10 @@
|
||||
"console.error": true
|
||||
},
|
||||
"packages": {
|
||||
"@metamask/safe-event-emitter": true,
|
||||
"eth-json-rpc-filters>async-mutex": true,
|
||||
"eth-query": true,
|
||||
"json-rpc-engine": true,
|
||||
"json-rpc-engine>@metamask/safe-event-emitter": true,
|
||||
"pify": true
|
||||
}
|
||||
},
|
||||
@ -4009,16 +4026,8 @@
|
||||
},
|
||||
"json-rpc-engine": {
|
||||
"packages": {
|
||||
"eth-rpc-errors": true,
|
||||
"json-rpc-engine>@metamask/safe-event-emitter": true
|
||||
}
|
||||
},
|
||||
"json-rpc-engine>@metamask/safe-event-emitter": {
|
||||
"globals": {
|
||||
"setTimeout": true
|
||||
},
|
||||
"packages": {
|
||||
"browserify>events": true
|
||||
"@metamask/safe-event-emitter": true,
|
||||
"eth-rpc-errors": true
|
||||
}
|
||||
},
|
||||
"json-rpc-middleware-stream": {
|
||||
@ -4027,7 +4036,7 @@
|
||||
"setTimeout": true
|
||||
},
|
||||
"packages": {
|
||||
"json-rpc-engine>@metamask/safe-event-emitter": true,
|
||||
"@metamask/safe-event-emitter": true,
|
||||
"readable-stream": true
|
||||
}
|
||||
},
|
||||
@ -4738,15 +4747,6 @@
|
||||
"@babel/runtime": true
|
||||
}
|
||||
},
|
||||
"safe-event-emitter": {
|
||||
"globals": {
|
||||
"setTimeout": true
|
||||
},
|
||||
"packages": {
|
||||
"browserify>util": true,
|
||||
"webpack>events": true
|
||||
}
|
||||
},
|
||||
"semver": {
|
||||
"globals": {
|
||||
"console.error": true
|
||||
|
@ -469,8 +469,8 @@
|
||||
"@keystonehq/metamask-airgapped-keyring>@metamask/obs-store": {
|
||||
"packages": {
|
||||
"@keystonehq/metamask-airgapped-keyring>@metamask/obs-store>through2": true,
|
||||
"browserify>stream-browserify": true,
|
||||
"json-rpc-engine>@metamask/safe-event-emitter": true
|
||||
"@metamask/safe-event-emitter": true,
|
||||
"browserify>stream-browserify": true
|
||||
}
|
||||
},
|
||||
"@keystonehq/metamask-airgapped-keyring>@metamask/obs-store>through2": {
|
||||
@ -874,10 +874,10 @@
|
||||
"@metamask/eth-json-rpc-infura>@metamask/utils": true,
|
||||
"@metamask/eth-json-rpc-infura>eth-json-rpc-middleware>pify": true,
|
||||
"@metamask/eth-keyring-controller>@metamask/eth-sig-util": true,
|
||||
"@metamask/safe-event-emitter": true,
|
||||
"browserify>browser-resolve": true,
|
||||
"eth-rpc-errors": true,
|
||||
"json-rpc-engine": true,
|
||||
"json-rpc-engine>@metamask/safe-event-emitter": true,
|
||||
"lavamoat>json-stable-stringify": true,
|
||||
"vinyl>clone": true
|
||||
}
|
||||
@ -912,8 +912,8 @@
|
||||
},
|
||||
"@metamask/eth-json-rpc-provider": {
|
||||
"packages": {
|
||||
"json-rpc-engine": true,
|
||||
"json-rpc-engine>@metamask/safe-event-emitter": true
|
||||
"@metamask/safe-event-emitter": true,
|
||||
"json-rpc-engine": true
|
||||
}
|
||||
},
|
||||
"@metamask/eth-keyring-controller": {
|
||||
@ -968,7 +968,7 @@
|
||||
},
|
||||
"@metamask/eth-keyring-controller>obs-store": {
|
||||
"packages": {
|
||||
"safe-event-emitter": true,
|
||||
"@metamask/eth-token-tracker>safe-event-emitter": true,
|
||||
"watchify>xtend": true
|
||||
}
|
||||
},
|
||||
@ -1056,9 +1056,9 @@
|
||||
"@metamask/eth-token-tracker>eth-block-tracker": true,
|
||||
"@metamask/eth-token-tracker>ethjs": true,
|
||||
"@metamask/eth-token-tracker>human-standard-token-abi": true,
|
||||
"@metamask/eth-token-tracker>safe-event-emitter": true,
|
||||
"ethjs-contract": true,
|
||||
"ethjs-query": true,
|
||||
"safe-event-emitter": true
|
||||
"ethjs-query": true
|
||||
}
|
||||
},
|
||||
"@metamask/eth-token-tracker>deep-equal": {
|
||||
@ -1090,8 +1090,8 @@
|
||||
},
|
||||
"packages": {
|
||||
"@metamask/eth-token-tracker>eth-block-tracker>pify": true,
|
||||
"eth-query": true,
|
||||
"safe-event-emitter": true
|
||||
"@metamask/eth-token-tracker>safe-event-emitter": true,
|
||||
"eth-query": true
|
||||
}
|
||||
},
|
||||
"@metamask/eth-token-tracker>ethjs": {
|
||||
@ -1150,6 +1150,15 @@
|
||||
"promise-to-callback": true
|
||||
}
|
||||
},
|
||||
"@metamask/eth-token-tracker>safe-event-emitter": {
|
||||
"globals": {
|
||||
"setTimeout": true
|
||||
},
|
||||
"packages": {
|
||||
"browserify>util": true,
|
||||
"webpack>events": true
|
||||
}
|
||||
},
|
||||
"@metamask/etherscan-link": {
|
||||
"globals": {
|
||||
"URL": true
|
||||
@ -1332,8 +1341,8 @@
|
||||
},
|
||||
"packages": {
|
||||
"@metamask/obs-store>through2": true,
|
||||
"browserify>stream-browserify": true,
|
||||
"json-rpc-engine>@metamask/safe-event-emitter": true
|
||||
"@metamask/safe-event-emitter": true,
|
||||
"browserify>stream-browserify": true
|
||||
}
|
||||
},
|
||||
"@metamask/obs-store>through2": {
|
||||
@ -1455,6 +1464,14 @@
|
||||
"crypto.getRandomValues": true
|
||||
}
|
||||
},
|
||||
"@metamask/safe-event-emitter": {
|
||||
"globals": {
|
||||
"setTimeout": true
|
||||
},
|
||||
"packages": {
|
||||
"browserify>events": true
|
||||
}
|
||||
},
|
||||
"@metamask/scure-bip39": {
|
||||
"globals": {
|
||||
"TextEncoder": true
|
||||
@ -2726,10 +2743,10 @@
|
||||
"setTimeout": true
|
||||
},
|
||||
"packages": {
|
||||
"@metamask/safe-event-emitter": true,
|
||||
"eth-block-tracker>@metamask/utils": true,
|
||||
"eth-block-tracker>pify": true,
|
||||
"eth-query>json-rpc-random-id": true,
|
||||
"json-rpc-engine>@metamask/safe-event-emitter": true
|
||||
"eth-query>json-rpc-random-id": true
|
||||
}
|
||||
},
|
||||
"eth-block-tracker>@metamask/utils": {
|
||||
@ -2772,10 +2789,10 @@
|
||||
"console.error": true
|
||||
},
|
||||
"packages": {
|
||||
"@metamask/safe-event-emitter": true,
|
||||
"eth-json-rpc-filters>async-mutex": true,
|
||||
"eth-query": true,
|
||||
"json-rpc-engine": true,
|
||||
"json-rpc-engine>@metamask/safe-event-emitter": true,
|
||||
"pify": true
|
||||
}
|
||||
},
|
||||
@ -3614,16 +3631,8 @@
|
||||
},
|
||||
"json-rpc-engine": {
|
||||
"packages": {
|
||||
"eth-rpc-errors": true,
|
||||
"json-rpc-engine>@metamask/safe-event-emitter": true
|
||||
}
|
||||
},
|
||||
"json-rpc-engine>@metamask/safe-event-emitter": {
|
||||
"globals": {
|
||||
"setTimeout": true
|
||||
},
|
||||
"packages": {
|
||||
"browserify>events": true
|
||||
"@metamask/safe-event-emitter": true,
|
||||
"eth-rpc-errors": true
|
||||
}
|
||||
},
|
||||
"json-rpc-middleware-stream": {
|
||||
@ -3632,7 +3641,7 @@
|
||||
"setTimeout": true
|
||||
},
|
||||
"packages": {
|
||||
"json-rpc-engine>@metamask/safe-event-emitter": true,
|
||||
"@metamask/safe-event-emitter": true,
|
||||
"readable-stream": true
|
||||
}
|
||||
},
|
||||
@ -4211,15 +4220,6 @@
|
||||
"@babel/runtime": true
|
||||
}
|
||||
},
|
||||
"safe-event-emitter": {
|
||||
"globals": {
|
||||
"setTimeout": true
|
||||
},
|
||||
"packages": {
|
||||
"browserify>util": true,
|
||||
"webpack>events": true
|
||||
}
|
||||
},
|
||||
"semver": {
|
||||
"globals": {
|
||||
"console.error": true
|
||||
|
@ -255,6 +255,7 @@
|
||||
"@metamask/providers": "^10.2.1",
|
||||
"@metamask/rate-limit-controller": "^1.0.0",
|
||||
"@metamask/rpc-methods": "^0.32.2",
|
||||
"@metamask/safe-event-emitter": "^2.0.0",
|
||||
"@metamask/scure-bip39": "^2.0.3",
|
||||
"@metamask/slip44": "^2.1.0",
|
||||
"@metamask/smart-transactions-controller": "^3.1.0",
|
||||
@ -348,7 +349,6 @@
|
||||
"redux-thunk": "^2.3.0",
|
||||
"remove-trailing-slash": "^0.1.1",
|
||||
"reselect": "^3.0.1",
|
||||
"safe-event-emitter": "^1.0.1",
|
||||
"ses": "^0.12.4",
|
||||
"single-call-balance-checker-abi": "^1.0.0",
|
||||
"swappable-obj-proxy": "^1.1.0",
|
||||
|
@ -24297,6 +24297,7 @@ __metadata:
|
||||
"@metamask/providers": ^10.2.1
|
||||
"@metamask/rate-limit-controller": ^1.0.0
|
||||
"@metamask/rpc-methods": ^0.32.2
|
||||
"@metamask/safe-event-emitter": ^2.0.0
|
||||
"@metamask/scure-bip39": ^2.0.3
|
||||
"@metamask/slip44": ^2.1.0
|
||||
"@metamask/smart-transactions-controller": ^3.1.0
|
||||
@ -24526,7 +24527,6 @@ __metadata:
|
||||
require-from-string: ^2.0.2
|
||||
reselect: ^3.0.1
|
||||
resolve-url-loader: ^3.1.5
|
||||
safe-event-emitter: ^1.0.1
|
||||
sass: ^1.32.4
|
||||
sass-loader: ^10.1.1
|
||||
selenium-webdriver: ^4.3.1
|
||||
|
Loading…
Reference in New Issue
Block a user