@rivetkit/rivetkit-wasm 2.3.0 → 2.3.1
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.
|
|
3
|
+
"version": "2.3.1",
|
|
4
4
|
"description": "WebAssembly bindings for RivetKit core on edge JavaScript runtimes",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
],
|
|
29
29
|
"scripts": {
|
|
30
30
|
"build": "node scripts/build.mjs",
|
|
31
|
+
"build:embed": "node scripts/build.mjs",
|
|
31
32
|
"build:cloudflare": "node scripts/build.mjs --target bundler --out-dir pkg-cloudflare",
|
|
32
33
|
"build:deno": "node scripts/build.mjs --target web --out-dir pkg-deno",
|
|
33
34
|
"check:package": "node scripts/check-package.mjs",
|
package/pkg/rivetkit_wasm.d.ts
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
export function uint8ArrayFromBytes(bytes: Uint8Array): Uint8Array;
|
|
4
4
|
export function bridgeRivetErrorPrefix(): string;
|
|
5
5
|
export function awaitPromise(promise: Promise<any>): Promise<any>;
|
|
6
|
-
export function roundTripBytes(bytes: Uint8Array): Uint8Array;
|
|
7
6
|
export function start(): void;
|
|
7
|
+
export function roundTripBytes(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
|
@@ -257,6 +257,10 @@ export function awaitPromise(promise) {
|
|
|
257
257
|
return ret;
|
|
258
258
|
}
|
|
259
259
|
|
|
260
|
+
export function start() {
|
|
261
|
+
wasm.start();
|
|
262
|
+
}
|
|
263
|
+
|
|
260
264
|
/**
|
|
261
265
|
* @param {Uint8Array} bytes
|
|
262
266
|
* @returns {Uint8Array}
|
|
@@ -270,10 +274,6 @@ export function roundTripBytes(bytes) {
|
|
|
270
274
|
return v2;
|
|
271
275
|
}
|
|
272
276
|
|
|
273
|
-
export function start() {
|
|
274
|
-
wasm.start();
|
|
275
|
-
}
|
|
276
|
-
|
|
277
277
|
function __wbg_adapter_46(arg0, arg1, arg2) {
|
|
278
278
|
wasm.closure1598_externref_shim(arg0, arg1, arg2);
|
|
279
279
|
}
|
|
@@ -1781,23 +1781,23 @@ function __wbg_get_imports() {
|
|
|
1781
1781
|
const ret = false;
|
|
1782
1782
|
return ret;
|
|
1783
1783
|
};
|
|
1784
|
-
imports.wbg.
|
|
1784
|
+
imports.wbg.__wbindgen_closure_wrapper3733 = function(arg0, arg1, arg2) {
|
|
1785
1785
|
const ret = makeMutClosure(arg0, arg1, 1599, __wbg_adapter_46);
|
|
1786
1786
|
return ret;
|
|
1787
1787
|
};
|
|
1788
|
-
imports.wbg.
|
|
1788
|
+
imports.wbg.__wbindgen_closure_wrapper3735 = function(arg0, arg1, arg2) {
|
|
1789
1789
|
const ret = makeMutClosure(arg0, arg1, 1599, __wbg_adapter_46);
|
|
1790
1790
|
return ret;
|
|
1791
1791
|
};
|
|
1792
|
-
imports.wbg.
|
|
1792
|
+
imports.wbg.__wbindgen_closure_wrapper3737 = function(arg0, arg1, arg2) {
|
|
1793
1793
|
const ret = makeMutClosure(arg0, arg1, 1599, __wbg_adapter_46);
|
|
1794
1794
|
return ret;
|
|
1795
1795
|
};
|
|
1796
|
-
imports.wbg.
|
|
1796
|
+
imports.wbg.__wbindgen_closure_wrapper3739 = function(arg0, arg1, arg2) {
|
|
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_wrapper4580 = function(arg0, arg1, arg2) {
|
|
1801
1801
|
const ret = makeMutClosure(arg0, arg1, 1951, __wbg_adapter_55);
|
|
1802
1802
|
return ret;
|
|
1803
1803
|
};
|
|
Binary file
|