@rivetkit/rivetkit-wasm 2.3.5-rc.1 → 2.3.6

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.5-rc.1",
3
+ "version": "2.3.6",
4
4
  "description": "WebAssembly bindings for RivetKit core on edge JavaScript runtimes",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -1,9 +1,9 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export function awaitPromise(promise: Promise<any>): Promise<any>;
4
- export function uint8ArrayFromBytes(bytes: Uint8Array): Uint8Array;
5
4
  export function bridgeRivetErrorPrefix(): string;
6
5
  export function roundTripBytes(bytes: Uint8Array): Uint8Array;
6
+ export function uint8ArrayFromBytes(bytes: Uint8Array): Uint8Array;
7
7
  export function start(): void;
8
8
  export class ActorContext {
9
9
  free(): void;
@@ -277,8 +277,8 @@ export interface InitOutput {
277
277
  readonly start: () => void;
278
278
  readonly actorcontext_queue: (a: number) => number;
279
279
  readonly actorcontext_schedule: (a: number) => number;
280
- readonly __wbg_schedule_free: (a: number, b: number) => void;
281
280
  readonly __wbg_queue_free: (a: number, b: number) => void;
281
+ readonly __wbg_schedule_free: (a: number, b: number) => void;
282
282
  readonly __wbindgen_malloc: (a: number, b: number) => number;
283
283
  readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
284
284
  readonly __wbindgen_exn_store: (a: number) => void;
@@ -230,17 +230,6 @@ export function awaitPromise(promise) {
230
230
  return ret;
231
231
  }
232
232
 
233
- /**
234
- * @param {Uint8Array} bytes
235
- * @returns {Uint8Array}
236
- */
237
- export function uint8ArrayFromBytes(bytes) {
238
- const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
239
- const len0 = WASM_VECTOR_LEN;
240
- const ret = wasm.uint8ArrayFromBytes(ptr0, len0);
241
- return ret;
242
- }
243
-
244
233
  /**
245
234
  * @returns {string}
246
235
  */
@@ -270,6 +259,17 @@ export function roundTripBytes(bytes) {
270
259
  return v2;
271
260
  }
272
261
 
262
+ /**
263
+ * @param {Uint8Array} bytes
264
+ * @returns {Uint8Array}
265
+ */
266
+ export function uint8ArrayFromBytes(bytes) {
267
+ const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
268
+ const len0 = WASM_VECTOR_LEN;
269
+ const ret = wasm.uint8ArrayFromBytes(ptr0, len0);
270
+ return ret;
271
+ }
272
+
273
273
  export function start() {
274
274
  wasm.start();
275
275
  }
@@ -2004,23 +2004,23 @@ function __wbg_get_imports() {
2004
2004
  const ret = false;
2005
2005
  return ret;
2006
2006
  };
2007
- imports.wbg.__wbindgen_closure_wrapper4459 = function(arg0, arg1, arg2) {
2007
+ imports.wbg.__wbindgen_closure_wrapper4460 = function(arg0, arg1, arg2) {
2008
2008
  const ret = makeMutClosure(arg0, arg1, 1926, __wbg_adapter_50);
2009
2009
  return ret;
2010
2010
  };
2011
- imports.wbg.__wbindgen_closure_wrapper4461 = function(arg0, arg1, arg2) {
2011
+ imports.wbg.__wbindgen_closure_wrapper4462 = function(arg0, arg1, arg2) {
2012
2012
  const ret = makeMutClosure(arg0, arg1, 1926, __wbg_adapter_50);
2013
2013
  return ret;
2014
2014
  };
2015
- imports.wbg.__wbindgen_closure_wrapper4463 = function(arg0, arg1, arg2) {
2015
+ imports.wbg.__wbindgen_closure_wrapper4464 = function(arg0, arg1, arg2) {
2016
2016
  const ret = makeMutClosure(arg0, arg1, 1926, __wbg_adapter_50);
2017
2017
  return ret;
2018
2018
  };
2019
- imports.wbg.__wbindgen_closure_wrapper4465 = function(arg0, arg1, arg2) {
2019
+ imports.wbg.__wbindgen_closure_wrapper4466 = function(arg0, arg1, arg2) {
2020
2020
  const ret = makeMutClosure(arg0, arg1, 1926, __wbg_adapter_50);
2021
2021
  return ret;
2022
2022
  };
2023
- imports.wbg.__wbindgen_closure_wrapper5336 = function(arg0, arg1, arg2) {
2023
+ imports.wbg.__wbindgen_closure_wrapper5337 = function(arg0, arg1, arg2) {
2024
2024
  const ret = makeMutClosure(arg0, arg1, 2299, __wbg_adapter_59);
2025
2025
  return ret;
2026
2026
  };
Binary file
@@ -120,8 +120,8 @@ export const websockethandle_setEventCallback: (a: number, b: any) => void;
120
120
  export const start: () => void;
121
121
  export const actorcontext_queue: (a: number) => number;
122
122
  export const actorcontext_schedule: (a: number) => number;
123
- export const __wbg_schedule_free: (a: number, b: number) => void;
124
123
  export const __wbg_queue_free: (a: number, b: number) => void;
124
+ export const __wbg_schedule_free: (a: number, b: number) => void;
125
125
  export const __wbindgen_malloc: (a: number, b: number) => number;
126
126
  export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
127
127
  export const __wbindgen_exn_store: (a: number) => void;