@metamask/polling-controller 16.0.2 → 16.0.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
CHANGED
|
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [16.0.3]
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Bump `@metamask/network-controller` from `^29.0.0` to `^30.0.0` ([#7996](https://github.com/MetaMask/core/pull/7996))
|
|
15
|
+
- Bump `@metamask/controller-utils` from `^11.18.0` to `^11.19.0` ([#7995](https://github.com/MetaMask/core/pull/7995))
|
|
16
|
+
|
|
10
17
|
## [16.0.2]
|
|
11
18
|
|
|
12
19
|
### Changed
|
|
@@ -299,7 +306,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
299
306
|
|
|
300
307
|
- Initial release
|
|
301
308
|
|
|
302
|
-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/polling-controller@16.0.
|
|
309
|
+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/polling-controller@16.0.3...HEAD
|
|
310
|
+
[16.0.3]: https://github.com/MetaMask/core/compare/@metamask/polling-controller@16.0.2...@metamask/polling-controller@16.0.3
|
|
303
311
|
[16.0.2]: https://github.com/MetaMask/core/compare/@metamask/polling-controller@16.0.1...@metamask/polling-controller@16.0.2
|
|
304
312
|
[16.0.1]: https://github.com/MetaMask/core/compare/@metamask/polling-controller@16.0.0...@metamask/polling-controller@16.0.1
|
|
305
313
|
[16.0.0]: https://github.com/MetaMask/core/compare/@metamask/polling-controller@15.0.0...@metamask/polling-controller@16.0.0
|
|
@@ -12,7 +12,7 @@ export type BlockTrackerPollingInput = {
|
|
|
12
12
|
declare class Empty {
|
|
13
13
|
}
|
|
14
14
|
export declare const BlockTrackerPollingControllerOnly: <PollingInput extends BlockTrackerPollingInput>() => (abstract new (...args: any[]) => {
|
|
15
|
-
"__#
|
|
15
|
+
"__#14@#activeListeners": Record<string, (options: Json) => Promise<void>>;
|
|
16
16
|
_getNetworkClientById(networkClientId: NetworkClientId): NetworkClient | undefined;
|
|
17
17
|
_startPolling(input: PollingInput): void;
|
|
18
18
|
_stopPollingByPollingTokenSetId(key: PollingTokenSetId): void;
|
|
@@ -25,7 +25,7 @@ export declare const BlockTrackerPollingControllerOnly: <PollingInput extends Bl
|
|
|
25
25
|
onPollingComplete(input: PollingInput, callback: (input: PollingInput) => void): void;
|
|
26
26
|
}) & typeof Empty;
|
|
27
27
|
export declare const BlockTrackerPollingController: <PollingInput extends BlockTrackerPollingInput>() => (abstract new (...args: any[]) => {
|
|
28
|
-
"__#
|
|
28
|
+
"__#14@#activeListeners": Record<string, (options: Json) => Promise<void>>;
|
|
29
29
|
_getNetworkClientById(networkClientId: NetworkClientId): NetworkClient | undefined;
|
|
30
30
|
_startPolling(input: PollingInput): void;
|
|
31
31
|
_stopPollingByPollingTokenSetId(key: PollingTokenSetId): void;
|
|
@@ -12,7 +12,7 @@ export type BlockTrackerPollingInput = {
|
|
|
12
12
|
declare class Empty {
|
|
13
13
|
}
|
|
14
14
|
export declare const BlockTrackerPollingControllerOnly: <PollingInput extends BlockTrackerPollingInput>() => (abstract new (...args: any[]) => {
|
|
15
|
-
"__#
|
|
15
|
+
"__#14@#activeListeners": Record<string, (options: Json) => Promise<void>>;
|
|
16
16
|
_getNetworkClientById(networkClientId: NetworkClientId): NetworkClient | undefined;
|
|
17
17
|
_startPolling(input: PollingInput): void;
|
|
18
18
|
_stopPollingByPollingTokenSetId(key: PollingTokenSetId): void;
|
|
@@ -25,7 +25,7 @@ export declare const BlockTrackerPollingControllerOnly: <PollingInput extends Bl
|
|
|
25
25
|
onPollingComplete(input: PollingInput, callback: (input: PollingInput) => void): void;
|
|
26
26
|
}) & typeof Empty;
|
|
27
27
|
export declare const BlockTrackerPollingController: <PollingInput extends BlockTrackerPollingInput>() => (abstract new (...args: any[]) => {
|
|
28
|
-
"__#
|
|
28
|
+
"__#14@#activeListeners": Record<string, (options: Json) => Promise<void>>;
|
|
29
29
|
_getNetworkClientById(networkClientId: NetworkClientId): NetworkClient | undefined;
|
|
30
30
|
_startPolling(input: PollingInput): void;
|
|
31
31
|
_stopPollingByPollingTokenSetId(key: PollingTokenSetId): void;
|
|
@@ -4,8 +4,8 @@ import type { PollingTokenSetId } from "./types.cjs";
|
|
|
4
4
|
declare class Empty {
|
|
5
5
|
}
|
|
6
6
|
export declare const StaticIntervalPollingControllerOnly: <PollingInput extends Json>() => (abstract new (...args: any[]) => {
|
|
7
|
-
readonly "__#
|
|
8
|
-
"__#
|
|
7
|
+
readonly "__#15@#intervalIds": Record<PollingTokenSetId, NodeJS.Timeout>;
|
|
8
|
+
"__#15@#intervalLength": number | undefined;
|
|
9
9
|
setIntervalLength(intervalLength: number): void;
|
|
10
10
|
getIntervalLength(): number | undefined;
|
|
11
11
|
_startPolling(input: PollingInput): void;
|
|
@@ -19,8 +19,8 @@ export declare const StaticIntervalPollingControllerOnly: <PollingInput extends
|
|
|
19
19
|
onPollingComplete(input: PollingInput, callback: (input: PollingInput) => void): void;
|
|
20
20
|
}) & typeof Empty;
|
|
21
21
|
export declare const StaticIntervalPollingController: <PollingInput extends Json>() => (abstract new (...args: any[]) => {
|
|
22
|
-
readonly "__#
|
|
23
|
-
"__#
|
|
22
|
+
readonly "__#15@#intervalIds": Record<PollingTokenSetId, NodeJS.Timeout>;
|
|
23
|
+
"__#15@#intervalLength": number | undefined;
|
|
24
24
|
setIntervalLength(intervalLength: number): void;
|
|
25
25
|
getIntervalLength(): number | undefined;
|
|
26
26
|
_startPolling(input: PollingInput): void;
|
|
@@ -4,8 +4,8 @@ import type { PollingTokenSetId } from "./types.mjs";
|
|
|
4
4
|
declare class Empty {
|
|
5
5
|
}
|
|
6
6
|
export declare const StaticIntervalPollingControllerOnly: <PollingInput extends Json>() => (abstract new (...args: any[]) => {
|
|
7
|
-
readonly "__#
|
|
8
|
-
"__#
|
|
7
|
+
readonly "__#15@#intervalIds": Record<PollingTokenSetId, NodeJS.Timeout>;
|
|
8
|
+
"__#15@#intervalLength": number | undefined;
|
|
9
9
|
setIntervalLength(intervalLength: number): void;
|
|
10
10
|
getIntervalLength(): number | undefined;
|
|
11
11
|
_startPolling(input: PollingInput): void;
|
|
@@ -19,8 +19,8 @@ export declare const StaticIntervalPollingControllerOnly: <PollingInput extends
|
|
|
19
19
|
onPollingComplete(input: PollingInput, callback: (input: PollingInput) => void): void;
|
|
20
20
|
}) & typeof Empty;
|
|
21
21
|
export declare const StaticIntervalPollingController: <PollingInput extends Json>() => (abstract new (...args: any[]) => {
|
|
22
|
-
readonly "__#
|
|
23
|
-
"__#
|
|
22
|
+
readonly "__#15@#intervalIds": Record<PollingTokenSetId, NodeJS.Timeout>;
|
|
23
|
+
"__#15@#intervalLength": number | undefined;
|
|
24
24
|
setIntervalLength(intervalLength: number): void;
|
|
25
25
|
getIntervalLength(): number | undefined;
|
|
26
26
|
_startPolling(input: PollingInput): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask/polling-controller",
|
|
3
|
-
"version": "16.0.
|
|
3
|
+
"version": "16.0.3",
|
|
4
4
|
"description": "Polling Controller is the base for controllers that polling by networkClientId",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"MetaMask",
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@metamask/base-controller": "^9.0.0",
|
|
52
|
-
"@metamask/controller-utils": "^11.
|
|
53
|
-
"@metamask/network-controller": "^
|
|
52
|
+
"@metamask/controller-utils": "^11.19.0",
|
|
53
|
+
"@metamask/network-controller": "^30.0.0",
|
|
54
54
|
"@metamask/utils": "^11.9.0",
|
|
55
55
|
"@types/uuid": "^8.3.0",
|
|
56
56
|
"fast-json-stable-stringify": "^2.1.0",
|
|
@@ -59,12 +59,11 @@
|
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@metamask/auto-changelog": "^3.4.4",
|
|
61
61
|
"@ts-bridge/cli": "^0.6.4",
|
|
62
|
-
"@types/jest": "^
|
|
62
|
+
"@types/jest": "^29.5.14",
|
|
63
63
|
"deepmerge": "^4.2.2",
|
|
64
|
-
"jest": "^
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"typedoc": "^0.24.8",
|
|
64
|
+
"jest": "^29.7.0",
|
|
65
|
+
"ts-jest": "^29.2.5",
|
|
66
|
+
"typedoc": "^0.25.13",
|
|
68
67
|
"typedoc-plugin-missing-exports": "^2.0.0",
|
|
69
68
|
"typescript": "~5.3.3"
|
|
70
69
|
},
|