@metamask/assets-controllers 32.0.0 → 34.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +95 -1
- package/dist/AccountTrackerController.js +2 -2
- package/dist/AccountTrackerController.mjs +1 -1
- package/dist/AssetsContractController.js +6 -6
- package/dist/AssetsContractController.mjs +5 -5
- package/dist/CurrencyRateController.js +3 -3
- package/dist/CurrencyRateController.mjs +2 -2
- package/dist/NftController.js +3 -3
- package/dist/NftController.mjs +2 -2
- package/dist/NftDetectionController.js +2 -2
- package/dist/NftDetectionController.mjs +1 -1
- package/dist/RatesController/RatesController.js +3 -3
- package/dist/RatesController/RatesController.mjs +2 -2
- package/dist/RatesController/index.js +3 -3
- package/dist/RatesController/index.mjs +2 -2
- package/dist/Standards/ERC20Standard.js +3 -3
- package/dist/Standards/ERC20Standard.mjs +2 -2
- package/dist/Standards/NftStandards/ERC1155/ERC1155Standard.js +3 -3
- package/dist/Standards/NftStandards/ERC1155/ERC1155Standard.mjs +2 -2
- package/dist/Standards/NftStandards/ERC721/ERC721Standard.js +3 -3
- package/dist/Standards/NftStandards/ERC721/ERC721Standard.mjs +2 -2
- package/dist/TokenBalancesController.js +2 -2
- package/dist/TokenBalancesController.mjs +1 -1
- package/dist/TokenDetectionController.js +3 -3
- package/dist/TokenDetectionController.mjs +2 -2
- package/dist/TokenListController.js +4 -4
- package/dist/TokenListController.mjs +3 -3
- package/dist/TokenRatesController.js +9 -5
- package/dist/TokenRatesController.mjs +10 -6
- package/dist/TokensController.js +6 -6
- package/dist/TokensController.mjs +5 -5
- package/dist/assetsUtil.js +2 -2
- package/dist/assetsUtil.mjs +1 -1
- package/dist/chunk-2IIQTSLV.mjs +236 -0
- package/dist/chunk-2IIQTSLV.mjs.map +1 -0
- package/dist/{chunk-4AC3X2U5.js → chunk-2NQRWANM.js} +85 -43
- package/dist/chunk-2NQRWANM.js.map +1 -0
- package/dist/{chunk-MR6EF4B7.mjs → chunk-2TSAUGE7.mjs} +43 -20
- package/dist/chunk-2TSAUGE7.mjs.map +1 -0
- package/dist/chunk-354SINOH.js +236 -0
- package/dist/chunk-354SINOH.js.map +1 -0
- package/dist/{chunk-5W5OO2Q5.mjs → chunk-47CRHAUE.mjs} +2 -2
- package/dist/chunk-47CRHAUE.mjs.map +1 -0
- package/dist/{chunk-73F3SN5O.mjs → chunk-4JLB5OIJ.mjs} +79 -37
- package/dist/chunk-4JLB5OIJ.mjs.map +1 -0
- package/dist/{chunk-D3K5MPMW.mjs → chunk-56O7BVZV.mjs} +2 -2
- package/dist/{chunk-B5YY22QQ.js → chunk-6PPM4ETZ.js} +3 -3
- package/dist/{chunk-WCCLSUOI.mjs → chunk-6VQJFTNC.mjs} +4 -4
- package/dist/chunk-6VQJFTNC.mjs.map +1 -0
- package/dist/{chunk-CGLUTXI7.js → chunk-7JWDWDXT.js} +190 -107
- package/dist/chunk-7JWDWDXT.js.map +1 -0
- package/dist/{chunk-JUI3XNEF.js → chunk-7OZL6IDY.js} +16 -9
- package/dist/chunk-7OZL6IDY.js.map +1 -0
- package/dist/{chunk-YIFA2HXH.js → chunk-F6L3DFOZ.js} +5 -3
- package/dist/chunk-F6L3DFOZ.js.map +1 -0
- package/dist/{chunk-HDI4L2DD.js → chunk-GHKGU6GK.js} +46 -23
- package/dist/chunk-GHKGU6GK.js.map +1 -0
- package/dist/{chunk-E4ECCGJV.mjs → chunk-GJCTAKK5.mjs} +197 -99
- package/dist/chunk-GJCTAKK5.mjs.map +1 -0
- package/dist/{chunk-B6W4CQOR.mjs → chunk-HJ5GXVDT.mjs} +2 -2
- package/dist/chunk-HJ5GXVDT.mjs.map +1 -0
- package/dist/chunk-HVOIBGYN.js +282 -0
- package/dist/chunk-HVOIBGYN.js.map +1 -0
- package/dist/{chunk-BOTVAG4A.js → chunk-JBF4XEGR.js} +5 -5
- package/dist/{chunk-ASA5RLBY.mjs → chunk-JEIAMJGS.mjs} +2 -2
- package/dist/{chunk-CNKVITJO.mjs → chunk-JTXPJ6TK.mjs} +4 -2
- package/dist/chunk-JTXPJ6TK.mjs.map +1 -0
- package/dist/{chunk-U3DJJN4X.js → chunk-LBJTMJFA.js} +4 -4
- package/dist/{chunk-IBK6AXPP.js → chunk-NHFZIY2K.js} +4 -4
- package/dist/chunk-NHFZIY2K.js.map +1 -0
- package/dist/{chunk-NEXY7SE2.js → chunk-NYVA7ZTQ.js} +2 -2
- package/dist/chunk-NYVA7ZTQ.js.map +1 -0
- package/dist/{chunk-UEDNQBJN.js → chunk-RPQ737HL.js} +202 -104
- package/dist/chunk-RPQ737HL.js.map +1 -0
- package/dist/{chunk-B5YVX5IO.mjs → chunk-SBWPU4VT.mjs} +4 -2
- package/dist/chunk-SBWPU4VT.mjs.map +1 -0
- package/dist/{chunk-ELSMS5S7.js → chunk-T5ZX5BV7.js} +3 -3
- package/dist/{chunk-ELSMS5S7.js.map → chunk-T5ZX5BV7.js.map} +1 -1
- package/dist/{chunk-HLCGZGPA.mjs → chunk-TWR6P5WG.mjs} +11 -7
- package/dist/chunk-TWR6P5WG.mjs.map +1 -0
- package/dist/{chunk-LZ5ZGQEX.mjs → chunk-UYH6NWKB.mjs} +2 -2
- package/dist/{chunk-Z6TBQQE5.js → chunk-V6DNVROD.js} +4 -4
- package/dist/chunk-V6DNVROD.js.map +1 -0
- package/dist/{chunk-Q5JRBGWO.mjs → chunk-VELPHITE.mjs} +2 -2
- package/dist/chunk-VELPHITE.mjs.map +1 -0
- package/dist/{chunk-62T7RKU3.mjs → chunk-W57QXOHJ.mjs} +188 -105
- package/dist/chunk-W57QXOHJ.mjs.map +1 -0
- package/dist/{chunk-PYMUBJQX.js → chunk-X4RMS365.js} +3 -3
- package/dist/chunk-X4RMS365.js.map +1 -0
- package/dist/{chunk-Y35SM7TO.mjs → chunk-XQO3EG4J.mjs} +4 -4
- package/dist/chunk-XQO3EG4J.mjs.map +1 -0
- package/dist/{chunk-QHWKLZUC.js → chunk-XSNGD5US.js} +14 -10
- package/dist/chunk-XSNGD5US.js.map +1 -0
- package/dist/{chunk-A2DDWXMS.mjs → chunk-Y45HQET7.mjs} +12 -5
- package/dist/chunk-Y45HQET7.mjs.map +1 -0
- package/dist/chunk-Z7RMCHD4.mjs +282 -0
- package/dist/chunk-Z7RMCHD4.mjs.map +1 -0
- package/dist/{chunk-WB6KJX4N.js → chunk-ZG5MS2TO.js} +4 -2
- package/dist/chunk-ZG5MS2TO.js.map +1 -0
- package/dist/crypto-compare-service/crypto-compare.js +2 -2
- package/dist/crypto-compare-service/crypto-compare.mjs +1 -1
- package/dist/crypto-compare-service/index.js +2 -2
- package/dist/crypto-compare-service/index.mjs +1 -1
- package/dist/index.js +21 -19
- package/dist/index.mjs +21 -19
- package/dist/token-prices-service/codefi-v2.js +2 -2
- package/dist/token-prices-service/codefi-v2.mjs +1 -1
- package/dist/token-prices-service/index.js +2 -2
- package/dist/token-prices-service/index.mjs +1 -1
- package/dist/token-service.js +3 -3
- package/dist/token-service.mjs +2 -2
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/AccountTrackerController.d.ts +53 -68
- package/dist/types/AccountTrackerController.d.ts.map +1 -1
- package/dist/types/AssetsContractController.d.ts.map +1 -1
- package/dist/types/CurrencyRateController.d.ts.map +1 -1
- package/dist/types/NftController.d.ts +4 -5
- package/dist/types/NftController.d.ts.map +1 -1
- package/dist/types/NftDetectionController.d.ts +7 -18
- package/dist/types/NftDetectionController.d.ts.map +1 -1
- package/dist/types/RatesController/RatesController.d.ts.map +1 -1
- package/dist/types/TokenBalancesController.d.ts +2 -2
- package/dist/types/TokenBalancesController.d.ts.map +1 -1
- package/dist/types/TokenDetectionController.d.ts +4 -6
- package/dist/types/TokenDetectionController.d.ts.map +1 -1
- package/dist/types/TokenListController.d.ts.map +1 -1
- package/dist/types/TokenRatesController.d.ts +72 -65
- package/dist/types/TokenRatesController.d.ts.map +1 -1
- package/dist/types/TokensController.d.ts +4 -6
- package/dist/types/TokensController.d.ts.map +1 -1
- package/dist/types/assetsUtil.d.ts.map +1 -1
- package/dist/types/crypto-compare-service/crypto-compare.d.ts.map +1 -1
- package/dist/types/index.d.ts +4 -3
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/token-prices-service/abstract-token-prices-service.d.ts +0 -1
- package/dist/types/token-prices-service/abstract-token-prices-service.d.ts.map +1 -1
- package/dist/types/token-prices-service/codefi-v2.d.ts +1 -1
- package/dist/types/token-prices-service/codefi-v2.d.ts.map +1 -1
- package/dist/types/token-service.d.ts.map +1 -1
- package/package.json +5 -5
- package/dist/chunk-4AC3X2U5.js.map +0 -1
- package/dist/chunk-543CC74T.mjs +0 -253
- package/dist/chunk-543CC74T.mjs.map +0 -1
- package/dist/chunk-5W5OO2Q5.mjs.map +0 -1
- package/dist/chunk-62T7RKU3.mjs.map +0 -1
- package/dist/chunk-65PB33TE.mjs +0 -246
- package/dist/chunk-65PB33TE.mjs.map +0 -1
- package/dist/chunk-73F3SN5O.mjs.map +0 -1
- package/dist/chunk-A2DDWXMS.mjs.map +0 -1
- package/dist/chunk-B5YVX5IO.mjs.map +0 -1
- package/dist/chunk-B6W4CQOR.mjs.map +0 -1
- package/dist/chunk-CGLUTXI7.js.map +0 -1
- package/dist/chunk-CNKVITJO.mjs.map +0 -1
- package/dist/chunk-E4ECCGJV.mjs.map +0 -1
- package/dist/chunk-GU53EI7A.js +0 -246
- package/dist/chunk-GU53EI7A.js.map +0 -1
- package/dist/chunk-HDI4L2DD.js.map +0 -1
- package/dist/chunk-HLCGZGPA.mjs.map +0 -1
- package/dist/chunk-IBK6AXPP.js.map +0 -1
- package/dist/chunk-JUI3XNEF.js.map +0 -1
- package/dist/chunk-MR6EF4B7.mjs.map +0 -1
- package/dist/chunk-NEXY7SE2.js.map +0 -1
- package/dist/chunk-PYMUBJQX.js.map +0 -1
- package/dist/chunk-Q5JRBGWO.mjs.map +0 -1
- package/dist/chunk-QFDTOEYR.js +0 -253
- package/dist/chunk-QFDTOEYR.js.map +0 -1
- package/dist/chunk-QHWKLZUC.js.map +0 -1
- package/dist/chunk-UEDNQBJN.js.map +0 -1
- package/dist/chunk-WB6KJX4N.js.map +0 -1
- package/dist/chunk-WCCLSUOI.mjs.map +0 -1
- package/dist/chunk-Y35SM7TO.mjs.map +0 -1
- package/dist/chunk-YIFA2HXH.js.map +0 -1
- package/dist/chunk-Z6TBQQE5.js.map +0 -1
- /package/dist/{chunk-D3K5MPMW.mjs.map → chunk-56O7BVZV.mjs.map} +0 -0
- /package/dist/{chunk-B5YY22QQ.js.map → chunk-6PPM4ETZ.js.map} +0 -0
- /package/dist/{chunk-BOTVAG4A.js.map → chunk-JBF4XEGR.js.map} +0 -0
- /package/dist/{chunk-ASA5RLBY.mjs.map → chunk-JEIAMJGS.mjs.map} +0 -0
- /package/dist/{chunk-U3DJJN4X.js.map → chunk-LBJTMJFA.js.map} +0 -0
- /package/dist/{chunk-LZ5ZGQEX.mjs.map → chunk-UYH6NWKB.mjs.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,98 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [34.0.0]
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- Add `AccountTrackerControllerGetStateAction`, `AccountTrackerControllerActions`, `AccountTrackerControllerStateChangeEvent`, and `AccountTrackerControllerEvents` types ([#4407](https://github.com/MetaMask/core/pull/4407))
|
|
15
|
+
- Add `setIntervalLength` and `getIntervalLength` methods to `AccountTrackerController` ([#4407](https://github.com/MetaMask/core/pull/4407))
|
|
16
|
+
- `setIntervalLength` replaces updating the polling interval via `configure`.
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
|
|
20
|
+
- **BREAKING** `TokenBalancesController` messenger must allow the action `AccountsController:getSelectedAccount` and remove `PreferencesController:getState`. ([#4219](https://github.com/MetaMask/core/pull/4219))
|
|
21
|
+
- **BREAKING** `TokenDetectionController` messenger must allow the action `AccountsController:getAccount`. ([#4219](https://github.com/MetaMask/core/pull/4219))
|
|
22
|
+
- **BREAKING** `TokenDetectionController` messenger must allow the event `AccountsController:selectedEvmAccountChange` and remove `AccountsController:selectedAccountChange`. ([#4219](https://github.com/MetaMask/core/pull/4219))
|
|
23
|
+
- **BREAKING** `TokenRatesController` messenger must allow the action `AccountsController:getAccount`, `AccountsController:getSelectedAccount` and remove `PreferencesController:getState`. ([#4219](https://github.com/MetaMask/core/pull/4219))
|
|
24
|
+
- **BREAKING** `TokenRatesController` messenger must allow the event `AccountsController:selectedEvmAccountChange` and remove `PreferencesController:stateChange`. ([#4219](https://github.com/MetaMask/core/pull/4219))
|
|
25
|
+
- **BREAKING** `TokensController` messenger must allow the action `AccountsController:getAccount`, `AccountsController:getSelectedAccount`.
|
|
26
|
+
- **BREAKING** `TokensController` messenger must allow the event `AccountsController:selectedEvmAccountChange`. ([#4219](https://github.com/MetaMask/core/pull/4219))
|
|
27
|
+
- Upgrade AccountTrackerController to BaseControllerV2 ([#4407](https://github.com/MetaMask/core/pull/4407))
|
|
28
|
+
- **BREAKING:** Convert `AccountInformation` from interface to type ([#4407](https://github.com/MetaMask/core/pull/4407))
|
|
29
|
+
- **BREAKING:** Rename `AccountTrackerState` to `AccountTrackerControllerState` and convert from interface to type ([#4407](https://github.com/MetaMask/core/pull/4407))
|
|
30
|
+
- **BREAKING:** `AccountTrackerController` now inherits from `StaticIntervalPollingController` instead of `StaticIntervalPollingControllerV1` ([#4407](https://github.com/MetaMask/core/pull/4407))
|
|
31
|
+
- The constructor now takes a single options object rather than three arguments. Some options have been removed; see later entries.
|
|
32
|
+
- **BREAKING:** The `AccountTrackerController` messenger must now allow the actions `PreferencesController:getState`, `NetworkController:getState`, and `NetworkController:getNetworkClientById` ([#4407](https://github.com/MetaMask/core/pull/4407))
|
|
33
|
+
- **BREAKING:** The `refresh` method is no longer pre-bound to the controller ([#4407](https://github.com/MetaMask/core/pull/4407))
|
|
34
|
+
- You may now need to pre-bind it e.g. `accountTrackerController.refresh.bind(accountTrackerController)`.
|
|
35
|
+
- Bump `@metamask/accounts-controller` to `^17.1.0` ([#4460](https://github.com/MetaMask/core/pull/4460))
|
|
36
|
+
|
|
37
|
+
### Removed
|
|
38
|
+
|
|
39
|
+
- **BREAKING** `TokensController` removes `selectedAddress` constructor argument. ([#4219](https://github.com/MetaMask/core/pull/4219))
|
|
40
|
+
- **BREAKING** `TokenDetectionController` removes `selectedAddress` constructor argument. ([#4219](https://github.com/MetaMask/core/pull/4219))
|
|
41
|
+
- **BREAKING:** Remove `AccountTrackerConfig` type ([#4407](https://github.com/MetaMask/core/pull/4407))
|
|
42
|
+
- Some of these properties have been merged into the options that the `AccountTrackerController` constructor takes.
|
|
43
|
+
- **BREAKING:** Remove `config` property and `configure` method from `AccountTrackerController` ([#4407](https://github.com/MetaMask/core/pull/4407))
|
|
44
|
+
- The controller now takes a single options object which can be used for configuration, and configuration is now kept internally.
|
|
45
|
+
- **BREAKING:** Remove `notify`, `subscribe`, and `unsubscribe` methods from `AccountTrackerController` ([#4407](https://github.com/MetaMask/core/pull/4407))
|
|
46
|
+
- Use the controller messenger for subscribing to and publishing events instead.
|
|
47
|
+
- **BREAKING:** Remove `provider`, `getMultiAccountBalancesEnabled`, `getCurrentChainId`, and `getNetworkClientById` from configuration options for `AccountTrackerController` ([#4407](https://github.com/MetaMask/core/pull/4407))
|
|
48
|
+
- The provider is now obtained directly from the network controller on demand.
|
|
49
|
+
- The messenger is now used in place of the callbacks.
|
|
50
|
+
|
|
51
|
+
## [33.0.0]
|
|
52
|
+
|
|
53
|
+
### Added
|
|
54
|
+
|
|
55
|
+
- **BREAKING:** Add `messenger` as a constructor option for `AccountTrackerController` ([#4225](https://github.com/MetaMask/core/pull/4225))
|
|
56
|
+
- **BREAKING:** Add `messenger` option to `TokenRatesController` ([#4314](https://github.com/MetaMask/core/pull/4314))
|
|
57
|
+
- This messenger must allow the actions `TokensController:getState`, `NetworkController:getNetworkClientById`, `NetworkController:getState`, and `PreferencesController:getState` and allow the events `PreferencesController:stateChange`, `TokensController:stateChange`, and `NetworkController:stateChange`.
|
|
58
|
+
- Add types `TokenRatesControllerGetStateAction`, `TokenRatesControllerActions`, `TokenRatesControllerStateChangeEvent`, `TokenRatesControllerEvents`, `TokenRatesControllerMessenger`([#4314](https://github.com/MetaMask/core/pull/4314))
|
|
59
|
+
- Add function `getDefaultTokenRatesControllerState` ([#4314](https://github.com/MetaMask/core/pull/4314))
|
|
60
|
+
- Add `enable` and `disable` methods to `TokenRatesController` ([#4314](https://github.com/MetaMask/core/pull/4314))
|
|
61
|
+
- These are used to stop and restart polling.
|
|
62
|
+
- Export `ContractExchangeRates` type ([#4314](https://github.com/MetaMask/core/pull/4314))
|
|
63
|
+
- Add `AccountTrackerControllerMessenger` type
|
|
64
|
+
- **BREAKING:** The `NftController` messenger must now allow `AccountsController:getAccount` and `AccountsController:getSelectedAccount` as messenger actions and `AccountsController:selectedEvmAccountChange` as a messenger event ([#4221](https://github.com/MetaMask/core/pull/4221))
|
|
65
|
+
- **BREAKING:** `NftDetectionController` messenger must now allow `AccountsController:getSelectedAccount` as a messenger action ([#4221](https://github.com/MetaMask/core/pull/4221))
|
|
66
|
+
- Token price API support for mantle network ([#4376](https://github.com/MetaMask/core/pull/4376))
|
|
67
|
+
|
|
68
|
+
### Changed
|
|
69
|
+
|
|
70
|
+
- **BREAKING:** Bump dependency and peer dependency `@metamask/accounts-controller` to `^17.0.0` ([#4413](https://github.com/MetaMask/core/pull/4413))
|
|
71
|
+
- **BREAKING:** `TokenRatesController` now inherits from `StaticIntervalPollingController` instead of `StaticIntervalPollingControllerV1` ([#4314](https://github.com/MetaMask/core/pull/4314))
|
|
72
|
+
- The constructor now takes a single options object rather than three arguments. Some options have been removed; see later entries.
|
|
73
|
+
- **BREAKING:** Rename `TokenRatesState` to `TokenRatesControllerState`, and convert from `interface` to `type` ([#4314](https://github.com/MetaMask/core/pull/4314))
|
|
74
|
+
- The `NftController` now reads the selected address via the `AccountsController`, using the `AccountsController:selectedEvmAccountChange` messenger event to stay up to date ([#4221](https://github.com/MetaMask/core/pull/4221))
|
|
75
|
+
- `NftDetectionController` now reads the currently selected account from `AccountsController` instead of `PreferencesController` ([#4221](https://github.com/MetaMask/core/pull/4221))
|
|
76
|
+
- Bump `@metamask/keyring-api` to `^8.0.0` ([#4405](https://github.com/MetaMask/core/pull/4405))
|
|
77
|
+
- Bump `@metamask/eth-snap-keyring` to `^4.3.1` ([#4405](https://github.com/MetaMask/core/pull/4405))
|
|
78
|
+
- Bump `@metamask/keyring-controller` to `^17.1.0` ([#4413](https://github.com/MetaMask/core/pull/4413))
|
|
79
|
+
|
|
80
|
+
### Removed
|
|
81
|
+
|
|
82
|
+
- **BREAKING:** Remove `nativeCurrency`, `chainId`, `selectedAddress`, `allTokens`, and `allDetectedTokens` from configuration options for `TokenRatesController` ([#4314](https://github.com/MetaMask/core/pull/4314))
|
|
83
|
+
- The messenger is now used to obtain information from other controllers where this data was originally expected to come from.
|
|
84
|
+
- **BREAKING:** Remove `config` property and `configure` method from `TokenRatesController` ([#4314](https://github.com/MetaMask/core/pull/4314))
|
|
85
|
+
- The controller now takes a single options object which can be used for configuration, and configuration is now kept internally.
|
|
86
|
+
- **BREAKING:** Remove `notify`, `subscribe`, and `unsubscribe` methods from `TokenRatesController` ([#4314](https://github.com/MetaMask/core/pull/4314))
|
|
87
|
+
- Use the controller messenger for subscribing to and publishing events instead.
|
|
88
|
+
- **BREAKING:** Remove `TokenRatesConfig` type ([#4314](https://github.com/MetaMask/core/pull/4314))
|
|
89
|
+
- Some of these properties have been merged into the options that `TokenRatesController` takes.
|
|
90
|
+
- **BREAKING:** Remove `NftController` constructor options `selectedAddress`. ([#4221](https://github.com/MetaMask/core/pull/4221))
|
|
91
|
+
- **BREAKING:** Remove `AccountTrackerController` constructor options `getIdentities`, `getSelectedAddress` and `onPreferencesStateChange` ([#4225](https://github.com/MetaMask/core/pull/4225))
|
|
92
|
+
- **BREAKING:** Remove `value` property from the data for each token in `state.marketData` ([#4364](https://github.com/MetaMask/core/pull/4364))
|
|
93
|
+
- The `price` property should be used instead.
|
|
94
|
+
|
|
95
|
+
### Fixed
|
|
96
|
+
|
|
97
|
+
- Prevent unnecessary state updates when executing the `NftController`'s `updateNftMetadata` method by comparing the metadata of fetched NFTs and NFTs in state and synchronizing state updates using a mutex lock. ([#4325](https://github.com/MetaMask/core/pull/4325))
|
|
98
|
+
- Prevent the use of market data when not available for a given token ([#4361](https://github.com/MetaMask/core/pull/4361))
|
|
99
|
+
- Fix `refresh` method remaining locked indefinitely after it was run successfully. Now lock is released on successful as well as failed runs. ([#4270](https://github.com/MetaMask/core/pull/4270))
|
|
100
|
+
- `TokenRatesController` uses checksum instead of lowercase format for token addresses ([#4377](https://github.com/MetaMask/core/pull/4377))
|
|
101
|
+
|
|
10
102
|
## [32.0.0]
|
|
11
103
|
|
|
12
104
|
### Changed
|
|
@@ -889,7 +981,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
889
981
|
|
|
890
982
|
- Use Ethers for AssetsContractController ([#845](https://github.com/MetaMask/core/pull/845))
|
|
891
983
|
|
|
892
|
-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@
|
|
984
|
+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@34.0.0...HEAD
|
|
985
|
+
[34.0.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@33.0.0...@metamask/assets-controllers@34.0.0
|
|
986
|
+
[33.0.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@32.0.0...@metamask/assets-controllers@33.0.0
|
|
893
987
|
[32.0.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@31.0.0...@metamask/assets-controllers@32.0.0
|
|
894
988
|
[31.0.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@30.0.0...@metamask/assets-controllers@31.0.0
|
|
895
989
|
[30.0.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@29.0.0...@metamask/assets-controllers@30.0.0
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkHVOIBGYNjs = require('./chunk-HVOIBGYN.js');
|
|
5
5
|
require('./chunk-Z4BLTVTB.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.AccountTrackerController =
|
|
9
|
+
exports.AccountTrackerController = _chunkHVOIBGYNjs.AccountTrackerController; exports.default = _chunkHVOIBGYNjs.AccountTrackerController_default;
|
|
10
10
|
//# sourceMappingURL=AccountTrackerController.js.map
|
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
9
|
-
require('./chunk-
|
|
10
|
-
require('./chunk-
|
|
6
|
+
var _chunkXSNGD5USjs = require('./chunk-XSNGD5US.js');
|
|
7
|
+
require('./chunk-LBJTMJFA.js');
|
|
8
|
+
require('./chunk-6PPM4ETZ.js');
|
|
9
|
+
require('./chunk-JBF4XEGR.js');
|
|
10
|
+
require('./chunk-NYVA7ZTQ.js');
|
|
11
11
|
require('./chunk-Z4BLTVTB.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
exports.AssetsContractController =
|
|
17
|
+
exports.AssetsContractController = _chunkXSNGD5USjs.AssetsContractController; exports.MISSING_PROVIDER_ERROR = _chunkXSNGD5USjs.MISSING_PROVIDER_ERROR; exports.SINGLE_CALL_BALANCES_ADDRESS_BY_CHAINID = _chunkXSNGD5USjs.SINGLE_CALL_BALANCES_ADDRESS_BY_CHAINID; exports.default = _chunkXSNGD5USjs.AssetsContractController_default;
|
|
18
18
|
//# sourceMappingURL=AssetsContractController.js.map
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
AssetsContractController_default,
|
|
4
4
|
MISSING_PROVIDER_ERROR,
|
|
5
5
|
SINGLE_CALL_BALANCES_ADDRESS_BY_CHAINID
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-TWR6P5WG.mjs";
|
|
7
|
+
import "./chunk-JEIAMJGS.mjs";
|
|
8
|
+
import "./chunk-56O7BVZV.mjs";
|
|
9
|
+
import "./chunk-UYH6NWKB.mjs";
|
|
10
|
+
import "./chunk-VELPHITE.mjs";
|
|
11
11
|
import "./chunk-XUI43LEZ.mjs";
|
|
12
12
|
export {
|
|
13
13
|
AssetsContractController,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkT5ZX5BV7js = require('./chunk-T5ZX5BV7.js');
|
|
5
5
|
require('./chunk-7K6PSEAA.js');
|
|
6
|
-
require('./chunk-
|
|
6
|
+
require('./chunk-ZG5MS2TO.js');
|
|
7
7
|
require('./chunk-Z4BLTVTB.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.CurrencyRateController =
|
|
11
|
+
exports.CurrencyRateController = _chunkT5ZX5BV7js.CurrencyRateController; exports.default = _chunkT5ZX5BV7js.CurrencyRateController_default;
|
|
12
12
|
//# sourceMappingURL=CurrencyRateController.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CurrencyRateController,
|
|
3
3
|
CurrencyRateController_default
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-HJ5GXVDT.mjs";
|
|
5
5
|
import "./chunk-TTH3ES66.mjs";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-JTXPJ6TK.mjs";
|
|
7
7
|
import "./chunk-XUI43LEZ.mjs";
|
|
8
8
|
export {
|
|
9
9
|
CurrencyRateController,
|
package/dist/NftController.js
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunk7JWDWDXTjs = require('./chunk-7JWDWDXT.js');
|
|
6
6
|
require('./chunk-RGHTNZQ6.js');
|
|
7
|
-
require('./chunk-
|
|
7
|
+
require('./chunk-NYVA7ZTQ.js');
|
|
8
8
|
require('./chunk-Z4BLTVTB.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
exports.NftController =
|
|
13
|
+
exports.NftController = _chunk7JWDWDXTjs.NftController; exports.default = _chunk7JWDWDXTjs.NftController_default; exports.getDefaultNftControllerState = _chunk7JWDWDXTjs.getDefaultNftControllerState;
|
|
14
14
|
//# sourceMappingURL=NftController.js.map
|
package/dist/NftController.mjs
CHANGED
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
NftController,
|
|
3
3
|
NftController_default,
|
|
4
4
|
getDefaultNftControllerState
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-W57QXOHJ.mjs";
|
|
6
6
|
import "./chunk-CP3HC7AQ.mjs";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-VELPHITE.mjs";
|
|
8
8
|
import "./chunk-XUI43LEZ.mjs";
|
|
9
9
|
export {
|
|
10
10
|
NftController,
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunk354SINOHjs = require('./chunk-354SINOH.js');
|
|
6
6
|
require('./chunk-RGHTNZQ6.js');
|
|
7
7
|
require('./chunk-Z4BLTVTB.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
exports.BlockaidResultType =
|
|
12
|
+
exports.BlockaidResultType = _chunk354SINOHjs.BlockaidResultType; exports.NftDetectionController = _chunk354SINOHjs.NftDetectionController; exports.default = _chunk354SINOHjs.NftDetectionController_default;
|
|
13
13
|
//# sourceMappingURL=NftDetectionController.js.map
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkF6L3DFOZjs = require('../chunk-F6L3DFOZ.js');
|
|
6
6
|
require('../chunk-7K6PSEAA.js');
|
|
7
|
-
require('../chunk-
|
|
7
|
+
require('../chunk-ZG5MS2TO.js');
|
|
8
8
|
require('../chunk-Z4BLTVTB.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
exports.Cryptocurrency =
|
|
13
|
+
exports.Cryptocurrency = _chunkF6L3DFOZjs.Cryptocurrency; exports.RatesController = _chunkF6L3DFOZjs.RatesController; exports.name = _chunkF6L3DFOZjs.name;
|
|
14
14
|
//# sourceMappingURL=RatesController.js.map
|
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
Cryptocurrency,
|
|
3
3
|
RatesController,
|
|
4
4
|
name
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-SBWPU4VT.mjs";
|
|
6
6
|
import "../chunk-TTH3ES66.mjs";
|
|
7
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-JTXPJ6TK.mjs";
|
|
8
8
|
import "../chunk-XUI43LEZ.mjs";
|
|
9
9
|
export {
|
|
10
10
|
Cryptocurrency,
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkF6L3DFOZjs = require('../chunk-F6L3DFOZ.js');
|
|
6
6
|
require('../chunk-7K6PSEAA.js');
|
|
7
|
-
require('../chunk-
|
|
7
|
+
require('../chunk-ZG5MS2TO.js');
|
|
8
8
|
require('../chunk-Z4BLTVTB.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
exports.Cryptocurrency =
|
|
12
|
+
exports.Cryptocurrency = _chunkF6L3DFOZjs.Cryptocurrency; exports.RatesController = _chunkF6L3DFOZjs.RatesController;
|
|
13
13
|
//# sourceMappingURL=index.js.map
|
|
@@ -2,9 +2,9 @@ import "../chunk-JYHAAA6W.mjs";
|
|
|
2
2
|
import {
|
|
3
3
|
Cryptocurrency,
|
|
4
4
|
RatesController
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-SBWPU4VT.mjs";
|
|
6
6
|
import "../chunk-TTH3ES66.mjs";
|
|
7
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-JTXPJ6TK.mjs";
|
|
8
8
|
import "../chunk-XUI43LEZ.mjs";
|
|
9
9
|
export {
|
|
10
10
|
Cryptocurrency,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var _chunk6PPM4ETZjs = require('../chunk-6PPM4ETZ.js');
|
|
4
|
+
require('../chunk-NYVA7ZTQ.js');
|
|
5
5
|
require('../chunk-Z4BLTVTB.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.ERC20Standard =
|
|
8
|
+
exports.ERC20Standard = _chunk6PPM4ETZjs.ERC20Standard;
|
|
9
9
|
//# sourceMappingURL=ERC20Standard.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../../chunk-
|
|
3
|
+
var _chunkJBF4XEGRjs = require('../../../chunk-JBF4XEGR.js');
|
|
4
|
+
require('../../../chunk-NYVA7ZTQ.js');
|
|
5
5
|
require('../../../chunk-Z4BLTVTB.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.ERC1155Standard =
|
|
8
|
+
exports.ERC1155Standard = _chunkJBF4XEGRjs.ERC1155Standard;
|
|
9
9
|
//# sourceMappingURL=ERC1155Standard.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../../chunk-
|
|
3
|
+
var _chunkLBJTMJFAjs = require('../../../chunk-LBJTMJFA.js');
|
|
4
|
+
require('../../../chunk-NYVA7ZTQ.js');
|
|
5
5
|
require('../../../chunk-Z4BLTVTB.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.ERC721Standard =
|
|
8
|
+
exports.ERC721Standard = _chunkLBJTMJFAjs.ERC721Standard;
|
|
9
9
|
//# sourceMappingURL=ERC721Standard.js.map
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkNHFZIY2Kjs = require('./chunk-NHFZIY2K.js');
|
|
6
6
|
require('./chunk-Z4BLTVTB.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.TokenBalancesController =
|
|
11
|
+
exports.TokenBalancesController = _chunkNHFZIY2Kjs.TokenBalancesController; exports.default = _chunkNHFZIY2Kjs.TokenBalancesController_default; exports.getDefaultTokenBalancesState = _chunkNHFZIY2Kjs.getDefaultTokenBalancesState;
|
|
12
12
|
//# sourceMappingURL=TokenBalancesController.js.map
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
8
|
-
require('./chunk-
|
|
7
|
+
var _chunkGHKGU6GKjs = require('./chunk-GHKGU6GK.js');
|
|
8
|
+
require('./chunk-NYVA7ZTQ.js');
|
|
9
9
|
require('./chunk-Z4BLTVTB.js');
|
|
10
10
|
|
|
11
11
|
|
|
@@ -13,5 +13,5 @@ require('./chunk-Z4BLTVTB.js');
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
exports.STATIC_MAINNET_TOKEN_LIST =
|
|
16
|
+
exports.STATIC_MAINNET_TOKEN_LIST = _chunkGHKGU6GKjs.STATIC_MAINNET_TOKEN_LIST; exports.TokenDetectionController = _chunkGHKGU6GKjs.TokenDetectionController; exports.controllerName = _chunkGHKGU6GKjs.controllerName; exports.default = _chunkGHKGU6GKjs.TokenDetectionController_default; exports.isEqualCaseInsensitive = _chunkGHKGU6GKjs.isEqualCaseInsensitive;
|
|
17
17
|
//# sourceMappingURL=TokenDetectionController.js.map
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
TokenDetectionController_default,
|
|
5
5
|
controllerName,
|
|
6
6
|
isEqualCaseInsensitive
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-2TSAUGE7.mjs";
|
|
8
|
+
import "./chunk-VELPHITE.mjs";
|
|
9
9
|
import "./chunk-XUI43LEZ.mjs";
|
|
10
10
|
export {
|
|
11
11
|
STATIC_MAINNET_TOKEN_LIST,
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('./chunk-
|
|
7
|
-
require('./chunk-
|
|
5
|
+
var _chunk7OZL6IDYjs = require('./chunk-7OZL6IDY.js');
|
|
6
|
+
require('./chunk-X4RMS365.js');
|
|
7
|
+
require('./chunk-NYVA7ZTQ.js');
|
|
8
8
|
require('./chunk-Z4BLTVTB.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
exports.TokenListController =
|
|
13
|
+
exports.TokenListController = _chunk7OZL6IDYjs.TokenListController; exports.default = _chunk7OZL6IDYjs.TokenListController_default; exports.getDefaultTokenListState = _chunk7OZL6IDYjs.getDefaultTokenListState;
|
|
14
14
|
//# sourceMappingURL=TokenListController.js.map
|
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
TokenListController,
|
|
3
3
|
TokenListController_default,
|
|
4
4
|
getDefaultTokenListState
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-Y45HQET7.mjs";
|
|
6
|
+
import "./chunk-47CRHAUE.mjs";
|
|
7
|
+
import "./chunk-VELPHITE.mjs";
|
|
8
8
|
import "./chunk-XUI43LEZ.mjs";
|
|
9
9
|
export {
|
|
10
10
|
TokenListController,
|
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunkRPQ737HLjs = require('./chunk-RPQ737HL.js');
|
|
7
|
+
require('./chunk-V6DNVROD.js');
|
|
6
8
|
require('./chunk-7K6PSEAA.js');
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
9
|
+
require('./chunk-ZG5MS2TO.js');
|
|
10
|
+
require('./chunk-NYVA7ZTQ.js');
|
|
9
11
|
require('./chunk-Z4BLTVTB.js');
|
|
10
12
|
|
|
11
13
|
|
|
12
14
|
|
|
13
|
-
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
exports.TokenRatesController = _chunkRPQ737HLjs.TokenRatesController; exports.controllerName = _chunkRPQ737HLjs.controllerName; exports.default = _chunkRPQ737HLjs.TokenRatesController_default; exports.getDefaultTokenRatesControllerState = _chunkRPQ737HLjs.getDefaultTokenRatesControllerState;
|
|
14
18
|
//# sourceMappingURL=TokenRatesController.js.map
|
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TokenRatesController,
|
|
3
|
-
TokenRatesController_default
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
TokenRatesController_default,
|
|
4
|
+
controllerName,
|
|
5
|
+
getDefaultTokenRatesControllerState
|
|
6
|
+
} from "./chunk-GJCTAKK5.mjs";
|
|
7
|
+
import "./chunk-XQO3EG4J.mjs";
|
|
6
8
|
import "./chunk-TTH3ES66.mjs";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-JTXPJ6TK.mjs";
|
|
10
|
+
import "./chunk-VELPHITE.mjs";
|
|
9
11
|
import "./chunk-XUI43LEZ.mjs";
|
|
10
12
|
export {
|
|
11
13
|
TokenRatesController,
|
|
12
|
-
|
|
14
|
+
controllerName,
|
|
15
|
+
TokenRatesController_default as default,
|
|
16
|
+
getDefaultTokenRatesControllerState
|
|
13
17
|
};
|
|
14
18
|
//# sourceMappingURL=TokenRatesController.mjs.map
|
package/dist/TokensController.js
CHANGED
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('./chunk-
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
9
|
-
require('./chunk-
|
|
5
|
+
var _chunk2NQRWANMjs = require('./chunk-2NQRWANM.js');
|
|
6
|
+
require('./chunk-6PPM4ETZ.js');
|
|
7
|
+
require('./chunk-JBF4XEGR.js');
|
|
8
|
+
require('./chunk-X4RMS365.js');
|
|
9
|
+
require('./chunk-NYVA7ZTQ.js');
|
|
10
10
|
require('./chunk-Z4BLTVTB.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
exports.TokensController =
|
|
15
|
+
exports.TokensController = _chunk2NQRWANMjs.TokensController; exports.default = _chunk2NQRWANMjs.TokensController_default; exports.getDefaultTokensState = _chunk2NQRWANMjs.getDefaultTokensState;
|
|
16
16
|
//# sourceMappingURL=TokensController.js.map
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
TokensController,
|
|
3
3
|
TokensController_default,
|
|
4
4
|
getDefaultTokensState
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-4JLB5OIJ.mjs";
|
|
6
|
+
import "./chunk-56O7BVZV.mjs";
|
|
7
|
+
import "./chunk-UYH6NWKB.mjs";
|
|
8
|
+
import "./chunk-47CRHAUE.mjs";
|
|
9
|
+
import "./chunk-VELPHITE.mjs";
|
|
10
10
|
import "./chunk-XUI43LEZ.mjs";
|
|
11
11
|
export {
|
|
12
12
|
TokensController,
|
package/dist/assetsUtil.js
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkNYVA7ZTQjs = require('./chunk-NYVA7ZTQ.js');
|
|
18
18
|
require('./chunk-Z4BLTVTB.js');
|
|
19
19
|
|
|
20
20
|
|
|
@@ -32,5 +32,5 @@ require('./chunk-Z4BLTVTB.js');
|
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
exports.SupportedTokenDetectionNetworks =
|
|
35
|
+
exports.SupportedTokenDetectionNetworks = _chunkNYVA7ZTQjs.SupportedTokenDetectionNetworks; exports.TOKEN_PRICES_BATCH_SIZE = _chunkNYVA7ZTQjs.TOKEN_PRICES_BATCH_SIZE; exports.addUrlProtocolPrefix = _chunkNYVA7ZTQjs.addUrlProtocolPrefix; exports.compareNftMetadata = _chunkNYVA7ZTQjs.compareNftMetadata; exports.divideIntoBatches = _chunkNYVA7ZTQjs.divideIntoBatches; exports.ethersBigNumberToBN = _chunkNYVA7ZTQjs.ethersBigNumberToBN; exports.fetchTokenContractExchangeRates = _chunkNYVA7ZTQjs.fetchTokenContractExchangeRates; exports.formatAggregatorNames = _chunkNYVA7ZTQjs.formatAggregatorNames; exports.formatIconUrlWithProxy = _chunkNYVA7ZTQjs.formatIconUrlWithProxy; exports.getFormattedIpfsUrl = _chunkNYVA7ZTQjs.getFormattedIpfsUrl; exports.getIpfsCIDv1AndPath = _chunkNYVA7ZTQjs.getIpfsCIDv1AndPath; exports.isTokenDetectionSupportedForNetwork = _chunkNYVA7ZTQjs.isTokenDetectionSupportedForNetwork; exports.isTokenListSupportedForNetwork = _chunkNYVA7ZTQjs.isTokenListSupportedForNetwork; exports.reduceInBatchesSerially = _chunkNYVA7ZTQjs.reduceInBatchesSerially; exports.removeIpfsProtocolPrefix = _chunkNYVA7ZTQjs.removeIpfsProtocolPrefix;
|
|
36
36
|
//# sourceMappingURL=assetsUtil.js.map
|
package/dist/assetsUtil.mjs
CHANGED