@metamask-previews/assets-controllers 29.0.0-preview-ff0abae → 32.0.0-preview-8e708969
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 +117 -8
- package/dist/AccountTrackerController.js +2 -2
- package/dist/AccountTrackerController.mjs +1 -1
- package/dist/AssetsContractController.js +2 -2
- package/dist/AssetsContractController.mjs +1 -1
- package/dist/NftController.js +2 -2
- package/dist/NftController.mjs +3 -3
- package/dist/NftDetectionController.js +2 -2
- package/dist/NftDetectionController.mjs +1 -1
- package/dist/TokenBalancesController.js +2 -2
- package/dist/TokenBalancesController.mjs +1 -1
- package/dist/TokenDetectionController.js +2 -2
- package/dist/TokenDetectionController.mjs +1 -1
- package/dist/TokenListController.js +3 -3
- package/dist/TokenListController.mjs +2 -2
- package/dist/TokenRatesController.js +3 -2
- package/dist/TokenRatesController.mjs +2 -1
- package/dist/TokensController.js +3 -3
- package/dist/TokensController.mjs +2 -2
- package/dist/chunk-2AYWB7FU.js +795 -0
- package/dist/chunk-2AYWB7FU.js.map +1 -0
- package/dist/{chunk-V4ZO3F2S.js → chunk-2BH4PEP4.js} +17 -12
- package/dist/chunk-2BH4PEP4.js.map +1 -0
- package/dist/{chunk-Z3OQU4XW.mjs → chunk-5W5OO2Q5.mjs} +2 -2
- package/dist/chunk-5W5OO2Q5.mjs.map +1 -0
- package/dist/{chunk-PAJTKWEC.mjs → chunk-7KAR7ONA.mjs} +17 -12
- package/dist/chunk-7KAR7ONA.mjs.map +1 -0
- package/dist/{chunk-XHMM35YT.mjs → chunk-A2DDWXMS.mjs} +2 -2
- package/dist/{chunk-4LY47RPI.mjs → chunk-AHLQVIUI.mjs} +8 -9
- package/dist/chunk-AHLQVIUI.mjs.map +1 -0
- package/dist/{chunk-LD4GC7OR.js → chunk-DT5FQKVT.js} +8 -9
- package/dist/chunk-DT5FQKVT.js.map +1 -0
- package/dist/chunk-G5EBZP3W.js +253 -0
- package/dist/chunk-G5EBZP3W.js.map +1 -0
- package/dist/{chunk-MHN7CJCZ.mjs → chunk-HLCGZGPA.mjs} +1 -1
- package/dist/chunk-HLCGZGPA.mjs.map +1 -0
- package/dist/chunk-IEO3V35C.mjs +253 -0
- package/dist/chunk-IEO3V35C.mjs.map +1 -0
- package/dist/{chunk-5F5EQAX5.js → chunk-JUI3XNEF.js} +3 -3
- package/dist/{chunk-ISI2OCTD.mjs → chunk-KSHMWJT7.mjs} +61 -46
- package/dist/chunk-KSHMWJT7.mjs.map +1 -0
- package/dist/chunk-NRF4D6U7.js +1339 -0
- package/dist/chunk-NRF4D6U7.js.map +1 -0
- package/dist/{chunk-WZO3LJEJ.js → chunk-OG5NUJW5.js} +61 -46
- package/dist/chunk-OG5NUJW5.js.map +1 -0
- package/dist/{chunk-3R43XIIX.js → chunk-PYMUBJQX.js} +2 -2
- package/dist/chunk-PYMUBJQX.js.map +1 -0
- package/dist/{chunk-4ODKGWYQ.js → chunk-QHWKLZUC.js} +1 -1
- package/dist/chunk-QHWKLZUC.js.map +1 -0
- package/dist/{chunk-HDI4L2DD.js → chunk-TUT6IDDP.js} +38 -21
- package/dist/chunk-TUT6IDDP.js.map +1 -0
- package/dist/{chunk-MR6EF4B7.mjs → chunk-W7TM722C.mjs} +38 -21
- package/dist/chunk-W7TM722C.mjs.map +1 -0
- package/dist/{chunk-ZBWLJ24K.mjs → chunk-Y35SM7TO.mjs} +18 -13
- package/dist/chunk-Y35SM7TO.mjs.map +1 -0
- package/dist/chunk-YAEVDJIZ.mjs +795 -0
- package/dist/chunk-YAEVDJIZ.mjs.map +1 -0
- package/dist/{chunk-IENPW2RI.js → chunk-Z6TBQQE5.js} +19 -14
- package/dist/chunk-Z6TBQQE5.js.map +1 -0
- package/dist/chunk-ZA6274LX.mjs +1339 -0
- package/dist/chunk-ZA6274LX.mjs.map +1 -0
- package/dist/index.js +12 -14
- package/dist/index.mjs +15 -17
- package/dist/token-prices-service/codefi-v2.js +4 -2
- package/dist/token-prices-service/codefi-v2.mjs +5 -3
- package/dist/token-prices-service/index.js +2 -2
- package/dist/token-prices-service/index.mjs +1 -1
- package/dist/token-service.js +2 -2
- package/dist/token-service.mjs +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/AccountTrackerController.d.ts +12 -10
- package/dist/types/AccountTrackerController.d.ts.map +1 -1
- package/dist/types/AssetsContractController.d.ts +1 -1
- package/dist/types/AssetsContractController.d.ts.map +1 -1
- package/dist/types/NftController.d.ts +66 -184
- package/dist/types/NftController.d.ts.map +1 -1
- package/dist/types/NftDetectionController.d.ts +35 -75
- package/dist/types/NftDetectionController.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 +6 -6
- package/dist/types/TokenDetectionController.d.ts.map +1 -1
- package/dist/types/TokenRatesController.d.ts +42 -17
- package/dist/types/TokenRatesController.d.ts.map +1 -1
- package/dist/types/TokensController.d.ts +30 -134
- package/dist/types/TokensController.d.ts.map +1 -1
- package/dist/types/index.d.ts +5 -3
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/token-prices-service/abstract-token-prices-service.d.ts +18 -0
- 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 +7 -0
- package/dist/types/token-prices-service/codefi-v2.d.ts.map +1 -1
- package/package.json +15 -15
- package/dist/chunk-3R43XIIX.js.map +0 -1
- package/dist/chunk-46UZDIXW.mjs +0 -1205
- package/dist/chunk-46UZDIXW.mjs.map +0 -1
- package/dist/chunk-4LY47RPI.mjs.map +0 -1
- package/dist/chunk-4ODKGWYQ.js.map +0 -1
- package/dist/chunk-7MMEHAKG.mjs +0 -704
- package/dist/chunk-7MMEHAKG.mjs.map +0 -1
- package/dist/chunk-FMZML3V5.js +0 -237
- package/dist/chunk-FMZML3V5.js.map +0 -1
- package/dist/chunk-HDI4L2DD.js.map +0 -1
- package/dist/chunk-IENPW2RI.js.map +0 -1
- package/dist/chunk-ISI2OCTD.mjs.map +0 -1
- package/dist/chunk-KOKB6U4Z.mjs +0 -237
- package/dist/chunk-KOKB6U4Z.mjs.map +0 -1
- package/dist/chunk-LAU6ZDZR.js +0 -1205
- package/dist/chunk-LAU6ZDZR.js.map +0 -1
- package/dist/chunk-LD4GC7OR.js.map +0 -1
- package/dist/chunk-MBCN3MNX.js +0 -704
- package/dist/chunk-MBCN3MNX.js.map +0 -1
- package/dist/chunk-MHN7CJCZ.mjs.map +0 -1
- package/dist/chunk-MR6EF4B7.mjs.map +0 -1
- package/dist/chunk-PAJTKWEC.mjs.map +0 -1
- package/dist/chunk-V4ZO3F2S.js.map +0 -1
- package/dist/chunk-WZO3LJEJ.js.map +0 -1
- package/dist/chunk-Z3OQU4XW.mjs.map +0 -1
- package/dist/chunk-ZBWLJ24K.mjs.map +0 -1
- /package/dist/{chunk-XHMM35YT.mjs.map → chunk-A2DDWXMS.mjs.map} +0 -0
- /package/dist/{chunk-5F5EQAX5.js.map → chunk-JUI3XNEF.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -7,15 +7,121 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
## [32.0.0]
|
|
11
11
|
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- **BREAKING:** Bump minimum Node version to 18.18 ([#3611](https://github.com/MetaMask/core/pull/3611))
|
|
15
|
+
- **BREAKING:** Bump dependency and peer dependency `@metamask/accounts-controller` to `^16.0.0` ([#4352](https://github.com/MetaMask/core/pull/4352))
|
|
16
|
+
- **BREAKING:** Bump dependency and peer dependency `@metamask/approval-controller` to `^7.0.0` ([#4352](https://github.com/MetaMask/core/pull/4352))
|
|
17
|
+
- **BREAKING:** Bump dependency and peer dependency `@metamask/keyring-controller` to `^17.0.0` ([#4352](https://github.com/MetaMask/core/pull/4352))
|
|
18
|
+
- **BREAKING:** Bump dependency and peer dependency `@metamask/network-controller` to `^19.0.0` ([#4352](https://github.com/MetaMask/core/pull/4352))
|
|
19
|
+
- **BREAKING:** Bump dependency and peer dependency `@metamask/preferences-controller` to `^13.0.0` ([#4352](https://github.com/MetaMask/core/pull/4352))
|
|
20
|
+
- Bump `@metamask/base-controller` to `^6.0.0` ([#4352](https://github.com/MetaMask/core/pull/4352))
|
|
21
|
+
- Bump `@metamask/controller-utils` to `^11.0.0` ([#4352](https://github.com/MetaMask/core/pull/4352))
|
|
22
|
+
- Bump `@metamask/polling-controller` to `^8.0.0` ([#4352](https://github.com/MetaMask/core/pull/4352))
|
|
23
|
+
|
|
24
|
+
## [31.0.0]
|
|
25
|
+
|
|
26
|
+
### Added
|
|
27
|
+
|
|
28
|
+
- **BREAKING:** The `NftDetectionController` now takes a `messenger`, which can be used for communication ([#4312](https://github.com/MetaMask/core/pull/4312))
|
|
29
|
+
- This messenger must allow the following actions `ApprovalController:addRequest`, `NetworkController:getState`, `NetworkController:getNetworkClientById`, and `PreferencesController:getState`, and must allow the events `PreferencesController:stateChange` and `NetworkController:stateChange`
|
|
30
|
+
- Add `NftDetectionControllerMessenger` type ([#4312](https://github.com/MetaMask/core/pull/4312))
|
|
31
|
+
- Add `NftControllerGetStateAction`, `NftControllerActions`, `NftControllerStateChangeEvent`, and `NftControllerEvents` types ([#4310](https://github.com/MetaMask/core/pull/4310))
|
|
32
|
+
- Add `NftController:getState` and `NftController:stateChange` as an available action and event to the `NftController` messenger ([#4310](https://github.com/MetaMask/core/pull/4310))
|
|
33
|
+
|
|
34
|
+
### Changed
|
|
35
|
+
|
|
36
|
+
- **BREAKING:** Change `TokensController` to inherit from `BaseController` rather than `BaseControllerV1` ([#4304](https://github.com/MetaMask/core/pull/4304))
|
|
37
|
+
- The constructor now takes a single options object rather than three arguments, and all properties in `config` are now part of options.
|
|
38
|
+
- **BREAKING:** Rename `TokensState` type to `TokensControllerState` ([#4304](https://github.com/MetaMask/core/pull/4304))
|
|
39
|
+
- **BREAKING:** Make all `TokensController` methods and properties starting with `_` private ([#4304](https://github.com/MetaMask/core/pull/4304))
|
|
40
|
+
- **BREAKING:** Convert `Token` from `interface` to `type` ([#4304](https://github.com/MetaMask/core/pull/4304))
|
|
41
|
+
- **BREAKING:** Replace `balanceError` property in `Token` with `hasBalanceError`; update `TokenBalancesController` so that it no longer captures the error resulting from getting the balance of an ERC-20 token ([#4304](https://github.com/MetaMask/core/pull/4304))
|
|
42
|
+
- **BREAKING:** Change `NftDetectionController` to inherit from `StaticIntervalPollingController` rather than `StaticIntervalPollingControllerV1` ([#4312](https://github.com/MetaMask/core/pull/4312))
|
|
43
|
+
- The constructor now takes a single options object rather than three arguments, and all properties in `config` are now part of options.
|
|
44
|
+
- **BREAKING:** Convert `ApiNft`, `ApiNftContract`, `ApiNftLastSale`, and `ApiNftCreator` from `interface` to `type` ([#4312](https://github.com/MetaMask/core/pull/4312))
|
|
45
|
+
- **BREAKING:** Change `NftController` to inherit from `BaseController` rather than `BaseControllerV1` ([#4310](https://github.com/MetaMask/core/pull/4310))
|
|
46
|
+
- The constructor now takes a single options object rather than three arguments, and all properties in `config` are now part of options.
|
|
47
|
+
- **BREAKING:** Convert `Nft`, `NftContract`, and `NftMetadata` from `interface` to `type` ([#4310](https://github.com/MetaMask/core/pull/4310))
|
|
48
|
+
- **BREAKING:** Rename `NftState` to `NftControllerState`, and convert to `type` ([#4310](https://github.com/MetaMask/core/pull/4310))
|
|
49
|
+
- **BREAKING:** Rename `getDefaultNftState` to `getDefaultNftControllerState` ([#4310](https://github.com/MetaMask/core/pull/4310))
|
|
50
|
+
- **BREAKING:** Bump dependency and peer dependency `@metamask/accounts-controller` to `^15.0.0` ([#4342](https://github.com/MetaMask/core/pull/4342))
|
|
51
|
+
- **BREAKING:** Bump dependency and peer dependency `@metamask/approval-controller` to `^6.0.2` ([#4342](https://github.com/MetaMask/core/pull/4342))
|
|
52
|
+
- **BREAKING:** Bump dependency and peer dependency `@metamask/keyring-controller` to `^16.1.0` ([#4342](https://github.com/MetaMask/core/pull/4342))
|
|
53
|
+
- **BREAKING:** Bump dependency and peer dependency `@metamask/network-controller` to `^18.1.3` ([#4342](https://github.com/MetaMask/core/pull/4342))
|
|
54
|
+
- **BREAKING:** Bump dependency and peer dependency `@metamask/preferences-controller` to `^12.0.0` ([#4342](https://github.com/MetaMask/core/pull/4342))
|
|
55
|
+
- Change `NftDetectionController` method `detectNfts` so that `userAddress` option is optional ([#4312](https://github.com/MetaMask/core/pull/4312))
|
|
56
|
+
- This will default to the currently selected address as kept by PreferencesController.
|
|
57
|
+
- Bump `async-mutex` to `^0.5.0` ([#4335](https://github.com/MetaMask/core/pull/4335))
|
|
58
|
+
- Bump `@metamask/polling-controller` to `^7.0.0` ([#4342](https://github.com/MetaMask/core/pull/4342))
|
|
59
|
+
|
|
60
|
+
### Removed
|
|
61
|
+
|
|
62
|
+
- **BREAKING:** Remove `config` property and `configure` method from `TokensController` ([#4304](https://github.com/MetaMask/core/pull/4304))
|
|
63
|
+
- The `TokensController` now takes a single options object which can be used for configuration, and configuration is now kept internally.
|
|
64
|
+
- **BREAKING:** Remove `notify`, `subscribe`, and `unsubscribe` methods from `TokensController` ([#4304](https://github.com/MetaMask/core/pull/4304))
|
|
65
|
+
- Use the controller messenger for subscribing to and publishing events instead.
|
|
66
|
+
- **BREAKING:** Remove `TokensConfig` type ([#4304](https://github.com/MetaMask/core/pull/4304))
|
|
67
|
+
- These properties have been merged into the options that `TokensController` takes.
|
|
68
|
+
- **BREAKING:** Remove `config` property and `configure` method from `TokensController` ([#4312](https://github.com/MetaMask/core/pull/4312))
|
|
69
|
+
- `TokensController` now takes a single options object which can be used for configuration, and configuration is now kept internally.
|
|
70
|
+
- **BREAKING:** Remove `notify`, `subscribe`, and `unsubscribe` methods from `NftDetectionController` ([#4312](https://github.com/MetaMask/core/pull/4312))
|
|
71
|
+
- Use the controller messenger for subscribing to and publishing events instead.
|
|
72
|
+
- **BREAKING:** Remove `chainId` as a `NftDetectionController` constructor argument ([#4312](https://github.com/MetaMask/core/pull/4312))
|
|
73
|
+
- The controller will now read the `networkClientId` from the NetworkController state through the messenger when needed.
|
|
74
|
+
- **BREAKING:** Remove `getNetworkClientById` as a `NftDetectionController` constructor argument ([#4312](https://github.com/MetaMask/core/pull/4312))
|
|
75
|
+
- The controller will now call `NetworkController:getNetworkClientId` through the messenger object.
|
|
76
|
+
- **BREAKING:** Remove `onPreferencesStateChange` as a `NftDetectionController` constructor argument ([#4312](https://github.com/MetaMask/core/pull/4312))
|
|
77
|
+
- The controller will now call `PreferencesController:stateChange` through the messenger object.
|
|
78
|
+
- **BREAKING:** Remove `onNetworkStateChange` as a `NftDetectionController` constructor argument ([#4312](https://github.com/MetaMask/core/pull/4312))
|
|
79
|
+
- The controller will now read the `networkClientId` from the NetworkController state through the messenger when needed.
|
|
80
|
+
- **BREAKING:** Remove `getOpenSeaApiKey` as a `NftDetectionController` constructor argument ([#4312](https://github.com/MetaMask/core/pull/4312))
|
|
81
|
+
- This was never used.
|
|
82
|
+
- **BREAKING:** Remove `getNftApi` as a `NftDetectionController` constructor argument ([#4312](https://github.com/MetaMask/core/pull/4312))
|
|
83
|
+
- This was never used.
|
|
84
|
+
- **BREAKING:** Remove `NftDetectionConfig` type ([#4312](https://github.com/MetaMask/core/pull/4312))
|
|
85
|
+
- These properties have been merged into the options that `NftDetectionController` takes.
|
|
86
|
+
- **BREAKING:** Remove `config` property and `configure` method from `NftController` ([#4310](https://github.com/MetaMask/core/pull/4310))
|
|
87
|
+
- `NftController` now takes a single options object which can be used for configuration, and configuration is now kept internally.
|
|
88
|
+
- **BREAKING:** Remove `notify`, `subscribe`, and `unsubscribe` methods from `NftController` ([#4310](https://github.com/MetaMask/core/pull/4310))
|
|
89
|
+
- Use the controller messenger for subscribing to and publishing events instead.
|
|
90
|
+
- **BREAKING:** Remove `onPreferencesStateChange` as a `NftController` constructor argument ([#4310](https://github.com/MetaMask/core/pull/4310))
|
|
91
|
+
- The controller will now call `PreferencesController:stateChange` through the messenger object.
|
|
92
|
+
- **BREAKING:** Remove `onNetworkStateChange` as a `NftController` constructor argument ([#4310](https://github.com/MetaMask/core/pull/4310))
|
|
93
|
+
- The controller will now call `NetworkController:stateChange` through the messenger object.
|
|
94
|
+
- **BREAKING:** Remove `NftConfig` type ([#4310](https://github.com/MetaMask/core/pull/4310))
|
|
95
|
+
- These properties have been merged into the options that `NftController` takes.
|
|
96
|
+
- **BREAKING:** Remove `config` property and `configure` method from `NftController` ([#4310](https://github.com/MetaMask/core/pull/4310))
|
|
97
|
+
- `NftController` now takes a single options object which can be used for configuration, and configuration is now kept internally.
|
|
98
|
+
- **BREAKING:** Remove `hub` property from `NftController` ([#4310](https://github.com/MetaMask/core/pull/4310))
|
|
99
|
+
- Use the controller messenger for subscribing to and publishing events instead.
|
|
100
|
+
- **BREAKING:** Modify `TokenListController` so that tokens fetched from the API and stored in state will no longer have `storage` and `erc20` properties ([#4235](https://github.com/MetaMask/core/pull/4235))
|
|
101
|
+
- These properties were never officially supported, but they were present in state anyway.
|
|
102
|
+
|
|
103
|
+
## [30.0.0]
|
|
104
|
+
|
|
105
|
+
### Added
|
|
106
|
+
|
|
107
|
+
- Adds a new field `marketData` to the state of `TokenRatesController` ([#4206](https://github.com/MetaMask/core/pull/4206))
|
|
108
|
+
- Adds a new `RatesController` to manage prices for non-EVM blockchains ([#4242](https://github.com/MetaMask/core/pull/4242))
|
|
109
|
+
|
|
110
|
+
### Changed
|
|
111
|
+
|
|
112
|
+
- **BREAKING:** Changed price and token API endpoints from `*.metafi.codefi.network` to `*.api.cx.metamask.io` ([#4301](https://github.com/MetaMask/core/pull/4301))
|
|
113
|
+
- When fetching token list for Linea Mainnet, use `occurrenceFloor` parameter of 1 instead of 3, and filter tokens to those with a `lineaTeam` aggregator or more than 3 aggregators ([#4253](https://github.com/MetaMask/core/pull/4253))
|
|
12
114
|
- **BREAKING:** The NftController messenger must now allow the `NetworkController:getNetworkClientById` action ([#4305](https://github.com/MetaMask/core/pull/4305))
|
|
13
|
-
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
115
|
+
- **BREAKING:** Bump dependency and peer dependency `@metamask/network-controller` to `^18.1.2` ([#4332](https://github.com/MetaMask/core/pull/4332))
|
|
116
|
+
- Bump `@metamask/keyring-api` to `^6.1.1` ([#4262](https://github.com/MetaMask/core/pull/4262))
|
|
117
|
+
|
|
118
|
+
### Removed
|
|
119
|
+
|
|
120
|
+
- **BREAKING:** Removed `contractExchangeRates` and `contractExchangeRatesByChainId` from the state of `TokenRatesController` ([#4206](https://github.com/MetaMask/core/pull/4206))
|
|
121
|
+
|
|
122
|
+
### Fixed
|
|
123
|
+
|
|
124
|
+
- Only update NFT state when metadata actually changes ([#4143](https://github.com/MetaMask/core/pull/4143))
|
|
19
125
|
|
|
20
126
|
## [29.0.0]
|
|
21
127
|
|
|
@@ -783,7 +889,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
783
889
|
|
|
784
890
|
- Use Ethers for AssetsContractController ([#845](https://github.com/MetaMask/core/pull/845))
|
|
785
891
|
|
|
786
|
-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@
|
|
892
|
+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@32.0.0...HEAD
|
|
893
|
+
[32.0.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@31.0.0...@metamask/assets-controllers@32.0.0
|
|
894
|
+
[31.0.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@30.0.0...@metamask/assets-controllers@31.0.0
|
|
895
|
+
[30.0.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@29.0.0...@metamask/assets-controllers@30.0.0
|
|
787
896
|
[29.0.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@28.0.0...@metamask/assets-controllers@29.0.0
|
|
788
897
|
[28.0.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@27.2.0...@metamask/assets-controllers@28.0.0
|
|
789
898
|
[27.2.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@27.1.0...@metamask/assets-controllers@27.2.0
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk2BH4PEP4js = require('./chunk-2BH4PEP4.js');
|
|
5
5
|
require('./chunk-Z4BLTVTB.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.AccountTrackerController =
|
|
9
|
+
exports.AccountTrackerController = _chunk2BH4PEP4js.AccountTrackerController; exports.default = _chunk2BH4PEP4js.AccountTrackerController_default;
|
|
10
10
|
//# sourceMappingURL=AccountTrackerController.js.map
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkQHWKLZUCjs = require('./chunk-QHWKLZUC.js');
|
|
7
7
|
require('./chunk-U3DJJN4X.js');
|
|
8
8
|
require('./chunk-B5YY22QQ.js');
|
|
9
9
|
require('./chunk-BOTVAG4A.js');
|
|
@@ -14,5 +14,5 @@ require('./chunk-Z4BLTVTB.js');
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
exports.AssetsContractController =
|
|
17
|
+
exports.AssetsContractController = _chunkQHWKLZUCjs.AssetsContractController; exports.MISSING_PROVIDER_ERROR = _chunkQHWKLZUCjs.MISSING_PROVIDER_ERROR; exports.SINGLE_CALL_BALANCES_ADDRESS_BY_CHAINID = _chunkQHWKLZUCjs.SINGLE_CALL_BALANCES_ADDRESS_BY_CHAINID; exports.default = _chunkQHWKLZUCjs.AssetsContractController_default;
|
|
18
18
|
//# sourceMappingURL=AssetsContractController.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
AssetsContractController_default,
|
|
4
4
|
MISSING_PROVIDER_ERROR,
|
|
5
5
|
SINGLE_CALL_BALANCES_ADDRESS_BY_CHAINID
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HLCGZGPA.mjs";
|
|
7
7
|
import "./chunk-ASA5RLBY.mjs";
|
|
8
8
|
import "./chunk-D3K5MPMW.mjs";
|
|
9
9
|
import "./chunk-LZ5ZGQEX.mjs";
|
package/dist/NftController.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkNRF4D6U7js = require('./chunk-NRF4D6U7.js');
|
|
6
6
|
require('./chunk-RGHTNZQ6.js');
|
|
7
7
|
require('./chunk-NEXY7SE2.js');
|
|
8
8
|
require('./chunk-Z4BLTVTB.js');
|
|
@@ -10,5 +10,5 @@ require('./chunk-Z4BLTVTB.js');
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
exports.NftController =
|
|
13
|
+
exports.NftController = _chunkNRF4D6U7js.NftController; exports.default = _chunkNRF4D6U7js.NftController_default; exports.getDefaultNftControllerState = _chunkNRF4D6U7js.getDefaultNftControllerState;
|
|
14
14
|
//# sourceMappingURL=NftController.js.map
|
package/dist/NftController.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NftController,
|
|
3
3
|
NftController_default,
|
|
4
|
-
|
|
5
|
-
} from "./chunk-
|
|
4
|
+
getDefaultNftControllerState
|
|
5
|
+
} from "./chunk-ZA6274LX.mjs";
|
|
6
6
|
import "./chunk-CP3HC7AQ.mjs";
|
|
7
7
|
import "./chunk-Q5JRBGWO.mjs";
|
|
8
8
|
import "./chunk-XUI43LEZ.mjs";
|
|
9
9
|
export {
|
|
10
10
|
NftController,
|
|
11
11
|
NftController_default as default,
|
|
12
|
-
|
|
12
|
+
getDefaultNftControllerState
|
|
13
13
|
};
|
|
14
14
|
//# sourceMappingURL=NftController.mjs.map
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkG5EBZP3Wjs = require('./chunk-G5EBZP3W.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 = _chunkG5EBZP3Wjs.BlockaidResultType; exports.NftDetectionController = _chunkG5EBZP3Wjs.NftDetectionController; exports.default = _chunkG5EBZP3Wjs.NftDetectionController_default;
|
|
13
13
|
//# sourceMappingURL=NftDetectionController.js.map
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkDT5FQKVTjs = require('./chunk-DT5FQKVT.js');
|
|
6
6
|
require('./chunk-Z4BLTVTB.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.TokenBalancesController =
|
|
11
|
+
exports.TokenBalancesController = _chunkDT5FQKVTjs.TokenBalancesController; exports.default = _chunkDT5FQKVTjs.TokenBalancesController_default; exports.getDefaultTokenBalancesState = _chunkDT5FQKVTjs.getDefaultTokenBalancesState;
|
|
12
12
|
//# sourceMappingURL=TokenBalancesController.js.map
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkTUT6IDDPjs = require('./chunk-TUT6IDDP.js');
|
|
8
8
|
require('./chunk-NEXY7SE2.js');
|
|
9
9
|
require('./chunk-Z4BLTVTB.js');
|
|
10
10
|
|
|
@@ -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 = _chunkTUT6IDDPjs.STATIC_MAINNET_TOKEN_LIST; exports.TokenDetectionController = _chunkTUT6IDDPjs.TokenDetectionController; exports.controllerName = _chunkTUT6IDDPjs.controllerName; exports.default = _chunkTUT6IDDPjs.TokenDetectionController_default; exports.isEqualCaseInsensitive = _chunkTUT6IDDPjs.isEqualCaseInsensitive;
|
|
17
17
|
//# sourceMappingURL=TokenDetectionController.js.map
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('./chunk-
|
|
5
|
+
var _chunkJUI3XNEFjs = require('./chunk-JUI3XNEF.js');
|
|
6
|
+
require('./chunk-PYMUBJQX.js');
|
|
7
7
|
require('./chunk-NEXY7SE2.js');
|
|
8
8
|
require('./chunk-Z4BLTVTB.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
exports.TokenListController =
|
|
13
|
+
exports.TokenListController = _chunkJUI3XNEFjs.TokenListController; exports.default = _chunkJUI3XNEFjs.TokenListController_default; exports.getDefaultTokenListState = _chunkJUI3XNEFjs.getDefaultTokenListState;
|
|
14
14
|
//# sourceMappingURL=TokenListController.js.map
|
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
TokenListController,
|
|
3
3
|
TokenListController_default,
|
|
4
4
|
getDefaultTokenListState
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-A2DDWXMS.mjs";
|
|
6
|
+
import "./chunk-5W5OO2Q5.mjs";
|
|
7
7
|
import "./chunk-Q5JRBGWO.mjs";
|
|
8
8
|
import "./chunk-XUI43LEZ.mjs";
|
|
9
9
|
export {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkOG5NUJW5js = require('./chunk-OG5NUJW5.js');
|
|
5
|
+
require('./chunk-Z6TBQQE5.js');
|
|
5
6
|
require('./chunk-7K6PSEAA.js');
|
|
6
7
|
require('./chunk-WB6KJX4N.js');
|
|
7
8
|
require('./chunk-NEXY7SE2.js');
|
|
@@ -9,5 +10,5 @@ require('./chunk-Z4BLTVTB.js');
|
|
|
9
10
|
|
|
10
11
|
|
|
11
12
|
|
|
12
|
-
exports.TokenRatesController =
|
|
13
|
+
exports.TokenRatesController = _chunkOG5NUJW5js.TokenRatesController; exports.default = _chunkOG5NUJW5js.TokenRatesController_default;
|
|
13
14
|
//# sourceMappingURL=TokenRatesController.js.map
|
package/dist/TokensController.js
CHANGED
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunk2AYWB7FUjs = require('./chunk-2AYWB7FU.js');
|
|
6
6
|
require('./chunk-B5YY22QQ.js');
|
|
7
7
|
require('./chunk-BOTVAG4A.js');
|
|
8
|
-
require('./chunk-
|
|
8
|
+
require('./chunk-PYMUBJQX.js');
|
|
9
9
|
require('./chunk-NEXY7SE2.js');
|
|
10
10
|
require('./chunk-Z4BLTVTB.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
exports.TokensController =
|
|
15
|
+
exports.TokensController = _chunk2AYWB7FUjs.TokensController; exports.default = _chunk2AYWB7FUjs.TokensController_default; exports.getDefaultTokensState = _chunk2AYWB7FUjs.getDefaultTokensState;
|
|
16
16
|
//# sourceMappingURL=TokensController.js.map
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
TokensController,
|
|
3
3
|
TokensController_default,
|
|
4
4
|
getDefaultTokensState
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-YAEVDJIZ.mjs";
|
|
6
6
|
import "./chunk-D3K5MPMW.mjs";
|
|
7
7
|
import "./chunk-LZ5ZGQEX.mjs";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-5W5OO2Q5.mjs";
|
|
9
9
|
import "./chunk-Q5JRBGWO.mjs";
|
|
10
10
|
import "./chunk-XUI43LEZ.mjs";
|
|
11
11
|
export {
|