@rivetkit/rivetkit-wasm 0.0.0-main.9d355a2 → 0.0.0-main.b2d3b94
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/index.d.ts +2 -175
- package/package.json +8 -2
- package/pkg/package.json +19 -0
- package/pkg/rivetkit_wasm.d.ts +79 -23
- package/pkg/rivetkit_wasm.js +478 -147
- package/pkg/rivetkit_wasm_bg.wasm +0 -0
- package/pkg/rivetkit_wasm_bg.wasm.d.ts +32 -7
|
Binary file
|
|
@@ -3,17 +3,20 @@
|
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
4
|
export const __wbg_actorcontext_free: (a: number, b: number) => void;
|
|
5
5
|
export const __wbg_actorfactory_free: (a: number, b: number) => void;
|
|
6
|
+
export const __wbg_actorstatetransaction_free: (a: number, b: number) => void;
|
|
6
7
|
export const __wbg_cancellationtoken_free: (a: number, b: number) => void;
|
|
7
8
|
export const __wbg_connhandle_free: (a: number, b: number) => void;
|
|
8
9
|
export const __wbg_coreregistry_free: (a: number, b: number) => void;
|
|
9
10
|
export const __wbg_kv_free: (a: number, b: number) => void;
|
|
10
11
|
export const __wbg_queuemessage_free: (a: number, b: number) => void;
|
|
11
12
|
export const __wbg_sqlitedb_free: (a: number, b: number) => void;
|
|
13
|
+
export const __wbg_sqlitetransaction_free: (a: number, b: number) => void;
|
|
12
14
|
export const __wbg_websockethandle_free: (a: number, b: number) => void;
|
|
13
15
|
export const actorcontext_abortSignal: (a: number) => [number, number, number];
|
|
14
16
|
export const actorcontext_actorId: (a: number) => [number, number];
|
|
15
17
|
export const actorcontext_beginKeepAwake: (a: number) => number;
|
|
16
18
|
export const actorcontext_beginOnStateChange: (a: number) => void;
|
|
19
|
+
export const actorcontext_beginStateTransaction: (a: number, b: number, c: number) => any;
|
|
17
20
|
export const actorcontext_beginWebsocketCallback: (a: number) => number;
|
|
18
21
|
export const actorcontext_broadcast: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
19
22
|
export const actorcontext_connectConn: (a: number, b: number, c: number, d: any) => any;
|
|
@@ -33,10 +36,12 @@ export const actorcontext_region: (a: number) => [number, number];
|
|
|
33
36
|
export const actorcontext_registerTask: (a: number, b: any) => void;
|
|
34
37
|
export const actorcontext_requestSave: (a: number, b: any) => void;
|
|
35
38
|
export const actorcontext_requestSaveAndWait: (a: number, b: any) => any;
|
|
36
|
-
export const actorcontext_restartRunHandler: (a: number) =>
|
|
39
|
+
export const actorcontext_restartRunHandler: (a: number) => [number, number];
|
|
37
40
|
export const actorcontext_runtimeState: (a: number) => any;
|
|
38
41
|
export const actorcontext_saveState: (a: number, b: any) => any;
|
|
42
|
+
export const actorcontext_saveStateAndWorkflowBatch: (a: number, b: any) => any;
|
|
39
43
|
export const actorcontext_setAlarm: (a: number, b: number, c: number) => [number, number];
|
|
44
|
+
export const actorcontext_setRunWakeAt: (a: number, b: number, c: number) => any;
|
|
40
45
|
export const actorcontext_sleep: (a: number) => [number, number];
|
|
41
46
|
export const actorcontext_sql: (a: number) => number;
|
|
42
47
|
export const actorcontext_state: (a: number) => [number, number];
|
|
@@ -46,6 +51,9 @@ export const actorcontext_waitForTrackedShutdownWork: (a: number) => any;
|
|
|
46
51
|
export const actorcontext_waitForTrackedShutdownWorkUnbounded: (a: number) => any;
|
|
47
52
|
export const actorcontext_waitUntil: (a: number, b: any) => void;
|
|
48
53
|
export const actorfactory_new: (a: any, b: any) => [number, number, number];
|
|
54
|
+
export const actorstatetransaction_commit: (a: number, b: any) => any;
|
|
55
|
+
export const actorstatetransaction_execute: (a: number, b: number, c: number, d: any) => any;
|
|
56
|
+
export const actorstatetransaction_rollback: (a: number) => any;
|
|
49
57
|
export const awaitPromise: (a: any) => any;
|
|
50
58
|
export const bridgeRivetErrorPrefix: () => [number, number];
|
|
51
59
|
export const cancellationtoken_aborted: (a: number) => number;
|
|
@@ -73,10 +81,12 @@ export const kv_get: (a: number, b: number, c: number) => any;
|
|
|
73
81
|
export const kv_listPrefix: (a: number, b: number, c: number, d: any) => any;
|
|
74
82
|
export const kv_listRange: (a: number, b: number, c: number, d: number, e: number, f: any) => any;
|
|
75
83
|
export const kv_put: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
84
|
+
export const queue_completePersisted: (a: number, b: bigint, c: number, d: number, e: number, f: number) => any;
|
|
76
85
|
export const queue_enqueueAndWait: (a: number, b: number, c: number, d: number, e: number, f: any, g: number) => any;
|
|
77
86
|
export const queue_inspectMessages: (a: number) => any;
|
|
78
87
|
export const queue_maxSize: (a: number) => number;
|
|
79
88
|
export const queue_nextBatch: (a: number, b: any, c: number) => any;
|
|
89
|
+
export const queue_reset: (a: number) => any;
|
|
80
90
|
export const queue_send: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
81
91
|
export const queue_tryNextBatch: (a: number, b: any) => [number, number, number];
|
|
82
92
|
export const queue_waitForNames: (a: number, b: any, c: any, d: number) => any;
|
|
@@ -88,13 +98,28 @@ export const queuemessage_id: (a: number) => bigint;
|
|
|
88
98
|
export const queuemessage_isCompletable: (a: number) => number;
|
|
89
99
|
export const queuemessage_name: (a: number) => [number, number];
|
|
90
100
|
export const roundTripBytes: (a: number, b: number) => [number, number];
|
|
91
|
-
export const schedule_after: (a: number, b: number, c: number, d: number, e: number, f: number) =>
|
|
92
|
-
export const schedule_at: (a: number, b: number, c: number, d: number, e: number, f: number) =>
|
|
101
|
+
export const schedule_after: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
102
|
+
export const schedule_at: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
103
|
+
export const schedule_cancel: (a: number, b: number, c: number) => any;
|
|
104
|
+
export const schedule_cronDelete: (a: number, b: number, c: number) => any;
|
|
105
|
+
export const schedule_cronEvery: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => any;
|
|
106
|
+
export const schedule_cronGet: (a: number, b: number, c: number) => any;
|
|
107
|
+
export const schedule_cronHistory: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
108
|
+
export const schedule_cronList: (a: number) => any;
|
|
109
|
+
export const schedule_cronSet: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number) => any;
|
|
110
|
+
export const schedule_get: (a: number, b: number, c: number) => any;
|
|
111
|
+
export const schedule_list: (a: number) => any;
|
|
112
|
+
export const sqlitedb_beginTransaction: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
93
113
|
export const sqlitedb_close: (a: number) => any;
|
|
94
114
|
export const sqlitedb_exec: (a: number, b: number, c: number) => any;
|
|
95
115
|
export const sqlitedb_execute: (a: number, b: number, c: number, d: any) => any;
|
|
116
|
+
export const sqlitedb_executeBatch: (a: number, b: any) => any;
|
|
96
117
|
export const sqlitedb_query: (a: number, b: number, c: number, d: any) => any;
|
|
97
118
|
export const sqlitedb_run: (a: number, b: number, c: number, d: any) => any;
|
|
119
|
+
export const sqlitetransaction_commit: (a: number) => any;
|
|
120
|
+
export const sqlitetransaction_exec: (a: number, b: number, c: number) => any;
|
|
121
|
+
export const sqlitetransaction_execute: (a: number, b: number, c: number, d: any) => any;
|
|
122
|
+
export const sqlitetransaction_rollback: (a: number) => any;
|
|
98
123
|
export const uint8ArrayFromBytes: (a: number, b: number) => any;
|
|
99
124
|
export const websockethandle_close: (a: number, b: number, c: number, d: number) => any;
|
|
100
125
|
export const websockethandle_send: (a: number, b: number, c: number, d: number) => [number, number];
|
|
@@ -102,8 +127,8 @@ export const websockethandle_setEventCallback: (a: number, b: any) => void;
|
|
|
102
127
|
export const start: () => void;
|
|
103
128
|
export const actorcontext_queue: (a: number) => number;
|
|
104
129
|
export const actorcontext_schedule: (a: number) => number;
|
|
105
|
-
export const __wbg_queue_free: (a: number, b: number) => void;
|
|
106
130
|
export const __wbg_schedule_free: (a: number, b: number) => void;
|
|
131
|
+
export const __wbg_queue_free: (a: number, b: number) => void;
|
|
107
132
|
export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
108
133
|
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
109
134
|
export const __wbindgen_exn_store: (a: number) => void;
|
|
@@ -112,7 +137,7 @@ export const __wbindgen_export_4: WebAssembly.Table;
|
|
|
112
137
|
export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
113
138
|
export const __wbindgen_export_6: WebAssembly.Table;
|
|
114
139
|
export const __externref_table_dealloc: (a: number) => void;
|
|
115
|
-
export const
|
|
116
|
-
export const
|
|
117
|
-
export const
|
|
140
|
+
export const closure1987_externref_shim: (a: number, b: number, c: any) => void;
|
|
141
|
+
export const closure2385_externref_shim: (a: number, b: number, c: any) => void;
|
|
142
|
+
export const closure2620_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
118
143
|
export const __wbindgen_start: () => void;
|