@graphrefly/graphrefly 0.12.0 → 0.13.0

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 (67) hide show
  1. package/dist/{chunk-XWMTVV2D.js → chunk-5RN7NBNG.js} +5 -5
  2. package/dist/{chunk-4F2ZFD5L.js → chunk-6B2ZCCNN.js} +39 -39
  3. package/dist/chunk-6B2ZCCNN.js.map +1 -0
  4. package/dist/{chunk-BRPCN2HJ.js → chunk-H4UFM6WD.js} +3 -3
  5. package/dist/{chunk-NULSP7U4.js → chunk-HA6QMDKQ.js} +4 -4
  6. package/dist/{chunk-X732W3QA.js → chunk-KNGOJEYP.js} +2 -2
  7. package/dist/{chunk-6OLNYOGU.js → chunk-PFMXKG4Y.js} +2 -2
  8. package/dist/{chunk-IXTW3BIO.js → chunk-QOGWU5K7.js} +3 -3
  9. package/dist/{chunk-JYRHO63K.js → chunk-UPC5OEB5.js} +17 -17
  10. package/dist/chunk-UPC5OEB5.js.map +1 -0
  11. package/dist/{chunk-VQWLA6XQ.js → chunk-UQI4GAHD.js} +3 -3
  12. package/dist/compat/nestjs/index.cjs +37 -37
  13. package/dist/compat/nestjs/index.cjs.map +1 -1
  14. package/dist/compat/nestjs/index.d.cts +4 -4
  15. package/dist/compat/nestjs/index.d.ts +4 -4
  16. package/dist/compat/nestjs/index.js +7 -7
  17. package/dist/core/index.cjs +39 -39
  18. package/dist/core/index.cjs.map +1 -1
  19. package/dist/core/index.d.cts +2 -2
  20. package/dist/core/index.d.ts +2 -2
  21. package/dist/core/index.js +5 -5
  22. package/dist/extra/index.cjs +37 -37
  23. package/dist/extra/index.cjs.map +1 -1
  24. package/dist/extra/index.d.cts +4 -4
  25. package/dist/extra/index.d.ts +4 -4
  26. package/dist/extra/index.js +3 -3
  27. package/dist/graph/index.cjs +37 -37
  28. package/dist/graph/index.cjs.map +1 -1
  29. package/dist/graph/index.d.cts +3 -3
  30. package/dist/graph/index.d.ts +3 -3
  31. package/dist/graph/index.js +4 -4
  32. package/dist/{graph-DXT95WZ3.d.ts → graph-BXIK5Dq5.d.ts} +1 -1
  33. package/dist/{graph-BE10ujU9.d.cts → graph-BhADtuFU.d.cts} +1 -1
  34. package/dist/{index-QfbXNW1N.d.cts → index-BNB0KjKe.d.ts} +24 -21
  35. package/dist/{index-C0_7g9sj.d.ts → index-BkToATim.d.ts} +1 -1
  36. package/dist/{index-CiAqgfFg.d.ts → index-CKyYg4IP.d.ts} +3 -3
  37. package/dist/{index-CCvzN5GB.d.cts → index-DANO9Gg7.d.cts} +2 -2
  38. package/dist/{index-CthwPnHQ.d.cts → index-DBhLjWSV.d.cts} +3 -3
  39. package/dist/{index-Dzdm20sx.d.ts → index-DKIyo4Bq.d.cts} +24 -21
  40. package/dist/{index-53cDGX7F.d.ts → index-DSp5R3Xq.d.ts} +3 -3
  41. package/dist/{index-aBZ2RoP0.d.cts → index-Dqemj9q0.d.cts} +3 -3
  42. package/dist/{index-nRulwTr-.d.cts → index-Wa8jXne6.d.cts} +1 -1
  43. package/dist/{index-B10Q0sQB.d.ts → index-fYObbpUw.d.ts} +2 -2
  44. package/dist/index.cjs +53 -53
  45. package/dist/index.cjs.map +1 -1
  46. package/dist/index.d.cts +12 -12
  47. package/dist/index.d.ts +12 -12
  48. package/dist/index.js +11 -11
  49. package/dist/{meta-BcuDhtwu.d.cts → meta-CrZUQAJ6.d.cts} +1 -1
  50. package/dist/{meta-BcuDhtwu.d.ts → meta-CrZUQAJ6.d.ts} +1 -1
  51. package/dist/patterns/reactive-layout/index.cjs +50 -50
  52. package/dist/patterns/reactive-layout/index.cjs.map +1 -1
  53. package/dist/patterns/reactive-layout/index.d.cts +3 -3
  54. package/dist/patterns/reactive-layout/index.d.ts +3 -3
  55. package/dist/patterns/reactive-layout/index.js +4 -4
  56. package/dist/{reactive-log-OULQssZg.d.cts → reactive-log-ChbpUrY2.d.cts} +2 -2
  57. package/dist/{reactive-log-Cu0VdqkT.d.ts → reactive-log-DV--7BWd.d.ts} +2 -2
  58. package/package.json +1 -1
  59. package/dist/chunk-4F2ZFD5L.js.map +0 -1
  60. package/dist/chunk-JYRHO63K.js.map +0 -1
  61. /package/dist/{chunk-XWMTVV2D.js.map → chunk-5RN7NBNG.js.map} +0 -0
  62. /package/dist/{chunk-BRPCN2HJ.js.map → chunk-H4UFM6WD.js.map} +0 -0
  63. /package/dist/{chunk-NULSP7U4.js.map → chunk-HA6QMDKQ.js.map} +0 -0
  64. /package/dist/{chunk-X732W3QA.js.map → chunk-KNGOJEYP.js.map} +0 -0
  65. /package/dist/{chunk-6OLNYOGU.js.map → chunk-PFMXKG4Y.js.map} +0 -0
  66. /package/dist/{chunk-IXTW3BIO.js.map → chunk-QOGWU5K7.js.map} +0 -0
  67. /package/dist/{chunk-VQWLA6XQ.js.map → chunk-UQI4GAHD.js.map} +0 -0
