@metamask-previews/assets-controllers 53.1.1-preview-401a9c00 → 54.0.0-preview-39c90ec
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 +12 -1
- package/dist/AccountTrackerController.d.cts +2 -2
- package/dist/AccountTrackerController.d.mts +2 -2
- package/dist/CurrencyRateController.d.cts +2 -2
- package/dist/CurrencyRateController.d.mts +2 -2
- package/dist/MultichainAssetsRatesController/MultichainAssetsRatesController.d.cts +2 -2
- package/dist/MultichainAssetsRatesController/MultichainAssetsRatesController.d.mts +2 -2
- package/dist/TokenBalancesController.d.cts +2 -2
- package/dist/TokenBalancesController.d.mts +2 -2
- package/dist/TokenDetectionController.d.cts +2 -2
- package/dist/TokenDetectionController.d.mts +2 -2
- package/dist/TokenListController.d.cts +2 -2
- package/dist/TokenListController.d.mts +2 -2
- package/dist/TokenRatesController.d.cts +2 -2
- package/dist/TokenRatesController.d.mts +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [54.0.0]
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- **BREAKING**: The `detectNfts` method in the `NftDetectionController` now accepts chain IDs directly instead of networkClientId, enabling NFT detection across multiple chains simultaneously ([#5448](https://github.com/MetaMask/core/pull/5448))
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
|
|
18
|
+
- Fixed token address conversion in the `TokenRatesController` to correctly preserve the checksum address format without unnecessary hex conversion ([#5490](https://github.com/MetaMask/core/pull/5490))
|
|
19
|
+
|
|
10
20
|
## [53.1.1]
|
|
11
21
|
|
|
12
22
|
### Fixed
|
|
@@ -1468,7 +1478,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
1468
1478
|
|
|
1469
1479
|
- Use Ethers for AssetsContractController ([#845](https://github.com/MetaMask/core/pull/845))
|
|
1470
1480
|
|
|
1471
|
-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@
|
|
1481
|
+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@54.0.0...HEAD
|
|
1482
|
+
[54.0.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@53.1.1...@metamask/assets-controllers@54.0.0
|
|
1472
1483
|
[53.1.1]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@53.1.0...@metamask/assets-controllers@53.1.1
|
|
1473
1484
|
[53.1.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@53.0.0...@metamask/assets-controllers@53.1.0
|
|
1474
1485
|
[53.0.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@52.0.0...@metamask/assets-controllers@53.0.0
|
|
@@ -65,8 +65,8 @@ type AccountTrackerPollingInput = {
|
|
|
65
65
|
networkClientId: NetworkClientId;
|
|
66
66
|
};
|
|
67
67
|
declare const AccountTrackerController_base: (abstract new (...args: any[]) => {
|
|
68
|
-
readonly "__#
|
|
69
|
-
"__#
|
|
68
|
+
readonly "__#13@#intervalIds": Record<string, NodeJS.Timeout>;
|
|
69
|
+
"__#13@#intervalLength": number | undefined;
|
|
70
70
|
setIntervalLength(intervalLength: number): void;
|
|
71
71
|
getIntervalLength(): number | undefined;
|
|
72
72
|
_startPolling(input: AccountTrackerPollingInput): void; /**
|
|
@@ -65,8 +65,8 @@ type AccountTrackerPollingInput = {
|
|
|
65
65
|
networkClientId: NetworkClientId;
|
|
66
66
|
};
|
|
67
67
|
declare const AccountTrackerController_base: (abstract new (...args: any[]) => {
|
|
68
|
-
readonly "__#
|
|
69
|
-
"__#
|
|
68
|
+
readonly "__#13@#intervalIds": Record<string, NodeJS.Timeout>;
|
|
69
|
+
"__#13@#intervalLength": number | undefined;
|
|
70
70
|
setIntervalLength(intervalLength: number): void;
|
|
71
71
|
getIntervalLength(): number | undefined;
|
|
72
72
|
_startPolling(input: AccountTrackerPollingInput): void; /**
|
|
@@ -29,8 +29,8 @@ type CurrencyRatePollingInput = {
|
|
|
29
29
|
nativeCurrencies: string[];
|
|
30
30
|
};
|
|
31
31
|
declare const CurrencyRateController_base: (abstract new (...args: any[]) => {
|
|
32
|
-
readonly "__#
|
|
33
|
-
"__#
|
|
32
|
+
readonly "__#13@#intervalIds": Record<string, NodeJS.Timeout>;
|
|
33
|
+
"__#13@#intervalLength": number | undefined;
|
|
34
34
|
setIntervalLength(intervalLength: number): void;
|
|
35
35
|
getIntervalLength(): number | undefined;
|
|
36
36
|
_startPolling(input: CurrencyRatePollingInput): void;
|
|
@@ -29,8 +29,8 @@ type CurrencyRatePollingInput = {
|
|
|
29
29
|
nativeCurrencies: string[];
|
|
30
30
|
};
|
|
31
31
|
declare const CurrencyRateController_base: (abstract new (...args: any[]) => {
|
|
32
|
-
readonly "__#
|
|
33
|
-
"__#
|
|
32
|
+
readonly "__#13@#intervalIds": Record<string, NodeJS.Timeout>;
|
|
33
|
+
"__#13@#intervalLength": number | undefined;
|
|
34
34
|
setIntervalLength(intervalLength: number): void;
|
|
35
35
|
getIntervalLength(): number | undefined;
|
|
36
36
|
_startPolling(input: CurrencyRatePollingInput): void;
|
|
@@ -67,8 +67,8 @@ export type MultichainAssetsRatesPollingInput = {
|
|
|
67
67
|
accountId: string;
|
|
68
68
|
};
|
|
69
69
|
declare const MultichainAssetsRatesController_base: (abstract new (...args: any[]) => {
|
|
70
|
-
readonly "__#
|
|
71
|
-
"__#
|
|
70
|
+
readonly "__#13@#intervalIds": Record<string, NodeJS.Timeout>;
|
|
71
|
+
"__#13@#intervalLength": number | undefined;
|
|
72
72
|
setIntervalLength(intervalLength: number): void;
|
|
73
73
|
getIntervalLength(): number | undefined;
|
|
74
74
|
_startPolling(input: MultichainAssetsRatesPollingInput): void;
|
|
@@ -67,8 +67,8 @@ export type MultichainAssetsRatesPollingInput = {
|
|
|
67
67
|
accountId: string;
|
|
68
68
|
};
|
|
69
69
|
declare const MultichainAssetsRatesController_base: (abstract new (...args: any[]) => {
|
|
70
|
-
readonly "__#
|
|
71
|
-
"__#
|
|
70
|
+
readonly "__#13@#intervalIds": Record<string, NodeJS.Timeout>;
|
|
71
|
+
"__#13@#intervalLength": number | undefined;
|
|
72
72
|
setIntervalLength(intervalLength: number): void;
|
|
73
73
|
getIntervalLength(): number | undefined;
|
|
74
74
|
_startPolling(input: MultichainAssetsRatesPollingInput): void;
|
|
@@ -45,8 +45,8 @@ export type TokenBalancesPollingInput = {
|
|
|
45
45
|
chainId: Hex;
|
|
46
46
|
};
|
|
47
47
|
declare const TokenBalancesController_base: (abstract new (...args: any[]) => {
|
|
48
|
-
readonly "__#
|
|
49
|
-
"__#
|
|
48
|
+
readonly "__#13@#intervalIds": Record<string, NodeJS.Timeout>;
|
|
49
|
+
"__#13@#intervalLength": number | undefined;
|
|
50
50
|
setIntervalLength(intervalLength: number): void;
|
|
51
51
|
getIntervalLength(): number | undefined;
|
|
52
52
|
_startPolling(input: TokenBalancesPollingInput): void;
|
|
@@ -45,8 +45,8 @@ export type TokenBalancesPollingInput = {
|
|
|
45
45
|
chainId: Hex;
|
|
46
46
|
};
|
|
47
47
|
declare const TokenBalancesController_base: (abstract new (...args: any[]) => {
|
|
48
|
-
readonly "__#
|
|
49
|
-
"__#
|
|
48
|
+
readonly "__#13@#intervalIds": Record<string, NodeJS.Timeout>;
|
|
49
|
+
"__#13@#intervalLength": number | undefined;
|
|
50
50
|
setIntervalLength(intervalLength: number): void;
|
|
51
51
|
getIntervalLength(): number | undefined;
|
|
52
52
|
_startPolling(input: TokenBalancesPollingInput): void;
|
|
@@ -34,8 +34,8 @@ type TokenDetectionPollingInput = {
|
|
|
34
34
|
address: string;
|
|
35
35
|
};
|
|
36
36
|
declare const TokenDetectionController_base: (abstract new (...args: any[]) => {
|
|
37
|
-
readonly "__#
|
|
38
|
-
"__#
|
|
37
|
+
readonly "__#13@#intervalIds": Record<string, NodeJS.Timeout>;
|
|
38
|
+
"__#13@#intervalLength": number | undefined;
|
|
39
39
|
setIntervalLength(intervalLength: number): void;
|
|
40
40
|
getIntervalLength(): number | undefined;
|
|
41
41
|
_startPolling(input: TokenDetectionPollingInput): void;
|
|
@@ -34,8 +34,8 @@ type TokenDetectionPollingInput = {
|
|
|
34
34
|
address: string;
|
|
35
35
|
};
|
|
36
36
|
declare const TokenDetectionController_base: (abstract new (...args: any[]) => {
|
|
37
|
-
readonly "__#
|
|
38
|
-
"__#
|
|
37
|
+
readonly "__#13@#intervalIds": Record<string, NodeJS.Timeout>;
|
|
38
|
+
"__#13@#intervalLength": number | undefined;
|
|
39
39
|
setIntervalLength(intervalLength: number): void;
|
|
40
40
|
getIntervalLength(): number | undefined;
|
|
41
41
|
_startPolling(input: TokenDetectionPollingInput): void;
|
|
@@ -37,8 +37,8 @@ type TokenListPollingInput = {
|
|
|
37
37
|
chainId: Hex;
|
|
38
38
|
};
|
|
39
39
|
declare const TokenListController_base: (abstract new (...args: any[]) => {
|
|
40
|
-
readonly "__#
|
|
41
|
-
"__#
|
|
40
|
+
readonly "__#13@#intervalIds": Record<string, NodeJS.Timeout>;
|
|
41
|
+
"__#13@#intervalLength": number | undefined;
|
|
42
42
|
setIntervalLength(intervalLength: number): void;
|
|
43
43
|
getIntervalLength(): number | undefined;
|
|
44
44
|
_startPolling(input: TokenListPollingInput): void;
|
|
@@ -37,8 +37,8 @@ type TokenListPollingInput = {
|
|
|
37
37
|
chainId: Hex;
|
|
38
38
|
};
|
|
39
39
|
declare const TokenListController_base: (abstract new (...args: any[]) => {
|
|
40
|
-
readonly "__#
|
|
41
|
-
"__#
|
|
40
|
+
readonly "__#13@#intervalIds": Record<string, NodeJS.Timeout>;
|
|
41
|
+
"__#13@#intervalLength": number | undefined;
|
|
42
42
|
setIntervalLength(intervalLength: number): void;
|
|
43
43
|
getIntervalLength(): number | undefined;
|
|
44
44
|
_startPolling(input: TokenListPollingInput): void;
|
|
@@ -108,8 +108,8 @@ export type TokenRatesPollingInput = {
|
|
|
108
108
|
chainId: Hex;
|
|
109
109
|
};
|
|
110
110
|
declare const TokenRatesController_base: (abstract new (...args: any[]) => {
|
|
111
|
-
readonly "__#
|
|
112
|
-
"__#
|
|
111
|
+
readonly "__#13@#intervalIds": Record<string, NodeJS.Timeout>;
|
|
112
|
+
"__#13@#intervalLength": number | undefined;
|
|
113
113
|
setIntervalLength(intervalLength: number): void;
|
|
114
114
|
getIntervalLength(): number | undefined;
|
|
115
115
|
_startPolling(input: TokenRatesPollingInput): void;
|
|
@@ -108,8 +108,8 @@ export type TokenRatesPollingInput = {
|
|
|
108
108
|
chainId: Hex;
|
|
109
109
|
};
|
|
110
110
|
declare const TokenRatesController_base: (abstract new (...args: any[]) => {
|
|
111
|
-
readonly "__#
|
|
112
|
-
"__#
|
|
111
|
+
readonly "__#13@#intervalIds": Record<string, NodeJS.Timeout>;
|
|
112
|
+
"__#13@#intervalLength": number | undefined;
|
|
113
113
|
setIntervalLength(intervalLength: number): void;
|
|
114
114
|
getIntervalLength(): number | undefined;
|
|
115
115
|
_startPolling(input: TokenRatesPollingInput): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask-previews/assets-controllers",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "54.0.0-preview-39c90ec",
|
|
4
4
|
"description": "Controllers which manage interactions involving ERC-20, ERC-721, and ERC-1155 tokens (including NFTs)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"MetaMask",
|