@rivetkit/rivetkit-wasm 3.0.0-preview.4 → 3.0.0-preview.6
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
package/pkg/package.json
CHANGED
package/pkg/rivetkit_wasm.d.ts
CHANGED
|
@@ -347,12 +347,12 @@ export interface InitOutput {
|
|
|
347
347
|
readonly websockethandle_close: (a: number, b: number, c: number, d: number) => any;
|
|
348
348
|
readonly websockethandle_send: (a: number, b: number, c: number, d: number) => [number, number];
|
|
349
349
|
readonly websockethandle_setEventCallback: (a: number, b: any) => void;
|
|
350
|
-
readonly
|
|
351
|
-
readonly
|
|
352
|
-
readonly
|
|
353
|
-
readonly
|
|
354
|
-
readonly
|
|
355
|
-
readonly
|
|
350
|
+
readonly wasm_bindgen_227c78e08cd5fdae___convert__closures_____invoke___js_sys_9fe07f3e7e97aa2f___Function_fn_wasm_bindgen_227c78e08cd5fdae___JsValue_____wasm_bindgen_227c78e08cd5fdae___sys__Undefined___js_sys_9fe07f3e7e97aa2f___Function_fn_wasm_bindgen_227c78e08cd5fdae___JsValue_____wasm_bindgen_227c78e08cd5fdae___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
|
|
351
|
+
readonly wasm_bindgen_227c78e08cd5fdae___convert__closures_____invoke___wasm_bindgen_227c78e08cd5fdae___JsValue__core_608f92abc48d28da___result__Result_____wasm_bindgen_227c78e08cd5fdae___JsError___true_: (a: number, b: number, c: any) => [number, number];
|
|
352
|
+
readonly wasm_bindgen_227c78e08cd5fdae___convert__closures_____invoke___web_sys_ffe0f709cd0c9189___features__gen_CloseEvent__CloseEvent______true_: (a: number, b: number, c: any) => void;
|
|
353
|
+
readonly wasm_bindgen_227c78e08cd5fdae___convert__closures_____invoke___web_sys_ffe0f709cd0c9189___features__gen_CloseEvent__CloseEvent______true__119: (a: number, b: number, c: any) => void;
|
|
354
|
+
readonly wasm_bindgen_227c78e08cd5fdae___convert__closures_____invoke___web_sys_ffe0f709cd0c9189___features__gen_CloseEvent__CloseEvent______true__120: (a: number, b: number, c: any) => void;
|
|
355
|
+
readonly wasm_bindgen_227c78e08cd5fdae___convert__closures_____invoke___web_sys_ffe0f709cd0c9189___features__gen_CloseEvent__CloseEvent______true__121: (a: number, b: number, c: any) => void;
|
|
356
356
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
357
357
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
358
358
|
readonly __wbindgen_exn_store: (a: number) => void;
|
package/pkg/rivetkit_wasm.js
CHANGED
|
@@ -1512,7 +1512,7 @@ function __wbg_get_imports() {
|
|
|
1512
1512
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
1513
1513
|
}
|
|
1514
1514
|
},
|
|
1515
|
-
|
|
1515
|
+
__wbg_getRandomValues_869eb80731672410: function() { return handleError(function (arg0, arg1) {
|
|
1516
1516
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
1517
1517
|
}, arguments); },
|
|
1518
1518
|
__wbg_getRandomValues_c44a50d8cfdaebeb: function() { return handleError(function (arg0, arg1) {
|
|
@@ -1650,7 +1650,7 @@ function __wbg_get_imports() {
|
|
|
1650
1650
|
const a = state0.a;
|
|
1651
1651
|
state0.a = 0;
|
|
1652
1652
|
try {
|
|
1653
|
-
return
|
|
1653
|
+
return wasm_bindgen_227c78e08cd5fdae___convert__closures_____invoke___js_sys_9fe07f3e7e97aa2f___Function_fn_wasm_bindgen_227c78e08cd5fdae___JsValue_____wasm_bindgen_227c78e08cd5fdae___sys__Undefined___js_sys_9fe07f3e7e97aa2f___Function_fn_wasm_bindgen_227c78e08cd5fdae___JsValue_____wasm_bindgen_227c78e08cd5fdae___sys__Undefined_______true_(a, state0.b, arg0, arg1);
|
|
1654
1654
|
} finally {
|
|
1655
1655
|
state0.a = a;
|
|
1656
1656
|
}
|
|
@@ -1680,7 +1680,7 @@ function __wbg_get_imports() {
|
|
|
1680
1680
|
const a = state0.a;
|
|
1681
1681
|
state0.a = 0;
|
|
1682
1682
|
try {
|
|
1683
|
-
return
|
|
1683
|
+
return wasm_bindgen_227c78e08cd5fdae___convert__closures_____invoke___js_sys_9fe07f3e7e97aa2f___Function_fn_wasm_bindgen_227c78e08cd5fdae___JsValue_____wasm_bindgen_227c78e08cd5fdae___sys__Undefined___js_sys_9fe07f3e7e97aa2f___Function_fn_wasm_bindgen_227c78e08cd5fdae___JsValue_____wasm_bindgen_227c78e08cd5fdae___sys__Undefined_______true_(a, state0.b, arg0, arg1);
|
|
1684
1684
|
} finally {
|
|
1685
1685
|
state0.a = a;
|
|
1686
1686
|
}
|
|
@@ -1855,28 +1855,28 @@ function __wbg_get_imports() {
|
|
|
1855
1855
|
return ret;
|
|
1856
1856
|
},
|
|
1857
1857
|
__wbindgen_generic_0000000000000001: function(arg0, arg1) {
|
|
1858
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
1859
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1858
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 2644, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1859
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_227c78e08cd5fdae___convert__closures_____invoke___wasm_bindgen_227c78e08cd5fdae___JsValue__core_608f92abc48d28da___result__Result_____wasm_bindgen_227c78e08cd5fdae___JsError___true_);
|
|
1860
1860
|
return ret;
|
|
1861
1861
|
},
|
|
1862
1862
|
__wbindgen_generic_0000000000000002: function(arg0, arg1) {
|
|
1863
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx:
|
|
1864
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1863
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 2072, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1864
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_227c78e08cd5fdae___convert__closures_____invoke___web_sys_ffe0f709cd0c9189___features__gen_CloseEvent__CloseEvent______true_);
|
|
1865
1865
|
return ret;
|
|
1866
1866
|
},
|
|
1867
1867
|
__wbindgen_generic_0000000000000003: function(arg0, arg1) {
|
|
1868
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("ErrorEvent")], shim_idx:
|
|
1869
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1868
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("ErrorEvent")], shim_idx: 2072, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1869
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_227c78e08cd5fdae___convert__closures_____invoke___web_sys_ffe0f709cd0c9189___features__gen_CloseEvent__CloseEvent______true__119);
|
|
1870
1870
|
return ret;
|
|
1871
1871
|
},
|
|
1872
1872
|
__wbindgen_generic_0000000000000004: function(arg0, arg1) {
|
|
1873
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx:
|
|
1874
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1873
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 2072, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1874
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_227c78e08cd5fdae___convert__closures_____invoke___web_sys_ffe0f709cd0c9189___features__gen_CloseEvent__CloseEvent______true__120);
|
|
1875
1875
|
return ret;
|
|
1876
1876
|
},
|
|
1877
1877
|
__wbindgen_generic_0000000000000005: function(arg0, arg1) {
|
|
1878
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx:
|
|
1879
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1878
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 2072, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1879
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_227c78e08cd5fdae___convert__closures_____invoke___web_sys_ffe0f709cd0c9189___features__gen_CloseEvent__CloseEvent______true__121);
|
|
1880
1880
|
return ret;
|
|
1881
1881
|
},
|
|
1882
1882
|
__wbindgen_generic_0000000000000006: function(arg0) {
|
|
@@ -1927,31 +1927,31 @@ function __wbg_get_imports() {
|
|
|
1927
1927
|
};
|
|
1928
1928
|
}
|
|
1929
1929
|
|
|
1930
|
-
function
|
|
1931
|
-
wasm.
|
|
1930
|
+
function wasm_bindgen_227c78e08cd5fdae___convert__closures_____invoke___web_sys_ffe0f709cd0c9189___features__gen_CloseEvent__CloseEvent______true_(arg0, arg1, arg2) {
|
|
1931
|
+
wasm.wasm_bindgen_227c78e08cd5fdae___convert__closures_____invoke___web_sys_ffe0f709cd0c9189___features__gen_CloseEvent__CloseEvent______true_(arg0, arg1, arg2);
|
|
1932
1932
|
}
|
|
1933
1933
|
|
|
1934
|
-
function
|
|
1935
|
-
wasm.
|
|
1934
|
+
function wasm_bindgen_227c78e08cd5fdae___convert__closures_____invoke___web_sys_ffe0f709cd0c9189___features__gen_CloseEvent__CloseEvent______true__119(arg0, arg1, arg2) {
|
|
1935
|
+
wasm.wasm_bindgen_227c78e08cd5fdae___convert__closures_____invoke___web_sys_ffe0f709cd0c9189___features__gen_CloseEvent__CloseEvent______true__119(arg0, arg1, arg2);
|
|
1936
1936
|
}
|
|
1937
1937
|
|
|
1938
|
-
function
|
|
1939
|
-
wasm.
|
|
1938
|
+
function wasm_bindgen_227c78e08cd5fdae___convert__closures_____invoke___web_sys_ffe0f709cd0c9189___features__gen_CloseEvent__CloseEvent______true__120(arg0, arg1, arg2) {
|
|
1939
|
+
wasm.wasm_bindgen_227c78e08cd5fdae___convert__closures_____invoke___web_sys_ffe0f709cd0c9189___features__gen_CloseEvent__CloseEvent______true__120(arg0, arg1, arg2);
|
|
1940
1940
|
}
|
|
1941
1941
|
|
|
1942
|
-
function
|
|
1943
|
-
wasm.
|
|
1942
|
+
function wasm_bindgen_227c78e08cd5fdae___convert__closures_____invoke___web_sys_ffe0f709cd0c9189___features__gen_CloseEvent__CloseEvent______true__121(arg0, arg1, arg2) {
|
|
1943
|
+
wasm.wasm_bindgen_227c78e08cd5fdae___convert__closures_____invoke___web_sys_ffe0f709cd0c9189___features__gen_CloseEvent__CloseEvent______true__121(arg0, arg1, arg2);
|
|
1944
1944
|
}
|
|
1945
1945
|
|
|
1946
|
-
function
|
|
1947
|
-
const ret = wasm.
|
|
1946
|
+
function wasm_bindgen_227c78e08cd5fdae___convert__closures_____invoke___wasm_bindgen_227c78e08cd5fdae___JsValue__core_608f92abc48d28da___result__Result_____wasm_bindgen_227c78e08cd5fdae___JsError___true_(arg0, arg1, arg2) {
|
|
1947
|
+
const ret = wasm.wasm_bindgen_227c78e08cd5fdae___convert__closures_____invoke___wasm_bindgen_227c78e08cd5fdae___JsValue__core_608f92abc48d28da___result__Result_____wasm_bindgen_227c78e08cd5fdae___JsError___true_(arg0, arg1, arg2);
|
|
1948
1948
|
if (ret[1]) {
|
|
1949
1949
|
throw takeFromExternrefTable0(ret[0]);
|
|
1950
1950
|
}
|
|
1951
1951
|
}
|
|
1952
1952
|
|
|
1953
|
-
function
|
|
1954
|
-
wasm.
|
|
1953
|
+
function wasm_bindgen_227c78e08cd5fdae___convert__closures_____invoke___js_sys_9fe07f3e7e97aa2f___Function_fn_wasm_bindgen_227c78e08cd5fdae___JsValue_____wasm_bindgen_227c78e08cd5fdae___sys__Undefined___js_sys_9fe07f3e7e97aa2f___Function_fn_wasm_bindgen_227c78e08cd5fdae___JsValue_____wasm_bindgen_227c78e08cd5fdae___sys__Undefined_______true_(arg0, arg1, arg2, arg3) {
|
|
1954
|
+
wasm.wasm_bindgen_227c78e08cd5fdae___convert__closures_____invoke___js_sys_9fe07f3e7e97aa2f___Function_fn_wasm_bindgen_227c78e08cd5fdae___JsValue_____wasm_bindgen_227c78e08cd5fdae___sys__Undefined___js_sys_9fe07f3e7e97aa2f___Function_fn_wasm_bindgen_227c78e08cd5fdae___JsValue_____wasm_bindgen_227c78e08cd5fdae___sys__Undefined_______true_(arg0, arg1, arg2, arg3);
|
|
1955
1955
|
}
|
|
1956
1956
|
|
|
1957
1957
|
|
|
Binary file
|
|
@@ -131,12 +131,12 @@ export const uint8ArrayFromBytes: (a: number, b: number) => any;
|
|
|
131
131
|
export const websockethandle_close: (a: number, b: number, c: number, d: number) => any;
|
|
132
132
|
export const websockethandle_send: (a: number, b: number, c: number, d: number) => [number, number];
|
|
133
133
|
export const websockethandle_setEventCallback: (a: number, b: any) => void;
|
|
134
|
-
export const
|
|
135
|
-
export const
|
|
136
|
-
export const
|
|
137
|
-
export const
|
|
138
|
-
export const
|
|
139
|
-
export const
|
|
134
|
+
export const wasm_bindgen_227c78e08cd5fdae___convert__closures_____invoke___js_sys_9fe07f3e7e97aa2f___Function_fn_wasm_bindgen_227c78e08cd5fdae___JsValue_____wasm_bindgen_227c78e08cd5fdae___sys__Undefined___js_sys_9fe07f3e7e97aa2f___Function_fn_wasm_bindgen_227c78e08cd5fdae___JsValue_____wasm_bindgen_227c78e08cd5fdae___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
|
|
135
|
+
export const wasm_bindgen_227c78e08cd5fdae___convert__closures_____invoke___wasm_bindgen_227c78e08cd5fdae___JsValue__core_608f92abc48d28da___result__Result_____wasm_bindgen_227c78e08cd5fdae___JsError___true_: (a: number, b: number, c: any) => [number, number];
|
|
136
|
+
export const wasm_bindgen_227c78e08cd5fdae___convert__closures_____invoke___web_sys_ffe0f709cd0c9189___features__gen_CloseEvent__CloseEvent______true_: (a: number, b: number, c: any) => void;
|
|
137
|
+
export const wasm_bindgen_227c78e08cd5fdae___convert__closures_____invoke___web_sys_ffe0f709cd0c9189___features__gen_CloseEvent__CloseEvent______true__119: (a: number, b: number, c: any) => void;
|
|
138
|
+
export const wasm_bindgen_227c78e08cd5fdae___convert__closures_____invoke___web_sys_ffe0f709cd0c9189___features__gen_CloseEvent__CloseEvent______true__120: (a: number, b: number, c: any) => void;
|
|
139
|
+
export const wasm_bindgen_227c78e08cd5fdae___convert__closures_____invoke___web_sys_ffe0f709cd0c9189___features__gen_CloseEvent__CloseEvent______true__121: (a: number, b: number, c: any) => void;
|
|
140
140
|
export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
141
141
|
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
142
142
|
export const __wbindgen_exn_store: (a: number) => void;
|