@rivetkit/rivetkit-wasm 0.0.0-claude-edge-bundle-slim.ef9730e → 0.0.0-claude-edge-bundle-slim.b06e8d0

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-claude-edge-bundle-slim.ef9730e",
3
+ "version": "0.0.0-claude-edge-bundle-slim.b06e8d0",
4
4
  "description": "WebAssembly bindings for RivetKit core on edge JavaScript runtimes",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -1,10 +1,10 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
- export function awaitPromise(promise: Promise<any>): Promise<any>;
3
+ export function bridgeRivetErrorPrefix(): string;
4
4
  export function uint8ArrayFromBytes(bytes: Uint8Array): Uint8Array;
5
- export function roundTripBytes(bytes: Uint8Array): Uint8Array;
6
5
  export function start(): void;
7
- export function bridgeRivetErrorPrefix(): string;
6
+ export function awaitPromise(promise: Promise<any>): Promise<any>;
7
+ export function roundTripBytes(bytes: Uint8Array): Uint8Array;
8
8
  export class ActorContext {
9
9
  free(): void;
10
10
  keepAwake(promise: Promise<any>): void;
@@ -222,12 +222,19 @@ function _assertClass(instance, klass) {
222
222
  }
223
223
  }
224
224
  /**
225
- * @param {Promise<any>} promise
226
- * @returns {Promise<any>}
225
+ * @returns {string}
227
226
  */
228
- export function awaitPromise(promise) {
229
- const ret = wasm.awaitPromise(promise);
230
- return ret;
227
+ export function bridgeRivetErrorPrefix() {
228
+ let deferred1_0;
229
+ let deferred1_1;
230
+ try {
231
+ const ret = wasm.bridgeRivetErrorPrefix();
232
+ deferred1_0 = ret[0];
233
+ deferred1_1 = ret[1];
234
+ return getStringFromWasm0(ret[0], ret[1]);
235
+ } finally {
236
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
237
+ }
231
238
  }
232
239
 
233
240
  /**
@@ -241,6 +248,19 @@ export function uint8ArrayFromBytes(bytes) {
241
248
  return ret;
242
249
  }
243
250
 
251
+ export function start() {
252
+ wasm.start();
253
+ }
254
+
255
+ /**
256
+ * @param {Promise<any>} promise
257
+ * @returns {Promise<any>}
258
+ */
259
+ export function awaitPromise(promise) {
260
+ const ret = wasm.awaitPromise(promise);
261
+ return ret;
262
+ }
263
+
244
264
  /**
245
265
  * @param {Uint8Array} bytes
246
266
  * @returns {Uint8Array}
@@ -254,26 +274,6 @@ export function roundTripBytes(bytes) {
254
274
  return v2;
255
275
  }
256
276
 
257
- export function start() {
258
- wasm.start();
259
- }
260
-
261
- /**
262
- * @returns {string}
263
- */
264
- export function bridgeRivetErrorPrefix() {
265
- let deferred1_0;
266
- let deferred1_1;
267
- try {
268
- const ret = wasm.bridgeRivetErrorPrefix();
269
- deferred1_0 = ret[0];
270
- deferred1_1 = ret[1];
271
- return getStringFromWasm0(ret[0], ret[1]);
272
- } finally {
273
- wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
274
- }
275
- }
276
-
277
277
  function __wbg_adapter_46(arg0, arg1, arg2) {
278
278
  wasm.closure1598_externref_shim(arg0, arg1, arg2);
279
279
  }
Binary file