sia-reactor 0.0.11 → 0.0.12

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.
@@ -371,8 +371,8 @@ interface ReactorOptions<T extends object, P extends Paths<T> = Paths<T>> {
371
371
  } // debating keeping use of the Reflect API opt-in
372
372
 
373
373
  declare function isDef(val: any): boolean;
374
- declare function isObj<T = object>(obj: any, checkArr?: boolean): obj is T;
375
- declare function isStrictObj<T = object>(obj: any, crossRealms?: boolean, typecheck?: boolean): obj is T;
374
+ declare function isObj<T extends object = object>(obj: any, checkArr?: boolean): obj is T;
375
+ declare function isStrictObj<T extends object = object>(obj: any, crossRealms?: boolean, typecheck?: boolean): obj is T;
376
376
  declare function setAny<T extends object, const S extends string = ".">(target: T, key: Paths<T, S>, value: PathValue<T, typeof key, S>, separator?: S, keyFunc?: (p: string) => string): void;
377
377
  declare function getAny<T extends object, const S extends string = ".">(source: T, key: Paths<T, S>, separator?: S, keyFunc?: (p: string) => string): PathValue<T, typeof key, S> | undefined;
378
378
  declare function deleteAny<T extends object, const S extends string = ".">(target: T, key: Paths<T, S>, separator?: S, keyFunc?: (p: string) => string): void;
@@ -371,8 +371,8 @@ interface ReactorOptions<T extends object, P extends Paths<T> = Paths<T>> {
371
371
  } // debating keeping use of the Reflect API opt-in
372
372
 
373
373
  declare function isDef(val: any): boolean;
374
- declare function isObj<T = object>(obj: any, checkArr?: boolean): obj is T;
375
- declare function isStrictObj<T = object>(obj: any, crossRealms?: boolean, typecheck?: boolean): obj is T;
374
+ declare function isObj<T extends object = object>(obj: any, checkArr?: boolean): obj is T;
375
+ declare function isStrictObj<T extends object = object>(obj: any, crossRealms?: boolean, typecheck?: boolean): obj is T;
376
376
  declare function setAny<T extends object, const S extends string = ".">(target: T, key: Paths<T, S>, value: PathValue<T, typeof key, S>, separator?: S, keyFunc?: (p: string) => string): void;
377
377
  declare function getAny<T extends object, const S extends string = ".">(source: T, key: Paths<T, S>, separator?: S, keyFunc?: (p: string) => string): PathValue<T, typeof key, S> | undefined;
378
378
  declare function deleteAny<T extends object, const S extends string = ".">(target: T, key: Paths<T, S>, separator?: S, keyFunc?: (p: string) => string): void;
