rivetkit 2.3.16-rc.1 → 2.3.16-rc.3
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/browser/client.d.ts +1 -1
- package/dist/browser/client.js +19 -10
- package/dist/browser/client.js.map +1 -1
- package/dist/browser/inspector/client.js +1 -1
- package/dist/browser/inspector/client.js.map +1 -1
- package/dist/tsup/agent-os/index.cjs +1 -1
- package/dist/tsup/agent-os/index.cjs.map +1 -1
- package/dist/tsup/agent-os/index.d.cts +1 -1
- package/dist/tsup/agent-os/index.d.ts +1 -1
- package/dist/tsup/agent-os/index.js +1 -1
- package/dist/tsup/agent-os/index.js.map +1 -1
- package/dist/tsup/{chunk-O6AOXYJS.cjs → chunk-4PXKZBV6.cjs} +2 -2
- package/dist/tsup/{chunk-O6AOXYJS.cjs.map → chunk-4PXKZBV6.cjs.map} +1 -1
- package/dist/tsup/{chunk-Y5ITPLIZ.js → chunk-536GCPI4.js} +2 -2
- package/dist/tsup/{chunk-6LXFZMP3.cjs → chunk-76SYOT7O.cjs} +3 -3
- package/dist/tsup/{chunk-6LXFZMP3.cjs.map → chunk-76SYOT7O.cjs.map} +1 -1
- package/dist/tsup/{chunk-YJLDR2ER.js → chunk-C2NJUAV7.js} +2 -2
- package/dist/tsup/{chunk-CI3YJFF5.js → chunk-C44Y427L.js} +2 -2
- package/dist/tsup/{chunk-SBVOVCEV.js → chunk-GKWGFIQN.js} +4 -4
- package/dist/tsup/{chunk-UB2TRTCU.cjs → chunk-LXI6XABP.cjs} +4 -4
- package/dist/tsup/{chunk-UB2TRTCU.cjs.map → chunk-LXI6XABP.cjs.map} +1 -1
- package/dist/tsup/{chunk-SITFHK4O.js → chunk-PUA6HD6Q.js} +2 -2
- package/dist/tsup/{chunk-SITFHK4O.js.map → chunk-PUA6HD6Q.js.map} +1 -1
- package/dist/tsup/{chunk-SPP637PG.cjs → chunk-QBSXKOJW.cjs} +3 -3
- package/dist/tsup/{chunk-SPP637PG.cjs.map → chunk-QBSXKOJW.cjs.map} +1 -1
- package/dist/tsup/{chunk-J7XHROYC.cjs → chunk-RLDSKBCJ.cjs} +157 -148
- package/dist/tsup/chunk-RLDSKBCJ.cjs.map +1 -0
- package/dist/tsup/{chunk-GOCSOC34.cjs → chunk-S2ZOFC56.cjs} +3 -3
- package/dist/tsup/{chunk-GOCSOC34.cjs.map → chunk-S2ZOFC56.cjs.map} +1 -1
- package/dist/tsup/{chunk-XURWI577.js → chunk-SR2RDBBA.js} +24 -15
- package/dist/tsup/chunk-SR2RDBBA.js.map +1 -0
- package/dist/tsup/{chunk-SWUVWQAR.cjs → chunk-SXSPIMT7.cjs} +10 -10
- package/dist/tsup/{chunk-SWUVWQAR.cjs.map → chunk-SXSPIMT7.cjs.map} +1 -1
- package/dist/tsup/{chunk-OYPJTC36.js → chunk-TE5JEFJ7.js} +2 -2
- package/dist/tsup/{chunk-I3UZCPYA.js → chunk-U4BMF572.js} +3 -3
- package/dist/tsup/{chunk-Q2UG7U27.cjs → chunk-ZUTYEAHU.cjs} +7 -7
- package/dist/tsup/{chunk-Q2UG7U27.cjs.map → chunk-ZUTYEAHU.cjs.map} +1 -1
- package/dist/tsup/client/mod.cjs +5 -5
- package/dist/tsup/client/mod.d.cts +2 -2
- package/dist/tsup/client/mod.d.ts +2 -2
- package/dist/tsup/client/mod.js +4 -4
- package/dist/tsup/common/log.cjs +2 -2
- package/dist/tsup/common/log.js +1 -1
- package/dist/tsup/common/websocket.cjs +3 -3
- package/dist/tsup/common/websocket.js +2 -2
- package/dist/tsup/{config-BGTanB_3.d.ts → config-Cc0kEhos.d.ts} +1 -1
- package/dist/tsup/{config-NHz6oMb9.d.cts → config-D_w88_vC.d.cts} +1 -1
- package/dist/tsup/{context-DB8zG_Ib.d.cts → context-CUEj2ytU.d.cts} +1 -1
- package/dist/tsup/{context-SHomdVV8.d.ts → context-DqibhWCZ.d.ts} +1 -1
- package/dist/tsup/db/drizzle.cjs +2 -2
- package/dist/tsup/db/drizzle.js +1 -1
- package/dist/tsup/db/mod.cjs +3 -3
- package/dist/tsup/db/mod.js +2 -2
- package/dist/tsup/dynamic/mod.d.cts +1 -1
- package/dist/tsup/dynamic/mod.d.ts +1 -1
- package/dist/tsup/inspector/mod.cjs +5 -5
- package/dist/tsup/inspector/mod.js +4 -4
- package/dist/tsup/inspector/workflow.cjs +4 -4
- package/dist/tsup/inspector/workflow.js +3 -3
- package/dist/tsup/inspector-tab/mod.d.cts +2 -2
- package/dist/tsup/inspector-tab/mod.d.ts +2 -2
- package/dist/tsup/mod.cjs +76 -76
- package/dist/tsup/mod.cjs.map +1 -1
- package/dist/tsup/mod.d.cts +3 -3
- package/dist/tsup/mod.d.ts +3 -3
- package/dist/tsup/mod.js +5 -5
- package/dist/tsup/test/mod.cjs +6 -6
- package/dist/tsup/test/mod.d.cts +1 -1
- package/dist/tsup/test/mod.d.ts +1 -1
- package/dist/tsup/test/mod.js +4 -4
- package/dist/tsup/utils.cjs +2 -2
- package/dist/tsup/utils.js +1 -1
- package/dist/tsup/workflow/mod.cjs +7 -7
- package/dist/tsup/workflow/mod.d.cts +3 -3
- package/dist/tsup/workflow/mod.d.ts +3 -3
- package/dist/tsup/workflow/mod.js +4 -4
- package/package.json +8 -8
- package/src/client/actor-handle.ts +10 -2
- package/src/client/client.ts +6 -0
- package/dist/tsup/chunk-J7XHROYC.cjs.map +0 -1
- package/dist/tsup/chunk-XURWI577.js.map +0 -1
- /package/dist/tsup/{chunk-Y5ITPLIZ.js.map → chunk-536GCPI4.js.map} +0 -0
- /package/dist/tsup/{chunk-YJLDR2ER.js.map → chunk-C2NJUAV7.js.map} +0 -0
- /package/dist/tsup/{chunk-CI3YJFF5.js.map → chunk-C44Y427L.js.map} +0 -0
- /package/dist/tsup/{chunk-SBVOVCEV.js.map → chunk-GKWGFIQN.js.map} +0 -0
- /package/dist/tsup/{chunk-OYPJTC36.js.map → chunk-TE5JEFJ7.js.map} +0 -0
- /package/dist/tsup/{chunk-I3UZCPYA.js.map → chunk-U4BMF572.js.map} +0 -0
package/dist/tsup/mod.d.cts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { A as AnyActorDefinition, B as BaseActorDefinition, E as EventSchemaConfig, Q as QueueSchemaConfig, a as ActionContext, b as BeforeActionResponseContext, c as BeforeConnectContext, C as ConnectContext, d as CreateConnStateContext, e as CreateContext, f as CreateVarsContext, D as DestroyContext, g as DisconnectContext, M as MigrateContext, R as RequestContext, h as RunContext, S as SleepContext, i as StateChangeContext, W as WakeContext, j as WebSocketContext } from './config-
|
|
2
|
-
export { k as ACTOR_CONTEXT_INTERNAL_SYMBOL, l as ActionInputSchemas, m as Actions, n as ActorConfig, o as ActorConfigInput, p as ActorConfigSchema, q as ActorContext, r as ActorContextOf, s as ActorCron, t as ActorCronEveryOptions, u as ActorCronSetOptions, v as ActorDefinition, w as ActorInspectorConfig, x as ActorInspectorConfigSchema, y as ActorKey, z as ActorKv, F as ActorLogger, G as ActorOptions, H as ActorOptionsInput, I as ActorOptionsSchema, J as ActorQuery, K as ActorQueue, L as ActorRun, N as ActorSchedule, O as ActorTypes, P as ActorsSchema, T as AnyActorInstance, U as AnyClient, V as AnyConn, X as AnyStaticActorDefinition, Y as AnyStaticActorInstance, Z as AuthIntent, _ as BUILTIN_INSPECTOR_TAB_IDS, $ as BaseActorInstance, a0 as BuiltinInspectorTabIdSchema, a1 as CONN_DRIVER_SYMBOL, a2 as CONN_STATE_MANAGER_SYMBOL, a3 as Client, a4 as Conn, a5 as CronFire, a6 as CronJobInfo, a7 as CustomInspectorTabEntrySchema, a8 as DEFAULT_SLEEP_GRACE_PERIOD, a9 as DefineRunHandlerOptions, aa as DocActorConfigSchema, ab as DocActorOptionsSchema, ac as DocConfigurePoolSchema, ad as DocEnvoyConfigSchema, ae as DocRegistryConfigSchema, af as DocServerlessConfigSchema, ag as DocSqliteConfigSchema, ah as FetchHandler, ai as GlobalActorOptions, aj as GlobalActorOptionsInput, ak as GlobalActorOptionsSchema, al as HideInspectorTabEntrySchema, am as InferEventArgs, an as InferSchemaMap, ao as InspectorTabEntrySchema, ap as InspectorUnsubscribe, aq as InstanceActorOptions, ar as InstanceActorOptionsInput, as as InstanceActorOptionsSchema, at as QueueEnqueueAndWaitOptions, au as QueueFilterName, av as QueueIterOptions, aw as QueueMessageOf, ax as QueueName, ay as QueueNextBatchOptions, az as QueueNextOptions, aA as QueueResultMessageForName, aB as QueueTryNextBatchOptions, aC as QueueTryNextOptions, aD as QueueWaitOptions, aE as RAW_STATE_SYMBOL, aF as Registry, aG as RegistryActors, aH as RegistryApplication, aI as RegistryConfig, aJ as RegistryConfigInput, aK as RegistryConfigSchema, aL as RegistryDeps, aM as RegistryListenOptions, aN as RegistryRoutes, aO as RunConfig, aP as RunConfigSchema, aQ as RunControl, aR as RunInspectorConfig, aS as RunInspectorFactoryContext, aT as RunInspectorFactoryResult, aU as RunInspectorKind, aV as RunWithInactiveOptions, aW as RuntimeKind, aX as RuntimeKindSchema, aY as ScheduledEventInfo, aZ as ScheduledFireInfo, a_ as ServerlessHandler, a$ as SqliteBackend, b0 as SqliteBackendSchema, b1 as SqliteConfig, b2 as SqliteConfigSchema, b3 as TestConfig, b4 as TestConfigSchema, b5 as Type, b6 as WasmRuntimeBindings, b7 as WasmRuntimeConfig, b8 as WasmRuntimeConfigSchema, b9 as WasmRuntimeInitInput, ba as WorkflowInspectorConfig, bb as actor, bc as buildActorNames, bd as createClientWithDriver, be as defineRunHandler, bf as disposeRunInspector, bg as event, bh as getRunFunction, bi as getRunInspectorConfig, bj as getRunMetadata, bk as isStaticActorDefinition, bl as isStaticActorInstance, bm as lookupInRegistry, bn as queue, bo as setup, bp as test } from './config-
|
|
1
|
+
import { A as AnyActorDefinition, B as BaseActorDefinition, E as EventSchemaConfig, Q as QueueSchemaConfig, a as ActionContext, b as BeforeActionResponseContext, c as BeforeConnectContext, C as ConnectContext, d as CreateConnStateContext, e as CreateContext, f as CreateVarsContext, D as DestroyContext, g as DisconnectContext, M as MigrateContext, R as RequestContext, h as RunContext, S as SleepContext, i as StateChangeContext, W as WakeContext, j as WebSocketContext } from './config-D_w88_vC.cjs';
|
|
2
|
+
export { k as ACTOR_CONTEXT_INTERNAL_SYMBOL, l as ActionInputSchemas, m as Actions, n as ActorConfig, o as ActorConfigInput, p as ActorConfigSchema, q as ActorContext, r as ActorContextOf, s as ActorCron, t as ActorCronEveryOptions, u as ActorCronSetOptions, v as ActorDefinition, w as ActorInspectorConfig, x as ActorInspectorConfigSchema, y as ActorKey, z as ActorKv, F as ActorLogger, G as ActorOptions, H as ActorOptionsInput, I as ActorOptionsSchema, J as ActorQuery, K as ActorQueue, L as ActorRun, N as ActorSchedule, O as ActorTypes, P as ActorsSchema, T as AnyActorInstance, U as AnyClient, V as AnyConn, X as AnyStaticActorDefinition, Y as AnyStaticActorInstance, Z as AuthIntent, _ as BUILTIN_INSPECTOR_TAB_IDS, $ as BaseActorInstance, a0 as BuiltinInspectorTabIdSchema, a1 as CONN_DRIVER_SYMBOL, a2 as CONN_STATE_MANAGER_SYMBOL, a3 as Client, a4 as Conn, a5 as CronFire, a6 as CronJobInfo, a7 as CustomInspectorTabEntrySchema, a8 as DEFAULT_SLEEP_GRACE_PERIOD, a9 as DefineRunHandlerOptions, aa as DocActorConfigSchema, ab as DocActorOptionsSchema, ac as DocConfigurePoolSchema, ad as DocEnvoyConfigSchema, ae as DocRegistryConfigSchema, af as DocServerlessConfigSchema, ag as DocSqliteConfigSchema, ah as FetchHandler, ai as GlobalActorOptions, aj as GlobalActorOptionsInput, ak as GlobalActorOptionsSchema, al as HideInspectorTabEntrySchema, am as InferEventArgs, an as InferSchemaMap, ao as InspectorTabEntrySchema, ap as InspectorUnsubscribe, aq as InstanceActorOptions, ar as InstanceActorOptionsInput, as as InstanceActorOptionsSchema, at as QueueEnqueueAndWaitOptions, au as QueueFilterName, av as QueueIterOptions, aw as QueueMessageOf, ax as QueueName, ay as QueueNextBatchOptions, az as QueueNextOptions, aA as QueueResultMessageForName, aB as QueueTryNextBatchOptions, aC as QueueTryNextOptions, aD as QueueWaitOptions, aE as RAW_STATE_SYMBOL, aF as Registry, aG as RegistryActors, aH as RegistryApplication, aI as RegistryConfig, aJ as RegistryConfigInput, aK as RegistryConfigSchema, aL as RegistryDeps, aM as RegistryListenOptions, aN as RegistryRoutes, aO as RunConfig, aP as RunConfigSchema, aQ as RunControl, aR as RunInspectorConfig, aS as RunInspectorFactoryContext, aT as RunInspectorFactoryResult, aU as RunInspectorKind, aV as RunWithInactiveOptions, aW as RuntimeKind, aX as RuntimeKindSchema, aY as ScheduledEventInfo, aZ as ScheduledFireInfo, a_ as ServerlessHandler, a$ as SqliteBackend, b0 as SqliteBackendSchema, b1 as SqliteConfig, b2 as SqliteConfigSchema, b3 as TestConfig, b4 as TestConfigSchema, b5 as Type, b6 as WasmRuntimeBindings, b7 as WasmRuntimeConfig, b8 as WasmRuntimeConfigSchema, b9 as WasmRuntimeInitInput, ba as WorkflowInspectorConfig, bb as actor, bc as buildActorNames, bd as createClientWithDriver, be as defineRunHandler, bf as disposeRunInspector, bg as event, bh as getRunFunction, bi as getRunInspectorConfig, bj as getRunMetadata, bk as isStaticActorDefinition, bl as isStaticActorInstance, bm as lookupInRegistry, bn as queue, bo as setup, bp as test } from './config-D_w88_vC.cjs';
|
|
3
3
|
export { E as Encoding, t as toUint8Array } from './utils-Bbz-3411.cjs';
|
|
4
4
|
import { UniversalWebSocket } from '@rivetkit/virtual-websocket';
|
|
5
5
|
export { RivetCloseEvent, RivetEvent, RivetMessageEvent, UniversalWebSocket } from '@rivetkit/virtual-websocket';
|
|
6
6
|
import { A as AnyDatabaseProvider } from './config-ey2I2zz5.cjs';
|
|
7
7
|
export { R as ActorError, R as RivetError, a as RivetErrorLike, b as RivetErrorOptions, U as UserError, c as UserErrorOptions, n as noopNext } from './utils-vvJQyygr.cjs';
|
|
8
8
|
import { WSContext } from 'hono/ws';
|
|
9
|
-
export { W as WorkflowBranchContextOf, a as WorkflowContextOf, b as WorkflowLoopContextOf, c as WorkflowStepContextOf } from './context-
|
|
9
|
+
export { W as WorkflowBranchContextOf, a as WorkflowContextOf, b as WorkflowLoopContextOf, c as WorkflowStepContextOf } from './context-CUEj2ytU.cjs';
|
|
10
10
|
import 'zod/v4';
|
|
11
11
|
import '@rivetkit/rivetkit-wasm';
|
|
12
12
|
import 'zod';
|
package/dist/tsup/mod.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { A as AnyActorDefinition, B as BaseActorDefinition, E as EventSchemaConfig, Q as QueueSchemaConfig, a as ActionContext, b as BeforeActionResponseContext, c as BeforeConnectContext, C as ConnectContext, d as CreateConnStateContext, e as CreateContext, f as CreateVarsContext, D as DestroyContext, g as DisconnectContext, M as MigrateContext, R as RequestContext, h as RunContext, S as SleepContext, i as StateChangeContext, W as WakeContext, j as WebSocketContext } from './config-
|
|
2
|
-
export { k as ACTOR_CONTEXT_INTERNAL_SYMBOL, l as ActionInputSchemas, m as Actions, n as ActorConfig, o as ActorConfigInput, p as ActorConfigSchema, q as ActorContext, r as ActorContextOf, s as ActorCron, t as ActorCronEveryOptions, u as ActorCronSetOptions, v as ActorDefinition, w as ActorInspectorConfig, x as ActorInspectorConfigSchema, y as ActorKey, z as ActorKv, F as ActorLogger, G as ActorOptions, H as ActorOptionsInput, I as ActorOptionsSchema, J as ActorQuery, K as ActorQueue, L as ActorRun, N as ActorSchedule, O as ActorTypes, P as ActorsSchema, T as AnyActorInstance, U as AnyClient, V as AnyConn, X as AnyStaticActorDefinition, Y as AnyStaticActorInstance, Z as AuthIntent, _ as BUILTIN_INSPECTOR_TAB_IDS, $ as BaseActorInstance, a0 as BuiltinInspectorTabIdSchema, a1 as CONN_DRIVER_SYMBOL, a2 as CONN_STATE_MANAGER_SYMBOL, a3 as Client, a4 as Conn, a5 as CronFire, a6 as CronJobInfo, a7 as CustomInspectorTabEntrySchema, a8 as DEFAULT_SLEEP_GRACE_PERIOD, a9 as DefineRunHandlerOptions, aa as DocActorConfigSchema, ab as DocActorOptionsSchema, ac as DocConfigurePoolSchema, ad as DocEnvoyConfigSchema, ae as DocRegistryConfigSchema, af as DocServerlessConfigSchema, ag as DocSqliteConfigSchema, ah as FetchHandler, ai as GlobalActorOptions, aj as GlobalActorOptionsInput, ak as GlobalActorOptionsSchema, al as HideInspectorTabEntrySchema, am as InferEventArgs, an as InferSchemaMap, ao as InspectorTabEntrySchema, ap as InspectorUnsubscribe, aq as InstanceActorOptions, ar as InstanceActorOptionsInput, as as InstanceActorOptionsSchema, at as QueueEnqueueAndWaitOptions, au as QueueFilterName, av as QueueIterOptions, aw as QueueMessageOf, ax as QueueName, ay as QueueNextBatchOptions, az as QueueNextOptions, aA as QueueResultMessageForName, aB as QueueTryNextBatchOptions, aC as QueueTryNextOptions, aD as QueueWaitOptions, aE as RAW_STATE_SYMBOL, aF as Registry, aG as RegistryActors, aH as RegistryApplication, aI as RegistryConfig, aJ as RegistryConfigInput, aK as RegistryConfigSchema, aL as RegistryDeps, aM as RegistryListenOptions, aN as RegistryRoutes, aO as RunConfig, aP as RunConfigSchema, aQ as RunControl, aR as RunInspectorConfig, aS as RunInspectorFactoryContext, aT as RunInspectorFactoryResult, aU as RunInspectorKind, aV as RunWithInactiveOptions, aW as RuntimeKind, aX as RuntimeKindSchema, aY as ScheduledEventInfo, aZ as ScheduledFireInfo, a_ as ServerlessHandler, a$ as SqliteBackend, b0 as SqliteBackendSchema, b1 as SqliteConfig, b2 as SqliteConfigSchema, b3 as TestConfig, b4 as TestConfigSchema, b5 as Type, b6 as WasmRuntimeBindings, b7 as WasmRuntimeConfig, b8 as WasmRuntimeConfigSchema, b9 as WasmRuntimeInitInput, ba as WorkflowInspectorConfig, bb as actor, bc as buildActorNames, bd as createClientWithDriver, be as defineRunHandler, bf as disposeRunInspector, bg as event, bh as getRunFunction, bi as getRunInspectorConfig, bj as getRunMetadata, bk as isStaticActorDefinition, bl as isStaticActorInstance, bm as lookupInRegistry, bn as queue, bo as setup, bp as test } from './config-
|
|
1
|
+
import { A as AnyActorDefinition, B as BaseActorDefinition, E as EventSchemaConfig, Q as QueueSchemaConfig, a as ActionContext, b as BeforeActionResponseContext, c as BeforeConnectContext, C as ConnectContext, d as CreateConnStateContext, e as CreateContext, f as CreateVarsContext, D as DestroyContext, g as DisconnectContext, M as MigrateContext, R as RequestContext, h as RunContext, S as SleepContext, i as StateChangeContext, W as WakeContext, j as WebSocketContext } from './config-Cc0kEhos.js';
|
|
2
|
+
export { k as ACTOR_CONTEXT_INTERNAL_SYMBOL, l as ActionInputSchemas, m as Actions, n as ActorConfig, o as ActorConfigInput, p as ActorConfigSchema, q as ActorContext, r as ActorContextOf, s as ActorCron, t as ActorCronEveryOptions, u as ActorCronSetOptions, v as ActorDefinition, w as ActorInspectorConfig, x as ActorInspectorConfigSchema, y as ActorKey, z as ActorKv, F as ActorLogger, G as ActorOptions, H as ActorOptionsInput, I as ActorOptionsSchema, J as ActorQuery, K as ActorQueue, L as ActorRun, N as ActorSchedule, O as ActorTypes, P as ActorsSchema, T as AnyActorInstance, U as AnyClient, V as AnyConn, X as AnyStaticActorDefinition, Y as AnyStaticActorInstance, Z as AuthIntent, _ as BUILTIN_INSPECTOR_TAB_IDS, $ as BaseActorInstance, a0 as BuiltinInspectorTabIdSchema, a1 as CONN_DRIVER_SYMBOL, a2 as CONN_STATE_MANAGER_SYMBOL, a3 as Client, a4 as Conn, a5 as CronFire, a6 as CronJobInfo, a7 as CustomInspectorTabEntrySchema, a8 as DEFAULT_SLEEP_GRACE_PERIOD, a9 as DefineRunHandlerOptions, aa as DocActorConfigSchema, ab as DocActorOptionsSchema, ac as DocConfigurePoolSchema, ad as DocEnvoyConfigSchema, ae as DocRegistryConfigSchema, af as DocServerlessConfigSchema, ag as DocSqliteConfigSchema, ah as FetchHandler, ai as GlobalActorOptions, aj as GlobalActorOptionsInput, ak as GlobalActorOptionsSchema, al as HideInspectorTabEntrySchema, am as InferEventArgs, an as InferSchemaMap, ao as InspectorTabEntrySchema, ap as InspectorUnsubscribe, aq as InstanceActorOptions, ar as InstanceActorOptionsInput, as as InstanceActorOptionsSchema, at as QueueEnqueueAndWaitOptions, au as QueueFilterName, av as QueueIterOptions, aw as QueueMessageOf, ax as QueueName, ay as QueueNextBatchOptions, az as QueueNextOptions, aA as QueueResultMessageForName, aB as QueueTryNextBatchOptions, aC as QueueTryNextOptions, aD as QueueWaitOptions, aE as RAW_STATE_SYMBOL, aF as Registry, aG as RegistryActors, aH as RegistryApplication, aI as RegistryConfig, aJ as RegistryConfigInput, aK as RegistryConfigSchema, aL as RegistryDeps, aM as RegistryListenOptions, aN as RegistryRoutes, aO as RunConfig, aP as RunConfigSchema, aQ as RunControl, aR as RunInspectorConfig, aS as RunInspectorFactoryContext, aT as RunInspectorFactoryResult, aU as RunInspectorKind, aV as RunWithInactiveOptions, aW as RuntimeKind, aX as RuntimeKindSchema, aY as ScheduledEventInfo, aZ as ScheduledFireInfo, a_ as ServerlessHandler, a$ as SqliteBackend, b0 as SqliteBackendSchema, b1 as SqliteConfig, b2 as SqliteConfigSchema, b3 as TestConfig, b4 as TestConfigSchema, b5 as Type, b6 as WasmRuntimeBindings, b7 as WasmRuntimeConfig, b8 as WasmRuntimeConfigSchema, b9 as WasmRuntimeInitInput, ba as WorkflowInspectorConfig, bb as actor, bc as buildActorNames, bd as createClientWithDriver, be as defineRunHandler, bf as disposeRunInspector, bg as event, bh as getRunFunction, bi as getRunInspectorConfig, bj as getRunMetadata, bk as isStaticActorDefinition, bl as isStaticActorInstance, bm as lookupInRegistry, bn as queue, bo as setup, bp as test } from './config-Cc0kEhos.js';
|
|
3
3
|
export { E as Encoding, t as toUint8Array } from './utils-BqdWVlzm.js';
|
|
4
4
|
import { UniversalWebSocket } from '@rivetkit/virtual-websocket';
|
|
5
5
|
export { RivetCloseEvent, RivetEvent, RivetMessageEvent, UniversalWebSocket } from '@rivetkit/virtual-websocket';
|
|
6
6
|
import { A as AnyDatabaseProvider } from './config-ey2I2zz5.js';
|
|
7
7
|
export { R as ActorError, R as RivetError, a as RivetErrorLike, b as RivetErrorOptions, U as UserError, c as UserErrorOptions, n as noopNext } from './utils-vvJQyygr.js';
|
|
8
8
|
import { WSContext } from 'hono/ws';
|
|
9
|
-
export { W as WorkflowBranchContextOf, a as WorkflowContextOf, b as WorkflowLoopContextOf, c as WorkflowStepContextOf } from './context-
|
|
9
|
+
export { W as WorkflowBranchContextOf, a as WorkflowContextOf, b as WorkflowLoopContextOf, c as WorkflowStepContextOf } from './context-DqibhWCZ.js';
|
|
10
10
|
import 'zod/v4';
|
|
11
11
|
import '@rivetkit/rivetkit-wasm';
|
|
12
12
|
import 'zod';
|
package/dist/tsup/mod.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
decodeWorkflowHistoryTransport
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-C2NJUAV7.js";
|
|
4
4
|
import {
|
|
5
5
|
ACTOR_CONTEXT_INTERNAL_SYMBOL,
|
|
6
6
|
ActorConfigSchema,
|
|
@@ -28,18 +28,18 @@ import {
|
|
|
28
28
|
isResponseLike,
|
|
29
29
|
tryParseEndpoint,
|
|
30
30
|
updateRunnerConfig
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-SR2RDBBA.js";
|
|
32
32
|
import {
|
|
33
33
|
makePrefixedKey,
|
|
34
34
|
removePrefixFromKey
|
|
35
35
|
} from "./chunk-JI6GZ2C2.js";
|
|
36
|
-
import "./chunk-OYPJTC36.js";
|
|
37
36
|
import {
|
|
38
37
|
bindNativeStateTransactionContext,
|
|
39
38
|
db,
|
|
40
39
|
registerNativeStateTransactionOpener
|
|
41
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-536GCPI4.js";
|
|
42
41
|
import "./chunk-JTHHCZCZ.js";
|
|
42
|
+
import "./chunk-TE5JEFJ7.js";
|
|
43
43
|
import {
|
|
44
44
|
LogLevelSchema,
|
|
45
45
|
VERSION,
|
|
@@ -73,7 +73,7 @@ import {
|
|
|
73
73
|
parsePortEnv,
|
|
74
74
|
stringifyError,
|
|
75
75
|
toUint8Array
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-PUA6HD6Q.js";
|
|
77
77
|
import {
|
|
78
78
|
INTERNAL_ERROR_CODE,
|
|
79
79
|
RivetError,
|
package/dist/tsup/test/mod.cjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkZUTYEAHUcjs = require('../chunk-ZUTYEAHU.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkRLDSKBCJcjs = require('../chunk-RLDSKBCJ.cjs');
|
|
7
7
|
require('../chunk-MYWZCDML.cjs');
|
|
8
|
-
require('../chunk-GOCSOC34.cjs');
|
|
9
8
|
require('../chunk-KVFIONKQ.cjs');
|
|
10
|
-
require('../chunk-
|
|
9
|
+
require('../chunk-S2ZOFC56.cjs');
|
|
10
|
+
require('../chunk-4PXKZBV6.cjs');
|
|
11
11
|
require('../chunk-2JSYYH6P.cjs');
|
|
12
12
|
|
|
13
13
|
// src/test/ready.ts
|
|
@@ -36,8 +36,8 @@ async function setupTest(c, registry) {
|
|
|
36
36
|
registry.config.noWelcome = true;
|
|
37
37
|
registry.start();
|
|
38
38
|
await waitForRegistryReady(registry);
|
|
39
|
-
const client =
|
|
40
|
-
...
|
|
39
|
+
const client = _chunkZUTYEAHUcjs.createClient.call(void 0, {
|
|
40
|
+
..._chunkRLDSKBCJcjs.convertRegistryConfigToClientConfig.call(void 0, registry.parseConfig()),
|
|
41
41
|
disableMetadataLookup: false
|
|
42
42
|
});
|
|
43
43
|
c.onTestFinished(async () => {
|
package/dist/tsup/test/mod.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TestContext } from 'vitest';
|
|
2
|
-
import { aF as Registry, a3 as Client } from '../config-
|
|
2
|
+
import { aF as Registry, a3 as Client } from '../config-D_w88_vC.cjs';
|
|
3
3
|
import 'zod/v4';
|
|
4
4
|
import '../config-ey2I2zz5.cjs';
|
|
5
5
|
import '@rivetkit/rivetkit-wasm';
|
package/dist/tsup/test/mod.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TestContext } from 'vitest';
|
|
2
|
-
import { aF as Registry, a3 as Client } from '../config-
|
|
2
|
+
import { aF as Registry, a3 as Client } from '../config-Cc0kEhos.js';
|
|
3
3
|
import 'zod/v4';
|
|
4
4
|
import '../config-ey2I2zz5.js';
|
|
5
5
|
import '@rivetkit/rivetkit-wasm';
|
package/dist/tsup/test/mod.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createClient
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-U4BMF572.js";
|
|
4
4
|
import {
|
|
5
5
|
convertRegistryConfigToClientConfig
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-SR2RDBBA.js";
|
|
7
7
|
import "../chunk-JI6GZ2C2.js";
|
|
8
|
-
import "../chunk-OYPJTC36.js";
|
|
9
8
|
import "../chunk-JTHHCZCZ.js";
|
|
10
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-TE5JEFJ7.js";
|
|
10
|
+
import "../chunk-PUA6HD6Q.js";
|
|
11
11
|
import "../chunk-OUQUIBVW.js";
|
|
12
12
|
|
|
13
13
|
// src/test/ready.ts
|
package/dist/tsup/utils.cjs
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunk4PXKZBV6cjs = require('./chunk-4PXKZBV6.cjs');
|
|
23
23
|
require('./chunk-2JSYYH6P.cjs');
|
|
24
24
|
|
|
25
25
|
|
|
@@ -42,5 +42,5 @@ require('./chunk-2JSYYH6P.cjs');
|
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
|
|
45
|
-
exports.EXTRA_ERROR_LOG =
|
|
45
|
+
exports.EXTRA_ERROR_LOG = _chunk4PXKZBV6cjs.EXTRA_ERROR_LOG; exports.SinglePromiseQueue = _chunk4PXKZBV6cjs.SinglePromiseQueue; exports.VERSION = _chunk4PXKZBV6cjs.VERSION; exports.arrayBuffersEqual = _chunk4PXKZBV6cjs.arrayBuffersEqual; exports.assertUnreachable = _chunk4PXKZBV6cjs.assertUnreachable; exports.bufferToArrayBuffer = _chunk4PXKZBV6cjs.bufferToArrayBuffer; exports.combineUrlPath = _chunk4PXKZBV6cjs.combineUrlPath; exports.dbg = _chunk4PXKZBV6cjs.dbg; exports.detectRuntime = _chunk4PXKZBV6cjs.detectRuntime; exports.getEnvUniversal = _chunk4PXKZBV6cjs.getEnvUniversal; exports.httpUserAgent = _chunk4PXKZBV6cjs.httpUserAgent; exports.interval = _chunk4PXKZBV6cjs.interval; exports.joinSignals = _chunk4PXKZBV6cjs.joinSignals; exports.jsonParseCompat = _chunk4PXKZBV6cjs.jsonParseCompat; exports.jsonStringifyCompat = _chunk4PXKZBV6cjs.jsonStringifyCompat; exports.promiseWithResolvers = _chunk4PXKZBV6cjs.promiseWithResolvers; exports.setLongTimeout = _chunk4PXKZBV6cjs.setLongTimeout; exports.sleep = _chunk4PXKZBV6cjs.sleep; exports.stringifyError = _chunk4PXKZBV6cjs.stringifyError; exports.toUint8Array = _chunk4PXKZBV6cjs.toUint8Array;
|
|
46
46
|
//# sourceMappingURL=utils.cjs.map
|
package/dist/tsup/utils.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } async function _asyncNullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return await rhsFn(); } } var _class; var _class2;
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
5
|
-
require('../chunk-
|
|
3
|
+
var _chunkSXSPIMT7cjs = require('../chunk-SXSPIMT7.cjs');
|
|
4
|
+
require('../chunk-76SYOT7O.cjs');
|
|
5
|
+
require('../chunk-LXI6XABP.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
@@ -13,7 +13,7 @@ var _chunk4KGXFC6Mcjs = require('../chunk-4KGXFC6M.cjs');
|
|
|
13
13
|
var _chunkMYWZCDMLcjs = require('../chunk-MYWZCDML.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunk4PXKZBV6cjs = require('../chunk-4PXKZBV6.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
@@ -727,7 +727,7 @@ function workflow(fn, options = {}) {
|
|
|
727
727
|
function getWorkflowInspector(actorId) {
|
|
728
728
|
let workflowInspector = workflowInspectors.get(actorId);
|
|
729
729
|
if (!workflowInspector) {
|
|
730
|
-
workflowInspector =
|
|
730
|
+
workflowInspector = _chunkSXSPIMT7cjs.createWorkflowInspectorAdapter.call(void 0, );
|
|
731
731
|
workflowInspectors.set(actorId, workflowInspector);
|
|
732
732
|
}
|
|
733
733
|
return workflowInspector;
|
|
@@ -800,13 +800,13 @@ function workflow(fn, options = {}) {
|
|
|
800
800
|
if (shouldRethrowWorkflowError(error)) {
|
|
801
801
|
runCtx.log.error({
|
|
802
802
|
msg: "workflow run failed",
|
|
803
|
-
error:
|
|
803
|
+
error: _chunk4PXKZBV6cjs.stringifyError.call(void 0, error)
|
|
804
804
|
});
|
|
805
805
|
throw error;
|
|
806
806
|
}
|
|
807
807
|
runCtx.log.warn({
|
|
808
808
|
msg: "workflow failed and will sleep until woken",
|
|
809
|
-
error:
|
|
809
|
+
error: _chunk4PXKZBV6cjs.stringifyError.call(void 0, error)
|
|
810
810
|
});
|
|
811
811
|
} finally {
|
|
812
812
|
runCtx.abortSignal.removeEventListener("abort", onAbort);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { WorkflowErrorEvent } from '@rivetkit/workflow-engine';
|
|
2
2
|
export { Loop, TryBlockCatchKind, TryBlockConfig, TryBlockFailure, TryBlockResult, TryStepCatchKind, TryStepConfig, TryStepFailure, TryStepResult, WorkflowError, WorkflowErrorEvent } from '@rivetkit/workflow-engine';
|
|
3
|
-
import { E as EventSchemaConfig, Q as QueueSchemaConfig, h as RunContext } from '../config-
|
|
3
|
+
import { E as EventSchemaConfig, Q as QueueSchemaConfig, h as RunContext } from '../config-D_w88_vC.cjs';
|
|
4
4
|
import { A as AnyDatabaseProvider } from '../config-ey2I2zz5.cjs';
|
|
5
|
-
import { d as WorkflowContext } from '../context-
|
|
6
|
-
export { e as WorkflowBranchConfig, W as WorkflowBranchContextOf, a as WorkflowContextOf, f as WorkflowLoopConfig, b as WorkflowLoopContextOf, g as WorkflowStepConfig, h as WorkflowStepContext, c as WorkflowStepContextOf, i as WorkflowTryConfig, j as WorkflowTryStepConfig } from '../context-
|
|
5
|
+
import { d as WorkflowContext } from '../context-CUEj2ytU.cjs';
|
|
6
|
+
export { e as WorkflowBranchConfig, W as WorkflowBranchContextOf, a as WorkflowContextOf, f as WorkflowLoopConfig, b as WorkflowLoopContextOf, g as WorkflowStepConfig, h as WorkflowStepContext, c as WorkflowStepContextOf, i as WorkflowTryConfig, j as WorkflowTryStepConfig } from '../context-CUEj2ytU.cjs';
|
|
7
7
|
import 'zod/v4';
|
|
8
8
|
import '@rivetkit/rivetkit-wasm';
|
|
9
9
|
import 'zod';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { WorkflowErrorEvent } from '@rivetkit/workflow-engine';
|
|
2
2
|
export { Loop, TryBlockCatchKind, TryBlockConfig, TryBlockFailure, TryBlockResult, TryStepCatchKind, TryStepConfig, TryStepFailure, TryStepResult, WorkflowError, WorkflowErrorEvent } from '@rivetkit/workflow-engine';
|
|
3
|
-
import { E as EventSchemaConfig, Q as QueueSchemaConfig, h as RunContext } from '../config-
|
|
3
|
+
import { E as EventSchemaConfig, Q as QueueSchemaConfig, h as RunContext } from '../config-Cc0kEhos.js';
|
|
4
4
|
import { A as AnyDatabaseProvider } from '../config-ey2I2zz5.js';
|
|
5
|
-
import { d as WorkflowContext } from '../context-
|
|
6
|
-
export { e as WorkflowBranchConfig, W as WorkflowBranchContextOf, a as WorkflowContextOf, f as WorkflowLoopConfig, b as WorkflowLoopContextOf, g as WorkflowStepConfig, h as WorkflowStepContext, c as WorkflowStepContextOf, i as WorkflowTryConfig, j as WorkflowTryStepConfig } from '../context-
|
|
5
|
+
import { d as WorkflowContext } from '../context-DqibhWCZ.js';
|
|
6
|
+
export { e as WorkflowBranchConfig, W as WorkflowBranchContextOf, a as WorkflowContextOf, f as WorkflowLoopConfig, b as WorkflowLoopContextOf, g as WorkflowStepConfig, h as WorkflowStepContext, c as WorkflowStepContextOf, i as WorkflowTryConfig, j as WorkflowTryStepConfig } from '../context-DqibhWCZ.js';
|
|
7
7
|
import 'zod/v4';
|
|
8
8
|
import '@rivetkit/rivetkit-wasm';
|
|
9
9
|
import 'zod';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createWorkflowInspectorAdapter
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-GKWGFIQN.js";
|
|
4
|
+
import "../chunk-C44Y427L.js";
|
|
5
|
+
import "../chunk-C2NJUAV7.js";
|
|
6
6
|
import {
|
|
7
7
|
ACTOR_CONTEXT_INTERNAL_SYMBOL,
|
|
8
8
|
defineRunHandler
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "../chunk-JI6GZ2C2.js";
|
|
14
14
|
import {
|
|
15
15
|
stringifyError
|
|
16
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-PUA6HD6Q.js";
|
|
17
17
|
import {
|
|
18
18
|
RivetError,
|
|
19
19
|
isActorAbortedError
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rivetkit",
|
|
3
|
-
"version": "2.3.16-rc.
|
|
3
|
+
"version": "2.3.16-rc.3",
|
|
4
4
|
"description": "Lightweight libraries for building stateful actors on edge platforms",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"keywords": [
|
|
@@ -212,14 +212,14 @@
|
|
|
212
212
|
"@rivet-dev/agent-os-core": "^0.1.1",
|
|
213
213
|
"@rivet-dev/services": "^0.1.5",
|
|
214
214
|
"@rivetkit/bare-ts": "^0.6.2",
|
|
215
|
-
"@rivetkit/engine-cli": "2.3.16-rc.
|
|
216
|
-
"@rivetkit/engine-envoy-protocol": "2.3.16-rc.
|
|
215
|
+
"@rivetkit/engine-cli": "2.3.16-rc.3",
|
|
216
|
+
"@rivetkit/engine-envoy-protocol": "2.3.16-rc.3",
|
|
217
217
|
"@rivetkit/on-change": "6.0.1",
|
|
218
|
-
"@rivetkit/rivetkit-napi": "2.3.16-rc.
|
|
219
|
-
"@rivetkit/rivetkit-wasm": "2.3.16-rc.
|
|
220
|
-
"@rivetkit/traces": "2.3.16-rc.
|
|
221
|
-
"@rivetkit/virtual-websocket": "2.3.16-rc.
|
|
222
|
-
"@rivetkit/workflow-engine": "2.3.16-rc.
|
|
218
|
+
"@rivetkit/rivetkit-napi": "2.3.16-rc.3",
|
|
219
|
+
"@rivetkit/rivetkit-wasm": "2.3.16-rc.3",
|
|
220
|
+
"@rivetkit/traces": "2.3.16-rc.3",
|
|
221
|
+
"@rivetkit/virtual-websocket": "2.3.16-rc.3",
|
|
222
|
+
"@rivetkit/workflow-engine": "2.3.16-rc.3",
|
|
223
223
|
"cbor-x": "^1.6.0",
|
|
224
224
|
"drizzle-orm": "0.45.2",
|
|
225
225
|
"hono": "^4.7.0",
|
|
@@ -78,6 +78,7 @@ export class ActorHandleRaw {
|
|
|
78
78
|
#gatewayOptions: ActorGatewayOptions;
|
|
79
79
|
#params: unknown;
|
|
80
80
|
#getParams?: () => Promise<unknown>;
|
|
81
|
+
#signal?: AbortSignal;
|
|
81
82
|
#resolvedActorId?: string;
|
|
82
83
|
#resolvingActorId?: Promise<string>;
|
|
83
84
|
#queueSendMutex = new AsyncMutex();
|
|
@@ -97,6 +98,7 @@ export class ActorHandleRaw {
|
|
|
97
98
|
encoding: Encoding,
|
|
98
99
|
actorResolutionState: ActorResolutionState,
|
|
99
100
|
gatewayOptions: ActorGatewayOptions = {},
|
|
101
|
+
signal?: AbortSignal,
|
|
100
102
|
) {
|
|
101
103
|
this.#client = client;
|
|
102
104
|
this.#driver = driver;
|
|
@@ -105,6 +107,7 @@ export class ActorHandleRaw {
|
|
|
105
107
|
this.#gatewayOptions = gatewayOptions;
|
|
106
108
|
this.#params = params;
|
|
107
109
|
this.#getParams = getParams;
|
|
110
|
+
this.#signal = signal;
|
|
108
111
|
}
|
|
109
112
|
|
|
110
113
|
async #resolveConnectionParams(): Promise<unknown> {
|
|
@@ -268,12 +271,17 @@ export class ActorHandleRaw {
|
|
|
268
271
|
`Invalid action call: expected an options object { name, args }, got ${typeof opts}. Use handle.actionName(...args) for the shorthand API.`,
|
|
269
272
|
);
|
|
270
273
|
}
|
|
271
|
-
|
|
274
|
+
// Fall back to the handle-level signal from `get`/`getOrCreate`/etc.
|
|
275
|
+
// when no per-call signal is provided.
|
|
276
|
+
const signal = opts.signal ?? this.#signal;
|
|
277
|
+
const optsWithSignal = { ...opts, signal };
|
|
278
|
+
const run = async () =>
|
|
279
|
+
(await this.#sendActionNow(optsWithSignal)) as Response;
|
|
272
280
|
if (opts.name === "destroy") {
|
|
273
281
|
return await run();
|
|
274
282
|
}
|
|
275
283
|
|
|
276
|
-
return await retryOnLifecycleBoundary(run, { signal
|
|
284
|
+
return await retryOnLifecycleBoundary(run, { signal });
|
|
277
285
|
}
|
|
278
286
|
|
|
279
287
|
async #sendActionNow(
|
package/src/client/client.ts
CHANGED
|
@@ -236,6 +236,7 @@ export class ClientRaw {
|
|
|
236
236
|
opts?.params,
|
|
237
237
|
opts?.getParams,
|
|
238
238
|
actorQuery,
|
|
239
|
+
opts?.signal,
|
|
239
240
|
);
|
|
240
241
|
return createActorProxy(handle) as ActorHandle<AD>;
|
|
241
242
|
}
|
|
@@ -275,6 +276,7 @@ export class ClientRaw {
|
|
|
275
276
|
opts?.params,
|
|
276
277
|
opts?.getParams,
|
|
277
278
|
actorQuery,
|
|
279
|
+
opts?.signal,
|
|
278
280
|
);
|
|
279
281
|
return createActorProxy(handle) as ActorHandle<AD>;
|
|
280
282
|
}
|
|
@@ -318,6 +320,7 @@ export class ClientRaw {
|
|
|
318
320
|
opts?.params,
|
|
319
321
|
opts?.getParams,
|
|
320
322
|
actorQuery,
|
|
323
|
+
opts?.signal,
|
|
321
324
|
);
|
|
322
325
|
return createActorProxy(handle) as ActorHandle<AD>;
|
|
323
326
|
}
|
|
@@ -377,6 +380,7 @@ export class ClientRaw {
|
|
|
377
380
|
opts?.params,
|
|
378
381
|
opts?.getParams,
|
|
379
382
|
getForIdQuery,
|
|
383
|
+
opts?.signal,
|
|
380
384
|
);
|
|
381
385
|
|
|
382
386
|
const proxy = createActorProxy(handle) as ActorHandle<AD>;
|
|
@@ -388,6 +392,7 @@ export class ClientRaw {
|
|
|
388
392
|
params: unknown,
|
|
389
393
|
getParams: (() => Promise<unknown>) | undefined,
|
|
390
394
|
actorQuery: ActorQuery,
|
|
395
|
+
signal?: AbortSignal,
|
|
391
396
|
): ActorHandleRaw {
|
|
392
397
|
return new ActorHandleRaw(
|
|
393
398
|
this,
|
|
@@ -397,6 +402,7 @@ export class ClientRaw {
|
|
|
397
402
|
this.#encodingKind,
|
|
398
403
|
actorQuery,
|
|
399
404
|
this.#gatewayOptions,
|
|
405
|
+
signal,
|
|
400
406
|
);
|
|
401
407
|
}
|
|
402
408
|
|