sia-reactor 0.0.42 → 0.0.43

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,5 +1,5 @@
1
- import { R as Reactive } from './index-C4Z3aveO.js';
2
- import { T as TimeTravelModule } from './index-DN85zmt_.js';
1
+ import { V as Reactive } from './obj-CM05g1eW.js';
2
+ import { g as TimeTravelModule } from './index-K1TE7RnF.js';
3
3
 
4
4
  /** Reactive options for the TimeTravel overlay instance. */
5
5
  interface TimeTravelConsoleConfig {
@@ -41,4 +41,4 @@ declare class TimeTravelConsole {
41
41
  destroy(): void;
42
42
  }
43
43
 
44
- export { TimeTravelConsole as T, type TimeTravelConsoleConfig as a };
44
+ export { type TimeTravelConsoleConfig as T, TimeTravelConsole as a };
@@ -1,5 +1,5 @@
1
- import { R as Reactive } from './index-C4Z3aveO.cjs';
2
- import { T as TimeTravelModule } from './index-B55979dE.cjs';
1
+ import { V as Reactive } from './obj-CM05g1eW.cjs';
2
+ import { g as TimeTravelModule } from './index-FMuvzRw_.cjs';
3
3
 
4
4
  /** Reactive options for the TimeTravel overlay instance. */
5
5
  interface TimeTravelConsoleConfig {
@@ -41,4 +41,4 @@ declare class TimeTravelConsole {
41
41
  destroy(): void;
42
42
  }
43
43
 
44
- export { TimeTravelConsole as T, type TimeTravelConsoleConfig as a };
44
+ export { type TimeTravelConsoleConfig as T, TimeTravelConsole as a };
@@ -1,7 +1,7 @@
1
- import { E as EffectOptions, d as Reactor, R as Reactive, J as ReactorBuild, K as DeepReadonly, W as WildPaths, a as PathValue } from '../index-C4Z3aveO.cjs';
1
+ import { k as EffectOptions, X as Reactor, V as Reactive, Y as ReactorBuild, e as DeepReadonly, ag as WildPaths, B as PathValue } from '../obj-CM05g1eW.cjs';
2
2
  import { useLayoutEffect } from 'react';
3
- import { T as TimeTravelModule } from '../index-B55979dE.cjs';
4
- import { a as TimeTravelConsoleConfig } from '../TimeTravelConsole-DPJf_Ee7.cjs';
3
+ import { g as TimeTravelModule } from '../index-FMuvzRw_.cjs';
4
+ import { T as TimeTravelConsoleConfig } from '../TimeTravelConsole-Ck3GwvXR.cjs';
5
5
 
6
6
  /**
7
7
  * Subscribes a component to desired Reactor state and returns it.
@@ -1,7 +1,7 @@
1
- import { E as EffectOptions, d as Reactor, R as Reactive, J as ReactorBuild, K as DeepReadonly, W as WildPaths, a as PathValue } from '../index-C4Z3aveO.js';
1
+ import { k as EffectOptions, X as Reactor, V as Reactive, Y as ReactorBuild, e as DeepReadonly, ag as WildPaths, B as PathValue } from '../obj-CM05g1eW.js';
2
2
  import { useLayoutEffect } from 'react';
3
- import { T as TimeTravelModule } from '../index-DN85zmt_.js';
4
- import { a as TimeTravelConsoleConfig } from '../TimeTravelConsole-Bo83b1S5.js';
3
+ import { g as TimeTravelModule } from '../index-K1TE7RnF.js';
4
+ import { T as TimeTravelConsoleConfig } from '../TimeTravelConsole-BwHB0LsE.js';
5
5
 
6
6
  /**
7
7
  * Subscribes a component to desired Reactor state and returns it.
@@ -1,18 +1,4 @@
1
- import { E as EffectOptions } from '../index-C4Z3aveO.cjs';
2
- export { A as Autotracker, w as withTracker } from '../index-C4Z3aveO.cjs';
3
- export { T as TimeTravelConsole, a as TimeTravelConsoleConfig } from '../TimeTravelConsole-DPJf_Ee7.cjs';
4
- import '../index-B55979dE.cjs';
5
-
6
- /**
7
- * Runs a reactive side effect in vanilla JavaScript.
8
- * The callback executes immediately, tracks accessed state, and re-runs when
9
- * tracked dependencies change.
10
- * @param callback Effect callback.
11
- * @param options Listener options if `sync: false` else Watcher Options.
12
- * @returns Cleanup function that stops tracking and releases resources.
13
- * @example
14
- * const stop = effect(() => console.log(state.count));
15
- */
16
- declare function effect(callback: () => void, options?: EffectOptions): () => void;
17
-
18
- export { effect };
1
+ export { e as effect } from '../vanilla-Bs-5iI0s.cjs';
2
+ export { b3 as Autotracker, b4 as withTracker } from '../obj-CM05g1eW.cjs';
3
+ export { a as TimeTravelConsole, T as TimeTravelConsoleConfig } from '../TimeTravelConsole-Ck3GwvXR.cjs';
4
+ import '../index-FMuvzRw_.cjs';
@@ -1,18 +1,4 @@
1
- import { E as EffectOptions } from '../index-C4Z3aveO.js';
2
- export { A as Autotracker, w as withTracker } from '../index-C4Z3aveO.js';
3
- export { T as TimeTravelConsole, a as TimeTravelConsoleConfig } from '../TimeTravelConsole-Bo83b1S5.js';
4
- import '../index-DN85zmt_.js';
5
-
6
- /**
7
- * Runs a reactive side effect in vanilla JavaScript.
8
- * The callback executes immediately, tracks accessed state, and re-runs when
9
- * tracked dependencies change.
10
- * @param callback Effect callback.
11
- * @param options Listener options if `sync: false` else Watcher Options.
12
- * @returns Cleanup function that stops tracking and releases resources.
13
- * @example
14
- * const stop = effect(() => console.log(state.count));
15
- */
16
- declare function effect(callback: () => void, options?: EffectOptions): () => void;
17
-
18
- export { effect };
1
+ export { e as effect } from '../vanilla-KGPkYjU_.js';
2
+ export { b3 as Autotracker, b4 as withTracker } from '../obj-CM05g1eW.js';
3
+ export { a as TimeTravelConsole, T as TimeTravelConsoleConfig } from '../TimeTravelConsole-BwHB0LsE.js';
4
+ import '../index-K1TE7RnF.js';
@@ -0,0 +1,2 @@
1
+ // src/ts/index.ts
2
+ globalThis.sia ??= {};
@@ -1,4 +1,4 @@
1
- import { P as Paths, a as PathValue, b as ReactorModuleId, c as ReactorModulePathConfig, B as BaseReactorModule, T as Transaction, d as Reactor, e as REvent, f as Payload } from './index-C4Z3aveO.cjs';
1
+ import { F as Paths, aw as ReactorModulePathConfig, B as PathValue, az as ReactorModuleId, ay as BaseReactorModule, aC as Transaction, X as Reactor, S as REvent, H as Payload } from './obj-CM05g1eW.cjs';
2
2
 
3
3
  interface StorageAdapterConstructor<Config extends StorageAdapterConfig = StorageAdapterConfig> {
4
4
  new (config?: Partial<Config>): StorageAdapter<any, Config>;
@@ -219,4 +219,4 @@ declare class TimeTravelModule<T extends object = any, P extends Paths<T> = Path
219
219
  import(json: string, reviver?: JSONReviver, start?: number, resume?: boolean, forward?: boolean): void;
220
220
  }
221
221
 
222
- export { AsyncStorageAdapter as A, BaseStorageAdapter as B, type HistoryEntry as H, type JSONReviver as J, type StorageAdapterConfig as S, TimeTravelModule as T, StorageAdapter as a, type JSONReplacer as b, type StorageAdapterConstructor as c, type AsyncStorageAdapterConstructor as d, type TimeTravelConfig as e, type HistoryNode as f, type HistoryTransaction as g, type TimeTravelState as h };
222
+ export { AsyncStorageAdapter as A, BaseStorageAdapter as B, type HistoryEntry as H, type JSONReviver as J, type StorageAdapterConfig as S, type TimeTravelConfig as T, StorageAdapter as a, type JSONReplacer as b, type StorageAdapterConstructor as c, type AsyncStorageAdapterConstructor as d, type HistoryNode as e, type HistoryTransaction as f, TimeTravelModule as g, type TimeTravelState as h };
@@ -1,4 +1,4 @@
1
- import { P as Paths, a as PathValue, b as ReactorModuleId, c as ReactorModulePathConfig, B as BaseReactorModule, T as Transaction, d as Reactor, e as REvent, f as Payload } from './index-C4Z3aveO.js';
1
+ import { F as Paths, aw as ReactorModulePathConfig, B as PathValue, az as ReactorModuleId, ay as BaseReactorModule, aC as Transaction, X as Reactor, S as REvent, H as Payload } from './obj-CM05g1eW.js';
2
2
 
3
3
  interface StorageAdapterConstructor<Config extends StorageAdapterConfig = StorageAdapterConfig> {
4
4
  new (config?: Partial<Config>): StorageAdapter<any, Config>;
@@ -219,4 +219,4 @@ declare class TimeTravelModule<T extends object = any, P extends Paths<T> = Path
219
219
  import(json: string, reviver?: JSONReviver, start?: number, resume?: boolean, forward?: boolean): void;
220
220
  }
221
221
 
222
- export { AsyncStorageAdapter as A, BaseStorageAdapter as B, type HistoryEntry as H, type JSONReviver as J, type StorageAdapterConfig as S, TimeTravelModule as T, StorageAdapter as a, type JSONReplacer as b, type StorageAdapterConstructor as c, type AsyncStorageAdapterConstructor as d, type TimeTravelConfig as e, type HistoryNode as f, type HistoryTransaction as g, type TimeTravelState as h };
222
+ export { AsyncStorageAdapter as A, BaseStorageAdapter as B, type HistoryEntry as H, type JSONReviver as J, type StorageAdapterConfig as S, type TimeTravelConfig as T, StorageAdapter as a, type JSONReplacer as b, type StorageAdapterConstructor as c, type AsyncStorageAdapterConstructor as d, type HistoryNode as e, type HistoryTransaction as f, TimeTravelModule as g, type TimeTravelState as h };
package/dist/index.cjs CHANGED
@@ -956,6 +956,9 @@ var Reactor = class {
956
956
  return this.config.smartCloning && this.config.referenceTracking;
957
957
  }
958
958
  };
959
+
960
+ // src/ts/index.ts
961
+ globalThis.sia ??= {};
959
962
  // Annotate the CommonJS export names for ESM import in node:
960
963
  0 && (module.exports = {
961
964
  CTX,
package/dist/index.d.cts CHANGED
@@ -1 +1,116 @@
1
- export { V as APIKey, X as AddDepth, Y as CTX, Z as ChildPaths, _ as DeepKeys, $ as DeepMerge, a0 as DeepPartial, K as DeepReadonly, a1 as DeepRequired, a2 as Deleter, a3 as DeleterRecord, a4 as DepthConfig, a5 as DirectPayload, a6 as EVT_OPTS, E as EffectOptions, a7 as Getter, a8 as GetterRecord, a9 as INDIFFABLE, aa as INERTIA, L as Inert, ab as Intent, ac as Listener, ad as ListenerOptions, ae as ListenerOptionsTuple, af as ListenerRecord, ag as Live, ah as MaxDepth, ai as NIL, aj as NOOP, ak as NextDepth, al as NoTraverse, am as PathBranch, an as PathBranchValue, ao as PathDepth, ap as PathKey, aq as PathLeaf, a as PathValue, P as Paths, f as Payload, ar as PrevDepth, as as Primitive, at as Pure, au as RAW, av as REJECTABLE, e as REvent, aw as RTR_BATCH, ax as RTR_LOG, R as Reactive, ay as ReactivePreferences, d as Reactor, J as ReactorBuild, az as ReactorEvent, aA as SSVERSION, aB as Setter, aC as SetterRecord, aD as Stable, aE as State, aF as StrictPathKey, aG as SubtractDepth, aH as SyncOptions, aI as SyncOptionsTuple, aJ as TERMINATOR, aK as Target, aL as Unflatten, aM as UnionToIntersection, aN as UpdatePayload, aO as VERSION, aP as Volatile, aQ as Watcher, aR as WatcherRecord, W as WildPaths, aS as getRaw, aT as getReactor, aU as getSnapshotVersion, aV as getVersion, aW as inert, aX as intent, aY as isInert, aZ as isIntent, a_ as isVolatile, a$ as live, b0 as methods, b1 as reactive, b2 as stable, b3 as state, b4 as volatile } from './index-C4Z3aveO.cjs';
1
+ import { A as APIKey, a as AddDepth, C as CTX, b as ChildPaths, D as DeepKeys, c as DeepMerge, d as DeepPartial, e as DeepReadonly, f as DeepRequired, g as Deleter, h as DeleterRecord, i as DepthConfig, j as DirectPayload, E as EVT_OPTS, k as EffectOptions, G as Getter, l as GetterRecord, I as INDIFFABLE, m as INERTIA, n as Inert, o as Intent, L as Listener, p as ListenerOptions, q as ListenerOptionsTuple, r as ListenerRecord, s as Live, M as MaxDepth, N as NIL, t as NOOP, u as NextDepth, v as NoTraverse, P as PathBranch, w as PathBranchValue, x as PathDepth, y as PathKey, z as PathLeaf, B as PathValue, F as Paths, H as Payload, J as PrevDepth, K as Primitive, O as Pure, R as RAW, Q as REJECTABLE, S as REvent, T as RTR_BATCH, U as RTR_LOG, V as Reactive, W as ReactivePreferences, X as Reactor, Y as ReactorBuild, Z as ReactorEvent, _ as SSVERSION, $ as Setter, a0 as SetterRecord, a1 as Stable, a2 as State, a3 as StrictPathKey, a4 as SubtractDepth, a5 as SyncOptions, a6 as SyncOptionsTuple, a7 as TERMINATOR, a8 as Target, a9 as Unflatten, aa as UnionToIntersection, ab as UpdatePayload, ac as VERSION, ad as Volatile, ae as Watcher, af as WatcherRecord, ag as WildPaths, ah as getRaw, ai as getReactor, aj as getSnapshotVersion, ak as getVersion, al as inert, am as intent, an as isInert, ao as isIntent, ap as isVolatile, aq as live, ar as methods, as as reactive, at as stable, au as state, av as volatile } from './obj-CM05g1eW.cjs';
2
+ import { u as utils } from './utils-09Fwruxy.cjs';
3
+ import { m as modules } from './modules-D_FsJF6U.cjs';
4
+ import { v as vanilla } from './vanilla-Bs-5iI0s.cjs';
5
+ import './index-FMuvzRw_.cjs';
6
+ import './TimeTravelConsole-Ck3GwvXR.cjs';
7
+
8
+ declare const adapters: {
9
+ vanilla: typeof vanilla;
10
+ };
11
+
12
+ declare const SIAGlobal_APIKey: typeof APIKey;
13
+ declare const SIAGlobal_AddDepth: typeof AddDepth;
14
+ declare const SIAGlobal_CTX: typeof CTX;
15
+ declare const SIAGlobal_ChildPaths: typeof ChildPaths;
16
+ declare const SIAGlobal_DeepKeys: typeof DeepKeys;
17
+ declare const SIAGlobal_DeepMerge: typeof DeepMerge;
18
+ declare const SIAGlobal_DeepPartial: typeof DeepPartial;
19
+ declare const SIAGlobal_DeepReadonly: typeof DeepReadonly;
20
+ declare const SIAGlobal_DeepRequired: typeof DeepRequired;
21
+ declare const SIAGlobal_Deleter: typeof Deleter;
22
+ declare const SIAGlobal_DeleterRecord: typeof DeleterRecord;
23
+ declare const SIAGlobal_DepthConfig: typeof DepthConfig;
24
+ declare const SIAGlobal_DirectPayload: typeof DirectPayload;
25
+ declare const SIAGlobal_EVT_OPTS: typeof EVT_OPTS;
26
+ declare const SIAGlobal_EffectOptions: typeof EffectOptions;
27
+ declare const SIAGlobal_Getter: typeof Getter;
28
+ declare const SIAGlobal_GetterRecord: typeof GetterRecord;
29
+ declare const SIAGlobal_INDIFFABLE: typeof INDIFFABLE;
30
+ declare const SIAGlobal_INERTIA: typeof INERTIA;
31
+ declare const SIAGlobal_Inert: typeof Inert;
32
+ declare const SIAGlobal_Intent: typeof Intent;
33
+ declare const SIAGlobal_Listener: typeof Listener;
34
+ declare const SIAGlobal_ListenerOptions: typeof ListenerOptions;
35
+ declare const SIAGlobal_ListenerOptionsTuple: typeof ListenerOptionsTuple;
36
+ declare const SIAGlobal_ListenerRecord: typeof ListenerRecord;
37
+ declare const SIAGlobal_Live: typeof Live;
38
+ declare const SIAGlobal_MaxDepth: typeof MaxDepth;
39
+ declare const SIAGlobal_NIL: typeof NIL;
40
+ declare const SIAGlobal_NOOP: typeof NOOP;
41
+ declare const SIAGlobal_NextDepth: typeof NextDepth;
42
+ declare const SIAGlobal_NoTraverse: typeof NoTraverse;
43
+ declare const SIAGlobal_PathBranch: typeof PathBranch;
44
+ declare const SIAGlobal_PathBranchValue: typeof PathBranchValue;
45
+ declare const SIAGlobal_PathDepth: typeof PathDepth;
46
+ declare const SIAGlobal_PathKey: typeof PathKey;
47
+ declare const SIAGlobal_PathLeaf: typeof PathLeaf;
48
+ declare const SIAGlobal_PathValue: typeof PathValue;
49
+ declare const SIAGlobal_Paths: typeof Paths;
50
+ declare const SIAGlobal_Payload: typeof Payload;
51
+ declare const SIAGlobal_PrevDepth: typeof PrevDepth;
52
+ declare const SIAGlobal_Primitive: typeof Primitive;
53
+ declare const SIAGlobal_Pure: typeof Pure;
54
+ declare const SIAGlobal_RAW: typeof RAW;
55
+ declare const SIAGlobal_REJECTABLE: typeof REJECTABLE;
56
+ declare const SIAGlobal_REvent: typeof REvent;
57
+ declare const SIAGlobal_RTR_BATCH: typeof RTR_BATCH;
58
+ declare const SIAGlobal_RTR_LOG: typeof RTR_LOG;
59
+ declare const SIAGlobal_Reactive: typeof Reactive;
60
+ declare const SIAGlobal_ReactivePreferences: typeof ReactivePreferences;
61
+ declare const SIAGlobal_Reactor: typeof Reactor;
62
+ declare const SIAGlobal_ReactorBuild: typeof ReactorBuild;
63
+ declare const SIAGlobal_ReactorEvent: typeof ReactorEvent;
64
+ declare const SIAGlobal_SSVERSION: typeof SSVERSION;
65
+ declare const SIAGlobal_Setter: typeof Setter;
66
+ declare const SIAGlobal_SetterRecord: typeof SetterRecord;
67
+ declare const SIAGlobal_Stable: typeof Stable;
68
+ declare const SIAGlobal_State: typeof State;
69
+ declare const SIAGlobal_StrictPathKey: typeof StrictPathKey;
70
+ declare const SIAGlobal_SubtractDepth: typeof SubtractDepth;
71
+ declare const SIAGlobal_SyncOptions: typeof SyncOptions;
72
+ declare const SIAGlobal_SyncOptionsTuple: typeof SyncOptionsTuple;
73
+ declare const SIAGlobal_TERMINATOR: typeof TERMINATOR;
74
+ declare const SIAGlobal_Target: typeof Target;
75
+ declare const SIAGlobal_Unflatten: typeof Unflatten;
76
+ declare const SIAGlobal_UnionToIntersection: typeof UnionToIntersection;
77
+ declare const SIAGlobal_UpdatePayload: typeof UpdatePayload;
78
+ declare const SIAGlobal_VERSION: typeof VERSION;
79
+ declare const SIAGlobal_Volatile: typeof Volatile;
80
+ declare const SIAGlobal_Watcher: typeof Watcher;
81
+ declare const SIAGlobal_WatcherRecord: typeof WatcherRecord;
82
+ declare const SIAGlobal_WildPaths: typeof WildPaths;
83
+ declare const SIAGlobal_adapters: typeof adapters;
84
+ declare const SIAGlobal_getRaw: typeof getRaw;
85
+ declare const SIAGlobal_getReactor: typeof getReactor;
86
+ declare const SIAGlobal_getSnapshotVersion: typeof getSnapshotVersion;
87
+ declare const SIAGlobal_getVersion: typeof getVersion;
88
+ declare const SIAGlobal_inert: typeof inert;
89
+ declare const SIAGlobal_intent: typeof intent;
90
+ declare const SIAGlobal_isInert: typeof isInert;
91
+ declare const SIAGlobal_isIntent: typeof isIntent;
92
+ declare const SIAGlobal_isVolatile: typeof isVolatile;
93
+ declare const SIAGlobal_live: typeof live;
94
+ declare const SIAGlobal_methods: typeof methods;
95
+ declare const SIAGlobal_modules: typeof modules;
96
+ declare const SIAGlobal_reactive: typeof reactive;
97
+ declare const SIAGlobal_stable: typeof stable;
98
+ declare const SIAGlobal_state: typeof state;
99
+ declare const SIAGlobal_utils: typeof utils;
100
+ declare const SIAGlobal_volatile: typeof volatile;
101
+ declare namespace SIAGlobal {
102
+ export { SIAGlobal_APIKey as APIKey, SIAGlobal_AddDepth as AddDepth, SIAGlobal_CTX as CTX, SIAGlobal_ChildPaths as ChildPaths, SIAGlobal_DeepKeys as DeepKeys, SIAGlobal_DeepMerge as DeepMerge, SIAGlobal_DeepPartial as DeepPartial, SIAGlobal_DeepReadonly as DeepReadonly, SIAGlobal_DeepRequired as DeepRequired, SIAGlobal_Deleter as Deleter, SIAGlobal_DeleterRecord as DeleterRecord, SIAGlobal_DepthConfig as DepthConfig, SIAGlobal_DirectPayload as DirectPayload, SIAGlobal_EVT_OPTS as EVT_OPTS, SIAGlobal_EffectOptions as EffectOptions, SIAGlobal_Getter as Getter, SIAGlobal_GetterRecord as GetterRecord, SIAGlobal_INDIFFABLE as INDIFFABLE, SIAGlobal_INERTIA as INERTIA, SIAGlobal_Inert as Inert, SIAGlobal_Intent as Intent, SIAGlobal_Listener as Listener, SIAGlobal_ListenerOptions as ListenerOptions, SIAGlobal_ListenerOptionsTuple as ListenerOptionsTuple, SIAGlobal_ListenerRecord as ListenerRecord, SIAGlobal_Live as Live, SIAGlobal_MaxDepth as MaxDepth, SIAGlobal_NIL as NIL, SIAGlobal_NOOP as NOOP, SIAGlobal_NextDepth as NextDepth, SIAGlobal_NoTraverse as NoTraverse, SIAGlobal_PathBranch as PathBranch, SIAGlobal_PathBranchValue as PathBranchValue, SIAGlobal_PathDepth as PathDepth, SIAGlobal_PathKey as PathKey, SIAGlobal_PathLeaf as PathLeaf, SIAGlobal_PathValue as PathValue, SIAGlobal_Paths as Paths, SIAGlobal_Payload as Payload, SIAGlobal_PrevDepth as PrevDepth, SIAGlobal_Primitive as Primitive, SIAGlobal_Pure as Pure, SIAGlobal_RAW as RAW, SIAGlobal_REJECTABLE as REJECTABLE, SIAGlobal_REvent as REvent, SIAGlobal_RTR_BATCH as RTR_BATCH, SIAGlobal_RTR_LOG as RTR_LOG, SIAGlobal_Reactive as Reactive, SIAGlobal_ReactivePreferences as ReactivePreferences, SIAGlobal_Reactor as Reactor, SIAGlobal_ReactorBuild as ReactorBuild, SIAGlobal_ReactorEvent as ReactorEvent, SIAGlobal_SSVERSION as SSVERSION, SIAGlobal_Setter as Setter, SIAGlobal_SetterRecord as SetterRecord, SIAGlobal_Stable as Stable, SIAGlobal_State as State, SIAGlobal_StrictPathKey as StrictPathKey, SIAGlobal_SubtractDepth as SubtractDepth, SIAGlobal_SyncOptions as SyncOptions, SIAGlobal_SyncOptionsTuple as SyncOptionsTuple, SIAGlobal_TERMINATOR as TERMINATOR, SIAGlobal_Target as Target, SIAGlobal_Unflatten as Unflatten, SIAGlobal_UnionToIntersection as UnionToIntersection, SIAGlobal_UpdatePayload as UpdatePayload, SIAGlobal_VERSION as VERSION, SIAGlobal_Volatile as Volatile, SIAGlobal_Watcher as Watcher, SIAGlobal_WatcherRecord as WatcherRecord, SIAGlobal_WildPaths as WildPaths, SIAGlobal_adapters as adapters, SIAGlobal_getRaw as getRaw, SIAGlobal_getReactor as getReactor, SIAGlobal_getSnapshotVersion as getSnapshotVersion, SIAGlobal_getVersion as getVersion, SIAGlobal_inert as inert, SIAGlobal_intent as intent, SIAGlobal_isInert as isInert, SIAGlobal_isIntent as isIntent, SIAGlobal_isVolatile as isVolatile, SIAGlobal_live as live, SIAGlobal_methods as methods, SIAGlobal_modules as modules, SIAGlobal_reactive as reactive, SIAGlobal_stable as stable, SIAGlobal_state as state, SIAGlobal_utils as utils, SIAGlobal_volatile as volatile };
103
+ }
104
+
105
+ interface SIANamespace extends SIAGlobal {}
106
+
107
+ declare global {
108
+ interface Window {
109
+ /** Shared S.I.A namespace. */
110
+ sia: SIANamespace;
111
+ }
112
+
113
+ var sia: SIANamespace; // for IIFE build
114
+ }
115
+
116
+ export { APIKey, AddDepth, CTX, ChildPaths, DeepKeys, DeepMerge, DeepPartial, DeepReadonly, DeepRequired, Deleter, DeleterRecord, DepthConfig, DirectPayload, EVT_OPTS, EffectOptions, Getter, GetterRecord, INDIFFABLE, INERTIA, Inert, Intent, Listener, ListenerOptions, ListenerOptionsTuple, ListenerRecord, Live, MaxDepth, NIL, NOOP, NextDepth, NoTraverse, PathBranch, PathBranchValue, PathDepth, PathKey, PathLeaf, PathValue, Paths, Payload, PrevDepth, Primitive, Pure, RAW, REJECTABLE, REvent, RTR_BATCH, RTR_LOG, Reactive, ReactivePreferences, Reactor, ReactorBuild, ReactorEvent, SSVERSION, Setter, SetterRecord, Stable, State, StrictPathKey, SubtractDepth, SyncOptions, SyncOptionsTuple, TERMINATOR, Target, Unflatten, UnionToIntersection, UpdatePayload, VERSION, Volatile, Watcher, WatcherRecord, WildPaths, getRaw, getReactor, getSnapshotVersion, getVersion, inert, intent, isInert, isIntent, isVolatile, live, methods, reactive, stable, state, volatile };
package/dist/index.d.ts CHANGED
@@ -1 +1,116 @@
1
- export { V as APIKey, X as AddDepth, Y as CTX, Z as ChildPaths, _ as DeepKeys, $ as DeepMerge, a0 as DeepPartial, K as DeepReadonly, a1 as DeepRequired, a2 as Deleter, a3 as DeleterRecord, a4 as DepthConfig, a5 as DirectPayload, a6 as EVT_OPTS, E as EffectOptions, a7 as Getter, a8 as GetterRecord, a9 as INDIFFABLE, aa as INERTIA, L as Inert, ab as Intent, ac as Listener, ad as ListenerOptions, ae as ListenerOptionsTuple, af as ListenerRecord, ag as Live, ah as MaxDepth, ai as NIL, aj as NOOP, ak as NextDepth, al as NoTraverse, am as PathBranch, an as PathBranchValue, ao as PathDepth, ap as PathKey, aq as PathLeaf, a as PathValue, P as Paths, f as Payload, ar as PrevDepth, as as Primitive, at as Pure, au as RAW, av as REJECTABLE, e as REvent, aw as RTR_BATCH, ax as RTR_LOG, R as Reactive, ay as ReactivePreferences, d as Reactor, J as ReactorBuild, az as ReactorEvent, aA as SSVERSION, aB as Setter, aC as SetterRecord, aD as Stable, aE as State, aF as StrictPathKey, aG as SubtractDepth, aH as SyncOptions, aI as SyncOptionsTuple, aJ as TERMINATOR, aK as Target, aL as Unflatten, aM as UnionToIntersection, aN as UpdatePayload, aO as VERSION, aP as Volatile, aQ as Watcher, aR as WatcherRecord, W as WildPaths, aS as getRaw, aT as getReactor, aU as getSnapshotVersion, aV as getVersion, aW as inert, aX as intent, aY as isInert, aZ as isIntent, a_ as isVolatile, a$ as live, b0 as methods, b1 as reactive, b2 as stable, b3 as state, b4 as volatile } from './index-C4Z3aveO.js';
1
+ import { A as APIKey, a as AddDepth, C as CTX, b as ChildPaths, D as DeepKeys, c as DeepMerge, d as DeepPartial, e as DeepReadonly, f as DeepRequired, g as Deleter, h as DeleterRecord, i as DepthConfig, j as DirectPayload, E as EVT_OPTS, k as EffectOptions, G as Getter, l as GetterRecord, I as INDIFFABLE, m as INERTIA, n as Inert, o as Intent, L as Listener, p as ListenerOptions, q as ListenerOptionsTuple, r as ListenerRecord, s as Live, M as MaxDepth, N as NIL, t as NOOP, u as NextDepth, v as NoTraverse, P as PathBranch, w as PathBranchValue, x as PathDepth, y as PathKey, z as PathLeaf, B as PathValue, F as Paths, H as Payload, J as PrevDepth, K as Primitive, O as Pure, R as RAW, Q as REJECTABLE, S as REvent, T as RTR_BATCH, U as RTR_LOG, V as Reactive, W as ReactivePreferences, X as Reactor, Y as ReactorBuild, Z as ReactorEvent, _ as SSVERSION, $ as Setter, a0 as SetterRecord, a1 as Stable, a2 as State, a3 as StrictPathKey, a4 as SubtractDepth, a5 as SyncOptions, a6 as SyncOptionsTuple, a7 as TERMINATOR, a8 as Target, a9 as Unflatten, aa as UnionToIntersection, ab as UpdatePayload, ac as VERSION, ad as Volatile, ae as Watcher, af as WatcherRecord, ag as WildPaths, ah as getRaw, ai as getReactor, aj as getSnapshotVersion, ak as getVersion, al as inert, am as intent, an as isInert, ao as isIntent, ap as isVolatile, aq as live, ar as methods, as as reactive, at as stable, au as state, av as volatile } from './obj-CM05g1eW.js';
2
+ import { u as utils } from './utils-EAjy2rsz.js';
3
+ import { m as modules } from './modules-BqFEelFK.js';
4
+ import { v as vanilla } from './vanilla-KGPkYjU_.js';
5
+ import './index-K1TE7RnF.js';
6
+ import './TimeTravelConsole-BwHB0LsE.js';
7
+
8
+ declare const adapters: {
9
+ vanilla: typeof vanilla;
10
+ };
11
+
12
+ declare const SIAGlobal_APIKey: typeof APIKey;
13
+ declare const SIAGlobal_AddDepth: typeof AddDepth;
14
+ declare const SIAGlobal_CTX: typeof CTX;
15
+ declare const SIAGlobal_ChildPaths: typeof ChildPaths;
16
+ declare const SIAGlobal_DeepKeys: typeof DeepKeys;
17
+ declare const SIAGlobal_DeepMerge: typeof DeepMerge;
18
+ declare const SIAGlobal_DeepPartial: typeof DeepPartial;
19
+ declare const SIAGlobal_DeepReadonly: typeof DeepReadonly;
20
+ declare const SIAGlobal_DeepRequired: typeof DeepRequired;
21
+ declare const SIAGlobal_Deleter: typeof Deleter;
22
+ declare const SIAGlobal_DeleterRecord: typeof DeleterRecord;
23
+ declare const SIAGlobal_DepthConfig: typeof DepthConfig;
24
+ declare const SIAGlobal_DirectPayload: typeof DirectPayload;
25
+ declare const SIAGlobal_EVT_OPTS: typeof EVT_OPTS;
26
+ declare const SIAGlobal_EffectOptions: typeof EffectOptions;
27
+ declare const SIAGlobal_Getter: typeof Getter;
28
+ declare const SIAGlobal_GetterRecord: typeof GetterRecord;
29
+ declare const SIAGlobal_INDIFFABLE: typeof INDIFFABLE;
30
+ declare const SIAGlobal_INERTIA: typeof INERTIA;
31
+ declare const SIAGlobal_Inert: typeof Inert;
32
+ declare const SIAGlobal_Intent: typeof Intent;
33
+ declare const SIAGlobal_Listener: typeof Listener;
34
+ declare const SIAGlobal_ListenerOptions: typeof ListenerOptions;
35
+ declare const SIAGlobal_ListenerOptionsTuple: typeof ListenerOptionsTuple;
36
+ declare const SIAGlobal_ListenerRecord: typeof ListenerRecord;
37
+ declare const SIAGlobal_Live: typeof Live;
38
+ declare const SIAGlobal_MaxDepth: typeof MaxDepth;
39
+ declare const SIAGlobal_NIL: typeof NIL;
40
+ declare const SIAGlobal_NOOP: typeof NOOP;
41
+ declare const SIAGlobal_NextDepth: typeof NextDepth;
42
+ declare const SIAGlobal_NoTraverse: typeof NoTraverse;
43
+ declare const SIAGlobal_PathBranch: typeof PathBranch;
44
+ declare const SIAGlobal_PathBranchValue: typeof PathBranchValue;
45
+ declare const SIAGlobal_PathDepth: typeof PathDepth;
46
+ declare const SIAGlobal_PathKey: typeof PathKey;
47
+ declare const SIAGlobal_PathLeaf: typeof PathLeaf;
48
+ declare const SIAGlobal_PathValue: typeof PathValue;
49
+ declare const SIAGlobal_Paths: typeof Paths;
50
+ declare const SIAGlobal_Payload: typeof Payload;
51
+ declare const SIAGlobal_PrevDepth: typeof PrevDepth;
52
+ declare const SIAGlobal_Primitive: typeof Primitive;
53
+ declare const SIAGlobal_Pure: typeof Pure;
54
+ declare const SIAGlobal_RAW: typeof RAW;
55
+ declare const SIAGlobal_REJECTABLE: typeof REJECTABLE;
56
+ declare const SIAGlobal_REvent: typeof REvent;
57
+ declare const SIAGlobal_RTR_BATCH: typeof RTR_BATCH;
58
+ declare const SIAGlobal_RTR_LOG: typeof RTR_LOG;
59
+ declare const SIAGlobal_Reactive: typeof Reactive;
60
+ declare const SIAGlobal_ReactivePreferences: typeof ReactivePreferences;
61
+ declare const SIAGlobal_Reactor: typeof Reactor;
62
+ declare const SIAGlobal_ReactorBuild: typeof ReactorBuild;
63
+ declare const SIAGlobal_ReactorEvent: typeof ReactorEvent;
64
+ declare const SIAGlobal_SSVERSION: typeof SSVERSION;
65
+ declare const SIAGlobal_Setter: typeof Setter;
66
+ declare const SIAGlobal_SetterRecord: typeof SetterRecord;
67
+ declare const SIAGlobal_Stable: typeof Stable;
68
+ declare const SIAGlobal_State: typeof State;
69
+ declare const SIAGlobal_StrictPathKey: typeof StrictPathKey;
70
+ declare const SIAGlobal_SubtractDepth: typeof SubtractDepth;
71
+ declare const SIAGlobal_SyncOptions: typeof SyncOptions;
72
+ declare const SIAGlobal_SyncOptionsTuple: typeof SyncOptionsTuple;
73
+ declare const SIAGlobal_TERMINATOR: typeof TERMINATOR;
74
+ declare const SIAGlobal_Target: typeof Target;
75
+ declare const SIAGlobal_Unflatten: typeof Unflatten;
76
+ declare const SIAGlobal_UnionToIntersection: typeof UnionToIntersection;
77
+ declare const SIAGlobal_UpdatePayload: typeof UpdatePayload;
78
+ declare const SIAGlobal_VERSION: typeof VERSION;
79
+ declare const SIAGlobal_Volatile: typeof Volatile;
80
+ declare const SIAGlobal_Watcher: typeof Watcher;
81
+ declare const SIAGlobal_WatcherRecord: typeof WatcherRecord;
82
+ declare const SIAGlobal_WildPaths: typeof WildPaths;
83
+ declare const SIAGlobal_adapters: typeof adapters;
84
+ declare const SIAGlobal_getRaw: typeof getRaw;
85
+ declare const SIAGlobal_getReactor: typeof getReactor;
86
+ declare const SIAGlobal_getSnapshotVersion: typeof getSnapshotVersion;
87
+ declare const SIAGlobal_getVersion: typeof getVersion;
88
+ declare const SIAGlobal_inert: typeof inert;
89
+ declare const SIAGlobal_intent: typeof intent;
90
+ declare const SIAGlobal_isInert: typeof isInert;
91
+ declare const SIAGlobal_isIntent: typeof isIntent;
92
+ declare const SIAGlobal_isVolatile: typeof isVolatile;
93
+ declare const SIAGlobal_live: typeof live;
94
+ declare const SIAGlobal_methods: typeof methods;
95
+ declare const SIAGlobal_modules: typeof modules;
96
+ declare const SIAGlobal_reactive: typeof reactive;
97
+ declare const SIAGlobal_stable: typeof stable;
98
+ declare const SIAGlobal_state: typeof state;
99
+ declare const SIAGlobal_utils: typeof utils;
100
+ declare const SIAGlobal_volatile: typeof volatile;
101
+ declare namespace SIAGlobal {
102
+ export { SIAGlobal_APIKey as APIKey, SIAGlobal_AddDepth as AddDepth, SIAGlobal_CTX as CTX, SIAGlobal_ChildPaths as ChildPaths, SIAGlobal_DeepKeys as DeepKeys, SIAGlobal_DeepMerge as DeepMerge, SIAGlobal_DeepPartial as DeepPartial, SIAGlobal_DeepReadonly as DeepReadonly, SIAGlobal_DeepRequired as DeepRequired, SIAGlobal_Deleter as Deleter, SIAGlobal_DeleterRecord as DeleterRecord, SIAGlobal_DepthConfig as DepthConfig, SIAGlobal_DirectPayload as DirectPayload, SIAGlobal_EVT_OPTS as EVT_OPTS, SIAGlobal_EffectOptions as EffectOptions, SIAGlobal_Getter as Getter, SIAGlobal_GetterRecord as GetterRecord, SIAGlobal_INDIFFABLE as INDIFFABLE, SIAGlobal_INERTIA as INERTIA, SIAGlobal_Inert as Inert, SIAGlobal_Intent as Intent, SIAGlobal_Listener as Listener, SIAGlobal_ListenerOptions as ListenerOptions, SIAGlobal_ListenerOptionsTuple as ListenerOptionsTuple, SIAGlobal_ListenerRecord as ListenerRecord, SIAGlobal_Live as Live, SIAGlobal_MaxDepth as MaxDepth, SIAGlobal_NIL as NIL, SIAGlobal_NOOP as NOOP, SIAGlobal_NextDepth as NextDepth, SIAGlobal_NoTraverse as NoTraverse, SIAGlobal_PathBranch as PathBranch, SIAGlobal_PathBranchValue as PathBranchValue, SIAGlobal_PathDepth as PathDepth, SIAGlobal_PathKey as PathKey, SIAGlobal_PathLeaf as PathLeaf, SIAGlobal_PathValue as PathValue, SIAGlobal_Paths as Paths, SIAGlobal_Payload as Payload, SIAGlobal_PrevDepth as PrevDepth, SIAGlobal_Primitive as Primitive, SIAGlobal_Pure as Pure, SIAGlobal_RAW as RAW, SIAGlobal_REJECTABLE as REJECTABLE, SIAGlobal_REvent as REvent, SIAGlobal_RTR_BATCH as RTR_BATCH, SIAGlobal_RTR_LOG as RTR_LOG, SIAGlobal_Reactive as Reactive, SIAGlobal_ReactivePreferences as ReactivePreferences, SIAGlobal_Reactor as Reactor, SIAGlobal_ReactorBuild as ReactorBuild, SIAGlobal_ReactorEvent as ReactorEvent, SIAGlobal_SSVERSION as SSVERSION, SIAGlobal_Setter as Setter, SIAGlobal_SetterRecord as SetterRecord, SIAGlobal_Stable as Stable, SIAGlobal_State as State, SIAGlobal_StrictPathKey as StrictPathKey, SIAGlobal_SubtractDepth as SubtractDepth, SIAGlobal_SyncOptions as SyncOptions, SIAGlobal_SyncOptionsTuple as SyncOptionsTuple, SIAGlobal_TERMINATOR as TERMINATOR, SIAGlobal_Target as Target, SIAGlobal_Unflatten as Unflatten, SIAGlobal_UnionToIntersection as UnionToIntersection, SIAGlobal_UpdatePayload as UpdatePayload, SIAGlobal_VERSION as VERSION, SIAGlobal_Volatile as Volatile, SIAGlobal_Watcher as Watcher, SIAGlobal_WatcherRecord as WatcherRecord, SIAGlobal_WildPaths as WildPaths, SIAGlobal_adapters as adapters, SIAGlobal_getRaw as getRaw, SIAGlobal_getReactor as getReactor, SIAGlobal_getSnapshotVersion as getSnapshotVersion, SIAGlobal_getVersion as getVersion, SIAGlobal_inert as inert, SIAGlobal_intent as intent, SIAGlobal_isInert as isInert, SIAGlobal_isIntent as isIntent, SIAGlobal_isVolatile as isVolatile, SIAGlobal_live as live, SIAGlobal_methods as methods, SIAGlobal_modules as modules, SIAGlobal_reactive as reactive, SIAGlobal_stable as stable, SIAGlobal_state as state, SIAGlobal_utils as utils, SIAGlobal_volatile as volatile };
103
+ }
104
+
105
+ interface SIANamespace extends SIAGlobal {}
106
+
107
+ declare global {
108
+ interface Window {
109
+ /** Shared S.I.A namespace. */
110
+ sia: SIANamespace;
111
+ }
112
+
113
+ var sia: SIANamespace; // for IIFE build
114
+ }
115
+
116
+ export { APIKey, AddDepth, CTX, ChildPaths, DeepKeys, DeepMerge, DeepPartial, DeepReadonly, DeepRequired, Deleter, DeleterRecord, DepthConfig, DirectPayload, EVT_OPTS, EffectOptions, Getter, GetterRecord, INDIFFABLE, INERTIA, Inert, Intent, Listener, ListenerOptions, ListenerOptionsTuple, ListenerRecord, Live, MaxDepth, NIL, NOOP, NextDepth, NoTraverse, PathBranch, PathBranchValue, PathDepth, PathKey, PathLeaf, PathValue, Paths, Payload, PrevDepth, Primitive, Pure, RAW, REJECTABLE, REvent, RTR_BATCH, RTR_LOG, Reactive, ReactivePreferences, Reactor, ReactorBuild, ReactorEvent, SSVERSION, Setter, SetterRecord, Stable, State, StrictPathKey, SubtractDepth, SyncOptions, SyncOptionsTuple, TERMINATOR, Target, Unflatten, UnionToIntersection, UpdatePayload, VERSION, Volatile, Watcher, WatcherRecord, WildPaths, getRaw, getReactor, getSnapshotVersion, getVersion, inert, intent, isInert, isIntent, isVolatile, live, methods, reactive, stable, state, volatile };
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import "./chunk-PLYS4CVP.js";
1
+ import "./chunk-RGLU7GF7.js";
2
2
  import {
3
3
  CTX,
4
4
  EVT_OPTS,