package/dist/index.d.cts CHANGED
@@ -1 +1 @@
1
- export { C as ChildPaths, D as DeepKeys, l as DeepMerge, o as DeepPartial, q as DeepRequired, r as Deleter, t as DeleterRecord, u as DirectPayload, G as Getter, v as GetterRecord, I as Inert, w as Intent, L as Listener, x as ListenerOptions, y as ListenerOptionsTuple, z as ListenerRecord, A as Live, P as PathBranch, B as PathBranchValue, E as PathKey, F as PathLeaf, H as PathValue, J as Paths, K as Payload, M as REvent, a as Reactive, N as ReactivePrefs, R as Reactor, O as ReactorEvent, Q as ReactorOptions, S as Setter, T as SetterRecord, U as Stable, V as State, W as StrictPathKey, X as SyncOptions, Y as SyncOptionsTuple, Z as TERMINATOR, _ as Target, $ as Unflatten, a0 as UnionToIntersection, a1 as UpdatePayload, a2 as Volatile, a3 as Watcher, a4 as WatcherRecord, a5 as WildPaths, a6 as getSnapshotVersion, a7 as getVersion, a8 as inert, a9 as intent, aa as isInert, ab as isIntent, ac as isVolatile, ad as live, ae as methods, af as reactive, ag as stable, ah as state, ai as volatile } from './index-Cdex6Pqa.cjs';
1
+ export { C as ChildPaths, D as DeepKeys, l as DeepMerge, o as DeepPartial, q as DeepRequired, r as Deleter, t as DeleterRecord, u as DirectPayload, G as Getter, v as GetterRecord, I as Inert, w as Intent, L as Listener, x as ListenerOptions, y as ListenerOptionsTuple, z as ListenerRecord, A as Live, P as PathBranch, B as PathBranchValue, E as PathKey, F as PathLeaf, H as PathValue, J as Paths, K as Payload, M as REvent, a as Reactive, N as ReactivePrefs, R as Reactor, O as ReactorEvent, Q as ReactorOptions, S as Setter, T as SetterRecord, U as Stable, V as State, W as StrictPathKey, X as SyncOptions, Y as SyncOptionsTuple, Z as TERMINATOR, _ as Target, $ as Unflatten, a0 as UnionToIntersection, a1 as UpdatePayload, a2 as Volatile, a3 as Watcher, a4 as WatcherRecord, a5 as WildPaths, a6 as getSnapshotVersion, a7 as getVersion, a8 as inert, a9 as intent, aa as isInert, ab as isIntent, ac as isVolatile, ad as live, ae as methods, af as reactive, ag as stable, ah as state, ai as volatile } from './index-Bmuqp8Xy.cjs';
package/dist/index.d.ts CHANGED
@@ -1 +1 @@
1
- export { C as ChildPaths, D as DeepKeys, l as DeepMerge, o as DeepPartial, q as DeepRequired, r as Deleter, t as DeleterRecord, u as DirectPayload, G as Getter, v as GetterRecord, I as Inert, w as Intent, L as Listener, x as ListenerOptions, y as ListenerOptionsTuple, z as ListenerRecord, A as Live, P as PathBranch, B as PathBranchValue, E as PathKey, F as PathLeaf, H as PathValue, J as Paths, K as Payload, M as REvent, a as Reactive, N as ReactivePrefs, R as Reactor, O as ReactorEvent, Q as ReactorOptions, S as Setter, T as SetterRecord, U as Stable, V as State, W as StrictPathKey, X as SyncOptions, Y as SyncOptionsTuple, Z as TERMINATOR, _ as Target, $ as Unflatten, a0 as UnionToIntersection, a1 as UpdatePayload, a2 as Volatile, a3 as Watcher, a4 as WatcherRecord, a5 as WildPaths, a6 as getSnapshotVersion, a7 as getVersion, a8 as inert, a9 as intent, aa as isInert, ab as isIntent, ac as isVolatile, ad as live, ae as methods, af as reactive, ag as stable, ah as state, ai as volatile } from './index-Cdex6Pqa.js';
1
+ export { C as ChildPaths, D as DeepKeys, l as DeepMerge, o as DeepPartial, q as DeepRequired, r as Deleter, t as DeleterRecord, u as DirectPayload, G as Getter, v as GetterRecord, I as Inert, w as Intent, L as Listener, x as ListenerOptions, y as ListenerOptionsTuple, z as ListenerRecord, A as Live, P as PathBranch, B as PathBranchValue, E as PathKey, F as PathLeaf, H as PathValue, J as Paths, K as Payload, M as REvent, a as Reactive, N as ReactivePrefs, R as Reactor, O as ReactorEvent, Q as ReactorOptions, S as Setter, T as SetterRecord, U as Stable, V as State, W as StrictPathKey, X as SyncOptions, Y as SyncOptionsTuple, Z as TERMINATOR, _ as Target, $ as Unflatten, a0 as UnionToIntersection, a1 as UpdatePayload, a2 as Volatile, a3 as Watcher, a4 as WatcherRecord, a5 as WildPaths, a6 as getSnapshotVersion, a7 as getVersion, a8 as inert, a9 as intent, aa as isInert, ab as isIntent, ac as isVolatile, ad as live, ae as methods, af as reactive, ag as stable, ah as state, ai as volatile } from './index-Bmuqp8Xy.js';
package/dist/react.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { R as Reactor, a as Reactive } from './index-Cdex6Pqa.cjs';
1
+ import { R as Reactor, a as Reactive } from './index-Bmuqp8Xy.cjs';
2
2
 
3
3
  declare function useReactor<T extends object>(target: T | Reactor<T> | Reactive<T>, prefs?: {
4
4
  sync: boolean;
package/dist/react.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { R as Reactor, a as Reactive } from './index-Cdex6Pqa.js';
1
+ import { R as Reactor, a as Reactive } from './index-Bmuqp8Xy.js';
2
2
 
3
3
  declare function useReactor<T extends object>(target: T | Reactor<T> | Reactive<T>, prefs?: {
4
4
  sync: boolean;
package/dist/utils.d.cts CHANGED
@@ -1 +1 @@
1
- export { d as deepClone, b as deleteAny, g as getAny, c as getTrailPaths, e as getTrailRecords, i as inAny, f as isDef, h as isObj, j as isStrictObj, m as mergeObjs, n as nuke, p as parseAnyObj, k as parseEvtOpts, s as setAny } from './index-Cdex6Pqa.cjs';
1
+ export { d as deepClone, b as deleteAny, g as getAny, c as getTrailPaths, e as getTrailRecords, i as inAny, f as isDef, h as isObj, j as isStrictObj, m as mergeObjs, n as nuke, p as parseAnyObj, k as parseEvtOpts, s as setAny } from './index-Bmuqp8Xy.cjs';
package/dist/utils.d.ts CHANGED
@@ -1 +1 @@
1
- export { d as deepClone, b as deleteAny, g as getAny, c as getTrailPaths, e as getTrailRecords, i as inAny, f as isDef, h as isObj, j as isStrictObj, m as mergeObjs, n as nuke, p as parseAnyObj, k as parseEvtOpts, s as setAny } from './index-Cdex6Pqa.js';
1
+ export { d as deepClone, b as deleteAny, g as getAny, c as getTrailPaths, e as getTrailRecords, i as inAny, f as isDef, h as isObj, j as isStrictObj, m as mergeObjs, n as nuke, p as parseAnyObj, k as parseEvtOpts, s as setAny } from './index-Bmuqp8Xy.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sia-reactor",
3
- "version": "0.0.11",
3
+ "version": "0.0.12",
4
4
  "description": "The Programmable Data DOM. A high-performance State Intent Architecture (S.I.A.) Engine with zero-allocation loops, event propagation, and structural sharing.",
5
5
  "author": "Oketade Oluwatobiloba <tobioketade007@gmail.com>",
6
6
  "license": "MIT",