@t007/utils 0.0.21 → 0.0.22

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/dist/index.d.cts CHANGED
@@ -29,7 +29,7 @@ declare const removeScrollAssist: (el: HTMLElement) => void | undefined;
29
29
 
30
30
  declare global {
31
31
  interface T007Namespace {
32
- VIRTUAL_RESOURCE: unique symbol;
32
+ VIRTUAL_RESOURCE: symbol;
33
33
 
34
34
  _resourceCache: Partial<Record<string, Promise<HTMLElement | void>>>;
35
35
  _scrollers?: WeakMap<HTMLElement, ScrollAssistControl>;
@@ -97,7 +97,7 @@ type LoadResourceOptions = Partial<{
97
97
  retryKey: boolean | string;
98
98
  }>;
99
99
 
100
- declare const VIRTUAL_RESOURCE: unique symbol;
100
+ declare const VIRTUAL_RESOURCE: symbol;
101
101
  declare function loadResource(req: string | symbol, type?: ResourceType, { module, media, crossOrigin, integrity, referrerPolicy, nonce, fetchPriority, attempts, retryKey }?: LoadResourceOptions, w?: Window & typeof globalThis): Promise<HTMLElement | void>;
102
102
 
103
103
  export { type LimitedHandle, type LimitedOptions, type LoadResourceOptions, type ResourceType, type ScrollAssistControl, VIRTUAL_RESOURCE, bindCleanupToSignal, breath, deepBreath, inBoolArrOpt, initScrollAssist, initVScrollerator, isArr, isBool, isDef, isFunc, isIter, isNum, isPOJO, isSameURL, isStr, isSym, limited, loadResource, mockAsync, removeScrollAssist, uid };
package/dist/index.d.ts CHANGED
@@ -29,7 +29,7 @@ declare const removeScrollAssist: (el: HTMLElement) => void | undefined;
29
29
 
30
30
  declare global {
31
31
  interface T007Namespace {
32
- VIRTUAL_RESOURCE: unique symbol;
32
+ VIRTUAL_RESOURCE: symbol;
33
33
 
34
34
  _resourceCache: Partial<Record<string, Promise<HTMLElement | void>>>;
35
35
  _scrollers?: WeakMap<HTMLElement, ScrollAssistControl>;
@@ -97,7 +97,7 @@ type LoadResourceOptions = Partial<{
97
97
  retryKey: boolean | string;
98
98
  }>;
99
99
 
100
- declare const VIRTUAL_RESOURCE: unique symbol;
100
+ declare const VIRTUAL_RESOURCE: symbol;
101
101
  declare function loadResource(req: string | symbol, type?: ResourceType, { module, media, crossOrigin, integrity, referrerPolicy, nonce, fetchPriority, attempts, retryKey }?: LoadResourceOptions, w?: Window & typeof globalThis): Promise<HTMLElement | void>;
102
102
 
103
103
  export { type LimitedHandle, type LimitedOptions, type LoadResourceOptions, type ResourceType, type ScrollAssistControl, VIRTUAL_RESOURCE, bindCleanupToSignal, breath, deepBreath, inBoolArrOpt, initScrollAssist, initVScrollerator, isArr, isBool, isDef, isFunc, isIter, isNum, isPOJO, isSameURL, isStr, isSym, limited, loadResource, mockAsync, removeScrollAssist, uid };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@t007/utils",
3
- "version": "0.0.21",
3
+ "version": "0.0.22",
4
4
  "description": "High-performance, zero-dependency utility functions for the t007 ecosystem.",
5
5
  "author": "Oketade Oluwatobiloba <tobioketade007@gmail.com>",
6
6
  "license": "MIT",
@@ -45,6 +45,6 @@
45
45
  "performance"
46
46
  ],
47
47
  "dependencies": {
48
- "sia-reactor": "^0.0.20"
48
+ "sia-reactor": "^0.0.25"
49
49
  }
50
50
  }