@rivetkit/rivetkit-wasm 0.0.0-codex-docsrs-rivetkit-build.45929bf → 0.0.0-codex-rivetkit-quickstart-preview.7e0cd02
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 +1 -1
- package/pkg/rivetkit_wasm.d.ts +1 -1
- package/pkg/rivetkit_wasm.js +11 -11
- package/pkg/rivetkit_wasm_bg.wasm +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rivetkit/rivetkit-wasm",
|
|
3
|
-
"version": "0.0.0-codex-
|
|
3
|
+
"version": "0.0.0-codex-rivetkit-quickstart-preview.7e0cd02",
|
|
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
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export function bridgeRivetErrorPrefix(): string;
|
|
4
4
|
export function start(): void;
|
|
5
|
-
export function uint8ArrayFromBytes(bytes: Uint8Array): Uint8Array;
|
|
6
5
|
export function awaitPromise(promise: Promise<any>): Promise<any>;
|
|
7
6
|
export function roundTripBytes(bytes: Uint8Array): Uint8Array;
|
|
7
|
+
export function uint8ArrayFromBytes(bytes: Uint8Array): Uint8Array;
|
|
8
8
|
export class ActorContext {
|
|
9
9
|
free(): void;
|
|
10
10
|
keepAwake(promise: Promise<any>): void;
|
package/pkg/rivetkit_wasm.js
CHANGED
|
@@ -241,17 +241,6 @@ export function start() {
|
|
|
241
241
|
wasm.start();
|
|
242
242
|
}
|
|
243
243
|
|
|
244
|
-
/**
|
|
245
|
-
* @param {Uint8Array} bytes
|
|
246
|
-
* @returns {Uint8Array}
|
|
247
|
-
*/
|
|
248
|
-
export function uint8ArrayFromBytes(bytes) {
|
|
249
|
-
const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
|
|
250
|
-
const len0 = WASM_VECTOR_LEN;
|
|
251
|
-
const ret = wasm.uint8ArrayFromBytes(ptr0, len0);
|
|
252
|
-
return ret;
|
|
253
|
-
}
|
|
254
|
-
|
|
255
244
|
/**
|
|
256
245
|
* @param {Promise<any>} promise
|
|
257
246
|
* @returns {Promise<any>}
|
|
@@ -274,6 +263,17 @@ export function roundTripBytes(bytes) {
|
|
|
274
263
|
return v2;
|
|
275
264
|
}
|
|
276
265
|
|
|
266
|
+
/**
|
|
267
|
+
* @param {Uint8Array} bytes
|
|
268
|
+
* @returns {Uint8Array}
|
|
269
|
+
*/
|
|
270
|
+
export function uint8ArrayFromBytes(bytes) {
|
|
271
|
+
const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
|
|
272
|
+
const len0 = WASM_VECTOR_LEN;
|
|
273
|
+
const ret = wasm.uint8ArrayFromBytes(ptr0, len0);
|
|
274
|
+
return ret;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
277
|
function __wbg_adapter_46(arg0, arg1, arg2) {
|
|
278
278
|
wasm.closure1598_externref_shim(arg0, arg1, arg2);
|
|
279
279
|
}
|
|
Binary file
|