@@ -1,7 +1,7 @@
1
- export { o as observeGraph$, c as observeNode$, t as toMessages$, d as toObservable } from '../../reactive-log-OULQssZg.cjs';
2
- export { A as ACTOR_KEY, a as ActorExtractor, C as COMMAND_HANDLERS, b as CQRS_EVENT_HANDLERS, d as CRON_HANDLERS, e as CommandHandler, f as CommandHandlerMeta, E as EVENT_HANDLERS, g as EventHandler, h as EventHandlerMeta, G as GRAPHREFLY_REQUEST_GRAPH, j as GRAPHREFLY_ROOT_GRAPH, k as GraphCron, l as GraphCronMeta, m as GraphInterval, n as GraphIntervalMeta, o as GraphReflyCqrsOptions, p as GraphReflyEventExplorer, q as GraphReflyFeatureOptions, r as GraphReflyGuard, s as GraphReflyGuardImpl, t as GraphReflyModule, u as GraphReflyRootOptions, I as INTERVAL_HANDLERS, v as InjectCqrsGraph, w as InjectGraph, x as InjectNode, O as ObserveGateway, y as ObserveGatewayOptions, z as ObserveSSEOptions, B as ObserveSubscriptionOptions, D as ObserveWsCommand, F as ObserveWsMessage, H as OnGraphEvent, J as OnGraphEventMeta, Q as QUERY_HANDLERS, K as QueryHandler, L as QueryHandlerMeta, S as SAGA_HANDLERS, M as SagaHandler, N as SagaHandlerMeta, P as fromHeader, R as fromJwtPayload, T as getActor, U as getGraphToken, V as getNodeToken, W as observeSSE, X as observeSubscription } from '../../index-aBZ2RoP0.cjs';
1
+ export { o as observeGraph$, c as observeNode$, t as toMessages$, d as toObservable } from '../../reactive-log-ChbpUrY2.cjs';
2
+ export { A as ACTOR_KEY, a as ActorExtractor, C as COMMAND_HANDLERS, b as CQRS_EVENT_HANDLERS, d as CRON_HANDLERS, e as CommandHandler, f as CommandHandlerMeta, E as EVENT_HANDLERS, g as EventHandler, h as EventHandlerMeta, G as GRAPHREFLY_REQUEST_GRAPH, j as GRAPHREFLY_ROOT_GRAPH, k as GraphCron, l as GraphCronMeta, m as GraphInterval, n as GraphIntervalMeta, o as GraphReflyCqrsOptions, p as GraphReflyEventExplorer, q as GraphReflyFeatureOptions, r as GraphReflyGuard, s as GraphReflyGuardImpl, t as GraphReflyModule, u as GraphReflyRootOptions, I as INTERVAL_HANDLERS, v as InjectCqrsGraph, w as InjectGraph, x as InjectNode, O as ObserveGateway, y as ObserveGatewayOptions, z as ObserveSSEOptions, B as ObserveSubscriptionOptions, D as ObserveWsCommand, F as ObserveWsMessage, H as OnGraphEvent, J as OnGraphEventMeta, Q as QUERY_HANDLERS, K as QueryHandler, L as QueryHandlerMeta, S as SAGA_HANDLERS, M as SagaHandler, N as SagaHandlerMeta, P as fromHeader, R as fromJwtPayload, T as getActor, U as getGraphToken, V as getNodeToken, W as observeSSE, X as observeSubscription } from '../../index-Dqemj9q0.cjs';
3
3
  import 'rxjs';
