sia-reactor 0.0.19 → 0.0.21

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 (38) hide show
  1. package/README.md +102 -58
  2. package/dist/TimeTravelOverlay-CJv-S_Km.d.cts +41 -0
  3. package/dist/TimeTravelOverlay-DxqJL0Zk.d.ts +41 -0
  4. package/dist/adapters/react.cjs +308 -92
  5. package/dist/adapters/react.d.cts +68 -10
  6. package/dist/adapters/react.d.ts +68 -10
  7. package/dist/adapters/react.js +80 -29
  8. package/dist/adapters/vanilla.cjs +957 -10
  9. package/dist/adapters/vanilla.d.cts +4 -2
  10. package/dist/adapters/vanilla.d.ts +4 -2
  11. package/dist/adapters/vanilla.js +8 -12
  12. package/dist/{chunk-Q2AKMIHN.js → chunk-2WBPGSRL.js} +106 -48
  13. package/dist/chunk-5A44QFT6.js +93 -0
  14. package/dist/{chunk-4MJUBEI7.js → chunk-DP74DVRT.js} +4 -2
  15. package/dist/{chunk-UQIMMJTY.js → chunk-P37ADJMM.js} +3 -3
  16. package/dist/chunk-TFLYCXK4.js +251 -0
  17. package/dist/{index-C2hyIh0K.d.cts → index-Oie9hhE8.d.cts} +14 -10
  18. package/dist/{index-C2hyIh0K.d.ts → index-Oie9hhE8.d.ts} +14 -10
  19. package/dist/index.cjs +45 -52
  20. package/dist/index.d.cts +1 -1
  21. package/dist/index.d.ts +1 -1
  22. package/dist/index.js +4 -6
  23. package/dist/plugins.cjs +72 -73
  24. package/dist/plugins.d.cts +4 -75
  25. package/dist/plugins.d.ts +4 -75
  26. package/dist/plugins.js +27 -22
  27. package/dist/styles/time-travel-overlay.css +189 -0
  28. package/dist/super.d.ts +79 -26
  29. package/dist/super.global.js +200 -105
  30. package/dist/timeTravel-B1vedDQc.d.ts +76 -0
  31. package/dist/timeTravel-WpgWmKu-.d.cts +76 -0
  32. package/dist/utils.cjs +34 -7
  33. package/dist/utils.d.cts +9 -2
  34. package/dist/utils.d.ts +9 -2
  35. package/dist/utils.js +17 -65
  36. package/package.json +3 -2
  37. package/dist/chunk-FGUCKMLH.js +0 -154
  38. package/dist/chunk-KIQP7G7W.js +0 -80
