@metamask-previews/gas-fee-controller 22.0.1-preview-1c8fd633 → 22.0.1-preview-a82fd89
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.
|
@@ -151,14 +151,14 @@ type GasFeePollingInput = {
|
|
|
151
151
|
networkClientId: NetworkClientId;
|
|
152
152
|
};
|
|
153
153
|
declare const GasFeeController_base: (abstract new (...args: any[]) => {
|
|
154
|
-
readonly "__#
|
|
155
|
-
"__#
|
|
154
|
+
readonly "__#11@#intervalIds": Record<string, NodeJS.Timeout>;
|
|
155
|
+
"__#11@#intervalLength": number | undefined;
|
|
156
156
|
setIntervalLength(intervalLength: number): void;
|
|
157
157
|
getIntervalLength(): number | undefined;
|
|
158
158
|
_startPolling(input: GasFeePollingInput): void;
|
|
159
159
|
_stopPollingByPollingTokenSetId(key: string): void;
|
|
160
|
-
readonly "__#
|
|
161
|
-
"__#
|
|
160
|
+
readonly "__#3@#pollingTokenSets": Map<string, Set<string>>;
|
|
161
|
+
"__#3@#callbacks": Map<string, Set<(input: GasFeePollingInput) => void>>;
|
|
162
162
|
_executePoll(input: GasFeePollingInput): Promise<void>;
|
|
163
163
|
startPolling(input: GasFeePollingInput): string;
|
|
164
164
|
stopAllPolling(): void;
|
|
@@ -151,14 +151,14 @@ type GasFeePollingInput = {
|
|
|
151
151
|
networkClientId: NetworkClientId;
|
|
152
152
|
};
|
|
153
153
|
declare const GasFeeController_base: (abstract new (...args: any[]) => {
|
|
154
|
-
readonly "__#
|
|
155
|
-
"__#
|
|
154
|
+
readonly "__#11@#intervalIds": Record<string, NodeJS.Timeout>;
|
|
155
|
+
"__#11@#intervalLength": number | undefined;
|
|
156
156
|
setIntervalLength(intervalLength: number): void;
|
|
157
157
|
getIntervalLength(): number | undefined;
|
|
158
158
|
_startPolling(input: GasFeePollingInput): void;
|
|
159
159
|
_stopPollingByPollingTokenSetId(key: string): void;
|
|
160
|
-
readonly "__#
|
|
161
|
-
"__#
|
|
160
|
+
readonly "__#3@#pollingTokenSets": Map<string, Set<string>>;
|
|
161
|
+
"__#3@#callbacks": Map<string, Set<(input: GasFeePollingInput) => void>>;
|
|
162
162
|
_executePoll(input: GasFeePollingInput): Promise<void>;
|
|
163
163
|
startPolling(input: GasFeePollingInput): string;
|
|
164
164
|
stopAllPolling(): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask-previews/gas-fee-controller",
|
|
3
|
-
"version": "22.0.1-preview-
|
|
3
|
+
"version": "22.0.1-preview-a82fd89",
|
|
4
4
|
"description": "Periodically calculates gas fee estimates based on various gas limits as well as other data displayed on transaction confirm screens",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"MetaMask",
|