@rivetkit/rivetkit-wasm 2.3.12-rc.4 → 2.3.13

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.12-rc.4",
3
+ "version": "2.3.13",
4
4
  "description": "WebAssembly bindings for RivetKit core on edge JavaScript runtimes",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
package/pkg/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "collaborators": [
5
5
  "Rivet Gaming, LLC <developer@rivet.dev>"
6
6
  ],
7
- "version": "2.3.11",
7
+ "version": "2.3.13",
8
8
  "license": "Apache-2.0",
9
9
  "files": [
10
10
  "rivetkit_wasm_bg.wasm",
@@ -304,9 +304,9 @@ export interface InitOutput {
304
304
  readonly __wbindgen_free: (a: number, b: number, c: number) => void;
305
305
  readonly __wbindgen_export_6: WebAssembly.Table;
306
306
  readonly __externref_table_dealloc: (a: number) => void;
307
- readonly closure1967_externref_shim: (a: number, b: number, c: any) => void;
308
- readonly closure2328_externref_shim: (a: number, b: number, c: any) => void;
309
- readonly closure2561_externref_shim: (a: number, b: number, c: any, d: any) => void;
307
+ readonly closure1987_externref_shim: (a: number, b: number, c: any) => void;
308
+ readonly closure2385_externref_shim: (a: number, b: number, c: any) => void;
309
+ readonly closure2620_externref_shim: (a: number, b: number, c: any, d: any) => void;
310
310
  readonly __wbindgen_start: () => void;
311
311
  }
312
312
 
@@ -274,15 +274,15 @@ function takeFromExternrefTable0(idx) {
274
274
  return value;
275
275
  }
276
276
  function __wbg_adapter_50(arg0, arg1, arg2) {
277
- wasm.closure1967_externref_shim(arg0, arg1, arg2);
277
+ wasm.closure1987_externref_shim(arg0, arg1, arg2);
278
278
  }
279
279
 
280
280
  function __wbg_adapter_59(arg0, arg1, arg2) {
281
- wasm.closure2328_externref_shim(arg0, arg1, arg2);
281
+ wasm.closure2385_externref_shim(arg0, arg1, arg2);
282
282
  }
283
283
 
284
- function __wbg_adapter_293(arg0, arg1, arg2, arg3) {
285
- wasm.closure2561_externref_shim(arg0, arg1, arg2, arg3);
284
+ function __wbg_adapter_297(arg0, arg1, arg2, arg3) {
285
+ wasm.closure2620_externref_shim(arg0, arg1, arg2, arg3);
286
286
  }
287
287
 
288
288
  const __wbindgen_enum_BinaryType = ["blob", "arraybuffer"];
@@ -723,6 +723,14 @@ const CancellationTokenFinalization = (typeof FinalizationRegistry === 'undefine
723
723
 
724
724
  export class CancellationToken {
725
725
 
726
+ static __wrap(ptr) {
727
+ ptr = ptr >>> 0;
728
+ const obj = Object.create(CancellationToken.prototype);
729
+ obj.__wbg_ptr = ptr;
730
+ CancellationTokenFinalization.register(obj, obj.__wbg_ptr, obj);
731
+ return obj;
732
+ }
733
+
726
734
  __destroy_into_raw() {
727
735
  const ptr = this.__wbg_ptr;
728
736
  this.__wbg_ptr = 0;
@@ -1697,6 +1705,10 @@ function __wbg_get_imports() {
1697
1705
  const ret = arg0.buffer;
1698
1706
  return ret;
1699
1707
  };
1708
+ imports.wbg.__wbg_bufferedAmount_a482960ac51b25e8 = function(arg0) {
1709
+ const ret = arg0.bufferedAmount;
1710
+ return ret;
1711
+ };
1700
1712
  imports.wbg.__wbg_call_672a4d21634d4a24 = function() { return handleError(function (arg0, arg1) {
1701
1713
  const ret = arg0.call(arg1);
1702
1714
  return ret;
@@ -1709,6 +1721,10 @@ function __wbg_get_imports() {
1709
1721
  const ret = arg0.call(arg1, arg2, arg3);
1710
1722
  return ret;
1711
1723
  }, arguments) };
1724
+ imports.wbg.__wbg_cancellationtoken_new = function(arg0) {
1725
+ const ret = CancellationToken.__wrap(arg0);
1726
+ return ret;
1727
+ };
1712
1728
  imports.wbg.__wbg_close_2893b7d056a0627d = function() { return handleError(function (arg0) {
1713
1729
  arg0.close();
1714
1730
  }, arguments) };
@@ -1864,7 +1880,7 @@ function __wbg_get_imports() {
1864
1880
  const a = state0.a;
1865
1881
  state0.a = 0;
1866
1882
  try {
1867
- return __wbg_adapter_293(a, state0.b, arg0, arg1);
1883
+ return __wbg_adapter_297(a, state0.b, arg0, arg1);
1868
1884
  } finally {
1869
1885
  state0.a = a;
1870
1886
  }
@@ -2096,24 +2112,24 @@ function __wbg_get_imports() {
2096
2112
  const ret = false;
2097
2113
  return ret;
2098
2114
  };
2099
- imports.wbg.__wbindgen_closure_wrapper4818 = function(arg0, arg1, arg2) {
2100
- const ret = makeMutClosure(arg0, arg1, 1968, __wbg_adapter_50);
2115
+ imports.wbg.__wbindgen_closure_wrapper4950 = function(arg0, arg1, arg2) {
2116
+ const ret = makeMutClosure(arg0, arg1, 1988, __wbg_adapter_50);
2101
2117
  return ret;
2102
2118
  };
2103
- imports.wbg.__wbindgen_closure_wrapper4820 = function(arg0, arg1, arg2) {
2104
- const ret = makeMutClosure(arg0, arg1, 1968, __wbg_adapter_50);
2119
+ imports.wbg.__wbindgen_closure_wrapper4952 = function(arg0, arg1, arg2) {
2120
+ const ret = makeMutClosure(arg0, arg1, 1988, __wbg_adapter_50);
2105
2121
  return ret;
2106
2122
  };
2107
- imports.wbg.__wbindgen_closure_wrapper4822 = function(arg0, arg1, arg2) {
2108
- const ret = makeMutClosure(arg0, arg1, 1968, __wbg_adapter_50);
2123
+ imports.wbg.__wbindgen_closure_wrapper4954 = function(arg0, arg1, arg2) {
2124
+ const ret = makeMutClosure(arg0, arg1, 1988, __wbg_adapter_50);
2109
2125
  return ret;
2110
2126
  };
2111
- imports.wbg.__wbindgen_closure_wrapper4824 = function(arg0, arg1, arg2) {
2112
- const ret = makeMutClosure(arg0, arg1, 1968, __wbg_adapter_50);
2127
+ imports.wbg.__wbindgen_closure_wrapper4956 = function(arg0, arg1, arg2) {
2128
+ const ret = makeMutClosure(arg0, arg1, 1988, __wbg_adapter_50);
2113
2129
  return ret;
2114
2130
  };
2115
- imports.wbg.__wbindgen_closure_wrapper5409 = function(arg0, arg1, arg2) {
2116
- const ret = makeMutClosure(arg0, arg1, 2329, __wbg_adapter_59);
2131
+ imports.wbg.__wbindgen_closure_wrapper5598 = function(arg0, arg1, arg2) {
2132
+ const ret = makeMutClosure(arg0, arg1, 2386, __wbg_adapter_59);
2117
2133
  return ret;
2118
2134
  };
2119
2135
  imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
Binary file
@@ -137,7 +137,7 @@ export const __wbindgen_export_4: WebAssembly.Table;
137
137
  export const __wbindgen_free: (a: number, b: number, c: number) => void;
138
138
  export const __wbindgen_export_6: WebAssembly.Table;
139
139
  export const __externref_table_dealloc: (a: number) => void;
140
- export const closure1967_externref_shim: (a: number, b: number, c: any) => void;
141
- export const closure2328_externref_shim: (a: number, b: number, c: any) => void;
142
- export const closure2561_externref_shim: (a: number, b: number, c: any, d: any) => void;
140
+ export const closure1987_externref_shim: (a: number, b: number, c: any) => void;
141
+ export const closure2385_externref_shim: (a: number, b: number, c: any) => void;
142
+ export const closure2620_externref_shim: (a: number, b: number, c: any, d: any) => void;
143
143
  export const __wbindgen_start: () => void;