@metamask-previews/polling-controller 16.0.0-preview-4f3e9ca7 → 16.0.0-preview-ca619be

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.
@@ -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
- "__#14@#activeListeners": Record<string, (options: Json) => Promise<void>>;
15
+ "__#13@#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
- "__#14@#activeListeners": Record<string, (options: Json) => Promise<void>>;
28
+ "__#13@#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
- "__#14@#activeListeners": Record<string, (options: Json) => Promise<void>>;
15
+ "__#13@#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
- "__#14@#activeListeners": Record<string, (options: Json) => Promise<void>>;
28
+ "__#13@#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 "__#15@#intervalIds": Record<PollingTokenSetId, NodeJS.Timeout>;
8
- "__#15@#intervalLength": number | undefined;
7
+ readonly "__#14@#intervalIds": Record<PollingTokenSetId, NodeJS.Timeout>;
8
+ "__#14@#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 "__#15@#intervalIds": Record<PollingTokenSetId, NodeJS.Timeout>;
23
- "__#15@#intervalLength": number | undefined;
22
+ readonly "__#14@#intervalIds": Record<PollingTokenSetId, NodeJS.Timeout>;
23
+ "__#14@#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 "__#15@#intervalIds": Record<PollingTokenSetId, NodeJS.Timeout>;
8
- "__#15@#intervalLength": number | undefined;
7
+ readonly "__#14@#intervalIds": Record<PollingTokenSetId, NodeJS.Timeout>;
8
+ "__#14@#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 "__#15@#intervalIds": Record<PollingTokenSetId, NodeJS.Timeout>;
23
- "__#15@#intervalLength": number | undefined;
22
+ readonly "__#14@#intervalIds": Record<PollingTokenSetId, NodeJS.Timeout>;
23
+ "__#14@#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-previews/polling-controller",
3
- "version": "16.0.0-preview-4f3e9ca7",
3
+ "version": "16.0.0-preview-ca619be",
4
4
  "description": "Polling Controller is the base for controllers that polling by networkClientId",
5
5
  "keywords": [
6
6
  "MetaMask",