@demlik/tea 0.1.2 → 0.2.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/dist/agent/index.d.ts +2 -2
- package/dist/agent/index.js +8 -8
- package/dist/authed-call/index.d.ts +2 -2
- package/dist/authed-call/index.js +5 -5
- package/dist/await-terminal/index.d.ts +1 -1
- package/dist/await-terminal/index.js +2 -2
- package/dist/batch-window/index.d.ts +2 -2
- package/dist/batch-window/index.js +3 -3
- package/dist/cache/index.d.ts +2 -2
- package/dist/{chunk-EHIX7NYZ.js → chunk-5KVHID6A.js} +4 -4
- package/dist/{chunk-EHIX7NYZ.js.map → chunk-5KVHID6A.js.map} +1 -1
- package/dist/{chunk-27N2SPTN.js → chunk-6GIGQT6C.js} +4 -4
- package/dist/{chunk-27N2SPTN.js.map → chunk-6GIGQT6C.js.map} +1 -1
- package/dist/{chunk-3XJWC7VW.js → chunk-6OUDPSSG.js} +3 -3
- package/dist/{chunk-3XJWC7VW.js.map → chunk-6OUDPSSG.js.map} +1 -1
- package/dist/{chunk-MMH7CW5K.js → chunk-6VDCTR7N.js} +24 -27
- package/dist/chunk-6VDCTR7N.js.map +1 -0
- package/dist/{chunk-QLA76GIT.js → chunk-DYRKDCJI.js} +30 -5
- package/dist/chunk-DYRKDCJI.js.map +1 -0
- package/dist/{chunk-LP7VQBRG.js → chunk-EGWTT5XJ.js} +3 -3
- package/dist/{chunk-LP7VQBRG.js.map → chunk-EGWTT5XJ.js.map} +1 -1
- package/dist/{chunk-DILMKOZ7.js → chunk-EMJTPHI7.js} +4 -4
- package/dist/{chunk-DILMKOZ7.js.map → chunk-EMJTPHI7.js.map} +1 -1
- package/dist/{chunk-5DEQ5I3U.js → chunk-FOGL3TC7.js} +3 -3
- package/dist/{chunk-5DEQ5I3U.js.map → chunk-FOGL3TC7.js.map} +1 -1
- package/dist/{chunk-SQTCS44W.js → chunk-G2U7DJHL.js} +3 -3
- package/dist/{chunk-SQTCS44W.js.map → chunk-G2U7DJHL.js.map} +1 -1
- package/dist/{chunk-ON24RKSE.js → chunk-IK4S5DJN.js} +3 -3
- package/dist/{chunk-ON24RKSE.js.map → chunk-IK4S5DJN.js.map} +1 -1
- package/dist/{chunk-PS23H6KQ.js → chunk-M6UZT7HS.js} +3 -3
- package/dist/{chunk-PS23H6KQ.js.map → chunk-M6UZT7HS.js.map} +1 -1
- package/dist/{chunk-K7Q23EQ4.js → chunk-SKAMZKTE.js} +3 -3
- package/dist/{chunk-K7Q23EQ4.js.map → chunk-SKAMZKTE.js.map} +1 -1
- package/dist/{chunk-S3FQN4SL.js → chunk-VFGKTGGC.js} +7 -7
- package/dist/{chunk-S3FQN4SL.js.map → chunk-VFGKTGGC.js.map} +1 -1
- package/dist/{chunk-7W4LMPUW.js → chunk-ZDRN3YCE.js} +4 -4
- package/dist/{chunk-7W4LMPUW.js.map → chunk-ZDRN3YCE.js.map} +1 -1
- package/dist/{core-BoB6t7dB.d.ts → core-BmlJOvxM.d.ts} +10 -1
- package/dist/deadline/index.d.ts +2 -2
- package/dist/deadline/index.js +3 -3
- package/dist/do/index.d.ts +451 -335
- package/dist/do/index.js +172 -144
- package/dist/do/index.js.map +1 -1
- package/dist/{durable-effects-CO9Uh971.d.ts → durable-effects-9LxFpmh3.d.ts} +1 -1
- package/dist/extension/index.d.ts +1 -1
- package/dist/extension/index.js +3 -3
- package/dist/extension/react.js +3 -3
- package/dist/extension/subs/index.d.ts +2 -2
- package/dist/fan-out/index.d.ts +1 -1
- package/dist/idempotent-intake/index.d.ts +1 -1
- package/dist/index.d.ts +20 -3
- package/dist/index.js +2 -2
- package/dist/llm-call/index.d.ts +2 -2
- package/dist/llm-call/index.js +5 -5
- package/dist/machine-viz/index.d.ts +1 -1
- package/dist/machine-viz/index.js +2 -2
- package/dist/mem/index.d.ts +1 -1
- package/dist/monitored-run/index.d.ts +2 -2
- package/dist/monitored-run/index.js +5 -5
- package/dist/node/index.d.ts +1 -1
- package/dist/paginated-walk/index.d.ts +2 -2
- package/dist/paginated-walk/index.js +5 -5
- package/dist/parity/index.d.ts +1 -1
- package/dist/parity/index.js +3 -3
- package/dist/pbt/arbitraries/index.d.ts +1 -1
- package/dist/pbt/index.d.ts +1 -1
- package/dist/pbt/index.js +3 -3
- package/dist/pbt/runners/index.d.ts +1 -1
- package/dist/pbt/runners/index.js +3 -3
- package/dist/poller/index.d.ts +2 -2
- package/dist/poller/index.js +3 -3
- package/dist/prediction/index.d.ts +1 -1
- package/dist/prediction/index.js +2 -2
- package/dist/pure/index.d.ts +1 -1
- package/dist/pure/index.js +2 -2
- package/dist/react/index.d.ts +1 -1
- package/dist/react/index.js +2 -2
- package/dist/reconciler/index.d.ts +2 -2
- package/dist/reconciler/index.js +5 -5
- package/dist/recorder/index.d.ts +1 -1
- package/dist/resilient-call/index.d.ts +2 -2
- package/dist/resilient-call/index.js +4 -4
- package/dist/saga/index.d.ts +1 -1
- package/dist/snapshot/index.d.ts +1 -1
- package/dist/snapshot/index.js +3 -3
- package/dist/subs/index.d.ts +2 -2
- package/dist/testing/index.d.ts +1 -1
- package/dist/testing/index.js +2 -2
- package/dist/throttled-input/index.d.ts +2 -2
- package/dist/throttled-input/index.js +4 -4
- package/dist/token-refresh/index.d.ts +1 -1
- package/dist/token-refresh/index.js +3 -3
- package/dist/trace-replay/index.d.ts +1 -1
- package/dist/trace-replay/index.js +3 -3
- package/dist/{types-B-8bcAp8.d.ts → types-BoUWgwSm.d.ts} +1 -1
- package/dist/with-deadline/index.d.ts +1 -1
- package/dist/with-deadline/index.js +2 -2
- package/dist/with-resilience/index.d.ts +2 -2
- package/dist/with-resilience/index.js +4 -4
- package/dist/with-telemetry/index.d.ts +1 -1
- package/dist/with-telemetry/index.js +2 -2
- package/dist/work-queue/adapter.d.ts +1 -1
- package/dist/work-queue/index.d.ts +1 -1
- package/dist/work-queue/ops.d.ts +1 -1
- package/dist/workflow/index.d.ts +3 -3
- package/package.json +1 -19
- package/dist/chunk-6RGBKODV.js +0 -268
- package/dist/chunk-6RGBKODV.js.map +0 -1
- package/dist/chunk-MMH7CW5K.js.map +0 -1
- package/dist/chunk-QLA76GIT.js.map +0 -1
- package/dist/chunk-VLGARN6H.js +0 -202
- package/dist/chunk-VLGARN6H.js.map +0 -1
- package/dist/raft/demo.d.ts +0 -105
- package/dist/raft/demo.js +0 -172
- package/dist/raft/demo.js.map +0 -1
- package/dist/raft/index.d.ts +0 -548
- package/dist/raft/index.js +0 -7
- package/dist/raft/index.js.map +0 -1
- package/dist/raft/sim.d.ts +0 -222
- package/dist/raft/sim.js +0 -8
- package/dist/raft/sim.js.map +0 -1
- package/dist/raft/timeline.d.ts +0 -46
- package/dist/raft/timeline.js +0 -62
- package/dist/raft/timeline.js.map +0 -1
package/dist/extension/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { bridgeClient, bridgeRuntime, bridgeTabClient, passThroughMsg } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { bridgeClient, bridgeRuntime, bridgeTabClient, passThroughMsg } from '../chunk-EGWTT5XJ.js';
|
|
2
|
+
import '../chunk-6VDCTR7N.js';
|
|
3
|
+
import '../chunk-DYRKDCJI.js';
|
|
4
4
|
|
|
5
5
|
// src/extension/index.ts
|
|
6
6
|
var MALFORMED = "chromeStorageStore: stored value is not a string";
|
package/dist/extension/react.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { bridgeClient, passThroughMsg } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
import { bridgeClient, passThroughMsg } from '../chunk-EGWTT5XJ.js';
|
|
2
|
+
import '../chunk-6VDCTR7N.js';
|
|
3
|
+
import '../chunk-DYRKDCJI.js';
|
|
4
4
|
import { useRef, useSyncExternalStore, useEffect, useCallback, createContext, useMemo, useContext } from 'react';
|
|
5
5
|
import { jsx } from 'react/jsx-runtime';
|
|
6
6
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as Sub } from '../../core-
|
|
2
|
-
import { S as SubscribeHandler } from '../../types-
|
|
1
|
+
import { S as Sub } from '../../core-BmlJOvxM.js';
|
|
2
|
+
import { S as SubscribeHandler } from '../../types-BoUWgwSm.js';
|
|
3
3
|
|
|
4
4
|
type AlarmSubData = {
|
|
5
5
|
alarmName: string;
|
package/dist/fan-out/index.d.ts
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as Cmd, P as Port, S as Sub, M as Machine, T as Transitions, R as Reducer } from './core-
|
|
2
|
-
export { b as ContextFree, I as Interpret, N as NoCtx, c as PortEmitter, a as SubId, d as Subscribe, e as SyncReturn, U as UpdateForm, f as applyCell, g as detectUpdateForm, h as foldMsgs, i as formOf, m as msgKeysOf, s as subId } from './core-
|
|
1
|
+
import { C as Cmd, P as Port, S as Sub, M as Machine, T as Transitions, R as Reducer } from './core-BmlJOvxM.js';
|
|
2
|
+
export { b as ContextFree, I as Interpret, j as NoCellError, N as NoCtx, c as PortEmitter, a as SubId, d as Subscribe, e as SyncReturn, U as UpdateForm, f as applyCell, g as detectUpdateForm, h as foldMsgs, i as formOf, m as msgKeysOf, s as subId } from './core-BmlJOvxM.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* @demlik/tea — TEA-faithful state machine substrate.
|
|
@@ -68,8 +68,25 @@ declare function __resetPortRegistry(): void;
|
|
|
68
68
|
* throw is catchable in the dispatch loop; the configured `Supervision`
|
|
69
69
|
* strategy decides what the runtime does next (`stop` / `escalate` /
|
|
70
70
|
* `restart`), but the failure is ALWAYS surfaced here as data first.
|
|
71
|
+
*
|
|
72
|
+
* The fanout phases (#277). Every fanout is throw-isolated so one bad
|
|
73
|
+
* consumer never strands its siblings — and the isolated throw routes here
|
|
74
|
+
* rather than to a bare `console.error`, so a sink wired to e.g. Sentry sees
|
|
75
|
+
* every "no caller to reject at" failure:
|
|
76
|
+
*
|
|
77
|
+
* - `"listener"` — a `runtime.subscribe(...)` listener threw during the
|
|
78
|
+
* post-transition fanout.
|
|
79
|
+
* - `"observer"` — a `runtime.observe(...)` observer threw during the
|
|
80
|
+
* post-transition fanout.
|
|
81
|
+
* - `"event"` — the semantic-event path threw: either the `events` projector
|
|
82
|
+
* itself, or an `on(type, ...)` handler.
|
|
83
|
+
* - `"boot"` — an `onBoot` handler threw (at the boot fanout, or on the
|
|
84
|
+
* immediate fire of a late post-boot registration).
|
|
85
|
+
* - `"port-emit"` — a `subscribePort` listener threw during a port emission.
|
|
86
|
+
* - `"sub-cleanup"` — a subscription's cleanup threw (on reconcile-removal,
|
|
87
|
+
* or during `stop()` teardown).
|
|
71
88
|
*/
|
|
72
|
-
type RuntimeErrorPhase = "follow-up" | "stop-save" | "reduce";
|
|
89
|
+
type RuntimeErrorPhase = "follow-up" | "stop-save" | "reduce" | "listener" | "observer" | "event" | "boot" | "port-emit" | "sub-cleanup";
|
|
73
90
|
/** Context handed to an `OnError` sink alongside the error itself. */
|
|
74
91
|
interface RuntimeErrorContext {
|
|
75
92
|
readonly phase: RuntimeErrorPhase;
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { PortNameCollisionError, QuiescenceTimeoutError, __resetPortRegistry, absurd, asReducer, defineMachine, definePort, historyTracker, noop, replay, run, tryInterpret } from './chunk-
|
|
2
|
-
export { Cmd, applyCell, detectUpdateForm, foldMsgs, formOf, msgKeysOf, subId } from './chunk-
|
|
1
|
+
export { PortNameCollisionError, QuiescenceTimeoutError, __resetPortRegistry, absurd, asReducer, defineMachine, definePort, historyTracker, noop, replay, run, tryInterpret } from './chunk-6VDCTR7N.js';
|
|
2
|
+
export { Cmd, NoCellError, applyCell, detectUpdateForm, foldMsgs, formOf, msgKeysOf, subId } from './chunk-DYRKDCJI.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
package/dist/llm-call/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { C as Cmd } from '../core-
|
|
1
|
+
import { C as Cmd } from '../core-BmlJOvxM.js';
|
|
2
2
|
import { SucceedMsg, FailMsg, RunCmd, ResilientState } from '../resilient-call/index.js';
|
|
3
3
|
import { RetryPolicy } from '../retry-backoff/index.js';
|
|
4
4
|
import { DeadlineExceeded, DeadlineSub } from '../deadline/index.js';
|
|
5
5
|
export { deadlineSub, subscribeDeadline } from '../deadline/index.js';
|
|
6
6
|
import '../cache/index.js';
|
|
7
|
-
import '../types-
|
|
7
|
+
import '../types-BoUWgwSm.js';
|
|
8
8
|
import '../circuit-breaker/index.js';
|
|
9
9
|
import '../protocol-B5YmJr0d.js';
|
|
10
10
|
import '../rate-limit/index.js';
|
package/dist/llm-call/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export { createLlmCall, liftLlmCall } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { createLlmCall, liftLlmCall } from '../chunk-M6UZT7HS.js';
|
|
2
|
+
import '../chunk-6GIGQT6C.js';
|
|
3
3
|
import '../chunk-JELSZN25.js';
|
|
4
|
-
export { deadlineSub, subscribeDeadline } from '../chunk-
|
|
4
|
+
export { deadlineSub, subscribeDeadline } from '../chunk-SKAMZKTE.js';
|
|
5
5
|
import '../chunk-5VNWZADP.js';
|
|
6
6
|
import '../chunk-2YOE5PIS.js';
|
|
7
7
|
import '../chunk-SC3FAFZN.js';
|
|
8
8
|
import '../chunk-IN33Q4VJ.js';
|
|
9
9
|
import '../chunk-NSDFA6M6.js';
|
|
10
10
|
import '../chunk-2YFLOCWX.js';
|
|
11
|
-
import '../chunk-
|
|
12
|
-
import '../chunk-
|
|
11
|
+
import '../chunk-6VDCTR7N.js';
|
|
12
|
+
import '../chunk-DYRKDCJI.js';
|
|
13
13
|
//# sourceMappingURL=index.js.map
|
|
14
14
|
//# sourceMappingURL=index.js.map
|
package/dist/mem/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { DeadlineExceeded, DeadlineSub } from '../deadline/index.js';
|
|
2
2
|
export { deadlineSub, subscribeDeadline } from '../deadline/index.js';
|
|
3
|
-
import { I as Interpret, C as Cmd } from '../core-
|
|
3
|
+
import { I as Interpret, C as Cmd } from '../core-BmlJOvxM.js';
|
|
4
4
|
import { SnapshotState, SnapshotWriteCmd, SnapshotStore, SnapshotSavedMsg, SnapshotFailedMsg, SnapshotLoadedMsg, SnapshotLoadFailedMsg, SnapshotLoadCmd } from '../snapshot/index.js';
|
|
5
5
|
import { QueueItem } from '../work-queue/index.js';
|
|
6
|
-
import '../types-
|
|
6
|
+
import '../types-BoUWgwSm.js';
|
|
7
7
|
import '../index.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { createMonitoredRun, liftRun } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
export { deadlineSub, subscribeDeadline } from '../chunk-
|
|
1
|
+
export { createMonitoredRun, liftRun } from '../chunk-ZDRN3YCE.js';
|
|
2
|
+
import '../chunk-5KVHID6A.js';
|
|
3
|
+
export { deadlineSub, subscribeDeadline } from '../chunk-SKAMZKTE.js';
|
|
4
4
|
import '../chunk-HJO6VNQI.js';
|
|
5
5
|
import '../chunk-TGG26XMK.js';
|
|
6
6
|
import '../chunk-2YFLOCWX.js';
|
|
7
|
-
import '../chunk-
|
|
8
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-6VDCTR7N.js';
|
|
8
|
+
import '../chunk-DYRKDCJI.js';
|
|
9
9
|
//# sourceMappingURL=index.js.map
|
|
10
10
|
//# sourceMappingURL=index.js.map
|
package/dist/node/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { C as Cmd } from '../core-
|
|
1
|
+
import { C as Cmd } from '../core-BmlJOvxM.js';
|
|
2
2
|
import { PaginatorState } from '../paginator/index.js';
|
|
3
3
|
import { CircuitConfig, RateLimitConfig, DeadlineConfig, ResilientState, RunCmd, SucceedMsg, FailMsg, ResilientTimerMsg, ResilientPorts } from '../resilient-call/index.js';
|
|
4
4
|
import { RetryPolicy } from '../retry-backoff/index.js';
|
|
5
5
|
import { DeadlineSub } from '../deadline/index.js';
|
|
6
6
|
export { deadlineSub, subscribeDeadline } from '../deadline/index.js';
|
|
7
7
|
import '../cache/index.js';
|
|
8
|
-
import '../types-
|
|
8
|
+
import '../types-BoUWgwSm.js';
|
|
9
9
|
import '../circuit-breaker/index.js';
|
|
10
10
|
import '../protocol-B5YmJr0d.js';
|
|
11
11
|
import '../rate-limit/index.js';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export { PAGE_KEY, createPaginatedWalk, liftWalk } from '../chunk-
|
|
1
|
+
export { PAGE_KEY, createPaginatedWalk, liftWalk } from '../chunk-FOGL3TC7.js';
|
|
2
2
|
import '../chunk-SINXE47Y.js';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-6GIGQT6C.js';
|
|
4
4
|
import '../chunk-JELSZN25.js';
|
|
5
|
-
export { deadlineSub, subscribeDeadline } from '../chunk-
|
|
5
|
+
export { deadlineSub, subscribeDeadline } from '../chunk-SKAMZKTE.js';
|
|
6
6
|
import '../chunk-5VNWZADP.js';
|
|
7
7
|
import '../chunk-2YOE5PIS.js';
|
|
8
8
|
import '../chunk-SC3FAFZN.js';
|
|
9
9
|
import '../chunk-IN33Q4VJ.js';
|
|
10
10
|
import '../chunk-NSDFA6M6.js';
|
|
11
11
|
import '../chunk-2YFLOCWX.js';
|
|
12
|
-
import '../chunk-
|
|
13
|
-
import '../chunk-
|
|
12
|
+
import '../chunk-6VDCTR7N.js';
|
|
13
|
+
import '../chunk-DYRKDCJI.js';
|
|
14
14
|
//# sourceMappingURL=index.js.map
|
|
15
15
|
//# sourceMappingURL=index.js.map
|
package/dist/parity/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BootingRuntime } from '../index.js';
|
|
2
2
|
import { Trace, RecorderOptions } from '../recorder/index.js';
|
|
3
|
-
import { C as Cmd, S as Sub, M as Machine } from '../core-
|
|
3
|
+
import { C as Cmd, S as Sub, M as Machine } from '../core-BmlJOvxM.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* A live parity recording attached to a Runtime — the go/no-go gate's golden
|
package/dist/parity/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { recorder } from '../chunk-UYWUVEP6.js';
|
|
2
|
-
import { deepEqual } from '../chunk-
|
|
3
|
-
import { replay } from '../chunk-
|
|
4
|
-
import '../chunk-
|
|
2
|
+
import { deepEqual } from '../chunk-IK4S5DJN.js';
|
|
3
|
+
import { replay } from '../chunk-6VDCTR7N.js';
|
|
4
|
+
import '../chunk-DYRKDCJI.js';
|
|
5
5
|
|
|
6
6
|
// src/parity/index.ts
|
|
7
7
|
function recordRun(runtime, opts) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as fc from 'fast-check';
|
|
2
|
-
import { C as Cmd, S as Sub, M as Machine } from '../../core-
|
|
2
|
+
import { C as Cmd, S as Sub, M as Machine } from '../../core-BmlJOvxM.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Build a Ctx value whose every property access throws. Use as the `ctx`
|
package/dist/pbt/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { MsgArbitraryTable, arbConstantMsg, arbGuidedSequence, arbMsg, arbMsgSequence, arbRecordMsg, stubCtxThrowingProxy } from './arbitraries/index.js';
|
|
2
2
|
export { Step, foldEvents, propertyInvariant, propertyTerminates, propertyTrace } from './runners/index.js';
|
|
3
|
-
import { C as Cmd, R as Reducer, T as Transitions, U as UpdateForm } from '../core-
|
|
3
|
+
import { C as Cmd, R as Reducer, T as Transitions, U as UpdateForm } from '../core-BmlJOvxM.js';
|
|
4
4
|
import 'fast-check';
|
|
5
5
|
|
|
6
6
|
/**
|
package/dist/pbt/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { arbConstantMsg, arbGuidedSequence, arbMsg, arbMsgSequence, arbRecordMsg, stubCtxThrowingProxy } from '../chunk-7FYQGDMF.js';
|
|
2
|
-
export { foldEvents, propertyInvariant, propertyTerminates, propertyTrace } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import { msgKeysOf } from '../chunk-
|
|
2
|
+
export { foldEvents, propertyInvariant, propertyTerminates, propertyTrace } from '../chunk-EMJTPHI7.js';
|
|
3
|
+
import '../chunk-6VDCTR7N.js';
|
|
4
|
+
import { msgKeysOf } from '../chunk-DYRKDCJI.js';
|
|
5
5
|
|
|
6
6
|
// src/pbt/util/msg-keys.ts
|
|
7
7
|
function msgTypeKeys(machine) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { foldEvents, propertyInvariant, propertyTerminates, propertyTrace } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
1
|
+
export { foldEvents, propertyInvariant, propertyTerminates, propertyTrace } from '../../chunk-EMJTPHI7.js';
|
|
2
|
+
import '../../chunk-6VDCTR7N.js';
|
|
3
|
+
import '../../chunk-DYRKDCJI.js';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
package/dist/poller/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { DeadlineSub } from '../deadline/index.js';
|
|
2
2
|
import { IdempotencyStore } from '../idempotency/index.js';
|
|
3
|
-
import { C as Cmd, S as Sub } from '../core-
|
|
3
|
+
import { C as Cmd, S as Sub } from '../core-BmlJOvxM.js';
|
|
4
4
|
import { RetryPolicy, RetryState } from '../retry-backoff/index.js';
|
|
5
|
-
import '../types-
|
|
5
|
+
import '../types-BoUWgwSm.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* @demlik/tea/poller — "poll a source every N ms until a predicate holds, with
|
package/dist/poller/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { deadlineSub } from '../chunk-
|
|
1
|
+
import { deadlineSub } from '../chunk-SKAMZKTE.js';
|
|
2
2
|
import { asRng, defaultRetryPolicy, initRetry, recordFailure, shouldRetry, nextDelayMs } from '../chunk-5VNWZADP.js';
|
|
3
3
|
import { idempotencyMemory } from '../chunk-BYQUGDD3.js';
|
|
4
4
|
import '../chunk-K575PT4S.js';
|
|
5
5
|
import '../chunk-2YFLOCWX.js';
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-6VDCTR7N.js';
|
|
7
|
+
import '../chunk-DYRKDCJI.js';
|
|
8
8
|
|
|
9
9
|
// src/poller/index.ts
|
|
10
10
|
function pollerSubId(atMs) {
|
package/dist/prediction/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { NO_ACK, ack, initAck, nextSeq, partitionByAck, reconcile, tagSeq } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { NO_ACK, ack, initAck, nextSeq, partitionByAck, reconcile, tagSeq } from '../chunk-G2U7DJHL.js';
|
|
2
|
+
import '../chunk-DYRKDCJI.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
package/dist/pure/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { Ack, AckPartition, NO_ACK, Seq, SeqTagged, ack, initAck, nextSeq, partitionByAck, reconcile, tagSeq } from '../prediction/index.js';
|
|
2
|
-
export { C as Cmd, b as ContextFree, I as Interpret, M as Machine, N as NoCtx, P as Port, c as PortEmitter, R as Reducer, S as Sub, a as SubId, d as Subscribe, e as SyncReturn, T as Transitions, U as UpdateForm, g as detectUpdateForm, h as foldMsgs, i as formOf, s as subId } from '../core-
|
|
2
|
+
export { C as Cmd, b as ContextFree, I as Interpret, M as Machine, j as NoCellError, N as NoCtx, P as Port, c as PortEmitter, R as Reducer, S as Sub, a as SubId, d as Subscribe, e as SyncReturn, T as Transitions, U as UpdateForm, g as detectUpdateForm, h as foldMsgs, i as formOf, s as subId } from '../core-BmlJOvxM.js';
|
package/dist/pure/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { NO_ACK, ack, initAck, nextSeq, partitionByAck, reconcile, tagSeq } from '../chunk-
|
|
2
|
-
export { Cmd, detectUpdateForm, foldMsgs, formOf, subId } from '../chunk-
|
|
1
|
+
export { NO_ACK, ack, initAck, nextSeq, partitionByAck, reconcile, tagSeq } from '../chunk-G2U7DJHL.js';
|
|
2
|
+
export { Cmd, NoCellError, detectUpdateForm, foldMsgs, formOf, subId } from '../chunk-DYRKDCJI.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
package/dist/react/index.d.ts
CHANGED
package/dist/react/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { run } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
import { run } from '../chunk-6VDCTR7N.js';
|
|
2
|
+
import '../chunk-DYRKDCJI.js';
|
|
3
3
|
import { useMemo, useRef, useReducer, useSyncExternalStore, useEffect } from 'react';
|
|
4
4
|
|
|
5
5
|
function useMachine(machine, opts) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CircuitConfig, RateLimitConfig, DeadlineConfig, ResilientPorts, RunCmd, FailMsg, SucceedMsg } from '../resilient-call/index.js';
|
|
2
2
|
import { TtlCache } from '../cache/index.js';
|
|
3
|
-
import { C as Cmd } from '../core-
|
|
3
|
+
import { C as Cmd } from '../core-BmlJOvxM.js';
|
|
4
4
|
import { PaginatedWalkState, FetchPageCmd, PageOkMsg, PageErrMsg, PaginatedWalkTimerMsg } from '../paginated-walk/index.js';
|
|
5
5
|
import { RetryPolicy } from '../retry-backoff/index.js';
|
|
6
6
|
import { DeadlineSub } from '../deadline/index.js';
|
|
@@ -8,7 +8,7 @@ export { deadlineSub, subscribeDeadline } from '../deadline/index.js';
|
|
|
8
8
|
import '../circuit-breaker/index.js';
|
|
9
9
|
import '../protocol-B5YmJr0d.js';
|
|
10
10
|
import '../rate-limit/index.js';
|
|
11
|
-
import '../types-
|
|
11
|
+
import '../types-BoUWgwSm.js';
|
|
12
12
|
import '../paginator/index.js';
|
|
13
13
|
|
|
14
14
|
/**
|
package/dist/reconciler/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { createPaginatedWalk, PAGE_KEY } from '../chunk-
|
|
1
|
+
import { createPaginatedWalk, PAGE_KEY } from '../chunk-FOGL3TC7.js';
|
|
2
2
|
import '../chunk-SINXE47Y.js';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-6GIGQT6C.js';
|
|
4
4
|
import '../chunk-JELSZN25.js';
|
|
5
|
-
export { deadlineSub, subscribeDeadline } from '../chunk-
|
|
5
|
+
export { deadlineSub, subscribeDeadline } from '../chunk-SKAMZKTE.js';
|
|
6
6
|
import '../chunk-5VNWZADP.js';
|
|
7
7
|
import '../chunk-2YOE5PIS.js';
|
|
8
8
|
import '../chunk-SC3FAFZN.js';
|
|
9
9
|
import { initCache, get, set } from '../chunk-IN33Q4VJ.js';
|
|
10
10
|
import '../chunk-NSDFA6M6.js';
|
|
11
11
|
import '../chunk-2YFLOCWX.js';
|
|
12
|
-
import '../chunk-
|
|
13
|
-
import '../chunk-
|
|
12
|
+
import '../chunk-6VDCTR7N.js';
|
|
13
|
+
import '../chunk-DYRKDCJI.js';
|
|
14
14
|
|
|
15
15
|
// src/reconciler/index.ts
|
|
16
16
|
function createReconciler(config, rng = Math.random) {
|
package/dist/recorder/index.d.ts
CHANGED
|
@@ -2,11 +2,11 @@ import { TtlCache } from '../cache/index.js';
|
|
|
2
2
|
import { CircuitState } from '../circuit-breaker/index.js';
|
|
3
3
|
import { DeadlineExceeded, DeadlineSub } from '../deadline/index.js';
|
|
4
4
|
export { deadlineSub, subscribeDeadline } from '../deadline/index.js';
|
|
5
|
-
import { C as Cmd } from '../core-
|
|
5
|
+
import { C as Cmd } from '../core-BmlJOvxM.js';
|
|
6
6
|
import { M as MsgType } from '../protocol-B5YmJr0d.js';
|
|
7
7
|
import { TokenBucket } from '../rate-limit/index.js';
|
|
8
8
|
import { RetryState, RetryPolicy } from '../retry-backoff/index.js';
|
|
9
|
-
import '../types-
|
|
9
|
+
import '../types-BoUWgwSm.js';
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* @deprecated `@demlik/tea/resilient-call` is deprecated in favor of
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export { createResilientCall, liftResilience } from '../chunk-
|
|
1
|
+
export { createResilientCall, liftResilience } from '../chunk-6GIGQT6C.js';
|
|
2
2
|
import '../chunk-JELSZN25.js';
|
|
3
|
-
export { deadlineSub, subscribeDeadline } from '../chunk-
|
|
3
|
+
export { deadlineSub, subscribeDeadline } from '../chunk-SKAMZKTE.js';
|
|
4
4
|
import '../chunk-5VNWZADP.js';
|
|
5
5
|
import '../chunk-2YOE5PIS.js';
|
|
6
6
|
import '../chunk-SC3FAFZN.js';
|
|
7
7
|
import '../chunk-IN33Q4VJ.js';
|
|
8
8
|
import '../chunk-NSDFA6M6.js';
|
|
9
9
|
import '../chunk-2YFLOCWX.js';
|
|
10
|
-
import '../chunk-
|
|
11
|
-
import '../chunk-
|
|
10
|
+
import '../chunk-6VDCTR7N.js';
|
|
11
|
+
import '../chunk-DYRKDCJI.js';
|
|
12
12
|
//# sourceMappingURL=index.js.map
|
|
13
13
|
//# sourceMappingURL=index.js.map
|
package/dist/saga/index.d.ts
CHANGED
package/dist/snapshot/index.d.ts
CHANGED
package/dist/snapshot/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { createSnapshot, snapshotFailed, snapshotLoadFailed, snapshotLoaded, snapshotSaved } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { createSnapshot, snapshotFailed, snapshotLoadFailed, snapshotLoaded, snapshotSaved } from '../chunk-5KVHID6A.js';
|
|
2
|
+
import '../chunk-6VDCTR7N.js';
|
|
3
|
+
import '../chunk-DYRKDCJI.js';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
package/dist/subs/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as Sub, P as Port } from '../core-
|
|
2
|
-
import { S as SubscribeHandler } from '../types-
|
|
1
|
+
import { S as Sub, P as Port } from '../core-BmlJOvxM.js';
|
|
2
|
+
import { S as SubscribeHandler } from '../types-BoUWgwSm.js';
|
|
3
3
|
import { Runtime } from '../index.js';
|
|
4
4
|
|
|
5
5
|
interface MinimalEvent {
|
package/dist/testing/index.d.ts
CHANGED
package/dist/testing/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { TtlCache } from '../cache/index.js';
|
|
2
2
|
import { DeadlineSub } from '../deadline/index.js';
|
|
3
3
|
export { DeadlineExceeded as ThrottledInputSettled, subscribeDeadline as subscribeThrottledInput, deadlineExceeded as throttledInputSettled } from '../deadline/index.js';
|
|
4
|
-
import { C as Cmd, S as Sub } from '../core-
|
|
4
|
+
import { C as Cmd, S as Sub } from '../core-BmlJOvxM.js';
|
|
5
5
|
export { Debounced, debounce } from '../debounce/index.js';
|
|
6
6
|
export { Throttled, throttle } from '../throttle/index.js';
|
|
7
|
-
import '../types-
|
|
7
|
+
import '../types-BoUWgwSm.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* @demlik/tea/throttled-input — gate a high-frequency input stream into a
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export { debounce } from '../chunk-J6527VRQ.js';
|
|
2
2
|
export { throttle } from '../chunk-HCEVHFJ7.js';
|
|
3
|
-
import { deadlineSub } from '../chunk-
|
|
4
|
-
export { subscribeDeadline as subscribeThrottledInput, deadlineExceeded as throttledInputSettled } from '../chunk-
|
|
3
|
+
import { deadlineSub } from '../chunk-SKAMZKTE.js';
|
|
4
|
+
export { subscribeDeadline as subscribeThrottledInput, deadlineExceeded as throttledInputSettled } from '../chunk-SKAMZKTE.js';
|
|
5
5
|
import { initCache, get, set } from '../chunk-IN33Q4VJ.js';
|
|
6
6
|
import '../chunk-NSDFA6M6.js';
|
|
7
7
|
import '../chunk-2YFLOCWX.js';
|
|
8
|
-
import '../chunk-
|
|
9
|
-
import '../chunk-
|
|
8
|
+
import '../chunk-6VDCTR7N.js';
|
|
9
|
+
import '../chunk-DYRKDCJI.js';
|
|
10
10
|
|
|
11
11
|
// src/throttled-input/index.ts
|
|
12
12
|
var DEFAULT_SUB_ID = "throttled-input:settle";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { createTokenRefresh, initTokenRefresh, refreshTokenCmd, tokenRefreshFailedMsg, tokenRefreshedMsg } from '../chunk-
|
|
1
|
+
export { createTokenRefresh, initTokenRefresh, refreshTokenCmd, tokenRefreshFailedMsg, tokenRefreshedMsg } from '../chunk-6OUDPSSG.js';
|
|
2
2
|
import '../chunk-JELSZN25.js';
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-6VDCTR7N.js';
|
|
4
|
+
import '../chunk-DYRKDCJI.js';
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { deepEqual, replayTrace } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { deepEqual, replayTrace } from '../chunk-IK4S5DJN.js';
|
|
2
|
+
import '../chunk-6VDCTR7N.js';
|
|
3
|
+
import '../chunk-DYRKDCJI.js';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
5
5
|
//# sourceMappingURL=index.js.map
|