oiu-core 0.1.13 → 0.1.14

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.
@@ -1,2 +1,14 @@
1
+ declare global {
2
+ interface PromiseConstructor {
3
+ /** Wait for the specified number of milliseconds */
4
+ delay(ms: number): Promise<void>;
5
+ /** Wait until the specified condition is true or the timeout is reached */
6
+ waitUntil(condition: () => boolean, options?: {
7
+ timeoutMs?: number;
8
+ intervalMs?: number;
9
+ timeoutMessage?: string;
10
+ }): Promise<void>;
11
+ }
12
+ }
1
13
  export default Promise;
2
14
  //# sourceMappingURL=promise.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"promise.d.ts","sourceRoot":"","sources":["../../lib/utils/promise.ts"],"names":[],"mappings":"AAqCA,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"promise.d.ts","sourceRoot":"","sources":["../../lib/utils/promise.ts"],"names":[],"mappings":"AAEA,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,kBAAkB;QACxB,oDAAoD;QACpD,KAAK,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;QACjC,2EAA2E;QAC3E,SAAS,CACL,SAAS,EAAE,MAAM,OAAO,EACxB,OAAO,CAAC,EAAE;YACN,SAAS,CAAC,EAAE,MAAM,CAAC;YACnB,UAAU,CAAC,EAAE,MAAM,CAAC;YACpB,cAAc,CAAC,EAAE,MAAM,CAAC;SAC3B,GACF,OAAO,CAAC,IAAI,CAAC,CAAC;KACpB;CACJ;AAqCD,eAAe,OAAO,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "oiu-core",
3
3
  "private": false,
4
- "version": "0.1.13",
4
+ "version": "0.1.14",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"