@metamask/assets-controller 8.3.1 → 8.3.3
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 +26 -1
- package/dist/data-sources/evm-rpc-services/services/BalanceFetcher.d.cts +2 -2
- package/dist/data-sources/evm-rpc-services/services/BalanceFetcher.d.mts +2 -2
- package/dist/data-sources/evm-rpc-services/services/StakedBalanceFetcher.d.cts +2 -2
- package/dist/data-sources/evm-rpc-services/services/StakedBalanceFetcher.d.mts +2 -2
- package/dist/data-sources/evm-rpc-services/services/TokenDetector.d.cts +2 -2
- package/dist/data-sources/evm-rpc-services/services/TokenDetector.d.mts +2 -2
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,29 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [8.3.3]
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Bump `@metamask/network-enablement-controller` from `^5.2.0` to `^5.3.0` ([#9003](https://github.com/MetaMask/core/pull/9003))
|
|
15
|
+
- Bump `@metamask/transaction-controller` from `^66.0.1` to `^67.0.0` ([#9021](https://github.com/MetaMask/core/pull/9021))
|
|
16
|
+
- Bump `@metamask/account-tree-controller` from `^7.5.1` to `^7.5.2` ([#9058](https://github.com/MetaMask/core/pull/9058))
|
|
17
|
+
- Bump `@metamask/accounts-controller` from `^39.0.0` to `^39.0.1` ([#9058](https://github.com/MetaMask/core/pull/9058))
|
|
18
|
+
- Bump `@metamask/assets-controllers` from `^108.5.0` to `^108.6.0` ([#9058](https://github.com/MetaMask/core/pull/9058))
|
|
19
|
+
- Bump `@metamask/controller-utils` from `^12.1.0` to `^12.1.1` ([#9058](https://github.com/MetaMask/core/pull/9058))
|
|
20
|
+
- Bump `@metamask/core-backend` from `^6.3.2` to `^6.3.3` ([#9058](https://github.com/MetaMask/core/pull/9058))
|
|
21
|
+
- Bump `@metamask/keyring-controller` from `^26.0.0` to `^27.0.0` ([#9058](https://github.com/MetaMask/core/pull/9058))
|
|
22
|
+
|
|
23
|
+
## [8.3.2]
|
|
24
|
+
|
|
25
|
+
### Changed
|
|
26
|
+
|
|
27
|
+
- Bump `@metamask/account-tree-controller` from `^7.5.0` to `^7.5.1` ([#8999](https://github.com/MetaMask/core/pull/8999))
|
|
28
|
+
- Bump `@metamask/accounts-controller` from `^38.1.2` to `^39.0.0` ([#8999](https://github.com/MetaMask/core/pull/8999))
|
|
29
|
+
- Bump `@metamask/assets-controllers` from `^108.4.0` to `^108.5.0` ([#8999](https://github.com/MetaMask/core/pull/8999))
|
|
30
|
+
- Bump `@metamask/core-backend` from `^6.3.1` to `^6.3.2` ([#8999](https://github.com/MetaMask/core/pull/8999))
|
|
31
|
+
- Bump `@metamask/transaction-controller` from `^66.0.0` to `^66.0.1` ([#8999](https://github.com/MetaMask/core/pull/8999))
|
|
32
|
+
|
|
10
33
|
## [8.3.1]
|
|
11
34
|
|
|
12
35
|
### Fixed
|
|
@@ -561,7 +584,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
561
584
|
- Refactor `RpcDataSource` to delegate polling to `BalanceFetcher` and `TokenDetector` services ([#7709](https://github.com/MetaMask/core/pull/7709))
|
|
562
585
|
- Refactor `BalanceFetcher` and `TokenDetector` to extend `StaticIntervalPollingControllerOnly` for independent polling management ([#7709](https://github.com/MetaMask/core/pull/7709))
|
|
563
586
|
|
|
564
|
-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/assets-controller@8.3.
|
|
587
|
+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/assets-controller@8.3.3...HEAD
|
|
588
|
+
[8.3.3]: https://github.com/MetaMask/core/compare/@metamask/assets-controller@8.3.2...@metamask/assets-controller@8.3.3
|
|
589
|
+
[8.3.2]: https://github.com/MetaMask/core/compare/@metamask/assets-controller@8.3.1...@metamask/assets-controller@8.3.2
|
|
565
590
|
[8.3.1]: https://github.com/MetaMask/core/compare/@metamask/assets-controller@8.3.0...@metamask/assets-controller@8.3.1
|
|
566
591
|
[8.3.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controller@8.2.0...@metamask/assets-controller@8.3.0
|
|
567
592
|
[8.2.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controller@8.1.0...@metamask/assets-controller@8.2.0
|
|
@@ -37,8 +37,8 @@ export type BalancePollingInput = {
|
|
|
37
37
|
*/
|
|
38
38
|
export type OnBalanceUpdateCallback = (result: BalanceFetchResult) => void | Promise<void>;
|
|
39
39
|
declare const BalanceFetcher_base: (abstract new (...args: any[]) => {
|
|
40
|
-
readonly "__#
|
|
41
|
-
"__#
|
|
40
|
+
readonly "__#17@#intervalIds": Record<string, NodeJS.Timeout>;
|
|
41
|
+
"__#17@#intervalLength": number | undefined;
|
|
42
42
|
setIntervalLength(intervalLength: number): void;
|
|
43
43
|
getIntervalLength(): number | undefined;
|
|
44
44
|
_startPolling(input: BalancePollingInput): void;
|
|
@@ -37,8 +37,8 @@ export type BalancePollingInput = {
|
|
|
37
37
|
*/
|
|
38
38
|
export type OnBalanceUpdateCallback = (result: BalanceFetchResult) => void | Promise<void>;
|
|
39
39
|
declare const BalanceFetcher_base: (abstract new (...args: any[]) => {
|
|
40
|
-
readonly "__#
|
|
41
|
-
"__#
|
|
40
|
+
readonly "__#17@#intervalIds": Record<string, NodeJS.Timeout>;
|
|
41
|
+
"__#17@#intervalLength": number | undefined;
|
|
42
42
|
setIntervalLength(intervalLength: number): void;
|
|
43
43
|
getIntervalLength(): number | undefined;
|
|
44
44
|
_startPolling(input: BalancePollingInput): void;
|
|
@@ -36,8 +36,8 @@ export type StakedBalanceFetcherConfig = {
|
|
|
36
36
|
getNetworkProvider?: (chainId: ChainId) => Web3Provider | undefined;
|
|
37
37
|
};
|
|
38
38
|
declare const StakedBalanceFetcher_base: (abstract new (...args: any[]) => {
|
|
39
|
-
readonly "__#
|
|
40
|
-
"__#
|
|
39
|
+
readonly "__#17@#intervalIds": Record<string, NodeJS.Timeout>;
|
|
40
|
+
"__#17@#intervalLength": number | undefined;
|
|
41
41
|
setIntervalLength(intervalLength: number): void;
|
|
42
42
|
getIntervalLength(): number | undefined; /** Chain ID (hex format, e.g. 0x1) */
|
|
43
43
|
_startPolling(input: StakedBalancePollingInput): void;
|
|
@@ -36,8 +36,8 @@ export type StakedBalanceFetcherConfig = {
|
|
|
36
36
|
getNetworkProvider?: (chainId: ChainId) => Web3Provider | undefined;
|
|
37
37
|
};
|
|
38
38
|
declare const StakedBalanceFetcher_base: (abstract new (...args: any[]) => {
|
|
39
|
-
readonly "__#
|
|
40
|
-
"__#
|
|
39
|
+
readonly "__#17@#intervalIds": Record<string, NodeJS.Timeout>;
|
|
40
|
+
"__#17@#intervalLength": number | undefined;
|
|
41
41
|
setIntervalLength(intervalLength: number): void;
|
|
42
42
|
getIntervalLength(): number | undefined; /** Chain ID (hex format, e.g. 0x1) */
|
|
43
43
|
_startPolling(input: StakedBalancePollingInput): void;
|
|
@@ -27,8 +27,8 @@ export type DetectionPollingInput = {
|
|
|
27
27
|
*/
|
|
28
28
|
export type OnDetectionUpdateCallback = (result: TokenDetectionResult) => void;
|
|
29
29
|
declare const TokenDetector_base: (abstract new (...args: any[]) => {
|
|
30
|
-
readonly "__#
|
|
31
|
-
"__#
|
|
30
|
+
readonly "__#17@#intervalIds": Record<string, NodeJS.Timeout>;
|
|
31
|
+
"__#17@#intervalLength": number | undefined;
|
|
32
32
|
setIntervalLength(intervalLength: number): void;
|
|
33
33
|
getIntervalLength(): number | undefined;
|
|
34
34
|
_startPolling(input: DetectionPollingInput): void;
|
|
@@ -27,8 +27,8 @@ export type DetectionPollingInput = {
|
|
|
27
27
|
*/
|
|
28
28
|
export type OnDetectionUpdateCallback = (result: TokenDetectionResult) => void;
|
|
29
29
|
declare const TokenDetector_base: (abstract new (...args: any[]) => {
|
|
30
|
-
readonly "__#
|
|
31
|
-
"__#
|
|
30
|
+
readonly "__#17@#intervalIds": Record<string, NodeJS.Timeout>;
|
|
31
|
+
"__#17@#intervalLength": number | undefined;
|
|
32
32
|
setIntervalLength(intervalLength: number): void;
|
|
33
33
|
getIntervalLength(): number | undefined;
|
|
34
34
|
_startPolling(input: DetectionPollingInput): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask/assets-controller",
|
|
3
|
-
"version": "8.3.
|
|
3
|
+
"version": "8.3.3",
|
|
4
4
|
"description": "Tracks assets balances/prices and handles token detection across all digital assets",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Ethereum",
|
|
@@ -56,27 +56,27 @@
|
|
|
56
56
|
"@ethereumjs/util": "^9.1.0",
|
|
57
57
|
"@ethersproject/abi": "^5.7.0",
|
|
58
58
|
"@ethersproject/providers": "^5.7.0",
|
|
59
|
-
"@metamask/account-tree-controller": "^7.5.
|
|
60
|
-
"@metamask/accounts-controller": "^
|
|
61
|
-
"@metamask/assets-controllers": "^108.
|
|
59
|
+
"@metamask/account-tree-controller": "^7.5.2",
|
|
60
|
+
"@metamask/accounts-controller": "^39.0.1",
|
|
61
|
+
"@metamask/assets-controllers": "^108.6.0",
|
|
62
62
|
"@metamask/base-controller": "^9.1.0",
|
|
63
63
|
"@metamask/client-controller": "^1.0.1",
|
|
64
|
-
"@metamask/controller-utils": "^12.1.
|
|
65
|
-
"@metamask/core-backend": "^6.3.
|
|
64
|
+
"@metamask/controller-utils": "^12.1.1",
|
|
65
|
+
"@metamask/core-backend": "^6.3.3",
|
|
66
66
|
"@metamask/keyring-api": "^23.1.0",
|
|
67
|
-
"@metamask/keyring-controller": "^
|
|
67
|
+
"@metamask/keyring-controller": "^27.0.0",
|
|
68
68
|
"@metamask/keyring-internal-api": "^11.0.1",
|
|
69
69
|
"@metamask/keyring-snap-client": "^9.0.2",
|
|
70
70
|
"@metamask/messenger": "^1.2.0",
|
|
71
71
|
"@metamask/network-controller": "^32.0.0",
|
|
72
|
-
"@metamask/network-enablement-controller": "^5.
|
|
72
|
+
"@metamask/network-enablement-controller": "^5.3.0",
|
|
73
73
|
"@metamask/permission-controller": "^13.1.1",
|
|
74
74
|
"@metamask/phishing-controller": "^17.2.0",
|
|
75
75
|
"@metamask/polling-controller": "^16.0.6",
|
|
76
76
|
"@metamask/preferences-controller": "^23.1.0",
|
|
77
77
|
"@metamask/snaps-controllers": "^19.0.0",
|
|
78
78
|
"@metamask/snaps-utils": "^12.1.2",
|
|
79
|
-
"@metamask/transaction-controller": "^
|
|
79
|
+
"@metamask/transaction-controller": "^67.0.0",
|
|
80
80
|
"@metamask/utils": "^11.9.0",
|
|
81
81
|
"async-mutex": "^0.5.0",
|
|
82
82
|
"bignumber.js": "^9.1.2",
|