Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@metamask/assets-controllers

Package Overview
Dependencies
Maintainers
10
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metamask/assets-controllers - npm Package Compare versions

Comparing version 13.0.0 to 14.0.0

12

CHANGELOG.md

@@ -9,2 +9,11 @@ # Changelog

## [14.0.0]
### Changed
- Update TypeScript to v4.8.x ([#1718](https://github.com/MetaMask/core/pull/1718))
- Update `@metamask/rpc-errors` to `^6.0.0` ([#1690](https://github.com/MetaMask/core/pull/1690))
### Removed
- **BREAKING:** Remove AbortController polyfill
- This package now assumes that the AbortController global exists
## [13.0.0]

@@ -275,3 +284,4 @@ ### Changed

[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@13.0.0...HEAD
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@14.0.0...HEAD
[14.0.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@13.0.0...@metamask/assets-controllers@14.0.0
[13.0.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@12.0.0...@metamask/assets-controllers@13.0.0

@@ -278,0 +288,0 @@ [12.0.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@11.1.0...@metamask/assets-controllers@12.0.0

2

dist/Standards/NftStandards/ERC1155/ERC1155Standard.d.ts

@@ -73,3 +73,3 @@ import type { Web3Provider } from '@ethersproject/providers';

*/
getDetails: (address: string, ipfsGateway: string, tokenId?: string | undefined) => Promise<{
getDetails: (address: string, ipfsGateway: string, tokenId?: string) => Promise<{
standard: string;

@@ -76,0 +76,0 @@ tokenURI: string | undefined;

@@ -81,3 +81,3 @@ import type { Web3Provider } from '@ethersproject/providers';

*/
getDetails: (address: string, ipfsGateway: string, tokenId?: string | undefined) => Promise<{
getDetails: (address: string, ipfsGateway: string, tokenId?: string) => Promise<{
standard: string;

@@ -84,0 +84,0 @@ tokenURI: string | undefined;

@@ -21,3 +21,2 @@ "use strict";

const controller_utils_1 = require("@metamask/controller-utils");
const abort_controller_1 = require("abort-controller");
const async_mutex_1 = require("async-mutex");

@@ -68,3 +67,3 @@ const assetsUtil_1 = require("./assetsUtil");

this.updatePreventPollingOnNetworkRestart(preventPollingOnNetworkRestart);
this.abortController = new abort_controller_1.AbortController();
this.abortController = new AbortController();
if (onNetworkStateChange) {

@@ -233,3 +232,3 @@ onNetworkStateChange((networkControllerState) => __awaiter(this, void 0, void 0, function* () {

this.abortController.abort();
this.abortController = new abort_controller_1.AbortController();
this.abortController = new AbortController();
this.chainId = networkControllerState.providerConfig.chainId;

@@ -236,0 +235,0 @@ if (this.state.preventPollingOnNetworkRestart) {

@@ -22,3 +22,2 @@ "use strict";

const metamask_eth_abis_1 = require("@metamask/metamask-eth-abis");
const abort_controller_1 = require("abort-controller");
const async_mutex_1 = require("async-mutex");

@@ -65,3 +64,3 @@ const events_1 = require("events");

this.initialize();
this.abortController = new abort_controller_1.AbortController();
this.abortController = new AbortController();
this.getERC20TokenName = getERC20TokenName;

@@ -87,3 +86,3 @@ this.getNetworkClientById = getNetworkClientById;

this.abortController.abort();
this.abortController = new abort_controller_1.AbortController();
this.abortController = new AbortController();
this.configure({ chainId });

@@ -90,0 +89,0 @@ this.update({

{
"name": "@metamask/assets-controllers",
"version": "13.0.0",
"version": "14.0.0",
"description": "Controllers which manage interactions involving ERC-20, ERC-721, and ERC-1155 tokens (including NFTs)",

@@ -36,14 +36,13 @@ "keywords": [

"@metamask/abi-utils": "^2.0.2",
"@metamask/approval-controller": "^3.5.1",
"@metamask/base-controller": "^3.2.1",
"@metamask/approval-controller": "^3.5.2",
"@metamask/base-controller": "^3.2.2",
"@metamask/contract-metadata": "^2.3.1",
"@metamask/controller-utils": "^5.0.0",
"@metamask/controller-utils": "^5.0.1",
"@metamask/eth-query": "^3.0.1",
"@metamask/metamask-eth-abis": "3.0.0",
"@metamask/network-controller": "^13.0.0",
"@metamask/preferences-controller": "^4.4.1",
"@metamask/rpc-errors": "^5.1.1",
"@metamask/network-controller": "^13.0.1",
"@metamask/preferences-controller": "^4.4.2",
"@metamask/rpc-errors": "^6.0.0",
"@metamask/utils": "^6.2.0",
"@types/uuid": "^8.3.0",
"abort-controller": "^3.0.0",
"async-mutex": "^0.2.6",

@@ -67,10 +66,10 @@ "ethereumjs-util": "^7.0.10",

"ts-jest": "^27.1.4",
"typedoc": "^0.22.15",
"typedoc-plugin-missing-exports": "^0.22.6",
"typescript": "~4.6.3"
"typedoc": "^0.23.15",
"typedoc-plugin-missing-exports": "^0.23.0",
"typescript": "~4.8.4"
},
"peerDependencies": {
"@metamask/approval-controller": "^3.5.1",
"@metamask/network-controller": "^13.0.0",
"@metamask/preferences-controller": "^4.4.1"
"@metamask/approval-controller": "^3.5.2",
"@metamask/network-controller": "^13.0.1",
"@metamask/preferences-controller": "^4.4.2"
},

@@ -77,0 +76,0 @@ "engines": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc