@metamask-previews/assets-controllers 109.2.2-preview-bd7b53f49 → 109.2.2-preview-e0ee14da7
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/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/DeFiPositionsController/DeFiPositionsController.d.cts +2 -2
- package/dist/DeFiPositionsController/DeFiPositionsController.d.mts +2 -2
- package/dist/MultichainAssetsController/MultichainAssetsController.d.cts +2 -2
- package/dist/MultichainAssetsController/MultichainAssetsController.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
|
@@ -78,8 +78,8 @@ type AccountTrackerPollingInput = {
|
|
|
78
78
|
queryAllAccounts?: boolean;
|
|
79
79
|
};
|
|
80
80
|
declare const AccountTrackerController_base: (abstract new (...args: any[]) => {
|
|
81
|
-
readonly "__#
|
|
82
|
-
"__#
|
|
81
|
+
readonly "__#18@#intervalIds": Record<string, NodeJS.Timeout>;
|
|
82
|
+
"__#18@#intervalLength": number | undefined;
|
|
83
83
|
setIntervalLength(intervalLength: number): void;
|
|
84
84
|
getIntervalLength(): number | undefined;
|
|
85
85
|
_startPolling(input: AccountTrackerPollingInput): void;
|
|
@@ -78,8 +78,8 @@ type AccountTrackerPollingInput = {
|
|
|
78
78
|
queryAllAccounts?: boolean;
|
|
79
79
|
};
|
|
80
80
|
declare const AccountTrackerController_base: (abstract new (...args: any[]) => {
|
|
81
|
-
readonly "__#
|
|
82
|
-
"__#
|
|
81
|
+
readonly "__#18@#intervalIds": Record<string, NodeJS.Timeout>;
|
|
82
|
+
"__#18@#intervalLength": number | undefined;
|
|
83
83
|
setIntervalLength(intervalLength: number): void;
|
|
84
84
|
getIntervalLength(): number | undefined;
|
|
85
85
|
_startPolling(input: AccountTrackerPollingInput): void;
|
|
@@ -34,8 +34,8 @@ type CurrencyRatePollingInput = {
|
|
|
34
34
|
nativeCurrencies: string[];
|
|
35
35
|
};
|
|
36
36
|
declare const CurrencyRateController_base: (abstract new (...args: any[]) => {
|
|
37
|
-
readonly "__#
|
|
38
|
-
"__#
|
|
37
|
+
readonly "__#18@#intervalIds": Record<string, NodeJS.Timeout>;
|
|
38
|
+
"__#18@#intervalLength": number | undefined;
|
|
39
39
|
setIntervalLength(intervalLength: number): void;
|
|
40
40
|
getIntervalLength(): number | undefined;
|
|
41
41
|
_startPolling(input: CurrencyRatePollingInput): void;
|
|
@@ -34,8 +34,8 @@ type CurrencyRatePollingInput = {
|
|
|
34
34
|
nativeCurrencies: string[];
|
|
35
35
|
};
|
|
36
36
|
declare const CurrencyRateController_base: (abstract new (...args: any[]) => {
|
|
37
|
-
readonly "__#
|
|
38
|
-
"__#
|
|
37
|
+
readonly "__#18@#intervalIds": Record<string, NodeJS.Timeout>;
|
|
38
|
+
"__#18@#intervalLength": number | undefined;
|
|
39
39
|
setIntervalLength(intervalLength: number): void;
|
|
40
40
|
getIntervalLength(): number | undefined;
|
|
41
41
|
_startPolling(input: CurrencyRatePollingInput): void;
|
|
@@ -57,8 +57,8 @@ export type AllowedEvents = KeyringControllerLockEvent | TransactionControllerTr
|
|
|
57
57
|
*/
|
|
58
58
|
export type DeFiPositionsControllerMessenger = Messenger<typeof controllerName, DeFiPositionsControllerActions | AllowedActions, DeFiPositionsControllerEvents | AllowedEvents>;
|
|
59
59
|
declare const DeFiPositionsController_base: (abstract new (...args: any[]) => {
|
|
60
|
-
readonly "__#
|
|
61
|
-
"__#
|
|
60
|
+
readonly "__#18@#intervalIds": Record<string, NodeJS.Timeout>;
|
|
61
|
+
"__#18@#intervalLength": number | undefined;
|
|
62
62
|
setIntervalLength(intervalLength: number): void;
|
|
63
63
|
getIntervalLength(): number | undefined;
|
|
64
64
|
_startPolling(input: import("@metamask/utils").Json): void;
|
|
@@ -57,8 +57,8 @@ export type AllowedEvents = KeyringControllerLockEvent | TransactionControllerTr
|
|
|
57
57
|
*/
|
|
58
58
|
export type DeFiPositionsControllerMessenger = Messenger<typeof controllerName, DeFiPositionsControllerActions | AllowedActions, DeFiPositionsControllerEvents | AllowedEvents>;
|
|
59
59
|
declare const DeFiPositionsController_base: (abstract new (...args: any[]) => {
|
|
60
|
-
readonly "__#
|
|
61
|
-
"__#
|
|
60
|
+
readonly "__#18@#intervalIds": Record<string, NodeJS.Timeout>;
|
|
61
|
+
"__#18@#intervalLength": number | undefined;
|
|
62
62
|
setIntervalLength(intervalLength: number): void;
|
|
63
63
|
getIntervalLength(): number | undefined;
|
|
64
64
|
_startPolling(input: import("@metamask/utils").Json): void;
|
|
@@ -66,8 +66,8 @@ type AllowedEvents = AccountsControllerAccountAddedEvent | AccountsControllerAcc
|
|
|
66
66
|
*/
|
|
67
67
|
export type MultichainAssetsControllerMessenger = Messenger<typeof controllerName, MultichainAssetsControllerActions | AllowedActions, MultichainAssetsControllerEvents | AllowedEvents>;
|
|
68
68
|
declare const MultichainAssetsController_base: (abstract new (...args: any[]) => {
|
|
69
|
-
readonly "__#
|
|
70
|
-
"__#
|
|
69
|
+
readonly "__#18@#intervalIds": Record<string, NodeJS.Timeout>;
|
|
70
|
+
"__#18@#intervalLength": number | undefined;
|
|
71
71
|
setIntervalLength(intervalLength: number): void;
|
|
72
72
|
getIntervalLength(): number | undefined;
|
|
73
73
|
_startPolling(input: null): void;
|
|
@@ -66,8 +66,8 @@ type AllowedEvents = AccountsControllerAccountAddedEvent | AccountsControllerAcc
|
|
|
66
66
|
*/
|
|
67
67
|
export type MultichainAssetsControllerMessenger = Messenger<typeof controllerName, MultichainAssetsControllerActions | AllowedActions, MultichainAssetsControllerEvents | AllowedEvents>;
|
|
68
68
|
declare const MultichainAssetsController_base: (abstract new (...args: any[]) => {
|
|
69
|
-
readonly "__#
|
|
70
|
-
"__#
|
|
69
|
+
readonly "__#18@#intervalIds": Record<string, NodeJS.Timeout>;
|
|
70
|
+
"__#18@#intervalLength": number | undefined;
|
|
71
71
|
setIntervalLength(intervalLength: number): void;
|
|
72
72
|
getIntervalLength(): number | undefined;
|
|
73
73
|
_startPolling(input: null): void;
|
|
@@ -75,8 +75,8 @@ export type ConversionRatesWithMarketData = {
|
|
|
75
75
|
conversionRates: Record<CaipAssetType, Record<CaipAssetType, UnifiedAssetConversion | null>>;
|
|
76
76
|
};
|
|
77
77
|
declare const MultichainAssetsRatesController_base: (abstract new (...args: any[]) => {
|
|
78
|
-
readonly "__#
|
|
79
|
-
"__#
|
|
78
|
+
readonly "__#18@#intervalIds": Record<string, NodeJS.Timeout>;
|
|
79
|
+
"__#18@#intervalLength": number | undefined;
|
|
80
80
|
setIntervalLength(intervalLength: number): void;
|
|
81
81
|
getIntervalLength(): number | undefined;
|
|
82
82
|
_startPolling(input: MultichainAssetsRatesPollingInput): void;
|
|
@@ -75,8 +75,8 @@ export type ConversionRatesWithMarketData = {
|
|
|
75
75
|
conversionRates: Record<CaipAssetType, Record<CaipAssetType, UnifiedAssetConversion | null>>;
|
|
76
76
|
};
|
|
77
77
|
declare const MultichainAssetsRatesController_base: (abstract new (...args: any[]) => {
|
|
78
|
-
readonly "__#
|
|
79
|
-
"__#
|
|
78
|
+
readonly "__#18@#intervalIds": Record<string, NodeJS.Timeout>;
|
|
79
|
+
"__#18@#intervalLength": number | undefined;
|
|
80
80
|
setIntervalLength(intervalLength: number): void;
|
|
81
81
|
getIntervalLength(): number | undefined;
|
|
82
82
|
_startPolling(input: MultichainAssetsRatesPollingInput): void;
|
|
@@ -106,8 +106,8 @@ export declare const parseAssetType: (assetType: string) => [
|
|
|
106
106
|
boolean
|
|
107
107
|
] | null;
|
|
108
108
|
declare const TokenBalancesController_base: (abstract new (...args: any[]) => {
|
|
109
|
-
readonly "__#
|
|
110
|
-
"__#
|
|
109
|
+
readonly "__#18@#intervalIds": Record<string, NodeJS.Timeout>;
|
|
110
|
+
"__#18@#intervalLength": number | undefined;
|
|
111
111
|
setIntervalLength(intervalLength: number): void;
|
|
112
112
|
getIntervalLength(): number | undefined;
|
|
113
113
|
_startPolling(input: {
|
|
@@ -106,8 +106,8 @@ export declare const parseAssetType: (assetType: string) => [
|
|
|
106
106
|
boolean
|
|
107
107
|
] | null;
|
|
108
108
|
declare const TokenBalancesController_base: (abstract new (...args: any[]) => {
|
|
109
|
-
readonly "__#
|
|
110
|
-
"__#
|
|
109
|
+
readonly "__#18@#intervalIds": Record<string, NodeJS.Timeout>;
|
|
110
|
+
"__#18@#intervalLength": number | undefined;
|
|
111
111
|
setIntervalLength(intervalLength: number): void;
|
|
112
112
|
getIntervalLength(): number | undefined;
|
|
113
113
|
_startPolling(input: {
|
|
@@ -32,8 +32,8 @@ type TokenDetectionPollingInput = {
|
|
|
32
32
|
address: string;
|
|
33
33
|
};
|
|
34
34
|
declare const TokenDetectionController_base: (abstract new (...args: any[]) => {
|
|
35
|
-
readonly "__#
|
|
36
|
-
"__#
|
|
35
|
+
readonly "__#18@#intervalIds": Record<string, NodeJS.Timeout>;
|
|
36
|
+
"__#18@#intervalLength": number | undefined;
|
|
37
37
|
setIntervalLength(intervalLength: number): void;
|
|
38
38
|
getIntervalLength(): number | undefined;
|
|
39
39
|
_startPolling(input: TokenDetectionPollingInput): void;
|
|
@@ -32,8 +32,8 @@ type TokenDetectionPollingInput = {
|
|
|
32
32
|
address: string;
|
|
33
33
|
};
|
|
34
34
|
declare const TokenDetectionController_base: (abstract new (...args: any[]) => {
|
|
35
|
-
readonly "__#
|
|
36
|
-
"__#
|
|
35
|
+
readonly "__#18@#intervalIds": Record<string, NodeJS.Timeout>;
|
|
36
|
+
"__#18@#intervalLength": number | undefined;
|
|
37
37
|
setIntervalLength(intervalLength: number): void;
|
|
38
38
|
getIntervalLength(): number | undefined;
|
|
39
39
|
_startPolling(input: TokenDetectionPollingInput): void;
|
|
@@ -39,8 +39,8 @@ type TokenListPollingInput = {
|
|
|
39
39
|
chainId: Hex;
|
|
40
40
|
};
|
|
41
41
|
declare const TokenListController_base: (abstract new (...args: any[]) => {
|
|
42
|
-
readonly "__#
|
|
43
|
-
"__#
|
|
42
|
+
readonly "__#18@#intervalIds": Record<string, NodeJS.Timeout>;
|
|
43
|
+
"__#18@#intervalLength": number | undefined;
|
|
44
44
|
setIntervalLength(intervalLength: number): void;
|
|
45
45
|
getIntervalLength(): number | undefined;
|
|
46
46
|
_startPolling(input: TokenListPollingInput): void;
|
|
@@ -39,8 +39,8 @@ type TokenListPollingInput = {
|
|
|
39
39
|
chainId: Hex;
|
|
40
40
|
};
|
|
41
41
|
declare const TokenListController_base: (abstract new (...args: any[]) => {
|
|
42
|
-
readonly "__#
|
|
43
|
-
"__#
|
|
42
|
+
readonly "__#18@#intervalIds": Record<string, NodeJS.Timeout>;
|
|
43
|
+
"__#18@#intervalLength": number | undefined;
|
|
44
44
|
setIntervalLength(intervalLength: number): void;
|
|
45
45
|
getIntervalLength(): number | undefined;
|
|
46
46
|
_startPolling(input: TokenListPollingInput): void;
|
|
@@ -117,8 +117,8 @@ export type TokenRatesPollingInput = {
|
|
|
117
117
|
chainIds: Hex[];
|
|
118
118
|
};
|
|
119
119
|
declare const TokenRatesController_base: (abstract new (...args: any[]) => {
|
|
120
|
-
readonly "__#
|
|
121
|
-
"__#
|
|
120
|
+
readonly "__#18@#intervalIds": Record<string, NodeJS.Timeout>;
|
|
121
|
+
"__#18@#intervalLength": number | undefined;
|
|
122
122
|
setIntervalLength(intervalLength: number): void;
|
|
123
123
|
getIntervalLength(): number | undefined;
|
|
124
124
|
_startPolling(input: TokenRatesPollingInput): void;
|
|
@@ -117,8 +117,8 @@ export type TokenRatesPollingInput = {
|
|
|
117
117
|
chainIds: Hex[];
|
|
118
118
|
};
|
|
119
119
|
declare const TokenRatesController_base: (abstract new (...args: any[]) => {
|
|
120
|
-
readonly "__#
|
|
121
|
-
"__#
|
|
120
|
+
readonly "__#18@#intervalIds": Record<string, NodeJS.Timeout>;
|
|
121
|
+
"__#18@#intervalLength": number | undefined;
|
|
122
122
|
setIntervalLength(intervalLength: number): void;
|
|
123
123
|
getIntervalLength(): number | undefined;
|
|
124
124
|
_startPolling(input: TokenRatesPollingInput): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask-previews/assets-controllers",
|
|
3
|
-
"version": "109.2.2-preview-
|
|
3
|
+
"version": "109.2.2-preview-e0ee14da7",
|
|
4
4
|
"description": "Controllers which manage interactions involving ERC-20, ERC-721, and ERC-1155 tokens (including NFTs)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Ethereum",
|