4
- import '../../meta-BcuDhtwu.cjs';
5
- import '../../graph-BE10ujU9.cjs';
4
+ import '../../meta-CrZUQAJ6.cjs';
5
+ import '../../graph-BhADtuFU.cjs';
6
6
  import '@nestjs/common';
7
7
  import '@nestjs/core';
@@ -1,7 +1,7 @@
1
- export { o as observeGraph$, c as observeNode$, t as toMessages$, d as toObservable } from '../../reactive-log-Cu0VdqkT.js';
2
- export { A as ACTOR_KEY, a as ActorExtractor, C as COMMAND_HANDLERS, b as CQRS_EVENT_HANDLERS, d as CRON_HANDLERS, e as CommandHandler, f as CommandHandlerMeta, E as EVENT_HANDLERS, g as EventHandler, h as EventHandlerMeta, G as GRAPHREFLY_REQUEST_GRAPH, j as GRAPHREFLY_ROOT_GRAPH, k as GraphCron, l as GraphCronMeta, m as GraphInterval, n as GraphIntervalMeta, o as GraphReflyCqrsOptions, p as GraphReflyEventExplorer, q as GraphReflyFeatureOptions, r as GraphReflyGuard, s as GraphReflyGuardImpl, t as GraphReflyModule, u as GraphReflyRootOptions, I as INTERVAL_HANDLERS, v as InjectCqrsGraph, w as InjectGraph, x as InjectNode, O as ObserveGateway, y as ObserveGatewayOptions, z as ObserveSSEOptions, B as ObserveSubscriptionOptions, D as ObserveWsCommand, F as ObserveWsMessage, H as OnGraphEvent, J as OnGraphEventMeta, Q as QUERY_HANDLERS, K as QueryHandler, L as QueryHandlerMeta, S as SAGA_HANDLERS, M as SagaHandler, N as SagaHandlerMeta, P as fromHeader, R as fromJwtPayload, T as getActor, U as getGraphToken, V as getNodeToken, W as observeSSE, X as observeSubscription } from '../../index-53cDGX7F.js';
1
+ export { o as observeGraph$, c as observeNode$, t as toMessages$, d as toObservable } from '../../reactive-log-DV--7BWd.js';
2
+ export { A as ACTOR_KEY, a as ActorExtractor, C as COMMAND_HANDLERS, b as CQRS_EVENT_HANDLERS, d as CRON_HANDLERS, e as CommandHandler, f as CommandHandlerMeta, E as EVENT_HANDLERS, g as EventHandler, h as EventHandlerMeta, G as GRAPHREFLY_REQUEST_GRAPH, j as GRAPHREFLY_ROOT_GRAPH, k as GraphCron, l as GraphCronMeta, m as GraphInterval, n as GraphIntervalMeta, o as GraphReflyCqrsOptions, p as GraphReflyEventExplorer, q as GraphReflyFeatureOptions, r as GraphReflyGuard, s as GraphReflyGuardImpl, t as GraphReflyModule, u as GraphReflyRootOptions, I as INTERVAL_HANDLERS, v as InjectCqrsGraph, w as InjectGraph, x as InjectNode, O as ObserveGateway, y as ObserveGatewayOptions, z as ObserveSSEOptions, B as ObserveSubscriptionOptions, D as ObserveWsCommand, F as ObserveWsMessage, H as OnGraphEvent, J as OnGraphEventMeta, Q as QUERY_HANDLERS, K as QueryHandler, L as QueryHandlerMeta, S as SAGA_HANDLERS, M as SagaHandler, N as SagaHandlerMeta, P as fromHeader, R as fromJwtPayload, T as getActor, U as getGraphToken, V as getNodeToken, W as observeSSE, X as observeSubscription } from '../../index-DSp5R3Xq.js';
3
3
  import 'rxjs';
