@rivetkit/rivetkit-wasm 2.3.24-rc.1 → 2.3.24

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rivetkit/rivetkit-wasm",
3
- "version": "2.3.24-rc.1",
3
+ "version": "2.3.24",
4
4
  "description": "WebAssembly bindings for RivetKit core on edge JavaScript runtimes",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
package/pkg/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "collaborators": [
5
5
  "Rivet Gaming, LLC <developer@rivet.dev>"
6
6
  ],
7
- "version": "2.3.23",
7
+ "version": "2.3.24",
8
8
  "license": "Apache-2.0",
9
9
  "files": [
10
10
  "rivetkit_wasm_bg.wasm",
@@ -16,7 +16,6 @@ export class ActorContext {
16
16
  saveStateAndWorkflowBatch(writes: any): Promise<void>;
17
17
  waitForTrackedShutdownWork(): Promise<boolean>;
18
18
  waitForTrackedShutdownWorkUnbounded(): Promise<void>;
19
- generation(): number | undefined;
20
19
  keepAwake(promise: Promise<any>): void;
21
20
  waitUntil(promise: Promise<any>): void;
22
21
  abortSignal(): any;
@@ -44,7 +43,6 @@ export class ActorContext {
44
43
  state(): Uint8Array;
45
44
  region(): string;
46
45
  destroy(): void;
47
- isLost(): boolean;
48
46
  actorId(): string;
49
47
  schedule(): Schedule;
50
48
  broadcast(name: string, args: Uint8Array): void;
@@ -195,9 +193,7 @@ export interface InitOutput {
195
193
  readonly actorcontext_endKeepAwake: (a: number, b: number) => void;
196
194
  readonly actorcontext_endOnStateChange: (a: number) => void;
197
195
  readonly actorcontext_endWebsocketCallback: (a: number, b: number) => void;
198
- readonly actorcontext_generation: (a: number) => number;
199
196
  readonly actorcontext_inspectorSnapshot: (a: number) => [number, number, number];
200
- readonly actorcontext_isLost: (a: number) => number;
201
197
  readonly actorcontext_keepAwake: (a: number, b: any) => void;
202
198
  readonly actorcontext_key: (a: number) => [number, number, number];
203
199
  readonly actorcontext_kv: (a: number) => number;
@@ -308,9 +304,9 @@ export interface InitOutput {
308
304
  readonly __wbindgen_free: (a: number, b: number, c: number) => void;
309
305
  readonly __wbindgen_export_6: WebAssembly.Table;
310
306
  readonly __externref_table_dealloc: (a: number) => void;
311
- readonly closure2019_externref_shim: (a: number, b: number, c: any) => void;
312
- readonly closure2362_externref_shim: (a: number, b: number, c: any) => void;
313
- readonly closure2621_externref_shim: (a: number, b: number, c: any, d: any) => void;
307
+ readonly closure1985_externref_shim: (a: number, b: number, c: any) => void;
308
+ readonly closure2328_externref_shim: (a: number, b: number, c: any) => void;
309
+ readonly closure2563_externref_shim: (a: number, b: number, c: any, d: any) => void;
314
310
  readonly __wbindgen_start: () => void;
315
311
  }
316
312
 
@@ -274,15 +274,15 @@ function takeFromExternrefTable0(idx) {
274
274
  return value;
275
275
  }
276
276
  function __wbg_adapter_50(arg0, arg1, arg2) {
277
- wasm.closure2019_externref_shim(arg0, arg1, arg2);
277
+ wasm.closure1985_externref_shim(arg0, arg1, arg2);
278
278
  }
279
279
 
280
280
  function __wbg_adapter_59(arg0, arg1, arg2) {
281
- wasm.closure2362_externref_shim(arg0, arg1, arg2);
281
+ wasm.closure2328_externref_shim(arg0, arg1, arg2);
282
282
  }
283
283
 
284
- function __wbg_adapter_299(arg0, arg1, arg2, arg3) {
285
- wasm.closure2621_externref_shim(arg0, arg1, arg2, arg3);
284
+ function __wbg_adapter_297(arg0, arg1, arg2, arg3) {
285
+ wasm.closure2563_externref_shim(arg0, arg1, arg2, arg3);
286
286
  }
287
287
 
288
288
  const __wbindgen_enum_BinaryType = ["blob", "arraybuffer"];
@@ -387,13 +387,6 @@ export class ActorContext {
387
387
  const ret = wasm.actorcontext_waitForTrackedShutdownWorkUnbounded(this.__wbg_ptr);
388
388
  return ret;
389
389
  }
390
- /**
391
- * @returns {number | undefined}
392
- */
393
- generation() {
394
- const ret = wasm.actorcontext_generation(this.__wbg_ptr);
395
- return ret === 0x100000001 ? undefined : ret;
396
- }
397
390
  /**
398
391
  * @param {Promise<any>} promise
399
392
  */
@@ -595,13 +588,6 @@ export class ActorContext {
595
588
  throw takeFromExternrefTable0(ret[0]);
596
589
  }
597
590
  }
598
- /**
599
- * @returns {boolean}
600
- */
601
- isLost() {
602
- const ret = wasm.actorcontext_isLost(this.__wbg_ptr);
603
- return ret !== 0;
604
- }
605
591
  /**
606
592
  * @returns {string}
607
593
  */
@@ -1894,7 +1880,7 @@ function __wbg_get_imports() {
1894
1880
  const a = state0.a;
1895
1881
  state0.a = 0;
1896
1882
  try {
1897
- return __wbg_adapter_299(a, state0.b, arg0, arg1);
1883
+ return __wbg_adapter_297(a, state0.b, arg0, arg1);
1898
1884
  } finally {
1899
1885
  state0.a = a;
1900
1886
  }
@@ -2126,24 +2112,24 @@ function __wbg_get_imports() {
2126
2112
  const ret = false;
2127
2113
  return ret;
2128
2114
  };
2129
- imports.wbg.__wbindgen_closure_wrapper5192 = function(arg0, arg1, arg2) {
2130
- const ret = makeMutClosure(arg0, arg1, 2020, __wbg_adapter_50);
2115
+ imports.wbg.__wbindgen_closure_wrapper5090 = function(arg0, arg1, arg2) {
2116
+ const ret = makeMutClosure(arg0, arg1, 1986, __wbg_adapter_50);
2131
2117
  return ret;
2132
2118
  };
2133
- imports.wbg.__wbindgen_closure_wrapper5194 = function(arg0, arg1, arg2) {
2134
- const ret = makeMutClosure(arg0, arg1, 2020, __wbg_adapter_50);
2119
+ imports.wbg.__wbindgen_closure_wrapper5092 = function(arg0, arg1, arg2) {
2120
+ const ret = makeMutClosure(arg0, arg1, 1986, __wbg_adapter_50);
2135
2121
  return ret;
2136
2122
  };
2137
- imports.wbg.__wbindgen_closure_wrapper5196 = function(arg0, arg1, arg2) {
2138
- const ret = makeMutClosure(arg0, arg1, 2020, __wbg_adapter_50);
2123
+ imports.wbg.__wbindgen_closure_wrapper5094 = function(arg0, arg1, arg2) {
2124
+ const ret = makeMutClosure(arg0, arg1, 1986, __wbg_adapter_50);
2139
2125
  return ret;
2140
2126
  };
2141
- imports.wbg.__wbindgen_closure_wrapper5198 = function(arg0, arg1, arg2) {
2142
- const ret = makeMutClosure(arg0, arg1, 2020, __wbg_adapter_50);
2127
+ imports.wbg.__wbindgen_closure_wrapper5096 = function(arg0, arg1, arg2) {
2128
+ const ret = makeMutClosure(arg0, arg1, 1986, __wbg_adapter_50);
2143
2129
  return ret;
2144
2130
  };
2145
- imports.wbg.__wbindgen_closure_wrapper5766 = function(arg0, arg1, arg2) {
2146
- const ret = makeMutClosure(arg0, arg1, 2363, __wbg_adapter_59);
2131
+ imports.wbg.__wbindgen_closure_wrapper5664 = function(arg0, arg1, arg2) {
2132
+ const ret = makeMutClosure(arg0, arg1, 2329, __wbg_adapter_59);
2147
2133
  return ret;
2148
2134
  };
2149
2135
  imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
Binary file
@@ -26,9 +26,7 @@ export const actorcontext_dirtyHibernatableConns: (a: number) => any;
26
26
  export const actorcontext_endKeepAwake: (a: number, b: number) => void;
27
27
  export const actorcontext_endOnStateChange: (a: number) => void;
28
28
  export const actorcontext_endWebsocketCallback: (a: number, b: number) => void;
29
- export const actorcontext_generation: (a: number) => number;
30
29
  export const actorcontext_inspectorSnapshot: (a: number) => [number, number, number];
31
- export const actorcontext_isLost: (a: number) => number;
32
30
  export const actorcontext_keepAwake: (a: number, b: any) => void;
33
31
  export const actorcontext_key: (a: number) => [number, number, number];
34
32
  export const actorcontext_kv: (a: number) => number;
@@ -139,7 +137,7 @@ export const __wbindgen_export_4: WebAssembly.Table;
139
137
  export const __wbindgen_free: (a: number, b: number, c: number) => void;
140
138
  export const __wbindgen_export_6: WebAssembly.Table;
141
139
  export const __externref_table_dealloc: (a: number) => void;
142
- export const closure2019_externref_shim: (a: number, b: number, c: any) => void;
143
- export const closure2362_externref_shim: (a: number, b: number, c: any) => void;
144
- export const closure2621_externref_shim: (a: number, b: number, c: any, d: any) => void;
140
+ export const closure1985_externref_shim: (a: number, b: number, c: any) => void;
141
+ export const closure2328_externref_shim: (a: number, b: number, c: any) => void;
142
+ export const closure2563_externref_shim: (a: number, b: number, c: any, d: any) => void;
145
143
  export const __wbindgen_start: () => void;