@hyperfrontend/time-utils 0.0.3 → 0.0.5

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 (41) hide show
  1. package/CHANGELOG.md +15 -5
  2. package/README.md +6 -3
  3. package/_dependencies/@hyperfrontend/immutable-api-utils/built-in-copy/date/index.cjs.js +10 -0
  4. package/_dependencies/@hyperfrontend/immutable-api-utils/built-in-copy/date/index.esm.js +8 -0
  5. package/_dependencies/@hyperfrontend/immutable-api-utils/built-in-copy/error/index.cjs.js +6 -0
  6. package/_dependencies/@hyperfrontend/immutable-api-utils/built-in-copy/error/index.esm.js +5 -0
  7. package/_dependencies/@hyperfrontend/immutable-api-utils/built-in-copy/math/index.cjs.js +5 -0
  8. package/_dependencies/@hyperfrontend/immutable-api-utils/built-in-copy/math/index.esm.js +4 -0
  9. package/_dependencies/@hyperfrontend/immutable-api-utils/built-in-copy/number/index.cjs.js +4 -0
  10. package/_dependencies/@hyperfrontend/immutable-api-utils/built-in-copy/number/index.esm.js +5 -0
  11. package/_dependencies/@hyperfrontend/immutable-api-utils/built-in-copy/object/index.cjs.js +5 -0
  12. package/_dependencies/@hyperfrontend/immutable-api-utils/built-in-copy/object/index.esm.js +4 -0
  13. package/_dependencies/@hyperfrontend/immutable-api-utils/built-in-copy/promise/index.cjs.js +6 -0
  14. package/_dependencies/@hyperfrontend/immutable-api-utils/built-in-copy/promise/index.esm.js +5 -0
  15. package/_dependencies/@hyperfrontend/immutable-api-utils/built-in-copy/timers/index.cjs.js +18 -0
  16. package/_dependencies/@hyperfrontend/immutable-api-utils/built-in-copy/timers/index.esm.js +14 -0
  17. package/bundle/index.iife.js +119 -24
  18. package/bundle/index.iife.min.js +0 -1
  19. package/bundle/index.umd.js +119 -24
  20. package/bundle/index.umd.min.js +0 -1
  21. package/index.cjs.js +84 -213
  22. package/index.d.ts +134 -6
  23. package/index.d.ts.map +1 -1
  24. package/index.esm.js +67 -196
  25. package/package.json +12 -7
  26. package/bundle/index.iife.js.map +0 -1
  27. package/bundle/index.iife.min.js.map +0 -1
  28. package/bundle/index.umd.js.map +0 -1
  29. package/bundle/index.umd.min.js.map +0 -1
  30. package/create-clock.d.ts +0 -20
  31. package/create-clock.d.ts.map +0 -1
  32. package/create-timer.d.ts +0 -18
  33. package/create-timer.d.ts.map +0 -1
  34. package/index.cjs.js.map +0 -1
  35. package/index.esm.js.map +0 -1
  36. package/normalize-to-base-time-window.d.ts +0 -9
  37. package/normalize-to-base-time-window.d.ts.map +0 -1
  38. package/set-interval-callback.d.ts +0 -9
  39. package/set-interval-callback.d.ts.map +0 -1
  40. package/sleep.d.ts +0 -8
  41. package/sleep.d.ts.map +0 -1
@@ -1,9 +0,0 @@
1
- /**
2
- * Creates a repeating interval that invokes a callback function at regular intervals.
3
- *
4
- * @param callback - The function to invoke at each interval
5
- * @param interval - Time in milliseconds between each callback invocation
6
- * @returns A cleanup function that stops the interval when called
7
- */
8
- export declare function setIntervalCallback(callback: () => void, interval: number): () => void;
9
- //# sourceMappingURL=set-interval-callback.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"set-interval-callback.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/utils/time/src/set-interval-callback.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,MAAM,IAAI,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,IAAI,CAGtF"}
package/sleep.d.ts DELETED
@@ -1,8 +0,0 @@
1
- /**
2
- * Pauses execution for a specified duration.
3
- *
4
- * @param milliseconds - The duration to sleep in milliseconds
5
- * @returns A promise that resolves after the specified duration
6
- */
7
- export declare function sleep(milliseconds: number): Promise<void>;
8
- //# sourceMappingURL=sleep.d.ts.map
package/sleep.d.ts.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"sleep.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/utils/time/src/sleep.ts"],"names":[],"mappings":"AAGA;;;;;GAKG;AACH,wBAAgB,KAAK,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAEzD"}