@graphrefly/graphrefly 0.12.0 → 0.14.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.
- package/README.md +1 -1
- package/dist/{chunk-NULSP7U4.js → chunk-2ZICUAUJ.js} +4 -4
- package/dist/{chunk-BRPCN2HJ.js → chunk-4APC3AFN.js} +3 -3
- package/dist/{chunk-VQWLA6XQ.js → chunk-CRACCCJY.js} +3 -3
- package/dist/{chunk-JYRHO63K.js → chunk-GKRKDYNT.js} +17 -17
- package/dist/chunk-GKRKDYNT.js.map +1 -0
- package/dist/{chunk-4F2ZFD5L.js → chunk-H243FWYP.js} +50 -51
- package/dist/chunk-H243FWYP.js.map +1 -0
- package/dist/{chunk-X732W3QA.js → chunk-QVYZD65U.js} +2 -2
- package/dist/{chunk-6OLNYOGU.js → chunk-XQ4UMAU7.js} +2 -2
- package/dist/{chunk-XWMTVV2D.js → chunk-YW6LFCFS.js} +5 -5
- package/dist/{chunk-IXTW3BIO.js → chunk-ZHTHUX5D.js} +3 -3
- package/dist/compat/nestjs/index.cjs +48 -49
- package/dist/compat/nestjs/index.cjs.map +1 -1
- package/dist/compat/nestjs/index.d.cts +4 -4
- package/dist/compat/nestjs/index.d.ts +4 -4
- package/dist/compat/nestjs/index.js +7 -7
- package/dist/core/index.cjs +50 -51
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.cts +2 -2
- package/dist/core/index.d.ts +2 -2
- package/dist/core/index.js +5 -5
- package/dist/extra/index.cjs +48 -49
- package/dist/extra/index.cjs.map +1 -1
- package/dist/extra/index.d.cts +4 -4
- package/dist/extra/index.d.ts +4 -4
- package/dist/extra/index.js +3 -3
- package/dist/graph/index.cjs +40 -37
- package/dist/graph/index.cjs.map +1 -1
- package/dist/graph/index.d.cts +3 -3
- package/dist/graph/index.d.ts +3 -3
- package/dist/graph/index.js +4 -4
- package/dist/{graph-DXT95WZ3.d.ts → graph-BXIK5Dq5.d.ts} +1 -1
- package/dist/{graph-BE10ujU9.d.cts → graph-BhADtuFU.d.cts} +1 -1
- package/dist/{index-QfbXNW1N.d.cts → index-BNB0KjKe.d.ts} +24 -21
- package/dist/{index-C0_7g9sj.d.ts → index-BkToATim.d.ts} +1 -1
- package/dist/{index-CiAqgfFg.d.ts → index-CKyYg4IP.d.ts} +3 -3
- package/dist/{index-CCvzN5GB.d.cts → index-DANO9Gg7.d.cts} +2 -2
- package/dist/{index-CthwPnHQ.d.cts → index-DBhLjWSV.d.cts} +3 -3
- package/dist/{index-Dzdm20sx.d.ts → index-DKIyo4Bq.d.cts} +24 -21
- package/dist/{index-53cDGX7F.d.ts → index-DSp5R3Xq.d.ts} +3 -3
- package/dist/{index-aBZ2RoP0.d.cts → index-Dqemj9q0.d.cts} +3 -3
- package/dist/{index-nRulwTr-.d.cts → index-Wa8jXne6.d.cts} +1 -1
- package/dist/{index-B10Q0sQB.d.ts → index-fYObbpUw.d.ts} +2 -2
- package/dist/index.cjs +443 -68
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +369 -66
- package/dist/index.d.ts +369 -66
- package/dist/index.js +397 -22
- package/dist/index.js.map +1 -1
- package/dist/{meta-BcuDhtwu.d.cts → meta-CrZUQAJ6.d.cts} +1 -1
- package/dist/{meta-BcuDhtwu.d.ts → meta-CrZUQAJ6.d.ts} +1 -1
- package/dist/patterns/reactive-layout/index.cjs +53 -50
- package/dist/patterns/reactive-layout/index.cjs.map +1 -1
- package/dist/patterns/reactive-layout/index.d.cts +3 -3
- package/dist/patterns/reactive-layout/index.d.ts +3 -3
- package/dist/patterns/reactive-layout/index.js +4 -4
- package/dist/{reactive-log-OULQssZg.d.cts → reactive-log-ChbpUrY2.d.cts} +2 -2
- package/dist/{reactive-log-Cu0VdqkT.d.ts → reactive-log-DV--7BWd.d.ts} +2 -2
- package/package.json +3 -1
- package/dist/chunk-4F2ZFD5L.js.map +0 -1
- package/dist/chunk-JYRHO63K.js.map +0 -1
- /package/dist/{chunk-NULSP7U4.js.map → chunk-2ZICUAUJ.js.map} +0 -0
- /package/dist/{chunk-BRPCN2HJ.js.map → chunk-4APC3AFN.js.map} +0 -0
- /package/dist/{chunk-VQWLA6XQ.js.map → chunk-CRACCCJY.js.map} +0 -0
- /package/dist/{chunk-X732W3QA.js.map → chunk-QVYZD65U.js.map} +0 -0
- /package/dist/{chunk-6OLNYOGU.js.map → chunk-XQ4UMAU7.js.map} +0 -0
- /package/dist/{chunk-XWMTVV2D.js.map → chunk-YW6LFCFS.js.map} +0 -0
- /package/dist/{chunk-IXTW3BIO.js.map → chunk-ZHTHUX5D.js.map} +0 -0
package/dist/extra/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { A as AdapterHandlers, b as AsyncSourceOpts, B as BackoffPreset, c as BackoffStrategy, d as BatchMessage, e as BridgeMessage, f as BufferedSinkHandle, C as CSVRow, g as CacheEvictionPolicy, h as CacheTier, i as CascadingCache, j as CascadingCacheOptions, k as CheckpointAdapter, l as CheckpointToRedisOptions, m as CheckpointToS3Options, n as CircuitBreaker, o as CircuitBreakerOptions, p as CircuitOpenError, q as CircuitState, r as ClickHouseClientLike, s as ClickHouseInsertClientLike, t as ClickHouseRow, u as CronSchedule, v as DictCheckpointAdapter, D as DistillBundle, w as DistillOptions, x as DrizzleQueryLike, y as ErrorMessage, z as EventTargetLike, F as ExponentialBackoffOptions, E as Extraction, G as FSEvent, H as FSEventType, I as FileCheckpointAdapter, J as FileWriterLike, K as FromCSVOptions, L as FromClickHouseWatchOptions, M as FromCronOptions, O as FromDrizzleOptions, P as FromFSWatchOptions, Q as FromGitHookOptions, S as FromHTTPOptions, T as FromKafkaOptions, U as FromKyselyOptions, V as FromMCPOptions, W as FromNATSOptions, X as FromNDJSONOptions, Y as FromOTelOptions, Z as FromPrismaOptions, _ as FromPrometheusOptions, $ as FromPulsarOptions, a0 as FromRabbitMQOptions, a1 as FromRedisStreamOptions, a2 as FromSqliteOptions, a3 as FromStatsDOptions, a4 as FromSyslogOptions, a5 as GitEvent, a6 as GitHookType, a7 as HTTPBundle, a8 as IndexRow, a9 as IndexedDbCheckpointSpec, aa as InitMessage, ab as JitterMode, ac as KafkaConsumerLike, ad as KafkaMessage, ae as KafkaProducerLike, af as KyselyQueryLike, ag as LokiClientLike, ah as LokiStream, ai as MCPClientLike, aj as MemoryCheckpointAdapter, ak as MergeMapOptions, al as MongoCollectionLike, am as NATSClientLike, an as NATSMessage, ao as NATSSubscriptionLike, ap as NS_PER_MS, aq as NS_PER_SEC, N as NodeInput, ar as OTelBundle, as as OTelLog, at as OTelMetric, au as OTelRegister, av as OTelSpan, aw as PostgresClientLike, ax as PrismaModelLike, ay as PrometheusMetric, az as PubSubHub, aA as PulsarConsumerLike, aB as PulsarMessage, aC as PulsarProducerLike, aD as RabbitMQChannelLike, aE as RabbitMQMessage, aF as ReactiveIndexBundle, aG as ReactiveIndexOptions, aH as ReactiveIndexSnapshot, aI as ReactiveListBundle, aJ as ReactiveListOptions, R as ReactiveListSnapshot, aK as ReactiveMapBundle, aL as ReactiveMapOptions, a as ReactiveMapSnapshot, aM as ReadyMessage, aN as RedisCheckpointClientLike, aO as RedisClientLike, aP as RedisStreamEntry, aQ as RetryOptions, aR as S3ClientLike, aS as SignalMessage, aT as SinkHandle, aU as SinkTransportError, aV as SqliteCheckpointAdapter, aW as SqliteDbLike, aX as StatsDMetric, aY as StatsDRegister, aZ as StatusValue, a_ as SyslogMessage, a$ as SyslogRegister, b0 as TapObserver, b1 as TempoClientLike, b2 as ThrottleOptions, b3 as TieredStorage, b4 as TieredStorageOptions, b5 as TimeoutError, b6 as ToCSVOptions, b7 as ToClickHouseOptions, b8 as ToFileOptions, b9 as ToKafkaOptions, ba as ToLokiOptions, bb as ToMongoOptions, bc as ToNATSOptions, bd as ToPostgresOptions, be as ToPulsarOptions, bf as ToRabbitMQOptions, bg as ToRedisStreamOptions, bh as ToS3Options, bi as ToSSEOptions, bj as ToSqliteOptions, bk as ToTempoOptions, bl as ToWebSocketOptions, bm as ToWebSocketTransportError, bn as TokenBucket, bo as ValueMessage, bp as VerifiableBundle, bq as VerifiableOptions, br as VerifyValue, bs as WatermarkController, bt as WatermarkOptions, bu as WebSocketLike, bv as WebSocketMessageEventLike, bw as WebSocketRegister, bx as WebhookRegister, by as WithBreakerBundle, bz as WithStatusBundle, bA as WorkerBridge, bB as WorkerBridgeOptions, bC as WorkerSelfHandle, bD as WorkerSelfOptions, bE as WorkerTransport, bF as audit, bG as buffer, bH as bufferCount, bI as bufferTime, bJ as cache, bK as cached, bL as cascadingCache, bM as catchError, bN as checkpointNodeValue, bO as checkpointToRedis, bP as checkpointToS3, bQ as circuitBreaker, bR as combine, bS as combineLatest, bT as concat, bU as concatMap, bV as constant, bW as createTransport, bX as createWatermarkController, bY as debounce, bZ as debounceTime, b_ as decorrelatedJitter, b$ as delay, c0 as deserializeError, c1 as distill, c2 as distinctUntilChanged, c3 as elementAt, c4 as empty, c5 as escapeRegexChar, c6 as exhaustMap, c7 as exponential, c9 as fallback, ca as fibonacci, cb as filter, cc as find, cd as first, ce as firstValueFrom, cf as flatMap, cg as forEach, ch as fromAny, ci as fromAsyncIter, cj as fromCSV, ck as fromClickHouseWatch, cl as fromCron, cm as fromDrizzle, cn as fromEvent, co as fromFSWatch, cp as fromGitHook, cq as fromHTTP, cr as fromIDBRequest, cs as fromIDBTransaction, ct as fromIter, cu as fromKafka, cv as fromKysely, cw as fromMCP, cx as fromNATS, cy as fromNDJSON, cz as fromOTel, cA as fromPrisma, cB as fromPrometheus, cC as fromPromise, cD as fromPulsar, cE as fromRabbitMQ, cF as fromRedisStream, cG as fromSqlite, cH as fromStatsD, cI as fromSyslog, cJ as fromTimer, cK as fromWebSocket, cL as fromWebhook, cM as globToRegExp, cN as interval, cO as last, cP as linear, cQ as lru, cR as map, cS as matchesAnyPattern, cT as matchesCron, cU as merge, cV as mergeMap, cW as nameToSignal, cX as never, cY as of, cZ as pairwise, c_ as parseCron, c$ as parsePrometheusText, d0 as parseStatsD, d1 as parseSyslog, d2 as pausable, d3 as pubsub, d4 as race, d5 as rateLimiter, d6 as reactiveIndex, d7 as reactiveList, d8 as reactiveMap, d9 as reduce, da as repeat, db as replay, dc as rescue, dd as resolveBackoffPreset, de as restoreGraphCheckpoint, df as restoreGraphCheckpointIndexedDb, dg as retry, dh as sample, di as saveGraphCheckpoint, dj as saveGraphCheckpointIndexedDb, dk as scan, dl as serializeError, dm as share, dn as shareReplay, dp as signalToName, dq as skip, dr as startWith, ds as switchMap, dt as take, du as takeUntil, dv as takeWhile, dw as tap, dx as throttle, dy as throttleTime, dz as throwError, dA as tieredStorage, dB as timeout, dC as toArray, dD as toCSV, dE as toClickHouse, dF as toFile, dG as toKafka, dH as toLoki, dI as toMongo, dJ as toNATS, dK as toPostgres, dL as toPulsar, dM as toRabbitMQ, dN as toRedisStream, dO as toS3, dP as toSSE, dQ as toSqlite, dR as toTempo, dS as toWebSocket, dT as tokenBucket, dU as tokenTracker, dV as valve, dW as verifiable, dX as window, dY as windowCount, dZ as windowTime, d_ as withBreaker, d$ as withLatestFrom, e0 as withMaxAttempts, e1 as withStatus, e2 as workerBridge, e3 as workerSelf, e4 as zip } from '../index-
|
|
2
|
-
export { a as ReactiveLogBundle, b as ReactiveLogOptions, R as ReactiveLogSnapshot, l as logSlice, o as observeGraph$, c as observeNode$, r as reactiveLog, t as toMessages$, d as toObservable } from '../reactive-log-
|
|
3
|
-
import '../meta-
|
|
4
|
-
import '../graph-
|
|
1
|
+
export { A as AdapterHandlers, b as AsyncSourceOpts, B as BackoffPreset, c as BackoffStrategy, d as BatchMessage, e as BridgeMessage, f as BufferedSinkHandle, C as CSVRow, g as CacheEvictionPolicy, h as CacheTier, i as CascadingCache, j as CascadingCacheOptions, k as CheckpointAdapter, l as CheckpointToRedisOptions, m as CheckpointToS3Options, n as CircuitBreaker, o as CircuitBreakerOptions, p as CircuitOpenError, q as CircuitState, r as ClickHouseClientLike, s as ClickHouseInsertClientLike, t as ClickHouseRow, u as CronSchedule, v as DictCheckpointAdapter, D as DistillBundle, w as DistillOptions, x as DrizzleQueryLike, y as ErrorMessage, z as EventTargetLike, F as ExponentialBackoffOptions, E as Extraction, G as FSEvent, H as FSEventType, I as FileCheckpointAdapter, J as FileWriterLike, K as FromCSVOptions, L as FromClickHouseWatchOptions, M as FromCronOptions, O as FromDrizzleOptions, P as FromFSWatchOptions, Q as FromGitHookOptions, S as FromHTTPOptions, T as FromKafkaOptions, U as FromKyselyOptions, V as FromMCPOptions, W as FromNATSOptions, X as FromNDJSONOptions, Y as FromOTelOptions, Z as FromPrismaOptions, _ as FromPrometheusOptions, $ as FromPulsarOptions, a0 as FromRabbitMQOptions, a1 as FromRedisStreamOptions, a2 as FromSqliteOptions, a3 as FromStatsDOptions, a4 as FromSyslogOptions, a5 as GitEvent, a6 as GitHookType, a7 as HTTPBundle, a8 as IndexRow, a9 as IndexedDbCheckpointSpec, aa as InitMessage, ab as JitterMode, ac as KafkaConsumerLike, ad as KafkaMessage, ae as KafkaProducerLike, af as KyselyQueryLike, ag as LokiClientLike, ah as LokiStream, ai as MCPClientLike, aj as MemoryCheckpointAdapter, ak as MergeMapOptions, al as MongoCollectionLike, am as NATSClientLike, an as NATSMessage, ao as NATSSubscriptionLike, ap as NS_PER_MS, aq as NS_PER_SEC, N as NodeInput, ar as OTelBundle, as as OTelLog, at as OTelMetric, au as OTelRegister, av as OTelSpan, aw as PostgresClientLike, ax as PrismaModelLike, ay as PrometheusMetric, az as PubSubHub, aA as PulsarConsumerLike, aB as PulsarMessage, aC as PulsarProducerLike, aD as RabbitMQChannelLike, aE as RabbitMQMessage, aF as ReactiveIndexBundle, aG as ReactiveIndexOptions, aH as ReactiveIndexSnapshot, aI as ReactiveListBundle, aJ as ReactiveListOptions, R as ReactiveListSnapshot, aK as ReactiveMapBundle, aL as ReactiveMapOptions, a as ReactiveMapSnapshot, aM as ReadyMessage, aN as RedisCheckpointClientLike, aO as RedisClientLike, aP as RedisStreamEntry, aQ as RetryOptions, aR as S3ClientLike, aS as SignalMessage, aT as SinkHandle, aU as SinkTransportError, aV as SqliteCheckpointAdapter, aW as SqliteDbLike, aX as StatsDMetric, aY as StatsDRegister, aZ as StatusValue, a_ as SyslogMessage, a$ as SyslogRegister, b0 as TapObserver, b1 as TempoClientLike, b2 as ThrottleOptions, b3 as TieredStorage, b4 as TieredStorageOptions, b5 as TimeoutError, b6 as ToCSVOptions, b7 as ToClickHouseOptions, b8 as ToFileOptions, b9 as ToKafkaOptions, ba as ToLokiOptions, bb as ToMongoOptions, bc as ToNATSOptions, bd as ToPostgresOptions, be as ToPulsarOptions, bf as ToRabbitMQOptions, bg as ToRedisStreamOptions, bh as ToS3Options, bi as ToSSEOptions, bj as ToSqliteOptions, bk as ToTempoOptions, bl as ToWebSocketOptions, bm as ToWebSocketTransportError, bn as TokenBucket, bo as ValueMessage, bp as VerifiableBundle, bq as VerifiableOptions, br as VerifyValue, bs as WatermarkController, bt as WatermarkOptions, bu as WebSocketLike, bv as WebSocketMessageEventLike, bw as WebSocketRegister, bx as WebhookRegister, by as WithBreakerBundle, bz as WithStatusBundle, bA as WorkerBridge, bB as WorkerBridgeOptions, bC as WorkerSelfHandle, bD as WorkerSelfOptions, bE as WorkerTransport, bF as audit, bG as buffer, bH as bufferCount, bI as bufferTime, bJ as cache, bK as cached, bL as cascadingCache, bM as catchError, bN as checkpointNodeValue, bO as checkpointToRedis, bP as checkpointToS3, bQ as circuitBreaker, bR as combine, bS as combineLatest, bT as concat, bU as concatMap, bV as constant, bW as createTransport, bX as createWatermarkController, bY as debounce, bZ as debounceTime, b_ as decorrelatedJitter, b$ as delay, c0 as deserializeError, c1 as distill, c2 as distinctUntilChanged, c3 as elementAt, c4 as empty, c5 as escapeRegexChar, c6 as exhaustMap, c7 as exponential, c9 as fallback, ca as fibonacci, cb as filter, cc as find, cd as first, ce as firstValueFrom, cf as flatMap, cg as forEach, ch as fromAny, ci as fromAsyncIter, cj as fromCSV, ck as fromClickHouseWatch, cl as fromCron, cm as fromDrizzle, cn as fromEvent, co as fromFSWatch, cp as fromGitHook, cq as fromHTTP, cr as fromIDBRequest, cs as fromIDBTransaction, ct as fromIter, cu as fromKafka, cv as fromKysely, cw as fromMCP, cx as fromNATS, cy as fromNDJSON, cz as fromOTel, cA as fromPrisma, cB as fromPrometheus, cC as fromPromise, cD as fromPulsar, cE as fromRabbitMQ, cF as fromRedisStream, cG as fromSqlite, cH as fromStatsD, cI as fromSyslog, cJ as fromTimer, cK as fromWebSocket, cL as fromWebhook, cM as globToRegExp, cN as interval, cO as last, cP as linear, cQ as lru, cR as map, cS as matchesAnyPattern, cT as matchesCron, cU as merge, cV as mergeMap, cW as nameToSignal, cX as never, cY as of, cZ as pairwise, c_ as parseCron, c$ as parsePrometheusText, d0 as parseStatsD, d1 as parseSyslog, d2 as pausable, d3 as pubsub, d4 as race, d5 as rateLimiter, d6 as reactiveIndex, d7 as reactiveList, d8 as reactiveMap, d9 as reduce, da as repeat, db as replay, dc as rescue, dd as resolveBackoffPreset, de as restoreGraphCheckpoint, df as restoreGraphCheckpointIndexedDb, dg as retry, dh as sample, di as saveGraphCheckpoint, dj as saveGraphCheckpointIndexedDb, dk as scan, dl as serializeError, dm as share, dn as shareReplay, dp as signalToName, dq as skip, dr as startWith, ds as switchMap, dt as take, du as takeUntil, dv as takeWhile, dw as tap, dx as throttle, dy as throttleTime, dz as throwError, dA as tieredStorage, dB as timeout, dC as toArray, dD as toCSV, dE as toClickHouse, dF as toFile, dG as toKafka, dH as toLoki, dI as toMongo, dJ as toNATS, dK as toPostgres, dL as toPulsar, dM as toRabbitMQ, dN as toRedisStream, dO as toS3, dP as toSSE, dQ as toSqlite, dR as toTempo, dS as toWebSocket, dT as tokenBucket, dU as tokenTracker, dV as valve, dW as verifiable, dX as window, dY as windowCount, dZ as windowTime, d_ as withBreaker, d$ as withLatestFrom, e0 as withMaxAttempts, e1 as withStatus, e2 as workerBridge, e3 as workerSelf, e4 as zip } from '../index-DBhLjWSV.cjs';
|
|
2
|
+
export { a as ReactiveLogBundle, b as ReactiveLogOptions, R as ReactiveLogSnapshot, l as logSlice, o as observeGraph$, c as observeNode$, r as reactiveLog, t as toMessages$, d as toObservable } from '../reactive-log-ChbpUrY2.cjs';
|
|
3
|
+
import '../meta-CrZUQAJ6.cjs';
|
|
4
|
+
import '../graph-BhADtuFU.cjs';
|
|
5
5
|
import 'rxjs';
|
package/dist/extra/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { A as AdapterHandlers, b as AsyncSourceOpts, B as BackoffPreset, c as BackoffStrategy, d as BatchMessage, e as BridgeMessage, f as BufferedSinkHandle, C as CSVRow, g as CacheEvictionPolicy, h as CacheTier, i as CascadingCache, j as CascadingCacheOptions, k as CheckpointAdapter, l as CheckpointToRedisOptions, m as CheckpointToS3Options, n as CircuitBreaker, o as CircuitBreakerOptions, p as CircuitOpenError, q as CircuitState, r as ClickHouseClientLike, s as ClickHouseInsertClientLike, t as ClickHouseRow, u as CronSchedule, v as DictCheckpointAdapter, D as DistillBundle, w as DistillOptions, x as DrizzleQueryLike, y as ErrorMessage, z as EventTargetLike, F as ExponentialBackoffOptions, E as Extraction, G as FSEvent, H as FSEventType, I as FileCheckpointAdapter, J as FileWriterLike, K as FromCSVOptions, L as FromClickHouseWatchOptions, M as FromCronOptions, O as FromDrizzleOptions, P as FromFSWatchOptions, Q as FromGitHookOptions, S as FromHTTPOptions, T as FromKafkaOptions, U as FromKyselyOptions, V as FromMCPOptions, W as FromNATSOptions, X as FromNDJSONOptions, Y as FromOTelOptions, Z as FromPrismaOptions, _ as FromPrometheusOptions, $ as FromPulsarOptions, a0 as FromRabbitMQOptions, a1 as FromRedisStreamOptions, a2 as FromSqliteOptions, a3 as FromStatsDOptions, a4 as FromSyslogOptions, a5 as GitEvent, a6 as GitHookType, a7 as HTTPBundle, a8 as IndexRow, a9 as IndexedDbCheckpointSpec, aa as InitMessage, ab as JitterMode, ac as KafkaConsumerLike, ad as KafkaMessage, ae as KafkaProducerLike, af as KyselyQueryLike, ag as LokiClientLike, ah as LokiStream, ai as MCPClientLike, aj as MemoryCheckpointAdapter, ak as MergeMapOptions, al as MongoCollectionLike, am as NATSClientLike, an as NATSMessage, ao as NATSSubscriptionLike, ap as NS_PER_MS, aq as NS_PER_SEC, N as NodeInput, ar as OTelBundle, as as OTelLog, at as OTelMetric, au as OTelRegister, av as OTelSpan, aw as PostgresClientLike, ax as PrismaModelLike, ay as PrometheusMetric, az as PubSubHub, aA as PulsarConsumerLike, aB as PulsarMessage, aC as PulsarProducerLike, aD as RabbitMQChannelLike, aE as RabbitMQMessage, aF as ReactiveIndexBundle, aG as ReactiveIndexOptions, aH as ReactiveIndexSnapshot, aI as ReactiveListBundle, aJ as ReactiveListOptions, R as ReactiveListSnapshot, aK as ReactiveMapBundle, aL as ReactiveMapOptions, a as ReactiveMapSnapshot, aM as ReadyMessage, aN as RedisCheckpointClientLike, aO as RedisClientLike, aP as RedisStreamEntry, aQ as RetryOptions, aR as S3ClientLike, aS as SignalMessage, aT as SinkHandle, aU as SinkTransportError, aV as SqliteCheckpointAdapter, aW as SqliteDbLike, aX as StatsDMetric, aY as StatsDRegister, aZ as StatusValue, a_ as SyslogMessage, a$ as SyslogRegister, b0 as TapObserver, b1 as TempoClientLike, b2 as ThrottleOptions, b3 as TieredStorage, b4 as TieredStorageOptions, b5 as TimeoutError, b6 as ToCSVOptions, b7 as ToClickHouseOptions, b8 as ToFileOptions, b9 as ToKafkaOptions, ba as ToLokiOptions, bb as ToMongoOptions, bc as ToNATSOptions, bd as ToPostgresOptions, be as ToPulsarOptions, bf as ToRabbitMQOptions, bg as ToRedisStreamOptions, bh as ToS3Options, bi as ToSSEOptions, bj as ToSqliteOptions, bk as ToTempoOptions, bl as ToWebSocketOptions, bm as ToWebSocketTransportError, bn as TokenBucket, bo as ValueMessage, bp as VerifiableBundle, bq as VerifiableOptions, br as VerifyValue, bs as WatermarkController, bt as WatermarkOptions, bu as WebSocketLike, bv as WebSocketMessageEventLike, bw as WebSocketRegister, bx as WebhookRegister, by as WithBreakerBundle, bz as WithStatusBundle, bA as WorkerBridge, bB as WorkerBridgeOptions, bC as WorkerSelfHandle, bD as WorkerSelfOptions, bE as WorkerTransport, bF as audit, bG as buffer, bH as bufferCount, bI as bufferTime, bJ as cache, bK as cached, bL as cascadingCache, bM as catchError, bN as checkpointNodeValue, bO as checkpointToRedis, bP as checkpointToS3, bQ as circuitBreaker, bR as combine, bS as combineLatest, bT as concat, bU as concatMap, bV as constant, bW as createTransport, bX as createWatermarkController, bY as debounce, bZ as debounceTime, b_ as decorrelatedJitter, b$ as delay, c0 as deserializeError, c1 as distill, c2 as distinctUntilChanged, c3 as elementAt, c4 as empty, c5 as escapeRegexChar, c6 as exhaustMap, c7 as exponential, c9 as fallback, ca as fibonacci, cb as filter, cc as find, cd as first, ce as firstValueFrom, cf as flatMap, cg as forEach, ch as fromAny, ci as fromAsyncIter, cj as fromCSV, ck as fromClickHouseWatch, cl as fromCron, cm as fromDrizzle, cn as fromEvent, co as fromFSWatch, cp as fromGitHook, cq as fromHTTP, cr as fromIDBRequest, cs as fromIDBTransaction, ct as fromIter, cu as fromKafka, cv as fromKysely, cw as fromMCP, cx as fromNATS, cy as fromNDJSON, cz as fromOTel, cA as fromPrisma, cB as fromPrometheus, cC as fromPromise, cD as fromPulsar, cE as fromRabbitMQ, cF as fromRedisStream, cG as fromSqlite, cH as fromStatsD, cI as fromSyslog, cJ as fromTimer, cK as fromWebSocket, cL as fromWebhook, cM as globToRegExp, cN as interval, cO as last, cP as linear, cQ as lru, cR as map, cS as matchesAnyPattern, cT as matchesCron, cU as merge, cV as mergeMap, cW as nameToSignal, cX as never, cY as of, cZ as pairwise, c_ as parseCron, c$ as parsePrometheusText, d0 as parseStatsD, d1 as parseSyslog, d2 as pausable, d3 as pubsub, d4 as race, d5 as rateLimiter, d6 as reactiveIndex, d7 as reactiveList, d8 as reactiveMap, d9 as reduce, da as repeat, db as replay, dc as rescue, dd as resolveBackoffPreset, de as restoreGraphCheckpoint, df as restoreGraphCheckpointIndexedDb, dg as retry, dh as sample, di as saveGraphCheckpoint, dj as saveGraphCheckpointIndexedDb, dk as scan, dl as serializeError, dm as share, dn as shareReplay, dp as signalToName, dq as skip, dr as startWith, ds as switchMap, dt as take, du as takeUntil, dv as takeWhile, dw as tap, dx as throttle, dy as throttleTime, dz as throwError, dA as tieredStorage, dB as timeout, dC as toArray, dD as toCSV, dE as toClickHouse, dF as toFile, dG as toKafka, dH as toLoki, dI as toMongo, dJ as toNATS, dK as toPostgres, dL as toPulsar, dM as toRabbitMQ, dN as toRedisStream, dO as toS3, dP as toSSE, dQ as toSqlite, dR as toTempo, dS as toWebSocket, dT as tokenBucket, dU as tokenTracker, dV as valve, dW as verifiable, dX as window, dY as windowCount, dZ as windowTime, d_ as withBreaker, d$ as withLatestFrom, e0 as withMaxAttempts, e1 as withStatus, e2 as workerBridge, e3 as workerSelf, e4 as zip } from '../index-
|
|
2
|
-
export { a as ReactiveLogBundle, b as ReactiveLogOptions, R as ReactiveLogSnapshot, l as logSlice, o as observeGraph$, c as observeNode$, r as reactiveLog, t as toMessages$, d as toObservable } from '../reactive-log-
|
|
3
|
-
import '../meta-
|
|
4
|
-
import '../graph-
|
|
1
|
+
export { A as AdapterHandlers, b as AsyncSourceOpts, B as BackoffPreset, c as BackoffStrategy, d as BatchMessage, e as BridgeMessage, f as BufferedSinkHandle, C as CSVRow, g as CacheEvictionPolicy, h as CacheTier, i as CascadingCache, j as CascadingCacheOptions, k as CheckpointAdapter, l as CheckpointToRedisOptions, m as CheckpointToS3Options, n as CircuitBreaker, o as CircuitBreakerOptions, p as CircuitOpenError, q as CircuitState, r as ClickHouseClientLike, s as ClickHouseInsertClientLike, t as ClickHouseRow, u as CronSchedule, v as DictCheckpointAdapter, D as DistillBundle, w as DistillOptions, x as DrizzleQueryLike, y as ErrorMessage, z as EventTargetLike, F as ExponentialBackoffOptions, E as Extraction, G as FSEvent, H as FSEventType, I as FileCheckpointAdapter, J as FileWriterLike, K as FromCSVOptions, L as FromClickHouseWatchOptions, M as FromCronOptions, O as FromDrizzleOptions, P as FromFSWatchOptions, Q as FromGitHookOptions, S as FromHTTPOptions, T as FromKafkaOptions, U as FromKyselyOptions, V as FromMCPOptions, W as FromNATSOptions, X as FromNDJSONOptions, Y as FromOTelOptions, Z as FromPrismaOptions, _ as FromPrometheusOptions, $ as FromPulsarOptions, a0 as FromRabbitMQOptions, a1 as FromRedisStreamOptions, a2 as FromSqliteOptions, a3 as FromStatsDOptions, a4 as FromSyslogOptions, a5 as GitEvent, a6 as GitHookType, a7 as HTTPBundle, a8 as IndexRow, a9 as IndexedDbCheckpointSpec, aa as InitMessage, ab as JitterMode, ac as KafkaConsumerLike, ad as KafkaMessage, ae as KafkaProducerLike, af as KyselyQueryLike, ag as LokiClientLike, ah as LokiStream, ai as MCPClientLike, aj as MemoryCheckpointAdapter, ak as MergeMapOptions, al as MongoCollectionLike, am as NATSClientLike, an as NATSMessage, ao as NATSSubscriptionLike, ap as NS_PER_MS, aq as NS_PER_SEC, N as NodeInput, ar as OTelBundle, as as OTelLog, at as OTelMetric, au as OTelRegister, av as OTelSpan, aw as PostgresClientLike, ax as PrismaModelLike, ay as PrometheusMetric, az as PubSubHub, aA as PulsarConsumerLike, aB as PulsarMessage, aC as PulsarProducerLike, aD as RabbitMQChannelLike, aE as RabbitMQMessage, aF as ReactiveIndexBundle, aG as ReactiveIndexOptions, aH as ReactiveIndexSnapshot, aI as ReactiveListBundle, aJ as ReactiveListOptions, R as ReactiveListSnapshot, aK as ReactiveMapBundle, aL as ReactiveMapOptions, a as ReactiveMapSnapshot, aM as ReadyMessage, aN as RedisCheckpointClientLike, aO as RedisClientLike, aP as RedisStreamEntry, aQ as RetryOptions, aR as S3ClientLike, aS as SignalMessage, aT as SinkHandle, aU as SinkTransportError, aV as SqliteCheckpointAdapter, aW as SqliteDbLike, aX as StatsDMetric, aY as StatsDRegister, aZ as StatusValue, a_ as SyslogMessage, a$ as SyslogRegister, b0 as TapObserver, b1 as TempoClientLike, b2 as ThrottleOptions, b3 as TieredStorage, b4 as TieredStorageOptions, b5 as TimeoutError, b6 as ToCSVOptions, b7 as ToClickHouseOptions, b8 as ToFileOptions, b9 as ToKafkaOptions, ba as ToLokiOptions, bb as ToMongoOptions, bc as ToNATSOptions, bd as ToPostgresOptions, be as ToPulsarOptions, bf as ToRabbitMQOptions, bg as ToRedisStreamOptions, bh as ToS3Options, bi as ToSSEOptions, bj as ToSqliteOptions, bk as ToTempoOptions, bl as ToWebSocketOptions, bm as ToWebSocketTransportError, bn as TokenBucket, bo as ValueMessage, bp as VerifiableBundle, bq as VerifiableOptions, br as VerifyValue, bs as WatermarkController, bt as WatermarkOptions, bu as WebSocketLike, bv as WebSocketMessageEventLike, bw as WebSocketRegister, bx as WebhookRegister, by as WithBreakerBundle, bz as WithStatusBundle, bA as WorkerBridge, bB as WorkerBridgeOptions, bC as WorkerSelfHandle, bD as WorkerSelfOptions, bE as WorkerTransport, bF as audit, bG as buffer, bH as bufferCount, bI as bufferTime, bJ as cache, bK as cached, bL as cascadingCache, bM as catchError, bN as checkpointNodeValue, bO as checkpointToRedis, bP as checkpointToS3, bQ as circuitBreaker, bR as combine, bS as combineLatest, bT as concat, bU as concatMap, bV as constant, bW as createTransport, bX as createWatermarkController, bY as debounce, bZ as debounceTime, b_ as decorrelatedJitter, b$ as delay, c0 as deserializeError, c1 as distill, c2 as distinctUntilChanged, c3 as elementAt, c4 as empty, c5 as escapeRegexChar, c6 as exhaustMap, c7 as exponential, c9 as fallback, ca as fibonacci, cb as filter, cc as find, cd as first, ce as firstValueFrom, cf as flatMap, cg as forEach, ch as fromAny, ci as fromAsyncIter, cj as fromCSV, ck as fromClickHouseWatch, cl as fromCron, cm as fromDrizzle, cn as fromEvent, co as fromFSWatch, cp as fromGitHook, cq as fromHTTP, cr as fromIDBRequest, cs as fromIDBTransaction, ct as fromIter, cu as fromKafka, cv as fromKysely, cw as fromMCP, cx as fromNATS, cy as fromNDJSON, cz as fromOTel, cA as fromPrisma, cB as fromPrometheus, cC as fromPromise, cD as fromPulsar, cE as fromRabbitMQ, cF as fromRedisStream, cG as fromSqlite, cH as fromStatsD, cI as fromSyslog, cJ as fromTimer, cK as fromWebSocket, cL as fromWebhook, cM as globToRegExp, cN as interval, cO as last, cP as linear, cQ as lru, cR as map, cS as matchesAnyPattern, cT as matchesCron, cU as merge, cV as mergeMap, cW as nameToSignal, cX as never, cY as of, cZ as pairwise, c_ as parseCron, c$ as parsePrometheusText, d0 as parseStatsD, d1 as parseSyslog, d2 as pausable, d3 as pubsub, d4 as race, d5 as rateLimiter, d6 as reactiveIndex, d7 as reactiveList, d8 as reactiveMap, d9 as reduce, da as repeat, db as replay, dc as rescue, dd as resolveBackoffPreset, de as restoreGraphCheckpoint, df as restoreGraphCheckpointIndexedDb, dg as retry, dh as sample, di as saveGraphCheckpoint, dj as saveGraphCheckpointIndexedDb, dk as scan, dl as serializeError, dm as share, dn as shareReplay, dp as signalToName, dq as skip, dr as startWith, ds as switchMap, dt as take, du as takeUntil, dv as takeWhile, dw as tap, dx as throttle, dy as throttleTime, dz as throwError, dA as tieredStorage, dB as timeout, dC as toArray, dD as toCSV, dE as toClickHouse, dF as toFile, dG as toKafka, dH as toLoki, dI as toMongo, dJ as toNATS, dK as toPostgres, dL as toPulsar, dM as toRabbitMQ, dN as toRedisStream, dO as toS3, dP as toSSE, dQ as toSqlite, dR as toTempo, dS as toWebSocket, dT as tokenBucket, dU as tokenTracker, dV as valve, dW as verifiable, dX as window, dY as windowCount, dZ as windowTime, d_ as withBreaker, d$ as withLatestFrom, e0 as withMaxAttempts, e1 as withStatus, e2 as workerBridge, e3 as workerSelf, e4 as zip } from '../index-CKyYg4IP.js';
|
|
2
|
+
export { a as ReactiveLogBundle, b as ReactiveLogOptions, R as ReactiveLogSnapshot, l as logSlice, o as observeGraph$, c as observeNode$, r as reactiveLog, t as toMessages$, d as toObservable } from '../reactive-log-DV--7BWd.js';
|
|
3
|
+
import '../meta-CrZUQAJ6.js';
|
|
4
|
+
import '../graph-BXIK5Dq5.js';
|
|
5
5
|
import 'rxjs';
|
package/dist/extra/index.js
CHANGED
|
@@ -136,7 +136,7 @@ import {
|
|
|
136
136
|
workerBridge,
|
|
137
137
|
workerSelf,
|
|
138
138
|
zip
|
|
139
|
-
} from "../chunk-
|
|
139
|
+
} from "../chunk-4APC3AFN.js";
|
|
140
140
|
import {
|
|
141
141
|
cached,
|
|
142
142
|
createWatermarkController,
|
|
@@ -169,9 +169,9 @@ import {
|
|
|
169
169
|
toArray,
|
|
170
170
|
toMessages$,
|
|
171
171
|
toObservable
|
|
172
|
-
} from "../chunk-
|
|
172
|
+
} from "../chunk-QVYZD65U.js";
|
|
173
173
|
import "../chunk-WZ2Z2CRV.js";
|
|
174
|
-
import "../chunk-
|
|
174
|
+
import "../chunk-H243FWYP.js";
|
|
175
175
|
export {
|
|
176
176
|
CircuitOpenError,
|
|
177
177
|
DictCheckpointAdapter,
|
package/dist/graph/index.cjs
CHANGED
|
@@ -159,12 +159,12 @@ function partitionForBatch(messages) {
|
|
|
159
159
|
}
|
|
160
160
|
return { immediate, deferred, terminal };
|
|
161
161
|
}
|
|
162
|
-
function
|
|
162
|
+
function downWithBatch(sink, messages, phase = 2, options) {
|
|
163
163
|
if (messages.length === 0) {
|
|
164
164
|
return;
|
|
165
165
|
}
|
|
166
166
|
if (options?.strategy === "sequential") {
|
|
167
|
-
|
|
167
|
+
_downSequential(sink, messages, phase);
|
|
168
168
|
return;
|
|
169
169
|
}
|
|
170
170
|
const queue = phase === 3 ? pendingPhase3 : pendingPhase2;
|
|
@@ -172,61 +172,61 @@ function emitWithBatch(emit, messages, phase = 2, options) {
|
|
|
172
172
|
const t = messages[0][0];
|
|
173
173
|
if (t === DATA || t === RESOLVED) {
|
|
174
174
|
if (isBatching()) {
|
|
175
|
-
queue.push(() =>
|
|
175
|
+
queue.push(() => sink(messages));
|
|
176
176
|
} else {
|
|
177
|
-
|
|
177
|
+
sink(messages);
|
|
178
178
|
}
|
|
179
179
|
} else if (isTerminalMessage(t)) {
|
|
180
180
|
if (isBatching()) {
|
|
181
|
-
queue.push(() =>
|
|
181
|
+
queue.push(() => sink(messages));
|
|
182
182
|
} else {
|
|
183
|
-
|
|
183
|
+
sink(messages);
|
|
184
184
|
}
|
|
185
185
|
} else {
|
|
186
|
-
|
|
186
|
+
sink(messages);
|
|
187
187
|
}
|
|
188
188
|
return;
|
|
189
189
|
}
|
|
190
190
|
const { immediate, deferred, terminal } = partitionForBatch(messages);
|
|
191
191
|
if (immediate.length > 0) {
|
|
192
|
-
|
|
192
|
+
sink(immediate);
|
|
193
193
|
}
|
|
194
194
|
if (isBatching()) {
|
|
195
195
|
if (deferred.length > 0) {
|
|
196
|
-
queue.push(() =>
|
|
196
|
+
queue.push(() => sink(deferred));
|
|
197
197
|
}
|
|
198
198
|
if (terminal.length > 0) {
|
|
199
|
-
queue.push(() =>
|
|
199
|
+
queue.push(() => sink(terminal));
|
|
200
200
|
}
|
|
201
201
|
} else {
|
|
202
202
|
if (deferred.length > 0) {
|
|
203
|
-
|
|
203
|
+
sink(deferred);
|
|
204
204
|
}
|
|
205
205
|
if (terminal.length > 0) {
|
|
206
|
-
|
|
206
|
+
sink(terminal);
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
|
-
function
|
|
210
|
+
function _downSequential(sink, messages, phase = 2) {
|
|
211
211
|
const dataQueue = phase === 3 ? pendingPhase3 : pendingPhase2;
|
|
212
212
|
for (const msg of messages) {
|
|
213
213
|
const tier = messageTier(msg[0]);
|
|
214
214
|
if (tier === 2) {
|
|
215
215
|
if (isBatching()) {
|
|
216
216
|
const m = msg;
|
|
217
|
-
dataQueue.push(() =>
|
|
217
|
+
dataQueue.push(() => sink([m]));
|
|
218
218
|
} else {
|
|
219
|
-
|
|
219
|
+
sink([msg]);
|
|
220
220
|
}
|
|
221
221
|
} else if (tier >= 3) {
|
|
222
222
|
if (isBatching()) {
|
|
223
223
|
const m = msg;
|
|
224
|
-
pendingPhase3.push(() =>
|
|
224
|
+
pendingPhase3.push(() => sink([m]));
|
|
225
225
|
} else {
|
|
226
|
-
|
|
226
|
+
sink([msg]);
|
|
227
227
|
}
|
|
228
228
|
} else {
|
|
229
|
-
|
|
229
|
+
sink([msg]);
|
|
230
230
|
}
|
|
231
231
|
}
|
|
232
232
|
}
|
|
@@ -454,7 +454,7 @@ var NodeImpl = class {
|
|
|
454
454
|
_singleDepSinks = /* @__PURE__ */ new WeakSet();
|
|
455
455
|
_upstreamUnsubs = [];
|
|
456
456
|
_actions;
|
|
457
|
-
|
|
457
|
+
_boundDownToSinks;
|
|
458
458
|
_inspectorHook;
|
|
459
459
|
_versioning;
|
|
460
460
|
_hashFn;
|
|
@@ -501,7 +501,7 @@ var NodeImpl = class {
|
|
|
501
501
|
},
|
|
502
502
|
emit(value) {
|
|
503
503
|
self._manualEmitUsed = true;
|
|
504
|
-
self.
|
|
504
|
+
self._downAutoValue(value);
|
|
505
505
|
},
|
|
506
506
|
up(messages) {
|
|
507
507
|
self._upInternal(messages);
|
|
@@ -509,7 +509,7 @@ var NodeImpl = class {
|
|
|
509
509
|
};
|
|
510
510
|
this.down = this.down.bind(this);
|
|
511
511
|
this.up = this.up.bind(this);
|
|
512
|
-
this.
|
|
512
|
+
this._boundDownToSinks = this._downToSinks.bind(this);
|
|
513
513
|
}
|
|
514
514
|
get name() {
|
|
515
515
|
return this._registryName ?? this._optsName;
|
|
@@ -615,12 +615,12 @@ var NodeImpl = class {
|
|
|
615
615
|
if (sinkMessages[i][0] !== DIRTY) filtered.push(sinkMessages[i]);
|
|
616
616
|
}
|
|
617
617
|
if (filtered.length > 0) {
|
|
618
|
-
|
|
618
|
+
downWithBatch(this._boundDownToSinks, filtered);
|
|
619
619
|
}
|
|
620
620
|
return;
|
|
621
621
|
}
|
|
622
622
|
}
|
|
623
|
-
|
|
623
|
+
downWithBatch(this._boundDownToSinks, sinkMessages);
|
|
624
624
|
}
|
|
625
625
|
subscribe(sink, hints) {
|
|
626
626
|
if (hints?.actor != null && this._guard != null) {
|
|
@@ -707,7 +707,7 @@ var NodeImpl = class {
|
|
|
707
707
|
this._disconnectUpstream();
|
|
708
708
|
}
|
|
709
709
|
// --- Private methods (prototype, _ prefix) ---
|
|
710
|
-
|
|
710
|
+
_downToSinks(messages) {
|
|
711
711
|
if (this._sinks == null) return;
|
|
712
712
|
if (typeof this._sinks === "function") {
|
|
713
713
|
this._sinks(messages);
|
|
@@ -722,6 +722,9 @@ var NodeImpl = class {
|
|
|
722
722
|
for (const m of messages) {
|
|
723
723
|
const t = m[0];
|
|
724
724
|
if (t === DATA) {
|
|
725
|
+
if (m.length < 2) {
|
|
726
|
+
continue;
|
|
727
|
+
}
|
|
725
728
|
this._cached = m[1];
|
|
726
729
|
if (this._versioning != null) {
|
|
727
730
|
advanceVersion(this._versioning, m[1], this._hashFn);
|
|
@@ -769,7 +772,7 @@ var NodeImpl = class {
|
|
|
769
772
|
_canSkipDirty() {
|
|
770
773
|
return this._sinkCount === 1 && this._singleDepSinkCount === 1;
|
|
771
774
|
}
|
|
772
|
-
|
|
775
|
+
_downAutoValue(value) {
|
|
773
776
|
const wasDirty = this._status === "dirty";
|
|
774
777
|
let unchanged;
|
|
775
778
|
try {
|
|
@@ -822,7 +825,7 @@ var NodeImpl = class {
|
|
|
822
825
|
this._cleanup = out.cleanup;
|
|
823
826
|
if (this._manualEmitUsed) return;
|
|
824
827
|
if ("value" in out) {
|
|
825
|
-
this.
|
|
828
|
+
this._downAutoValue(out.value);
|
|
826
829
|
}
|
|
827
830
|
return;
|
|
828
831
|
}
|
|
@@ -832,7 +835,7 @@ var NodeImpl = class {
|
|
|
832
835
|
}
|
|
833
836
|
if (this._manualEmitUsed) return;
|
|
834
837
|
if (out === void 0) return;
|
|
835
|
-
this.
|
|
838
|
+
this._downAutoValue(out);
|
|
836
839
|
} catch (err) {
|
|
837
840
|
const errMsg = err instanceof Error ? err.message : String(err);
|
|
838
841
|
const wrapped = new Error(`Node "${this.name}": fn threw: ${errMsg}`, { cause: err });
|
|
@@ -1006,7 +1009,7 @@ var DynamicNodeImpl = class {
|
|
|
1006
1009
|
_singleDepSinks = /* @__PURE__ */ new WeakSet();
|
|
1007
1010
|
// Actions object (for onMessage handler)
|
|
1008
1011
|
_actions;
|
|
1009
|
-
|
|
1012
|
+
_boundDownToSinks;
|
|
1010
1013
|
// Mutable state
|
|
1011
1014
|
_cached = NO_VALUE;
|
|
1012
1015
|
_status = "disconnected";
|
|
@@ -1053,7 +1056,7 @@ var DynamicNodeImpl = class {
|
|
|
1053
1056
|
self._downInternal(messages);
|
|
1054
1057
|
},
|
|
1055
1058
|
emit(value) {
|
|
1056
|
-
self.
|
|
1059
|
+
self._downAutoValue(value);
|
|
1057
1060
|
},
|
|
1058
1061
|
up(messages) {
|
|
1059
1062
|
for (const dep of self._deps) {
|
|
@@ -1061,7 +1064,7 @@ var DynamicNodeImpl = class {
|
|
|
1061
1064
|
}
|
|
1062
1065
|
}
|
|
1063
1066
|
};
|
|
1064
|
-
this.
|
|
1067
|
+
this._boundDownToSinks = this._downToSinks.bind(this);
|
|
1065
1068
|
}
|
|
1066
1069
|
get name() {
|
|
1067
1070
|
return this._registryName ?? this._optsName;
|
|
@@ -1141,12 +1144,12 @@ var DynamicNodeImpl = class {
|
|
|
1141
1144
|
if (sinkMessages[i][0] !== DIRTY) filtered.push(sinkMessages[i]);
|
|
1142
1145
|
}
|
|
1143
1146
|
if (filtered.length > 0) {
|
|
1144
|
-
|
|
1147
|
+
downWithBatch(this._boundDownToSinks, filtered);
|
|
1145
1148
|
}
|
|
1146
1149
|
return;
|
|
1147
1150
|
}
|
|
1148
1151
|
}
|
|
1149
|
-
|
|
1152
|
+
downWithBatch(this._boundDownToSinks, sinkMessages);
|
|
1150
1153
|
}
|
|
1151
1154
|
_canSkipDirty() {
|
|
1152
1155
|
return this._sinkCount === 1 && this._singleDepSinkCount === 1;
|
|
@@ -1222,7 +1225,7 @@ var DynamicNodeImpl = class {
|
|
|
1222
1225
|
this._disconnect();
|
|
1223
1226
|
}
|
|
1224
1227
|
// --- Private methods ---
|
|
1225
|
-
|
|
1228
|
+
_downToSinks(messages) {
|
|
1226
1229
|
if (this._sinks == null) return;
|
|
1227
1230
|
if (typeof this._sinks === "function") {
|
|
1228
1231
|
this._sinks(messages);
|
|
@@ -1276,7 +1279,7 @@ var DynamicNodeImpl = class {
|
|
|
1276
1279
|
}
|
|
1277
1280
|
}
|
|
1278
1281
|
}
|
|
1279
|
-
|
|
1282
|
+
_downAutoValue(value) {
|
|
1280
1283
|
const wasDirty = this._status === "dirty";
|
|
1281
1284
|
let unchanged;
|
|
1282
1285
|
try {
|
|
@@ -1336,7 +1339,7 @@ var DynamicNodeImpl = class {
|
|
|
1336
1339
|
const result = this._fn(get);
|
|
1337
1340
|
this._rewire(trackedDeps);
|
|
1338
1341
|
if (result === void 0) return;
|
|
1339
|
-
this.
|
|
1342
|
+
this._downAutoValue(result);
|
|
1340
1343
|
} catch (err) {
|
|
1341
1344
|
this._downInternal([[ERROR, err]]);
|
|
1342
1345
|
}
|
|
@@ -1400,14 +1403,14 @@ var DynamicNodeImpl = class {
|
|
|
1400
1403
|
this._dirtyBits.add(index);
|
|
1401
1404
|
this._settledBits.delete(index);
|
|
1402
1405
|
if (this._dirtyBits.size === 1) {
|
|
1403
|
-
|
|
1406
|
+
downWithBatch(this._boundDownToSinks, [[DIRTY]]);
|
|
1404
1407
|
}
|
|
1405
1408
|
continue;
|
|
1406
1409
|
}
|
|
1407
1410
|
if (t === DATA || t === RESOLVED) {
|
|
1408
1411
|
if (!this._dirtyBits.has(index)) {
|
|
1409
1412
|
this._dirtyBits.add(index);
|
|
1410
|
-
|
|
1413
|
+
downWithBatch(this._boundDownToSinks, [[DIRTY]]);
|
|
1411
1414
|
}
|
|
1412
1415
|
this._settledBits.add(index);
|
|
1413
1416
|
if (this._allDirtySettled()) {
|