@metamask-previews/assets-controller 2.4.0-preview-3685bfb → 2.4.0-preview-152e02d

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 CHANGED
@@ -7,12 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
- ### Changed
11
-
12
- - `TokenDataSource` now always includes native token asset IDs (from `NetworkEnablementController.nativeAssetIdentifiers`) in metadata fetch calls, ensuring native tokens always have up-to-date metadata ([#8227](https://github.com/MetaMask/core/pull/8227))
13
- - `TokenDataSource` now filters out non-native tokens with fewer than 3 occurrences from metadata responses, and also removes their balances and detected asset entries, to prevent spam tokens from being stored in state ([#8227](https://github.com/MetaMask/core/pull/8227))
14
- - `TokenDataSource` now requests `includeOccurrences` when fetching v3 asset metadata ([#8227](https://github.com/MetaMask/core/pull/8227))
15
-
16
10
  ## [2.4.0]
17
11
 
18
12
  ### Changed
@@ -278,10 +278,6 @@ class AssetsController extends base_controller_1.BaseController {
278
278
  }), "f");
279
279
  __classPrivateFieldSet(this, _AssetsController_tokenDataSource, new TokenDataSource_1.TokenDataSource({
280
280
  queryApiClient,
281
- getNativeAssetIds: () => {
282
- const { nativeAssetIdentifiers } = this.messenger.call('NetworkEnablementController:getState');
283
- return Object.values(nativeAssetIdentifiers);
284
- },
285
281
  }), "f");
286
282
  __classPrivateFieldSet(this, _AssetsController_priceDataSource, new PriceDataSource_1.PriceDataSource({
287
283
  queryApiClient,