package/dist/index.cjs CHANGED
@@ -17,7 +17,7 @@ var __copyProps = (to, from, except, desc) => {
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
 
20
- // src/index.ts
20
+ // src/ts/index.ts
21
21
  var index_exports = {};
22
22
  __export(index_exports, {
23
23
  CTX: () => CTX,
@@ -53,8 +53,10 @@ __export(index_exports, {
53
53
  });
54
54
  module.exports = __toCommonJS(index_exports);
55
55
 
56
- // src/core/consts.ts
56
+ // src/ts/core/consts.ts
57
57
  var CTX = {
58
+ /** Flag indicating whether the application is running in development mode. */
59
+ isDevEnv: "undefined" !== typeof process ? process.env.NODE_ENV !== "production" : true,
58
60
  /** active `Autotracker` instance, override for automatic dependency collection on `Reactor` traps. */
59
61
  autotracker: null
60
62
  };
@@ -73,7 +75,7 @@ var NIL = Object.freeze({});
73
75
  var NOOP = () => {
74
76
  };
75
77
 
76
- // src/utils/obj.ts
78
+ // src/ts/utils/obj.ts
77
79
  var arrRx = /^([^\[\]]+)\[(\d+)\]$/;
78
80
  function isObj(obj, arraycheck = true) {
79
81
  return "object" === typeof obj && obj !== null && (arraycheck ? !Array.isArray(obj) : true);
@@ -189,7 +191,7 @@ function nuke(target) {
189
191
  }
190
192
  }
191
193
 
192
- // src/core/event.ts
194
+ // src/ts/core/event.ts
193
195
  var ReactorEvent = class _ReactorEvent {
194
196
  /** No active propagation phase. */
195
197
  static NONE = 0;
@@ -312,7 +314,7 @@ var ReactorEvent = class _ReactorEvent {
312
314
  }
313
315
  };
314
316
 
315
- // src/core/reactor.ts
317
+ // src/ts/core/reactor.ts
316
318
  var Reactor = class {
317
319
  log = NOOP;
318
320
  core;
@@ -340,27 +342,27 @@ var Reactor = class {
340
342
  listeners;
341
343
  /**
342
344
  * Creates a new Reactor instance.
343
- * @param object Initial state object.
345
+ * @param target Initial state target.
344
346
  * @param build Reactor bootstrap/build configuration.
345
347
  * @example
346
348
  * const rtr = new Reactor({ count: 0 });
347
349
  */
348
- constructor(object = {}, build) {
350
+ constructor(target = {}, build) {
349
351
  this[INERTIA] = true;
350
352
  this.config = { crossRealms: false, smartCloning: false, eventBubbling: true, lineageTracing: false, preserveContext: false, equalityFunction: Object.is, batchingFunction: RTR_BATCH, ...build };
351
- this.core = this.proxied(object);
353
+ this.core = this.proxied(target);
352
354
  if (build) this.canLog = !!build.debug;
353
355
  }
354
- proxied(obj, rejectable = false, indiffable = false, parent, key, path) {
355
- if (!obj || "object" !== typeof obj) return obj;
356
- obj = obj[RAW] || obj;
357
- if (this.config.referenceTracking && parent && key && !this.link(obj, parent, key, false)) return obj;
358
- const cached = this.proxyCache.get(obj);
356
+ proxied(target, rejectable = false, indiffable = false, parent, key, path) {
357
+ if (!target || "object" !== typeof target) return target;
358
+ target = target[RAW] || target;
359
+ if (this.config.referenceTracking && parent && key && !this.link(target, parent, key, false)) return target;
360
+ const cached = this.proxyCache.get(target);
359
361
  if (cached) return cached;
360
- if (obj[INERTIA] || !canHandle(obj, this.config, false)) return obj;
361
- rejectable ||= obj[REJECTABLE];
362
- indiffable ||= obj[INDIFFABLE];
363
- const proxy = new Proxy(obj, {
362
+ if (target[INERTIA] || !canHandle(target, this.config, false)) return target;
363
+ rejectable ||= target[REJECTABLE];
364
+ indiffable ||= target[INDIFFABLE];
365
+ const proxy = new Proxy(target, {
364
366
  // Robust Proxy handler
365
367
  get: (object, key2, receiver) => {
366
368
  if (key2 === RAW) return this.log(`\u{1F440} [Reactor \`get\` Trap] Peeked at ${object}`), object;
@@ -373,10 +375,10 @@ var Reactor = class {
373
375
  for (let i = 0, len = this.config.lineageTracing ? paths.length : 1; i < len; i++) {
374
376
  const currPath = this.config.lineageTracing ? paths[i] : fullPath, cords = this.getters.get(currPath);
375
377
  if (!cords && !wildcords) continue;
376
- const target = { path: currPath, value, key: keyStr, keyExisted: true, object: receiver }, payload = { type: "get", target, currentTarget: target, root: this.core, rejectable };
378
+ const target2 = { path: currPath, value, key: keyStr, hadKey: true, object: receiver }, payload = { type: "get", target: target2, currentTarget: target2, root: this.core, rejectable };
377
379
  if (cords) value = this.mediate(currPath, payload, "get", cords);
378
380
  if (!wildcords) continue;
379
- target.value = value;
381
+ target2.value = value;
380
382
  value = this.mediate("*", payload, "get", wildcords);
381
383
  }
382
384
  }
@@ -384,7 +386,7 @@ var Reactor = class {
384
386
  },
385
387
  set: (object, key2, value, receiver) => {
386
388
  let unchanged, safeValue, safeOldValue, terminated = false;
387
- const keyStr = String(key2), fullPath = path ? path + "." + keyStr : keyStr, paths = this.config.lineageTracing ? this.trace(object, keyStr) : fullPath, loopLen = this.config.lineageTracing ? paths.length : 1, oldValue = !this.config.preserveContext ? object[key2] : Reflect.get(object, key2, receiver), keyExisted = !this.config.preserveContext ? key2 in object : Reflect.has(object, key2);
389
+ const keyStr = String(key2), fullPath = path ? path + "." + keyStr : keyStr, paths = this.config.lineageTracing ? this.trace(object, keyStr) : fullPath, loopLen = this.config.lineageTracing ? paths.length : 1, oldValue = !this.config.preserveContext ? object[key2] : Reflect.get(object, key2, receiver), hadKey = !this.config.preserveContext ? key2 in object : Reflect.has(object, key2);
388
390
  this.log(`\u270F\uFE0F [Reactor \`set\` Trap] Initiated for "${keyStr}" on "${paths}"`), CTX.autotracker?.track(fullPath, this, true);
389
391
  if (this.config.referenceTracking || !indiffable) {
390
392
  safeOldValue = oldValue?.[RAW] || oldValue;
@@ -398,13 +400,13 @@ var Reactor = class {
398
400
  for (let i = 0; i < loopLen; i++) {
399
401
  const currPath = this.config.lineageTracing ? paths[i] : fullPath, cords = this.setters.get(currPath);
400
402
  if (!cords && !wildcords) continue;
401
- const target = { path: currPath, value, oldValue, key: keyStr, keyExisted, object: receiver }, payload = { type: "set", target, currentTarget: target, root: this.core, terminated, rejectable };
403
+ const target2 = { path: currPath, value, oldValue, key: keyStr, hadKey, object: receiver }, payload = { type: "set", target: target2, currentTarget: target2, root: this.core, terminated, rejectable };
402
404
  if (cords) {
403
405
  const result2 = this.mediate(currPath, payload, "set", cords);
404
406
  if (!(terminated ||= payload.terminated)) value = result2;
405
407
  }
406
408
  if (!wildcords) continue;
407
- target.value = value;
409
+ target2.value = value;
408
410
  const result = this.mediate("*", payload, "set", wildcords);
409
411
  if (!(terminated ||= payload.terminated)) value = result;
410
412
  }
@@ -415,14 +417,14 @@ var Reactor = class {
415
417
  if (this.config.referenceTracking && !unchanged) this.config.smartCloning && this.stamp(object), this.unlink(safeOldValue, object, keyStr), this.link(safeValue, object, keyStr);
416
418
  if (this.watchers || this.listeners)
417
419
  for (let i = 0; i < loopLen; i++) {
418
- const currPath = this.config.lineageTracing ? paths[i] : fullPath, target = { path: currPath, value, oldValue, key: keyStr, keyExisted, object: receiver };
419
- this.notify(currPath, { type: "set", target, currentTarget: target, root: this.core, terminated, rejectable });
420
+ const currPath = this.config.lineageTracing ? paths[i] : fullPath, target2 = { path: currPath, value, oldValue, key: keyStr, hadKey, object: receiver };
421
+ this.notify(currPath, { type: "set", target: target2, currentTarget: target2, root: this.core, terminated, rejectable });
420
422
  }
421
423
  return true;
422
424
  },
423
425
  deleteProperty: (object, key2) => {
424
426
  let value, receiver = this.proxyCache.get(object), terminated = false;
425
- const keyStr = String(key2), fullPath = path ? path + "." + keyStr : keyStr, paths = this.config.lineageTracing ? this.trace(object, keyStr) : fullPath, loopLen = this.config.lineageTracing ? paths.length : 1, oldValue = !this.config.preserveContext ? object[key2] : Reflect.get(object, key2, receiver), keyExisted = !this.config.preserveContext ? key2 in object : Reflect.has(object, key2);
427
+ const keyStr = String(key2), fullPath = path ? path + "." + keyStr : keyStr, paths = this.config.lineageTracing ? this.trace(object, keyStr) : fullPath, loopLen = this.config.lineageTracing ? paths.length : 1, oldValue = !this.config.preserveContext ? object[key2] : Reflect.get(object, key2, receiver), hadKey = !this.config.preserveContext ? key2 in object : Reflect.has(object, key2);
426
428
  this.log(`\u{1F5D1}\uFE0F [Reactor \`deleteProperty\` Trap] Initiated for "${keyStr}" on "${paths}"`), CTX.autotracker?.track(fullPath, this, true);
427
429
  if (this.config.deleteProperty) terminated = (value = this.config.deleteProperty(object, key2, oldValue, receiver, paths)) === TERMINATOR;
428
430
  if (this.deleters) {
@@ -430,7 +432,7 @@ var Reactor = class {
430
432
  for (let i = 0; i < loopLen; i++) {
431
433
  const currPath = this.config.lineageTracing ? paths[i] : fullPath, cords = this.deleters.get(currPath);
432
434
  if (!cords && !wildcords) continue;
433
- const target = { path: currPath, value, oldValue, key: keyStr, keyExisted, object: receiver }, payload = { type: "delete", target, currentTarget: target, root: this.core, rejectable };
435
+ const target2 = { path: currPath, value, oldValue, key: keyStr, hadKey, object: receiver }, payload = { type: "delete", target: target2, currentTarget: target2, root: this.core, rejectable };
434
436
  if (cords) {
435
437
  const result2 = this.mediate(currPath, payload, "delete", cords);
436
438
  if (!(terminated ||= payload.terminated)) value = result2;
@@ -446,8 +448,8 @@ var Reactor = class {
446
448
  if (this.config.referenceTracking) this.config.smartCloning && this.stamp(object), this.unlink(oldValue?.[RAW] || oldValue, object, keyStr);
447
449
  if (this.watchers || this.listeners)
448
450
  for (let i = 0; i < loopLen; i++) {
449
- const currPath = this.config.lineageTracing ? paths[i] : fullPath, target = { path: currPath, value, oldValue, key: keyStr, keyExisted, object: receiver };
450
- this.notify(currPath, { type: "delete", target, currentTarget: target, root: this.core, rejectable });
451
+ const currPath = this.config.lineageTracing ? paths[i] : fullPath, target2 = { path: currPath, value, oldValue, key: keyStr, hadKey, object: receiver };
452
+ this.notify(currPath, { type: "delete", target: target2, currentTarget: target2, root: this.core, rejectable });
451
453
  }
452
454
  return true;
453
455
  },
@@ -473,7 +475,7 @@ var Reactor = class {
473
475
  return ownKeys;
474
476
  }
475
477
  });
476
- return this.proxyCache.set(obj, proxy), proxy;
478
+ return this.proxyCache.set(target, proxy), proxy;
477
479
  }
478
480
  trace(target, path, paths = [], seen = /* @__PURE__ */ new WeakSet()) {
479
481
  if (Object.is(target, this.core[RAW] || this.core)) return paths.push(path), paths;
@@ -565,7 +567,7 @@ var Reactor = class {
565
567
  fire([path, object, value], e, isCapture, cords = this.listeners.get(path)) {
566
568
  if (!cords) return;
567
569
  e.type = path !== e.target.path ? "update" : e.staticType;
568
- e.currentTarget = { path, value, oldValue: e.type !== "update" ? e.target.oldValue : void 0, key: e.type !== "update" ? path : path.slice(path.lastIndexOf(".") + 1) || "", keyExisted: e.type !== "update" ? e.target.keyExisted : true, object };
570
+ e.currentTarget = { path, value, oldValue: e.type !== "update" ? e.target.oldValue : void 0, key: e.type !== "update" ? path : path.slice(path.lastIndexOf(".") + 1) || "", hadKey: e.type !== "update" ? e.target.hadKey : true, object };
569
571
  for (let i = 0, len = cords.length, tDepth; i < len; i++) {
570
572
  if (e.immediatePropagationStopped) break;
571
573
  if (cords[i].capture !== isCapture) continue;
@@ -620,21 +622,20 @@ var Reactor = class {
620
622
  }
621
623
  getContext(path) {
622
624
  const lastDot = path.lastIndexOf("."), value = getAny(this.core, path), object = lastDot === -1 ? this.core : getAny(this.core, path.slice(0, lastDot));
623
- return { path, value, key: path.slice(lastDot + 1) || "", keyExisted: true, object };
625
+ return { path, value, key: path.slice(lastDot + 1) || "", hadKey: true, object };
624
626
  }
625
627
  bindSignal(cord, sig) {
626
628
  if (sig) sig.aborted ? cord.clup() : sig.addEventListener("abort", cord.clup, { once: true });
627
629
  return cord.sclup = !sig || sig.aborted ? NOOP : () => sig.removeEventListener("abort", cord.clup), cord.clup;
628
630
  }
629
- cloned(obj, raw, seen = /* @__PURE__ */ new WeakMap()) {
630
- if (!obj || "object" !== typeof obj) return obj;
631
- obj = obj[RAW] || obj;
632
- const cloned = seen.get(obj);
631
+ cloned(target, raw, seen = /* @__PURE__ */ new WeakMap()) {
632
+ if (!target || "object" !== typeof target) return target;
633
+ const obj = target[RAW] || target, cloned = seen.get(obj);
633
634
  if (cloned) return cloned;
634
635
  if (!canHandle(obj, this.config, false)) return obj;
635
636
  const version = obj[VERSION] || 0, cached = !raw && this.config.smartCloning && (this.snapCache ??= /* @__PURE__ */ new WeakMap()).get(obj);
636
637
  if (cached && obj[SSVERSION] === version) return cached;
637
- const clone = !raw ? this.config.preserveContext ? Object.create(Object.getPrototypeOf(obj)) : Array.isArray(obj) ? [] : {} : obj[RAW] || obj;
638
+ const clone = !raw ? this.config.preserveContext ? Object.create(Object.getPrototypeOf(obj)) : Array.isArray(obj) ? [] : {} : obj;
638
639
  seen.set(obj, clone);
639
640
  const keys = this.config.preserveContext ? Reflect.ownKeys(obj) : Object.keys(obj);
640
641
  for (let i = 0, len = keys.length; i < len; i++) clone[keys[i]] = this.cloned(obj[keys[i]], raw, seen);
@@ -818,19 +819,8 @@ var Reactor = class {
818
819
  for (let i = 0, len = cords.length; i < len; i++) if (Object.is(cords[i].cb, callback) && cords[i].capture === capture) return cords[i].sclup(), cords.splice((len--, i--), 1), !cords.length && this.listeners.delete(path), true;
819
820
  return false;
820
821
  }
821
- /**
822
- * Creates a snapshot; possibly clone of state (or a state branch).
823
- * You could alternatively use or serialize your proxied state "as is" except the environment demands no proxies or new references.
824
- * @param raw Use raw (deep unproxied & uncloned) version of branch.
825
- * @param branch Branch to clone.
826
- * @returns Snapshot deep or smart (structurally shared) clone.
827
- * @example
828
- * const snap = rtr.snapshot();
829
- * @example
830
- * const snap = rtr.snapshot(false, rtr.core.history.past);
831
- */
832
- snapshot(raw = !this.config.smartCloning, branch = this.core) {
833
- return this.cloned(branch, raw);
822
+ snapshot(raw = !this.config.smartCloning, branch) {
823
+ return this.cloned(arguments.length < 2 ? this.core : branch, raw);
834
824
  }
835
825
  /**
836
826
  * Cascades object updates into direct child paths.
@@ -881,11 +871,11 @@ var Reactor = class {
881
871
  }
882
872
  };
883
873
 
884
- // src/core/mixins.ts
885
- var methods = ["tick", "stall", "nostall", "get", "gonce", "noget", "set", "sonce", "noset", "delete", "donce", "nodelete", "watch", "wonce", "nowatch", "on", "once", "off", "cascade", "snapshot", "reset", "destroy"];
874
+ // src/ts/core/mixins.ts
875
+ var methods = ["tick", "stall", "nostall", "get", "gonce", "noget", "set", "sonce", "noset", "delete", "donce", "nodelete", "watch", "wonce", "nowatch", "on", "once", "off", "snapshot", "cascade", "plugIn", "reset", "destroy"];
886
876
  function reactive(target, build, preferences = NIL) {
887
877
  if ("__Reactor__" in target) return target;
888
- const descriptors = {}, rtr = target instanceof Reactor ? target : new Reactor(target, build), locks = { enumerable: false, configurable: true, writable: false }, hasAffix = !!(preferences.prefix || preferences.suffix);
878
+ const descriptors = {}, rtr = getReactor(target, true, build), locks = { enumerable: false, configurable: true, writable: false }, hasAffix = !!(preferences.prefix || preferences.suffix);
889
879
  for (let i = 0, len = methods.length; i < len; i++) {
890
880
  let key = methods[i];
891
881
  if (hasAffix) (preferences.whitelist?.includes(key) ?? true) && (key = `${preferences.prefix || ""}${key}${preferences.suffix || ""}`);
@@ -922,6 +912,9 @@ function stable(target) {
922
912
  function isVolatile(target) {
923
913
  return !!getRaw(target)[INDIFFABLE];
924
914
  }
915
+ function getReactor(target, create = false, build) {
916
+ return (target instanceof Reactor ? target : target.__Reactor__) || (create ? new Reactor(target, build) : void 0);
917
+ }
925
918
  function getRaw(target) {
926
919
  return target?.[RAW] || target;
927
920
  }
package/dist/index.d.cts CHANGED
@@ -1 +1 @@
1
- export { C as CTX, q as ChildPaths, D as DeepKeys, r as DeepMerge, t as DeepPartial, u as DeepRequired, v as Deleter, x as DeleterRecord, y as DirectPayload, z as EVT_OPTS, F as EVT_WARN, E as EffectOptions, G as Getter, H as GetterRecord, J as INDIFFABLE, K as INERTIA, I as Inert, L as Intent, M as Listener, N as ListenerOptions, O as ListenerOptionsTuple, Q as ListenerRecord, S as Live, T as NIL, U as NOOP, V as NoTraverse, X as PathBranch, Y as PathBranchValue, Z as PathKey, _ as PathLeaf, o as PathValue, P as Paths, $ as Payload, a0 as Primitive, a1 as RAW, a2 as REJECTABLE, a as REvent, a3 as RTR_BATCH, a4 as RTR_LOG, l as Reactive, a5 as ReactivePreferences, R as Reactor, a6 as ReactorBuild, a7 as ReactorEvent, a8 as SSVERSION, a9 as Setter, aa as SetterRecord, ab as Stable, ac as State, ad as StrictPathKey, ae as SyncOptions, af as SyncOptionsTuple, ag as TERMINATOR, ah as Target, ai as Unflatten, aj as UnionToIntersection, ak as UpdatePayload, al as VERSION, am as Volatile, an as Watcher, ao as WatcherRecord, W as WildPaths, ap as getRaw, aq as getSnapshotVersion, ar as getVersion, as as inert, at as intent, au as isInert, av as isIntent, aw as isVolatile, ax as live, ay as methods, az as reactive, aA as stable, aB as state, aC as volatile } from './index-C2hyIh0K.cjs';
1
+ export { C as CTX, r as ChildPaths, D as DeepKeys, t as DeepMerge, u as DeepPartial, v as DeepRequired, x as Deleter, y as DeleterRecord, z as DirectPayload, F as EVT_OPTS, G as EVT_WARN, E as EffectOptions, H as Getter, J as GetterRecord, K as INDIFFABLE, L as INERTIA, I as Inert, M as Intent, N as Listener, O as ListenerOptions, Q as ListenerOptionsTuple, S as ListenerRecord, T as Live, U as NIL, V as NOOP, X as NoTraverse, Y as PathBranch, Z as PathBranchValue, _ as PathKey, $ as PathLeaf, q as PathValue, P as Paths, a0 as Payload, a1 as Primitive, a2 as RAW, a3 as REJECTABLE, a as REvent, a4 as RTR_BATCH, a5 as RTR_LOG, R as Reactive, a6 as ReactivePreferences, b as Reactor, o as ReactorBuild, a7 as ReactorEvent, a8 as SSVERSION, a9 as Setter, aa as SetterRecord, ab as Stable, ac as State, ad as StrictPathKey, ae as SyncOptions, af as SyncOptionsTuple, ag as TERMINATOR, ah as Target, ai as Unflatten, aj as UnionToIntersection, ak as UpdatePayload, al as VERSION, am as Volatile, an as Watcher, ao as WatcherRecord, W as WildPaths, ap as getRaw, aq as getSnapshotVersion, ar as getVersion, as as inert, at as intent, au as isInert, av as isIntent, aw as isVolatile, ax as live, ay as methods, az as reactive, aA as stable, aB as state, aC as volatile } from './index-Oie9hhE8.cjs';
package/dist/index.d.ts CHANGED
@@ -1 +1 @@
1
- export { C as CTX, q as ChildPaths, D as DeepKeys, r as DeepMerge, t as DeepPartial, u as DeepRequired, v as Deleter, x as DeleterRecord, y as DirectPayload, z as EVT_OPTS, F as EVT_WARN, E as EffectOptions, G as Getter, H as GetterRecord, J as INDIFFABLE, K as INERTIA, I as Inert, L as Intent, M as Listener, N as ListenerOptions, O as ListenerOptionsTuple, Q as ListenerRecord, S as Live, T as NIL, U as NOOP, V as NoTraverse, X as PathBranch, Y as PathBranchValue, Z as PathKey, _ as PathLeaf, o as PathValue, P as Paths, $ as Payload, a0 as Primitive, a1 as RAW, a2 as REJECTABLE, a as REvent, a3 as RTR_BATCH, a4 as RTR_LOG, l as Reactive, a5 as ReactivePreferences, R as Reactor, a6 as ReactorBuild, a7 as ReactorEvent, a8 as SSVERSION, a9 as Setter, aa as SetterRecord, ab as Stable, ac as State, ad as StrictPathKey, ae as SyncOptions, af as SyncOptionsTuple, ag as TERMINATOR, ah as Target, ai as Unflatten, aj as UnionToIntersection, ak as UpdatePayload, al as VERSION, am as Volatile, an as Watcher, ao as WatcherRecord, W as WildPaths, ap as getRaw, aq as getSnapshotVersion, ar as getVersion, as as inert, at as intent, au as isInert, av as isIntent, aw as isVolatile, ax as live, ay as methods, az as reactive, aA as stable, aB as state, aC as volatile } from './index-C2hyIh0K.js';
1
+ export { C as CTX, r as ChildPaths, D as DeepKeys, t as DeepMerge, u as DeepPartial, v as DeepRequired, x as Deleter, y as DeleterRecord, z as DirectPayload, F as EVT_OPTS, G as EVT_WARN, E as EffectOptions, H as Getter, J as GetterRecord, K as INDIFFABLE, L as INERTIA, I as Inert, M as Intent, N as Listener, O as ListenerOptions, Q as ListenerOptionsTuple, S as ListenerRecord, T as Live, U as NIL, V as NOOP, X as NoTraverse, Y as PathBranch, Z as PathBranchValue, _ as PathKey, $ as PathLeaf, q as PathValue, P as Paths, a0 as Payload, a1 as Primitive, a2 as RAW, a3 as REJECTABLE, a as REvent, a4 as RTR_BATCH, a5 as RTR_LOG, R as Reactive, a6 as ReactivePreferences, b as Reactor, o as ReactorBuild, a7 as ReactorEvent, a8 as SSVERSION, a9 as Setter, aa as SetterRecord, ab as Stable, ac as State, ad as StrictPathKey, ae as SyncOptions, af as SyncOptionsTuple, ag as TERMINATOR, ah as Target, ai as Unflatten, aj as UnionToIntersection, ak as UpdatePayload, al as VERSION, am as Volatile, an as Watcher, ao as WatcherRecord, W as WildPaths, ap as getRaw, aq as getSnapshotVersion, ar as getVersion, as as inert, at as intent, au as isInert, av as isIntent, aw as isVolatile, ax as live, ay as methods, az as reactive, aA as stable, aB as state, aC as volatile } from './index-Oie9hhE8.js';
package/dist/index.js CHANGED
@@ -1,4 +1,6 @@
1
1
  import {
2
+ Reactor,
3
+ ReactorEvent,
2
4
  getRaw,
3
5
  getSnapshotVersion,
4
6
  getVersion,
@@ -13,11 +15,7 @@ import {
13
15
  stable,
14
16
  state,
15
17
  volatile
16
- } from "./chunk-KIQP7G7W.js";
17
- import {
18
- Reactor,
19
- ReactorEvent
20
- } from "./chunk-Q2AKMIHN.js";
18
+ } from "./chunk-2WBPGSRL.js";
21
19
  import {
22
20
  CTX,
23
21
  EVT_OPTS,
@@ -33,7 +31,7 @@ import {
33
31
  SSVERSION,
34
32
  TERMINATOR,
35
33
  VERSION
36
- } from "./chunk-4MJUBEI7.js";
34
+ } from "./chunk-DP74DVRT.js";
37
35
  export {
38
36
  CTX,
39
37
  EVT_OPTS,