@w3ux/utils 2.0.5 → 2.0.6

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.
Files changed (3) hide show
  1. package/base.d.cts +1 -1
  2. package/base.d.ts +1 -1
  3. package/package.json +1 -1
package/base.d.cts CHANGED
@@ -55,7 +55,7 @@ declare const shuffle: <T>(array: T[]) => T[];
55
55
  * @name withTimeout
56
56
  * @summary Timeout a promise after a specified number of milliseconds.
57
57
  */
58
- declare const withTimeout: (ms: number, promise: Promise<() => unknown>, options?: {
58
+ declare const withTimeout: (ms: number, promise: Promise<unknown>, options?: {
59
59
  onTimeout?: () => void;
60
60
  }) => Promise<unknown>;
61
61
  /**
package/base.d.ts CHANGED
@@ -55,7 +55,7 @@ declare const shuffle: <T>(array: T[]) => T[];
55
55
  * @name withTimeout
56
56
  * @summary Timeout a promise after a specified number of milliseconds.
57
57
  */
58
- declare const withTimeout: (ms: number, promise: Promise<() => unknown>, options?: {
58
+ declare const withTimeout: (ms: number, promise: Promise<unknown>, options?: {
59
59
  onTimeout?: () => void;
60
60
  }) => Promise<unknown>;
61
61
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@w3ux/utils",
3
- "version": "2.0.5",
3
+ "version": "2.0.6",
4
4
  "license": "GPL-3.0-only",
5
5
  "dependencies": {
6
6
  "@polkadot-api/substrate-bindings": "^0.9.3"