@rivetkit/rivetkit-wasm 0.0.0-codex-rivetkit-quickstart-preview.7e0cd02 → 0.0.0-codex-rivetkit-quickstart-preview.d4284e1
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-codex-rivetkit-quickstart-preview.
|
|
3
|
+
"version": "0.0.0-codex-rivetkit-quickstart-preview.d4284e1",
|
|
4
4
|
"description": "WebAssembly bindings for RivetKit core on edge JavaScript runtimes",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
package/pkg/rivetkit_wasm.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
-
export function bridgeRivetErrorPrefix(): string;
|
|
4
|
-
export function start(): void;
|
|
5
3
|
export function awaitPromise(promise: Promise<any>): Promise<any>;
|
|
6
4
|
export function roundTripBytes(bytes: Uint8Array): Uint8Array;
|
|
5
|
+
export function start(): void;
|
|
6
|
+
export function bridgeRivetErrorPrefix(): string;
|
|
7
7
|
export function uint8ArrayFromBytes(bytes: Uint8Array): Uint8Array;
|
|
8
8
|
export class ActorContext {
|
|
9
9
|
free(): void;
|
|
@@ -238,8 +238,8 @@ export interface InitOutput {
|
|
|
238
238
|
readonly start: () => void;
|
|
239
239
|
readonly actorcontext_queue: (a: number) => number;
|
|
240
240
|
readonly actorcontext_schedule: (a: number) => number;
|
|
241
|
-
readonly __wbg_schedule_free: (a: number, b: number) => void;
|
|
242
241
|
readonly __wbg_queue_free: (a: number, b: number) => void;
|
|
242
|
+
readonly __wbg_schedule_free: (a: number, b: number) => void;
|
|
243
243
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
244
244
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
245
245
|
readonly __wbindgen_exn_store: (a: number) => void;
|
package/pkg/rivetkit_wasm.js
CHANGED
|
@@ -221,26 +221,6 @@ function _assertClass(instance, klass) {
|
|
|
221
221
|
throw new Error(`expected instance of ${klass.name}`);
|
|
222
222
|
}
|
|
223
223
|
}
|
|
224
|
-
/**
|
|
225
|
-
* @returns {string}
|
|
226
|
-
*/
|
|
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
|
-
}
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
export function start() {
|
|
241
|
-
wasm.start();
|
|
242
|
-
}
|
|
243
|
-
|
|
244
224
|
/**
|
|
245
225
|
* @param {Promise<any>} promise
|
|
246
226
|
* @returns {Promise<any>}
|
|
@@ -263,6 +243,26 @@ export function roundTripBytes(bytes) {
|
|
|
263
243
|
return v2;
|
|
264
244
|
}
|
|
265
245
|
|
|
246
|
+
export function start() {
|
|
247
|
+
wasm.start();
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* @returns {string}
|
|
252
|
+
*/
|
|
253
|
+
export function bridgeRivetErrorPrefix() {
|
|
254
|
+
let deferred1_0;
|
|
255
|
+
let deferred1_1;
|
|
256
|
+
try {
|
|
257
|
+
const ret = wasm.bridgeRivetErrorPrefix();
|
|
258
|
+
deferred1_0 = ret[0];
|
|
259
|
+
deferred1_1 = ret[1];
|
|
260
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
261
|
+
} finally {
|
|
262
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
|
|
266
266
|
/**
|
|
267
267
|
* @param {Uint8Array} bytes
|
|
268
268
|
* @returns {Uint8Array}
|
|
@@ -1797,7 +1797,7 @@ function __wbg_get_imports() {
|
|
|
1797
1797
|
const ret = makeMutClosure(arg0, arg1, 1599, __wbg_adapter_46);
|
|
1798
1798
|
return ret;
|
|
1799
1799
|
};
|
|
1800
|
-
imports.wbg.
|
|
1800
|
+
imports.wbg.__wbindgen_closure_wrapper4576 = function(arg0, arg1, arg2) {
|
|
1801
1801
|
const ret = makeMutClosure(arg0, arg1, 1951, __wbg_adapter_55);
|
|
1802
1802
|
return ret;
|
|
1803
1803
|
};
|
|
Binary file
|
|
@@ -102,8 +102,8 @@ export const websockethandle_setEventCallback: (a: number, b: any) => void;
|
|
|
102
102
|
export const start: () => void;
|
|
103
103
|
export const actorcontext_queue: (a: number) => number;
|
|
104
104
|
export const actorcontext_schedule: (a: number) => number;
|
|
105
|
-
export const __wbg_schedule_free: (a: number, b: number) => void;
|
|
106
105
|
export const __wbg_queue_free: (a: number, b: number) => void;
|
|
106
|
+
export const __wbg_schedule_free: (a: number, b: number) => void;
|
|
107
107
|
export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
108
108
|
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
109
109
|
export const __wbindgen_exn_store: (a: number) => void;
|