@rivetkit/rivetkit-wasm 0.0.0-fix-engine-autospawn-binary-path.031e3a4 → 0.0.0-fix-engine-autospawn-binary-path.bd77b98
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 +2 -2
- package/pkg/rivetkit_wasm.js +15 -15
- 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-fix-engine-autospawn-binary-path.
|
|
3
|
+
"version": "0.0.0-fix-engine-autospawn-binary-path.bd77b98",
|
|
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
|
|
3
|
+
export function uint8ArrayFromBytes(bytes: Uint8Array): Uint8Array;
|
|
4
4
|
export function roundTripBytes(bytes: Uint8Array): Uint8Array;
|
|
5
5
|
export function start(): void;
|
|
6
|
-
export function
|
|
6
|
+
export function awaitPromise(promise: Promise<any>): Promise<any>;
|
|
7
7
|
export function bridgeRivetErrorPrefix(): string;
|
|
8
8
|
export class ActorContext {
|
|
9
9
|
free(): void;
|
package/pkg/rivetkit_wasm.js
CHANGED
|
@@ -222,11 +222,13 @@ function _assertClass(instance, klass) {
|
|
|
222
222
|
}
|
|
223
223
|
}
|
|
224
224
|
/**
|
|
225
|
-
* @param {
|
|
226
|
-
* @returns {
|
|
225
|
+
* @param {Uint8Array} bytes
|
|
226
|
+
* @returns {Uint8Array}
|
|
227
227
|
*/
|
|
228
|
-
export function
|
|
229
|
-
const
|
|
228
|
+
export function uint8ArrayFromBytes(bytes) {
|
|
229
|
+
const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
|
|
230
|
+
const len0 = WASM_VECTOR_LEN;
|
|
231
|
+
const ret = wasm.uint8ArrayFromBytes(ptr0, len0);
|
|
230
232
|
return ret;
|
|
231
233
|
}
|
|
232
234
|
|
|
@@ -248,13 +250,11 @@ export function start() {
|
|
|
248
250
|
}
|
|
249
251
|
|
|
250
252
|
/**
|
|
251
|
-
* @param {
|
|
252
|
-
* @returns {
|
|
253
|
+
* @param {Promise<any>} promise
|
|
254
|
+
* @returns {Promise<any>}
|
|
253
255
|
*/
|
|
254
|
-
export function
|
|
255
|
-
const
|
|
256
|
-
const len0 = WASM_VECTOR_LEN;
|
|
257
|
-
const ret = wasm.uint8ArrayFromBytes(ptr0, len0);
|
|
256
|
+
export function awaitPromise(promise) {
|
|
257
|
+
const ret = wasm.awaitPromise(promise);
|
|
258
258
|
return ret;
|
|
259
259
|
}
|
|
260
260
|
|
|
@@ -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_wrapper3727 = 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_wrapper3729 = 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_wrapper3731 = 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_wrapper3733 = 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_wrapper4574 = function(arg0, arg1, arg2) {
|
|
1801
1801
|
const ret = makeMutClosure(arg0, arg1, 1951, __wbg_adapter_55);
|
|
1802
1802
|
return ret;
|
|
1803
1803
|
};
|
|
Binary file
|