4
- import '../../meta-BcuDhtwu.js';
5
- import '../../graph-DXT95WZ3.js';
4
+ import '../../meta-CrZUQAJ6.js';
5
+ import '../../graph-BXIK5Dq5.js';
6
6
  import '@nestjs/common';
7
7
  import '@nestjs/core';
@@ -31,19 +31,19 @@ import {
31
31
  getNodeToken,
32
32
  observeSSE,
33
33
  observeSubscription
34
- } from "../../chunk-NULSP7U4.js";
35
- import "../../chunk-XWMTVV2D.js";
36
- import "../../chunk-IXTW3BIO.js";
34
+ } from "../../chunk-HA6QMDKQ.js";
35
+ import "../../chunk-5RN7NBNG.js";
36
+ import "../../chunk-QOGWU5K7.js";
37
37
  import {
38
38
  observeGraph$,
39
39
  observeNode$,
40
40
  toMessages$,
41
41
  toObservable
42
- } from "../../chunk-X732W3QA.js";
42
+ } from "../../chunk-KNGOJEYP.js";
43
43
  import "../../chunk-WZ2Z2CRV.js";
44
- import "../../chunk-VQWLA6XQ.js";
45
- import "../../chunk-6OLNYOGU.js";
46
- import "../../chunk-4F2ZFD5L.js";
44
+ import "../../chunk-UQI4GAHD.js";
45
+ import "../../chunk-PFMXKG4Y.js";
46
+ import "../../chunk-6B2ZCCNN.js";
47
47
  export {
48
48
  ACTOR_KEY,
49
49
  COMMAND_HANDLERS,
@@ -44,9 +44,9 @@ __export(core_exports, {
44
44
  defaultHash: () => defaultHash,
45
45
  derived: () => derived,
46
46
  describeNode: () => describeNode,
47
+ downWithBatch: () => downWithBatch,
47
48
  dynamicNode: () => dynamicNode,
48
49
  effect: () => effect,
49
- emitWithBatch: () => emitWithBatch,
50
50
  isBatching: () => isBatching,
51
51
  isKnownMessageType: () => isKnownMessageType,
52
52
  isPhase2Message: () => isPhase2Message,
@@ -233,12 +233,12 @@ function partitionForBatch(messages) {
233
233
  }
234
234
  return { immediate, deferred, terminal };
235
235
  }
236
- function emitWithBatch(emit, messages, phase = 2, options) {
236
+ function downWithBatch(sink, messages, phase = 2, options) {
237
237
  if (messages.length === 0) {
238
238
  return;
239
239
  }
240
240
  if (options?.strategy === "sequential") {
241
- _emitSequential(emit, messages, phase);
241
+ _downSequential(sink, messages, phase);
242
242
  return;
243
243
  }
244
244
  const queue = phase === 3 ? pendingPhase3 : pendingPhase2;
@@ -246,61 +246,61 @@ function emitWithBatch(emit, messages, phase = 2, options) {
246
246
  const t = messages[0][0];
247
247
  if (t === DATA || t === RESOLVED) {
248
248
  if (isBatching()) {
249
- queue.push(() => emit(messages));
249
+ queue.push(() => sink(messages));
250
250
  } else {
251
- emit(messages);
251
+ sink(messages);
252
252
  }
253
253
  } else if (isTerminalMessage(t)) {
254
254
  if (isBatching()) {
255
- queue.push(() => emit(messages));
255
+ queue.push(() => sink(messages));
256
256
  } else {
257
- emit(messages);
257
+ sink(messages);
258
258
  }
259
259
  } else {
260
- emit(messages);
260
+ sink(messages);
261
261
  }
262
262
  return;
263
263
  }
264
264
  const { immediate, deferred, terminal } = partitionForBatch(messages);
265
265
  if (immediate.length > 0) {
266
- emit(immediate);
266
+ sink(immediate);
267
267
  }
268
268
  if (isBatching()) {
269
269
  if (deferred.length > 0) {
270
- queue.push(() => emit(deferred));
270
+ queue.push(() => sink(deferred));
271
271
  }
272
272
  if (terminal.length > 0) {
273
- queue.push(() => emit(terminal));
273
+ queue.push(() => sink(terminal));
274
274
  }
275
275
  } else {
276
276
  if (deferred.length > 0) {
277
- emit(deferred);
277
+ sink(deferred);
278
278
  }
279
279
  if (terminal.length > 0) {
280
- emit(terminal);
280
+ sink(terminal);
281
281
  }
282
282
  }
283
283
  }
284
- function _emitSequential(emit, messages, phase = 2) {
284
+ function _downSequential(sink, messages, phase = 2) {
285
285
  const dataQueue = phase === 3 ? pendingPhase3 : pendingPhase2;
286
286
  for (const msg of messages) {
287
287
  const tier = messageTier(msg[0]);
288
288
  if (tier === 2) {
289
289
  if (isBatching()) {
290
290
  const m = msg;
291
- dataQueue.push(() => emit([m]));
291
+ dataQueue.push(() => sink([m]));
292
292
  } else {
293
- emit([msg]);
293
+ sink([msg]);
294
294
  }
295
295
  } else if (tier >= 3) {
296
296
  if (isBatching()) {
297
297
  const m = msg;
298
- pendingPhase3.push(() => emit([m]));
298
+ pendingPhase3.push(() => sink([m]));
299
299
  } else {
300
- emit([msg]);
300
+ sink([msg]);
301
301
  }
302
302
  } else {
303
- emit([msg]);
303
+ sink([msg]);
304
304
  }
305
305
  }
306
306
  }
@@ -588,7 +588,7 @@ var NodeImpl = class {
588
588
  _singleDepSinks = /* @__PURE__ */ new WeakSet();
589
589
  _upstreamUnsubs = [];
590
590
  _actions;
591
- _boundEmitToSinks;
591
+ _boundDownToSinks;
592
592
  _inspectorHook;
593
593
  _versioning;
594
594
  _hashFn;
@@ -635,7 +635,7 @@ var NodeImpl = class {
635
635
  },
636
636
  emit(value) {
637
637
  self._manualEmitUsed = true;
638
- self._emitAutoValue(value);
638
+ self._downAutoValue(value);
639
639
  },
640
640
  up(messages) {
641
641
  self._upInternal(messages);
@@ -643,7 +643,7 @@ var NodeImpl = class {
643
643
  };
644
644
  this.down = this.down.bind(this);
645
645
  this.up = this.up.bind(this);
646
- this._boundEmitToSinks = this._emitToSinks.bind(this);
646
+ this._boundDownToSinks = this._downToSinks.bind(this);
647
647
  }
648
648
  get name() {
649
649
  return this._registryName ?? this._optsName;
@@ -749,12 +749,12 @@ var NodeImpl = class {
749
749
  if (sinkMessages[i][0] !== DIRTY) filtered.push(sinkMessages[i]);
750
750
  }
751
751
  if (filtered.length > 0) {
752
- emitWithBatch(this._boundEmitToSinks, filtered);
752
+ downWithBatch(this._boundDownToSinks, filtered);
753
753
  }
754
754
  return;
755
755
  }
756
756
  }
757
- emitWithBatch(this._boundEmitToSinks, sinkMessages);
757
+ downWithBatch(this._boundDownToSinks, sinkMessages);
758
758
  }
759
759
  subscribe(sink, hints) {
760
760
  if (hints?.actor != null && this._guard != null) {
@@ -841,7 +841,7 @@ var NodeImpl = class {
841
841
  this._disconnectUpstream();
842
842
  }
843
843
  // --- Private methods (prototype, _ prefix) ---
844
- _emitToSinks(messages) {
844
+ _downToSinks(messages) {
845
845
  if (this._sinks == null) return;
846
846
  if (typeof this._sinks === "function") {
847
847
  this._sinks(messages);
@@ -903,7 +903,7 @@ var NodeImpl = class {
903
903
  _canSkipDirty() {
904
904
  return this._sinkCount === 1 && this._singleDepSinkCount === 1;
905
905
  }
906
- _emitAutoValue(value) {
906
+ _downAutoValue(value) {
907
907
  const wasDirty = this._status === "dirty";
908
908
  let unchanged;
909
909
  try {
@@ -956,7 +956,7 @@ var NodeImpl = class {
956
956
  this._cleanup = out.cleanup;
957
957
  if (this._manualEmitUsed) return;
958
958
  if ("value" in out) {
959
- this._emitAutoValue(out.value);
959
+ this._downAutoValue(out.value);
960
960
  }
961
961
  return;
962
962
  }
@@ -966,7 +966,7 @@ var NodeImpl = class {
966
966
  }
967
967
  if (this._manualEmitUsed) return;
968
968
  if (out === void 0) return;
969
- this._emitAutoValue(out);
969
+ this._downAutoValue(out);
970
970
  } catch (err) {
971
971
  const errMsg = err instanceof Error ? err.message : String(err);
972
972
  const wrapped = new Error(`Node "${this.name}": fn threw: ${errMsg}`, { cause: err });
@@ -1194,7 +1194,7 @@ var DynamicNodeImpl = class {
1194
1194
  _singleDepSinks = /* @__PURE__ */ new WeakSet();
1195
1195
  // Actions object (for onMessage handler)
1196
1196
  _actions;
1197
- _boundEmitToSinks;
1197
+ _boundDownToSinks;
1198
1198
  // Mutable state
1199
1199
  _cached = NO_VALUE;
1200
1200
  _status = "disconnected";
@@ -1241,7 +1241,7 @@ var DynamicNodeImpl = class {
1241
1241
  self._downInternal(messages);
1242
1242
  },
1243
1243
  emit(value) {
1244
- self._emitAutoValue(value);
1244
+ self._downAutoValue(value);
1245
1245
  },
1246
1246
  up(messages) {
1247
1247
  for (const dep of self._deps) {
@@ -1249,7 +1249,7 @@ var DynamicNodeImpl = class {
1249
1249
  }
1250
1250
  }
1251
1251
  };
1252
- this._boundEmitToSinks = this._emitToSinks.bind(this);
1252
+ this._boundDownToSinks = this._downToSinks.bind(this);
1253
1253
  }
1254
1254
  get name() {
1255
1255
  return this._registryName ?? this._optsName;
@@ -1329,12 +1329,12 @@ var DynamicNodeImpl = class {
1329
1329
  if (sinkMessages[i][0] !== DIRTY) filtered.push(sinkMessages[i]);
1330
1330
  }
1331
1331
  if (filtered.length > 0) {
1332
- emitWithBatch(this._boundEmitToSinks, filtered);
1332
+ downWithBatch(this._boundDownToSinks, filtered);
1333
1333
  }
1334
1334
  return;
1335
1335
  }
1336
1336
  }
1337
- emitWithBatch(this._boundEmitToSinks, sinkMessages);
1337
+ downWithBatch(this._boundDownToSinks, sinkMessages);
1338
1338
  }
1339
1339
  _canSkipDirty() {
1340
1340
  return this._sinkCount === 1 && this._singleDepSinkCount === 1;
@@ -1410,7 +1410,7 @@ var DynamicNodeImpl = class {
1410
1410
  this._disconnect();
1411
1411
  }
1412
1412
  // --- Private methods ---
1413
- _emitToSinks(messages) {
1413
+ _downToSinks(messages) {
1414
1414
  if (this._sinks == null) return;
1415
1415
  if (typeof this._sinks === "function") {
1416
1416
  this._sinks(messages);
@@ -1464,7 +1464,7 @@ var DynamicNodeImpl = class {
1464
1464
  }
1465
1465
  }
1466
1466
  }
1467
- _emitAutoValue(value) {
1467
+ _downAutoValue(value) {
1468
1468
  const wasDirty = this._status === "dirty";
1469
1469
  let unchanged;
1470
1470
  try {
@@ -1524,7 +1524,7 @@ var DynamicNodeImpl = class {
1524
1524
  const result = this._fn(get);
1525
1525
  this._rewire(trackedDeps);
1526
1526
  if (result === void 0) return;
1527
- this._emitAutoValue(result);
1527
+ this._downAutoValue(result);
1528
1528
  } catch (err) {
1529
1529
  this._downInternal([[ERROR, err]]);
1530
1530
  }
@@ -1588,14 +1588,14 @@ var DynamicNodeImpl = class {
1588
1588
  this._dirtyBits.add(index);
1589
1589
  this._settledBits.delete(index);
1590
1590
  if (this._dirtyBits.size === 1) {
1591
- emitWithBatch(this._boundEmitToSinks, [[DIRTY]]);
1591
+ downWithBatch(this._boundDownToSinks, [[DIRTY]]);
1592
1592
  }
1593
1593
  continue;
1594
1594
  }
1595
1595
  if (t === DATA || t === RESOLVED) {
1596
1596
  if (!this._dirtyBits.has(index)) {
1597
1597
  this._dirtyBits.add(index);
1598
- emitWithBatch(this._boundEmitToSinks, [[DIRTY]]);
1598
+ downWithBatch(this._boundDownToSinks, [[DIRTY]]);
1599
1599
  }
1600
1600
  this._settledBits.add(index);
1601
1601
  if (this._allDirtySettled()) {
@@ -1806,9 +1806,9 @@ var ResettableTimer = class {
1806
1806
  defaultHash,
1807
1807
  derived,
1808
1808
  describeNode,
1809
+ downWithBatch,
1809
1810
  dynamicNode,
1810
1811
  effect,
1811
- emitWithBatch,
1812
1812
  isBatching,
1813
1813
  isKnownMessageType,
1814
1814
  isPhase2Message,