@rivetkit/rivetkit-wasm 0.0.0-sqlite-uds.ea644f1 → 0.0.0-sqlite-uds.37f9e48

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": "0.0.0-sqlite-uds.ea644f1",
3
+ "version": "0.0.0-sqlite-uds.37f9e48",
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
- export function roundTripBytes(bytes: Uint8Array): Uint8Array;
4
- export function start(): void;
5
3
  export function awaitPromise(promise: Promise<any>): Promise<any>;
4
+ export function roundTripBytes(bytes: Uint8Array): Uint8Array;
6
5
  export function bridgeRivetErrorPrefix(): string;
6
+ export function start(): void;
7
7
  export function uint8ArrayFromBytes(bytes: Uint8Array): Uint8Array;
8
8
  export class ActorContext {
9
9
  free(): void;
@@ -240,8 +240,8 @@ export interface InitOutput {
240
240
  readonly start: () => void;
241
241
  readonly actorcontext_queue: (a: number) => number;
242
242
  readonly actorcontext_schedule: (a: number) => number;
243
- readonly __wbg_schedule_free: (a: number, b: number) => void;
244
243
  readonly __wbg_queue_free: (a: number, b: number) => void;
244
+ readonly __wbg_schedule_free: (a: number, b: number) => void;
245
245
  readonly __wbindgen_malloc: (a: number, b: number) => number;
246
246
  readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
247
247
  readonly __wbindgen_exn_store: (a: number) => void;
@@ -221,6 +221,15 @@ function _assertClass(instance, klass) {
221
221
  throw new Error(`expected instance of ${klass.name}`);
222
222
  }
223
223
  }
224
+ /**
225
+ * @param {Promise<any>} promise
226
+ * @returns {Promise<any>}
227
+ */
228
+ export function awaitPromise(promise) {
229
+ const ret = wasm.awaitPromise(promise);
230
+ return ret;
231
+ }
232
+
224
233
  /**
225
234
  * @param {Uint8Array} bytes
226
235
  * @returns {Uint8Array}
@@ -234,19 +243,6 @@ export function roundTripBytes(bytes) {
234
243
  return v2;
235
244
  }
236
245
 
237
- export function start() {
238
- wasm.start();
239
- }
240
-
241
- /**
242
- * @param {Promise<any>} promise
243
- * @returns {Promise<any>}
244
- */
245
- export function awaitPromise(promise) {
246
- const ret = wasm.awaitPromise(promise);
247
- return ret;
248
- }
249
-
250
246
  /**
251
247
  * @returns {string}
252
248
  */
@@ -263,6 +259,10 @@ export function bridgeRivetErrorPrefix() {
263
259
  }
264
260
  }
265
261
 
262
+ export function start() {
263
+ wasm.start();
264
+ }
265
+
266
266
  /**
267
267
  * @param {Uint8Array} bytes
268
268
  * @returns {Uint8Array}
Binary file
@@ -103,8 +103,8 @@ export const websockethandle_setEventCallback: (a: number, b: any) => void;
103
103
  export const start: () => void;
104
104
  export const actorcontext_queue: (a: number) => number;
105
105
  export const actorcontext_schedule: (a: number) => number;
106
- export const __wbg_schedule_free: (a: number, b: number) => void;
107
106
  export const __wbg_queue_free: (a: number, b: number) => void;
107
+ export const __wbg_schedule_free: (a: number, b: number) => void;
108
108
  export const __wbindgen_malloc: (a: number, b: number) => number;
109
109
  export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
110
110
  export const __wbindgen_exn_store: (a: number) => void;