@rkat/web 0.7.18 → 0.7.20

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/dist/runtime.js CHANGED
@@ -2,7 +2,7 @@ import { Mob, parseMobStatusResult } from './mob.js';
2
2
  import { Session } from './session.js';
3
3
  import { parseInitResult } from './generated/runtime.js';
4
4
  /** Expected WASM runtime version — must match the compiled binary. */
5
- const EXPECTED_VERSION = '0.7.18';
5
+ const EXPECTED_VERSION = '0.7.20';
6
6
  /**
7
7
  * Convert a camelCase config object to the snake_case expected by WASM.
8
8
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rkat/web",
3
- "version": "0.7.18",
3
+ "version": "0.7.20",
4
4
  "description": "Browser SDK for Meerkat agent runtime (WASM)",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,5 +1,5 @@
1
1
  {
2
- "source_hash": "efe210049bc88b720267968c4bda6310d9903ace8f4960badf73b73f30cddc26",
3
- "input_count": 705,
4
- "built_at": "2026-07-05T23:21:19.869Z"
2
+ "source_hash": "5b802c05d652fada3e054a4837baddec4c3df713e0dc434a63f7d63da1cf0fe6",
3
+ "input_count": 706,
4
+ "built_at": "2026-07-07T05:36:08.100Z"
5
5
  }
@@ -6,7 +6,7 @@
6
6
  * *This API requires the following crate features to be activated: `ReadableStreamType`*
7
7
  */
8
8
 
9
- type ReadableStreamType = "bytes";
9
+ export type ReadableStreamType = "bytes";
10
10
 
11
11
  export class IntoUnderlyingByteSource {
12
12
  private constructor();
@@ -531,19 +531,19 @@ export interface InitOutput {
531
531
  readonly intounderlyingsource_cancel: (a: number) => void;
532
532
  readonly intounderlyingsource_pull: (a: number, b: any) => any;
533
533
  readonly task_worker_entry_point: (a: number) => [number, number];
534
- readonly wasm_bindgen__closure__destroy__h3807996046afbbad: (a: number, b: number) => void;
535
- readonly wasm_bindgen__closure__destroy__he6eb9af9c751494b: (a: number, b: number) => void;
536
- readonly wasm_bindgen__closure__destroy__hc6c6681494619f4c: (a: number, b: number) => void;
537
- readonly wasm_bindgen__convert__closures_____invoke__hf753960b9f8a3962: (a: number, b: number, c: any, d: any) => void;
538
- readonly wasm_bindgen__convert__closures_____invoke__hc97d2a0daf4dfe80: (a: number, b: number, c: any) => void;
539
- readonly wasm_bindgen__convert__closures_____invoke__h2b3dad00bc784127: (a: number, b: number) => void;
540
- readonly wasm_bindgen__convert__closures_____invoke__h74d3a415f647d54f: (a: number, b: number) => void;
534
+ readonly wasm_bindgen__convert__closures_____invoke__ha6f6b2bfa1410f3c: (a: number, b: number, c: any) => [number, number];
535
+ readonly wasm_bindgen__convert__closures_____invoke__h56df9048ad48ac7a: (a: number, b: number, c: any, d: any) => void;
536
+ readonly wasm_bindgen__convert__closures_____invoke__h72cc2ee594d6f347: (a: number, b: number, c: any, d: any) => void;
537
+ readonly wasm_bindgen__convert__closures_____invoke__h4fd5aba8fe4c0d43: (a: number, b: number, c: any) => void;
538
+ readonly wasm_bindgen__convert__closures_____invoke__ha157e9e65bad5300: (a: number, b: number) => void;
539
+ readonly wasm_bindgen__convert__closures_____invoke__h1f72a4b6acc06295: (a: number, b: number) => void;
541
540
  readonly __wbindgen_malloc_command_export: (a: number, b: number) => number;
542
541
  readonly __wbindgen_realloc_command_export: (a: number, b: number, c: number, d: number) => number;
543
542
  readonly __wbindgen_exn_store_command_export: (a: number) => void;
544
543
  readonly __externref_table_alloc_command_export: () => number;
545
544
  readonly __wbindgen_externrefs: WebAssembly.Table;
546
545
  readonly __wbindgen_free_command_export: (a: number, b: number, c: number) => void;
546
+ readonly __wbindgen_destroy_closure_command_export: (a: number, b: number) => void;
547
547
  readonly __externref_table_dealloc_command_export: (a: number) => void;
548
548
  readonly __wbindgen_start: () => void;
549
549
  }
@@ -998,39 +998,38 @@ export function task_worker_entry_point(ptr) {
998
998
  throw takeFromExternrefTable0(ret[0]);
999
999
  }
1000
1000
  }
1001
-
1002
1001
  function __wbg_get_imports() {
1003
1002
  const import0 = {
1004
1003
  __proto__: null,
1005
- __wbg___wbindgen_debug_string_0bc8482c6e3508ae: function(arg0, arg1) {
1004
+ __wbg___wbindgen_debug_string_c25d447a39f5578f: function(arg0, arg1) {
1006
1005
  const ret = debugString(arg1);
1007
1006
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
1008
1007
  const len1 = WASM_VECTOR_LEN;
1009
1008
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1010
1009
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1011
1010
  },
1012
- __wbg___wbindgen_is_function_0095a73b8b156f76: function(arg0) {
1011
+ __wbg___wbindgen_is_function_1ff95bcc5517c252: function(arg0) {
1013
1012
  const ret = typeof(arg0) === 'function';
1014
1013
  return ret;
1015
1014
  },
1016
- __wbg___wbindgen_is_null_ac34f5003991759a: function(arg0) {
1015
+ __wbg___wbindgen_is_null_ea9085d691f535d3: function(arg0) {
1017
1016
  const ret = arg0 === null;
1018
1017
  return ret;
1019
1018
  },
1020
- __wbg___wbindgen_is_object_5ae8e5880f2c1fbd: function(arg0) {
1019
+ __wbg___wbindgen_is_object_a27215656b807791: function(arg0) {
1021
1020
  const val = arg0;
1022
1021
  const ret = typeof(val) === 'object' && val !== null;
1023
1022
  return ret;
1024
1023
  },
1025
- __wbg___wbindgen_is_string_cd444516edc5b180: function(arg0) {
1024
+ __wbg___wbindgen_is_string_ea5e6cc2e4141dfe: function(arg0) {
1026
1025
  const ret = typeof(arg0) === 'string';
1027
1026
  return ret;
1028
1027
  },
1029
- __wbg___wbindgen_is_undefined_9e4d92534c42d778: function(arg0) {
1028
+ __wbg___wbindgen_is_undefined_c05833b95a3cf397: function(arg0) {
1030
1029
  const ret = arg0 === undefined;
1031
1030
  return ret;
1032
1031
  },
1033
- __wbg___wbindgen_string_get_72fb696202c56729: function(arg0, arg1) {
1032
+ __wbg___wbindgen_string_get_b0ca35b86a603356: function(arg0, arg1) {
1034
1033
  const obj = arg1;
1035
1034
  const ret = typeof(obj) === 'string' ? obj : undefined;
1036
1035
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
@@ -1038,134 +1037,134 @@ function __wbg_get_imports() {
1038
1037
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1039
1038
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1040
1039
  },
1041
- __wbg___wbindgen_throw_be289d5034ed271b: function(arg0, arg1) {
1040
+ __wbg___wbindgen_throw_344f42d3211c4765: function(arg0, arg1) {
1042
1041
  throw new Error(getStringFromWasm0(arg0, arg1));
1043
1042
  },
1044
- __wbg__wbg_cb_unref_d9b87ff7982e3b21: function(arg0) {
1043
+ __wbg__wbg_cb_unref_fffb441def202758: function(arg0) {
1045
1044
  arg0._wbg_cb_unref();
1046
1045
  },
1047
- __wbg_abort_2f0584e03e8e3950: function(arg0) {
1046
+ __wbg_abort_8bae0f33e7833997: function(arg0) {
1048
1047
  arg0.abort();
1049
1048
  },
1050
- __wbg_abort_d549b92d3c665de1: function(arg0, arg1) {
1049
+ __wbg_abort_eee9248a6d680839: function(arg0, arg1) {
1051
1050
  arg0.abort(arg1);
1052
1051
  },
1053
- __wbg_append_a992ccc37aa62dc4: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
1052
+ __wbg_append_01c74e5c6b58aa64: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
1054
1053
  arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
1055
1054
  }, arguments); },
1056
- __wbg_body_3a0b4437dadea6bf: function(arg0) {
1055
+ __wbg_body_18c9f2ac15ead4b2: function(arg0) {
1057
1056
  const ret = arg0.body;
1058
1057
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1059
1058
  },
1060
- __wbg_buffer_26d0910f3a5bc899: function(arg0) {
1059
+ __wbg_buffer_54b87055582c8a81: function(arg0) {
1061
1060
  const ret = arg0.buffer;
1062
1061
  return ret;
1063
1062
  },
1064
- __wbg_byobRequest_80e594e6da4e1af7: function(arg0) {
1063
+ __wbg_byobRequest_06b654bb15590436: function(arg0) {
1065
1064
  const ret = arg0.byobRequest;
1066
1065
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1067
1066
  },
1068
- __wbg_byteLength_3417f266f4bf562a: function(arg0) {
1067
+ __wbg_byteLength_41862ca4020b9c43: function(arg0) {
1069
1068
  const ret = arg0.byteLength;
1070
1069
  return ret;
1071
1070
  },
1072
- __wbg_byteOffset_f88547ca47c86358: function(arg0) {
1071
+ __wbg_byteOffset_d42e18c4441f628b: function(arg0) {
1073
1072
  const ret = arg0.byteOffset;
1074
1073
  return ret;
1075
1074
  },
1076
- __wbg_call_389efe28435a9388: function() { return handleError(function (arg0, arg1) {
1075
+ __wbg_call_8a2dd23819f8a60a: function() { return handleError(function (arg0, arg1) {
1077
1076
  const ret = arg0.call(arg1);
1078
1077
  return ret;
1079
1078
  }, arguments); },
1080
- __wbg_call_4708e0c13bdc8e95: function() { return handleError(function (arg0, arg1, arg2) {
1079
+ __wbg_call_a6e5c5dce5018821: function() { return handleError(function (arg0, arg1, arg2) {
1081
1080
  const ret = arg0.call(arg1, arg2);
1082
1081
  return ret;
1083
1082
  }, arguments); },
1084
- __wbg_cancel_2c0a0a251ff6b2b7: function(arg0) {
1083
+ __wbg_cancel_3983a93e24cc66b3: function(arg0) {
1085
1084
  const ret = arg0.cancel();
1086
1085
  return ret;
1087
1086
  },
1088
- __wbg_catch_c1f8c7623b458214: function(arg0, arg1) {
1087
+ __wbg_catch_c1a60df4c30d76d3: function(arg0, arg1) {
1089
1088
  const ret = arg0.catch(arg1);
1090
1089
  return ret;
1091
1090
  },
1092
- __wbg_clearInterval_e31dd63127d6111f: function(arg0) {
1091
+ __wbg_clearInterval_a784e7b87f37a6f3: function(arg0) {
1093
1092
  globalThis.clearInterval(arg0);
1094
1093
  },
1095
- __wbg_clearTimeout_42d9ccd50822fd3a: function(arg0) {
1094
+ __wbg_clearTimeout_6b8d9a38b9263d65: function(arg0) {
1096
1095
  const ret = clearTimeout(arg0);
1097
1096
  return ret;
1098
1097
  },
1099
- __wbg_close_06dfa0a815b9d71f: function() { return handleError(function (arg0) {
1098
+ __wbg_close_249a23304523681b: function() { return handleError(function (arg0) {
1100
1099
  arg0.close();
1101
1100
  }, arguments); },
1102
- __wbg_close_a79afee31de55b36: function() { return handleError(function (arg0) {
1101
+ __wbg_close_72d318d9c16e83ef: function() { return handleError(function (arg0) {
1103
1102
  arg0.close();
1104
1103
  }, arguments); },
1105
- __wbg_crypto_86f2631e91b51511: function(arg0) {
1104
+ __wbg_crypto_38df2bab126b63dc: function(arg0) {
1106
1105
  const ret = arg0.crypto;
1107
1106
  return ret;
1108
1107
  },
1109
- __wbg_done_57b39ecd9addfe81: function(arg0) {
1108
+ __wbg_done_89b2b13e91a60321: function(arg0) {
1110
1109
  const ret = arg0.done;
1111
1110
  return ret;
1112
1111
  },
1113
- __wbg_enqueue_2c63f2044f257c3e: function() { return handleError(function (arg0, arg1) {
1112
+ __wbg_enqueue_6d83b4c6281bafd6: function() { return handleError(function (arg0, arg1) {
1114
1113
  arg0.enqueue(arg1);
1115
1114
  }, arguments); },
1116
- __wbg_error_234bf17c598313cb: function(arg0, arg1) {
1115
+ __wbg_error_7aabf7ad5c35cfbb: function(arg0, arg1) {
1117
1116
  console.error(getStringFromWasm0(arg0, arg1));
1118
1117
  },
1119
- __wbg_eval_3f0b9f0cbaf45a34: function() { return handleError(function (arg0, arg1) {
1118
+ __wbg_eval_832ed6e42a9be51c: function() { return handleError(function (arg0, arg1) {
1120
1119
  const ret = eval(getStringFromWasm0(arg0, arg1));
1121
1120
  return ret;
1122
1121
  }, arguments); },
1123
- __wbg_fetch_6bbc32f991730587: function(arg0) {
1122
+ __wbg_fetch_9dad4fe911207b37: function(arg0) {
1124
1123
  const ret = fetch(arg0);
1125
1124
  return ret;
1126
1125
  },
1127
- __wbg_fetch_afb6a4b6cacf876d: function(arg0, arg1) {
1126
+ __wbg_fetch_b5951fc96f52f786: function(arg0, arg1) {
1128
1127
  const ret = arg0.fetch(arg1);
1129
1128
  return ret;
1130
1129
  },
1131
- __wbg_getRandomValues_1c61fac11405ffdc: function() { return handleError(function (arg0, arg1) {
1130
+ __wbg_getRandomValues_3f44b700395062e5: function() { return handleError(function (arg0, arg1) {
1132
1131
  globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
1133
1132
  }, arguments); },
1134
- __wbg_getRandomValues_b3f15fcbfabb0f8b: function() { return handleError(function (arg0, arg1) {
1135
- arg0.getRandomValues(arg1);
1136
- }, arguments); },
1137
- __wbg_getRandomValues_c1a6b3fa4f05f846: function() { return handleError(function (arg0, arg1) {
1133
+ __wbg_getRandomValues_bf16787eede473f5: function() { return handleError(function (arg0, arg1) {
1138
1134
  globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
1139
1135
  }, arguments); },
1140
- __wbg_getReader_48e00749fe3f6089: function() { return handleError(function (arg0) {
1136
+ __wbg_getRandomValues_c44a50d8cfdaebeb: function() { return handleError(function (arg0, arg1) {
1137
+ arg0.getRandomValues(arg1);
1138
+ }, arguments); },
1139
+ __wbg_getReader_b4b1868fbca77dbe: function() { return handleError(function (arg0) {
1141
1140
  const ret = arg0.getReader();
1142
1141
  return ret;
1143
1142
  }, arguments); },
1144
- __wbg_getTime_1e3cd1391c5c3995: function(arg0) {
1143
+ __wbg_getTime_d6f070c088c9b5ed: function(arg0) {
1145
1144
  const ret = arg0.getTime();
1146
1145
  return ret;
1147
1146
  },
1148
- __wbg_get_b3ed3ad4be2bc8ac: function() { return handleError(function (arg0, arg1) {
1147
+ __wbg_get_c7eb1f358a7654df: function() { return handleError(function (arg0, arg1) {
1149
1148
  const ret = Reflect.get(arg0, arg1);
1150
1149
  return ret;
1151
1150
  }, arguments); },
1152
- __wbg_get_done_1ad1c16537f444c6: function(arg0) {
1151
+ __wbg_get_done_670108eb06ecbe46: function(arg0) {
1153
1152
  const ret = arg0.done;
1154
1153
  return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
1155
1154
  },
1156
- __wbg_get_value_6b77a1b7b90c9200: function(arg0) {
1155
+ __wbg_get_value_f465f5be30aa0963: function(arg0) {
1157
1156
  const ret = arg0.value;
1158
1157
  return ret;
1159
1158
  },
1160
- __wbg_has_d4e53238966c12b6: function() { return handleError(function (arg0, arg1) {
1159
+ __wbg_has_8374cf06984d8bfc: function() { return handleError(function (arg0, arg1) {
1161
1160
  const ret = Reflect.has(arg0, arg1);
1162
1161
  return ret;
1163
1162
  }, arguments); },
1164
- __wbg_headers_59a2938db9f80985: function(arg0) {
1163
+ __wbg_headers_cf9c80f30e2a4eff: function(arg0) {
1165
1164
  const ret = arg0.headers;
1166
1165
  return ret;
1167
1166
  },
1168
- __wbg_instanceof_Error_8573fe0b0b480f46: function(arg0) {
1167
+ __wbg_instanceof_Error_1fdac9f13a8181ba: function(arg0) {
1169
1168
  let result;
1170
1169
  try {
1171
1170
  result = arg0 instanceof Error;
@@ -1175,7 +1174,7 @@ function __wbg_get_imports() {
1175
1174
  const ret = result;
1176
1175
  return ret;
1177
1176
  },
1178
- __wbg_instanceof_Promise_0094681e3519d6ec: function(arg0) {
1177
+ __wbg_instanceof_Promise_4cb210c0b8f8c959: function(arg0) {
1179
1178
  let result;
1180
1179
  try {
1181
1180
  result = arg0 instanceof Promise;
@@ -1185,7 +1184,7 @@ function __wbg_get_imports() {
1185
1184
  const ret = result;
1186
1185
  return ret;
1187
1186
  },
1188
- __wbg_instanceof_Response_ee1d54d79ae41977: function(arg0) {
1187
+ __wbg_instanceof_Response_c8b64b2256f01bec: function(arg0) {
1189
1188
  let result;
1190
1189
  try {
1191
1190
  result = arg0 instanceof Response;
@@ -1195,15 +1194,15 @@ function __wbg_get_imports() {
1195
1194
  const ret = result;
1196
1195
  return ret;
1197
1196
  },
1198
- __wbg_iterator_6ff6560ca1568e55: function() {
1197
+ __wbg_iterator_6f722e4a93058b71: function() {
1199
1198
  const ret = Symbol.iterator;
1200
1199
  return ret;
1201
1200
  },
1202
- __wbg_length_32ed9a279acd054c: function(arg0) {
1201
+ __wbg_length_1f0964f4a5e2c6d8: function(arg0) {
1203
1202
  const ret = arg0.length;
1204
1203
  return ret;
1205
1204
  },
1206
- __wbg_log_0cc1b7768397bcfe: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
1205
+ __wbg_log_0c201ade58bb55e1: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
1207
1206
  let deferred0_0;
1208
1207
  let deferred0_1;
1209
1208
  try {
@@ -1214,7 +1213,7 @@ function __wbg_get_imports() {
1214
1213
  wasm.__wbindgen_free_command_export(deferred0_0, deferred0_1, 1);
1215
1214
  }
1216
1215
  },
1217
- __wbg_log_cb9e190acc5753fb: function(arg0, arg1) {
1216
+ __wbg_log_ce2c4456b290c5e7: function(arg0, arg1) {
1218
1217
  let deferred0_0;
1219
1218
  let deferred0_1;
1220
1219
  try {
@@ -1225,10 +1224,10 @@ function __wbg_get_imports() {
1225
1224
  wasm.__wbindgen_free_command_export(deferred0_0, deferred0_1, 1);
1226
1225
  }
1227
1226
  },
1228
- __wbg_mark_7438147ce31e9d4b: function(arg0, arg1) {
1227
+ __wbg_mark_b4d943f3bc2d2404: function(arg0, arg1) {
1229
1228
  performance.mark(getStringFromWasm0(arg0, arg1));
1230
1229
  },
1231
- __wbg_measure_fb7825c11612c823: function() { return handleError(function (arg0, arg1, arg2, arg3) {
1230
+ __wbg_measure_84362959e621a2c1: function() { return handleError(function (arg0, arg1, arg2, arg3) {
1232
1231
  let deferred0_0;
1233
1232
  let deferred0_1;
1234
1233
  let deferred1_0;
@@ -1244,38 +1243,34 @@ function __wbg_get_imports() {
1244
1243
  wasm.__wbindgen_free_command_export(deferred1_0, deferred1_1, 1);
1245
1244
  }
1246
1245
  }, arguments); },
1247
- __wbg_message_9ddc4b9a62a7c379: function(arg0) {
1246
+ __wbg_message_8326fb1d549bebc5: function(arg0) {
1248
1247
  const ret = arg0.message;
1249
1248
  return ret;
1250
1249
  },
1251
- __wbg_msCrypto_d562bbe83e0d4b91: function(arg0) {
1250
+ __wbg_msCrypto_bd5a034af96bcba6: function(arg0) {
1252
1251
  const ret = arg0.msCrypto;
1253
1252
  return ret;
1254
1253
  },
1255
- __wbg_new_0_73afc35eb544e539: function() {
1254
+ __wbg_new_0_3da9e97f24fc69be: function() {
1256
1255
  const ret = new Date();
1257
1256
  return ret;
1258
1257
  },
1259
- __wbg_new_361308b2356cecd0: function() {
1260
- const ret = new Object();
1261
- return ret;
1262
- },
1263
- __wbg_new_64284bd487f9d239: function() { return handleError(function () {
1258
+ __wbg_new_0d809930cd1354c6: function() { return handleError(function () {
1264
1259
  const ret = new Headers();
1265
1260
  return ret;
1266
1261
  }, arguments); },
1267
- __wbg_new_72b49615380db768: function(arg0, arg1) {
1268
- const ret = new Error(getStringFromWasm0(arg0, arg1));
1262
+ __wbg_new_4339b2a2675a03e3: function() { return handleError(function () {
1263
+ const ret = new AbortController();
1269
1264
  return ret;
1270
- },
1271
- __wbg_new_b5d9e2fb389fef91: function(arg0, arg1) {
1265
+ }, arguments); },
1266
+ __wbg_new_aec3e25493d729fe: function(arg0, arg1) {
1272
1267
  try {
1273
1268
  var state0 = {a: arg0, b: arg1};
1274
1269
  var cb0 = (arg0, arg1) => {
1275
1270
  const a = state0.a;
1276
1271
  state0.a = 0;
1277
1272
  try {
1278
- return wasm_bindgen__convert__closures_____invoke__hf753960b9f8a3962(a, state0.b, arg0, arg1);
1273
+ return wasm_bindgen__convert__closures_____invoke__h56df9048ad48ac7a(a, state0.b, arg0, arg1);
1279
1274
  } finally {
1280
1275
  state0.a = a;
1281
1276
  }
@@ -1283,226 +1278,249 @@ function __wbg_get_imports() {
1283
1278
  const ret = new Promise(cb0);
1284
1279
  return ret;
1285
1280
  } finally {
1286
- state0.a = state0.b = 0;
1281
+ state0.a = 0;
1287
1282
  }
1288
1283
  },
1289
- __wbg_new_b949e7f56150a5d1: function() { return handleError(function () {
1290
- const ret = new AbortController();
1284
+ __wbg_new_b667d279fd5aa943: function(arg0, arg1) {
1285
+ const ret = new Error(getStringFromWasm0(arg0, arg1));
1291
1286
  return ret;
1292
- }, arguments); },
1293
- __wbg_new_dd2b680c8bf6ae29: function(arg0) {
1287
+ },
1288
+ __wbg_new_cd45aabdf6073e84: function(arg0) {
1294
1289
  const ret = new Uint8Array(arg0);
1295
1290
  return ret;
1296
1291
  },
1297
- __wbg_new_from_slice_a3d2629dc1826784: function(arg0, arg1) {
1298
- const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
1292
+ __wbg_new_da52cf8fe3429cb2: function() {
1293
+ const ret = new Object();
1299
1294
  return ret;
1300
1295
  },
1301
- __wbg_new_no_args_1c7c842f08d00ebb: function(arg0, arg1) {
1302
- const ret = new Function(getStringFromWasm0(arg0, arg1));
1296
+ __wbg_new_from_slice_77cdfb7977362f3c: function(arg0, arg1) {
1297
+ const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
1303
1298
  return ret;
1304
1299
  },
1305
- __wbg_new_with_byte_offset_and_length_aa261d9c9da49eb1: function(arg0, arg1, arg2) {
1300
+ __wbg_new_typed_1824d93f294193e5: function(arg0, arg1) {
1301
+ try {
1302
+ var state0 = {a: arg0, b: arg1};
1303
+ var cb0 = (arg0, arg1) => {
1304
+ const a = state0.a;
1305
+ state0.a = 0;
1306
+ try {
1307
+ return wasm_bindgen__convert__closures_____invoke__h72cc2ee594d6f347(a, state0.b, arg0, arg1);
1308
+ } finally {
1309
+ state0.a = a;
1310
+ }
1311
+ };
1312
+ const ret = new Promise(cb0);
1313
+ return ret;
1314
+ } finally {
1315
+ state0.a = 0;
1316
+ }
1317
+ },
1318
+ __wbg_new_with_byte_offset_and_length_54c7724ee3ec7d82: function(arg0, arg1, arg2) {
1306
1319
  const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
1307
1320
  return ret;
1308
1321
  },
1309
- __wbg_new_with_length_a2c39cbe88fd8ff1: function(arg0) {
1322
+ __wbg_new_with_length_e6785c33c8e4cce8: function(arg0) {
1310
1323
  const ret = new Uint8Array(arg0 >>> 0);
1311
1324
  return ret;
1312
1325
  },
1313
- __wbg_new_with_str_and_init_a61cbc6bdef21614: function() { return handleError(function (arg0, arg1, arg2) {
1326
+ __wbg_new_with_str_and_init_d95cbe11ce28e65e: function() { return handleError(function (arg0, arg1, arg2) {
1314
1327
  const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
1315
1328
  return ret;
1316
1329
  }, arguments); },
1317
- __wbg_next_3482f54c49e8af19: function() { return handleError(function (arg0) {
1330
+ __wbg_next_6dbf2c0ac8cde20f: function(arg0) {
1331
+ const ret = arg0.next;
1332
+ return ret;
1333
+ },
1334
+ __wbg_next_71f2aa1cb3d1e37e: function() { return handleError(function (arg0) {
1318
1335
  const ret = arg0.next();
1319
1336
  return ret;
1320
1337
  }, arguments); },
1321
- __wbg_next_418f80d8f5303233: function(arg0) {
1322
- const ret = arg0.next;
1338
+ __wbg_node_84ea875411254db1: function(arg0) {
1339
+ const ret = arg0.node;
1323
1340
  return ret;
1324
1341
  },
1325
- __wbg_node_e1f24f89a7336c2e: function(arg0) {
1326
- const ret = arg0.node;
1342
+ __wbg_now_86c0d4ba3fa605b8: function() {
1343
+ const ret = Date.now();
1327
1344
  return ret;
1328
1345
  },
1329
- __wbg_now_21fda9149d708c6c: function() { return handleError(function () {
1346
+ __wbg_now_8e942e0f83109abc: function() { return handleError(function () {
1330
1347
  const ret = Date.now();
1331
1348
  return ret;
1332
1349
  }, arguments); },
1333
- __wbg_now_2c95c9de01293173: function(arg0) {
1350
+ __wbg_now_e7c6795a7f81e10f: function(arg0) {
1334
1351
  const ret = arg0.now();
1335
1352
  return ret;
1336
1353
  },
1337
- __wbg_now_a3af9a2f4bbaa4d1: function() {
1338
- const ret = Date.now();
1339
- return ret;
1340
- },
1341
- __wbg_performance_7a3ffd0b17f663ad: function(arg0) {
1354
+ __wbg_performance_3fcf6e32a7e1ed0a: function(arg0) {
1342
1355
  const ret = arg0.performance;
1343
1356
  return ret;
1344
1357
  },
1345
- __wbg_postMessage_2041f4e90af61318: function() { return handleError(function (arg0, arg1) {
1358
+ __wbg_postMessage_ea8632bb43026d6a: function() { return handleError(function (arg0, arg1) {
1346
1359
  arg0.postMessage(arg1);
1347
1360
  }, arguments); },
1348
- __wbg_process_3975fd6c72f520aa: function(arg0) {
1361
+ __wbg_process_44c7a14e11e9f69e: function(arg0) {
1349
1362
  const ret = arg0.process;
1350
1363
  return ret;
1351
1364
  },
1352
- __wbg_prototypesetcall_bdcdcc5842e4d77d: function(arg0, arg1, arg2) {
1365
+ __wbg_prototypesetcall_4770620bbe4688a0: function(arg0, arg1, arg2) {
1353
1366
  Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
1354
1367
  },
1355
- __wbg_queueMicrotask_0aa0a927f78f5d98: function(arg0) {
1368
+ __wbg_queueMicrotask_0ab5b2d2393e99b9: function(arg0) {
1356
1369
  const ret = arg0.queueMicrotask;
1357
1370
  return ret;
1358
1371
  },
1359
- __wbg_queueMicrotask_5bb536982f78a56f: function(arg0) {
1372
+ __wbg_queueMicrotask_6a09b7bc46549209: function(arg0) {
1360
1373
  queueMicrotask(arg0);
1361
1374
  },
1362
- __wbg_randomFillSync_f8c153b79f285817: function() { return handleError(function (arg0, arg1) {
1375
+ __wbg_randomFillSync_6c25eac9869eb53c: function() { return handleError(function (arg0, arg1) {
1363
1376
  arg0.randomFillSync(arg1);
1364
1377
  }, arguments); },
1365
- __wbg_read_68fd377df67e19b0: function(arg0) {
1378
+ __wbg_read_8afa15f12a160ef8: function(arg0) {
1366
1379
  const ret = arg0.read();
1367
1380
  return ret;
1368
1381
  },
1369
- __wbg_releaseLock_aa5846c2494b3032: function(arg0) {
1382
+ __wbg_releaseLock_5b92874cad775644: function(arg0) {
1370
1383
  arg0.releaseLock();
1371
1384
  },
1372
- __wbg_require_b74f47fc2d022fd6: function() { return handleError(function () {
1385
+ __wbg_require_b4edbdcf3e2a1ef0: function() { return handleError(function () {
1373
1386
  const ret = module.require;
1374
1387
  return ret;
1375
1388
  }, arguments); },
1376
- __wbg_resolve_002c4b7d9d8f6b64: function(arg0) {
1389
+ __wbg_resolve_2191a4dfe481c25b: function(arg0) {
1377
1390
  const ret = Promise.resolve(arg0);
1378
1391
  return ret;
1379
1392
  },
1380
- __wbg_respond_bf6ab10399ca8722: function() { return handleError(function (arg0, arg1) {
1393
+ __wbg_respond_510e32df8aeb6817: function() { return handleError(function (arg0, arg1) {
1381
1394
  arg0.respond(arg1 >>> 0);
1382
1395
  }, arguments); },
1383
- __wbg_setInterval_56aeb79cd92839a5: function(arg0, arg1) {
1396
+ __wbg_setInterval_385262623499ff03: function(arg0, arg1) {
1384
1397
  const ret = globalThis.setInterval(arg0, arg1);
1385
1398
  return ret;
1386
1399
  },
1387
- __wbg_setTimeout_4ec014681668a581: function(arg0, arg1) {
1400
+ __wbg_setTimeout_2a1fbbfbc00febf2: function(arg0, arg1) {
1401
+ globalThis.setTimeout(arg0, arg1);
1402
+ },
1403
+ __wbg_setTimeout_f757f00851f76c42: function(arg0, arg1) {
1388
1404
  const ret = setTimeout(arg0, arg1);
1389
1405
  return ret;
1390
1406
  },
1391
- __wbg_setTimeout_8b62ed7f9b0524db: function(arg0, arg1) {
1392
- globalThis.setTimeout(arg0, arg1);
1407
+ __wbg_set_4d7dd76f3dae2926: function(arg0, arg1, arg2) {
1408
+ arg0.set(getArrayU8FromWasm0(arg1, arg2));
1393
1409
  },
1394
- __wbg_set_6cb8631f80447a67: function() { return handleError(function (arg0, arg1, arg2) {
1410
+ __wbg_set_8535240470bf2500: function() { return handleError(function (arg0, arg1, arg2) {
1395
1411
  const ret = Reflect.set(arg0, arg1, arg2);
1396
1412
  return ret;
1397
1413
  }, arguments); },
1398
- __wbg_set_body_9a7e00afe3cfe244: function(arg0, arg1) {
1414
+ __wbg_set_body_029f2d171e0a005f: function(arg0, arg1) {
1399
1415
  arg0.body = arg1;
1400
1416
  },
1401
- __wbg_set_cache_315a3ed773a41543: function(arg0, arg1) {
1417
+ __wbg_set_cache_b4a740b195c051f4: function(arg0, arg1) {
1402
1418
  arg0.cache = __wbindgen_enum_RequestCache[arg1];
1403
1419
  },
1404
- __wbg_set_cc56eefd2dd91957: function(arg0, arg1, arg2) {
1405
- arg0.set(getArrayU8FromWasm0(arg1, arg2));
1406
- },
1407
- __wbg_set_credentials_c4a58d2e05ef24fb: function(arg0, arg1) {
1420
+ __wbg_set_credentials_bb34a40189e3b43b: function(arg0, arg1) {
1408
1421
  arg0.credentials = __wbindgen_enum_RequestCredentials[arg1];
1409
1422
  },
1410
- __wbg_set_headers_cfc5f4b2c1f20549: function(arg0, arg1) {
1423
+ __wbg_set_headers_9c61d123c3ee1f10: function(arg0, arg1) {
1411
1424
  arg0.headers = arg1;
1412
1425
  },
1413
- __wbg_set_method_c3e20375f5ae7fac: function(arg0, arg1, arg2) {
1426
+ __wbg_set_method_5532d59b92d76467: function(arg0, arg1, arg2) {
1414
1427
  arg0.method = getStringFromWasm0(arg1, arg2);
1415
1428
  },
1416
- __wbg_set_mode_b13642c312648202: function(arg0, arg1) {
1429
+ __wbg_set_mode_66c79886ad78fc05: function(arg0, arg1) {
1417
1430
  arg0.mode = __wbindgen_enum_RequestMode[arg1];
1418
1431
  },
1419
- __wbg_set_signal_f2d3f8599248896d: function(arg0, arg1) {
1432
+ __wbg_set_signal_c4ef8faddb4c1446: function(arg0, arg1) {
1420
1433
  arg0.signal = arg1;
1421
1434
  },
1422
- __wbg_signal_d1285ecab4ebc5ad: function(arg0) {
1435
+ __wbg_signal_dad7cb35193abd31: function(arg0) {
1423
1436
  const ret = arg0.signal;
1424
1437
  return ret;
1425
1438
  },
1426
- __wbg_static_accessor_GLOBAL_12837167ad935116: function() {
1439
+ __wbg_static_accessor_GLOBAL_4ef717fb391d88b7: function() {
1427
1440
  const ret = typeof global === 'undefined' ? null : global;
1428
1441
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1429
1442
  },
1430
- __wbg_static_accessor_GLOBAL_THIS_e628e89ab3b1c95f: function() {
1443
+ __wbg_static_accessor_GLOBAL_THIS_8d1badc68b5a74f4: function() {
1431
1444
  const ret = typeof globalThis === 'undefined' ? null : globalThis;
1432
1445
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1433
1446
  },
1434
- __wbg_static_accessor_SELF_a621d3dfbb60d0ce: function() {
1447
+ __wbg_static_accessor_SELF_146583524fe1469b: function() {
1435
1448
  const ret = typeof self === 'undefined' ? null : self;
1436
1449
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1437
1450
  },
1438
- __wbg_static_accessor_WINDOW_f8727f0cf888e0bd: function() {
1451
+ __wbg_static_accessor_WINDOW_f2829a2234d7819e: function() {
1439
1452
  const ret = typeof window === 'undefined' ? null : window;
1440
1453
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1441
1454
  },
1442
- __wbg_status_89d7e803db911ee7: function(arg0) {
1455
+ __wbg_status_c45b3b9b3033184a: function(arg0) {
1443
1456
  const ret = arg0.status;
1444
1457
  return ret;
1445
1458
  },
1446
- __wbg_stringify_8d1cc6ff383e8bae: function() { return handleError(function (arg0) {
1459
+ __wbg_stringify_b54333f60f1e4dad: function() { return handleError(function (arg0) {
1447
1460
  const ret = JSON.stringify(arg0);
1448
1461
  return ret;
1449
1462
  }, arguments); },
1450
- __wbg_subarray_a96e1fef17ed23cb: function(arg0, arg1, arg2) {
1463
+ __wbg_subarray_3ed232c8a6baee09: function(arg0, arg1, arg2) {
1451
1464
  const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
1452
1465
  return ret;
1453
1466
  },
1454
- __wbg_text_083b8727c990c8c0: function() { return handleError(function (arg0) {
1467
+ __wbg_text_d3a29f7525a132c3: function() { return handleError(function (arg0) {
1455
1468
  const ret = arg0.text();
1456
1469
  return ret;
1457
1470
  }, arguments); },
1458
- __wbg_then_0d9fe2c7b1857d32: function(arg0, arg1, arg2) {
1471
+ __wbg_then_16d107c451e9905d: function(arg0, arg1, arg2) {
1459
1472
  const ret = arg0.then(arg1, arg2);
1460
1473
  return ret;
1461
1474
  },
1462
- __wbg_then_b9e7b3b5f1a9e1b5: function(arg0, arg1) {
1475
+ __wbg_then_6ec10ae38b3e92f7: function(arg0, arg1) {
1463
1476
  const ret = arg0.then(arg1);
1464
1477
  return ret;
1465
1478
  },
1466
- __wbg_url_c484c26b1fbf5126: function(arg0, arg1) {
1479
+ __wbg_url_abdb8fb08377f8c0: function(arg0, arg1) {
1467
1480
  const ret = arg1.url;
1468
1481
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
1469
1482
  const len1 = WASM_VECTOR_LEN;
1470
1483
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1471
1484
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1472
1485
  },
1473
- __wbg_value_0546255b415e96c1: function(arg0) {
1486
+ __wbg_value_a5d5488a9589444a: function(arg0) {
1474
1487
  const ret = arg0.value;
1475
1488
  return ret;
1476
1489
  },
1477
- __wbg_versions_4e31226f5e8dc909: function(arg0) {
1490
+ __wbg_versions_276b2795b1c6a219: function(arg0) {
1478
1491
  const ret = arg0.versions;
1479
1492
  return ret;
1480
1493
  },
1481
- __wbg_view_6c32e7184b8606ad: function(arg0) {
1494
+ __wbg_view_21f1d4a4f175dfa9: function(arg0) {
1482
1495
  const ret = arg0.view;
1483
1496
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1484
1497
  },
1485
1498
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
1486
- // Cast intrinsic for `Closure(Closure { dtor_idx: 4816, function: Function { arguments: [], shim_idx: 4818, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1487
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h3807996046afbbad, wasm_bindgen__convert__closures_____invoke__h2b3dad00bc784127);
1499
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 4904, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1500
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h4fd5aba8fe4c0d43);
1488
1501
  return ret;
1489
1502
  },
1490
1503
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
1491
- // Cast intrinsic for `Closure(Closure { dtor_idx: 7571, function: Function { arguments: [], shim_idx: 7582, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
1492
- const ret = makeClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__he6eb9af9c751494b, wasm_bindgen__convert__closures_____invoke__h74d3a415f647d54f);
1504
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 7665, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1505
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__ha6f6b2bfa1410f3c);
1493
1506
  return ret;
1494
1507
  },
1495
1508
  __wbindgen_cast_0000000000000003: function(arg0, arg1) {
1496
- // Cast intrinsic for `Closure(Closure { dtor_idx: 7597, function: Function { arguments: [Externref], shim_idx: 7599, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1497
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hc6c6681494619f4c, wasm_bindgen__convert__closures_____invoke__hc97d2a0daf4dfe80);
1509
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 4858, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1510
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__ha157e9e65bad5300);
1498
1511
  return ret;
1499
1512
  },
1500
1513
  __wbindgen_cast_0000000000000004: function(arg0, arg1) {
1514
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 7642, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
1515
+ const ret = makeClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h1f72a4b6acc06295);
1516
+ return ret;
1517
+ },
1518
+ __wbindgen_cast_0000000000000005: function(arg0, arg1) {
1501
1519
  // Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
1502
1520
  const ret = getArrayU8FromWasm0(arg0, arg1);
1503
1521
  return ret;
1504
1522
  },
1505
- __wbindgen_cast_0000000000000005: function(arg0, arg1) {
1523
+ __wbindgen_cast_0000000000000006: function(arg0, arg1) {
1506
1524
  // Cast intrinsic for `Ref(String) -> Externref`.
1507
1525
  const ret = getStringFromWasm0(arg0, arg1);
1508
1526
  return ret;
@@ -1523,20 +1541,31 @@ function __wbg_get_imports() {
1523
1541
  };
1524
1542
  }
1525
1543
 
1526
- function wasm_bindgen__convert__closures_____invoke__h2b3dad00bc784127(arg0, arg1) {
1527
- wasm.wasm_bindgen__convert__closures_____invoke__h2b3dad00bc784127(arg0, arg1);
1544
+ function wasm_bindgen__convert__closures_____invoke__ha157e9e65bad5300(arg0, arg1) {
1545
+ wasm.wasm_bindgen__convert__closures_____invoke__ha157e9e65bad5300(arg0, arg1);
1528
1546
  }
1529
1547
 
1530
- function wasm_bindgen__convert__closures_____invoke__h74d3a415f647d54f(arg0, arg1) {
1531
- wasm.wasm_bindgen__convert__closures_____invoke__h74d3a415f647d54f(arg0, arg1);
1548
+ function wasm_bindgen__convert__closures_____invoke__h1f72a4b6acc06295(arg0, arg1) {
1549
+ wasm.wasm_bindgen__convert__closures_____invoke__h1f72a4b6acc06295(arg0, arg1);
1532
1550
  }
1533
1551
 
1534
- function wasm_bindgen__convert__closures_____invoke__hc97d2a0daf4dfe80(arg0, arg1, arg2) {
1535
- wasm.wasm_bindgen__convert__closures_____invoke__hc97d2a0daf4dfe80(arg0, arg1, arg2);
1552
+ function wasm_bindgen__convert__closures_____invoke__h4fd5aba8fe4c0d43(arg0, arg1, arg2) {
1553
+ wasm.wasm_bindgen__convert__closures_____invoke__h4fd5aba8fe4c0d43(arg0, arg1, arg2);
1536
1554
  }
1537
1555
 
1538
- function wasm_bindgen__convert__closures_____invoke__hf753960b9f8a3962(arg0, arg1, arg2, arg3) {
1539
- wasm.wasm_bindgen__convert__closures_____invoke__hf753960b9f8a3962(arg0, arg1, arg2, arg3);
1556
+ function wasm_bindgen__convert__closures_____invoke__ha6f6b2bfa1410f3c(arg0, arg1, arg2) {
1557
+ const ret = wasm.wasm_bindgen__convert__closures_____invoke__ha6f6b2bfa1410f3c(arg0, arg1, arg2);
1558
+ if (ret[1]) {
1559
+ throw takeFromExternrefTable0(ret[0]);
1560
+ }
1561
+ }
1562
+
1563
+ function wasm_bindgen__convert__closures_____invoke__h56df9048ad48ac7a(arg0, arg1, arg2, arg3) {
1564
+ wasm.wasm_bindgen__convert__closures_____invoke__h56df9048ad48ac7a(arg0, arg1, arg2, arg3);
1565
+ }
1566
+
1567
+ function wasm_bindgen__convert__closures_____invoke__h72cc2ee594d6f347(arg0, arg1, arg2, arg3) {
1568
+ wasm.wasm_bindgen__convert__closures_____invoke__h72cc2ee594d6f347(arg0, arg1, arg2, arg3);
1540
1569
  }
1541
1570
 
1542
1571
 
@@ -1552,13 +1581,13 @@ const __wbindgen_enum_RequestCredentials = ["omit", "same-origin", "include"];
1552
1581
  const __wbindgen_enum_RequestMode = ["same-origin", "no-cors", "cors", "navigate"];
1553
1582
  const IntoUnderlyingByteSourceFinalization = (typeof FinalizationRegistry === 'undefined')
1554
1583
  ? { register: () => {}, unregister: () => {} }
1555
- : new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingbytesource_free(ptr >>> 0, 1));
1584
+ : new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingbytesource_free(ptr, 1));
1556
1585
  const IntoUnderlyingSinkFinalization = (typeof FinalizationRegistry === 'undefined')
1557
1586
  ? { register: () => {}, unregister: () => {} }
1558
- : new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingsink_free(ptr >>> 0, 1));
1587
+ : new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingsink_free(ptr, 1));
1559
1588
  const IntoUnderlyingSourceFinalization = (typeof FinalizationRegistry === 'undefined')
1560
1589
  ? { register: () => {}, unregister: () => {} }
1561
- : new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingsource_free(ptr >>> 0, 1));
1590
+ : new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingsource_free(ptr, 1));
1562
1591
 
1563
1592
  function addToExternrefTable0(obj) {
1564
1593
  const idx = wasm.__externref_table_alloc_command_export();
@@ -1568,7 +1597,7 @@ function addToExternrefTable0(obj) {
1568
1597
 
1569
1598
  const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
1570
1599
  ? { register: () => {}, unregister: () => {} }
1571
- : new FinalizationRegistry(state => state.dtor(state.a, state.b));
1600
+ : new FinalizationRegistry(state => wasm.__wbindgen_destroy_closure_command_export(state.a, state.b));
1572
1601
 
1573
1602
  function debugString(val) {
1574
1603
  // primitive types
@@ -1649,8 +1678,7 @@ function getDataViewMemory0() {
1649
1678
  }
1650
1679
 
1651
1680
  function getStringFromWasm0(ptr, len) {
1652
- ptr = ptr >>> 0;
1653
- return decodeText(ptr, len);
1681
+ return decodeText(ptr >>> 0, len);
1654
1682
  }
1655
1683
 
1656
1684
  let cachedUint8ArrayMemory0 = null;
@@ -1674,8 +1702,8 @@ function isLikeNone(x) {
1674
1702
  return x === undefined || x === null;
1675
1703
  }
1676
1704
 
1677
- function makeClosure(arg0, arg1, dtor, f) {
1678
- const state = { a: arg0, b: arg1, cnt: 1, dtor };
1705
+ function makeClosure(arg0, arg1, f) {
1706
+ const state = { a: arg0, b: arg1, cnt: 1 };
1679
1707
  const real = (...args) => {
1680
1708
 
1681
1709
  // First up with a closure we increment the internal reference
@@ -1690,7 +1718,7 @@ function makeClosure(arg0, arg1, dtor, f) {
1690
1718
  };
1691
1719
  real._wbg_cb_unref = () => {
1692
1720
  if (--state.cnt === 0) {
1693
- state.dtor(state.a, state.b);
1721
+ wasm.__wbindgen_destroy_closure_command_export(state.a, state.b);
1694
1722
  state.a = 0;
1695
1723
  CLOSURE_DTORS.unregister(state);
1696
1724
  }
@@ -1699,8 +1727,8 @@ function makeClosure(arg0, arg1, dtor, f) {
1699
1727
  return real;
1700
1728
  }
1701
1729
 
1702
- function makeMutClosure(arg0, arg1, dtor, f) {
1703
- const state = { a: arg0, b: arg1, cnt: 1, dtor };
1730
+ function makeMutClosure(arg0, arg1, f) {
1731
+ const state = { a: arg0, b: arg1, cnt: 1 };
1704
1732
  const real = (...args) => {
1705
1733
 
1706
1734
  // First up with a closure we increment the internal reference
@@ -1718,7 +1746,7 @@ function makeMutClosure(arg0, arg1, dtor, f) {
1718
1746
  };
1719
1747
  real._wbg_cb_unref = () => {
1720
1748
  if (--state.cnt === 0) {
1721
- state.dtor(state.a, state.b);
1749
+ wasm.__wbindgen_destroy_closure_command_export(state.a, state.b);
1722
1750
  state.a = 0;
1723
1751
  CLOSURE_DTORS.unregister(state);
1724
1752
  }
@@ -1806,8 +1834,9 @@ if (!('encodeInto' in cachedTextEncoder)) {
1806
1834
 
1807
1835
  let WASM_VECTOR_LEN = 0;
1808
1836
 
1809
- let wasmModule, wasm;
1837
+ let wasmModule, wasmInstance, wasm;
1810
1838
  function __wbg_finalize_init(instance, module) {
1839
+ wasmInstance = instance;
1811
1840
  wasm = instance.exports;
1812
1841
  wasmModule = module;
1813
1842
  cachedDataViewMemory0 = null;
Binary file
@@ -81,18 +81,18 @@ export const __wbg_intounderlyingsource_free: (a: number, b: number) => void;
81
81
  export const intounderlyingsource_cancel: (a: number) => void;
82
82
  export const intounderlyingsource_pull: (a: number, b: any) => any;
83
83
  export const task_worker_entry_point: (a: number) => [number, number];
84
- export const wasm_bindgen__closure__destroy__h3807996046afbbad: (a: number, b: number) => void;
85
- export const wasm_bindgen__closure__destroy__he6eb9af9c751494b: (a: number, b: number) => void;
86
- export const wasm_bindgen__closure__destroy__hc6c6681494619f4c: (a: number, b: number) => void;
87
- export const wasm_bindgen__convert__closures_____invoke__hf753960b9f8a3962: (a: number, b: number, c: any, d: any) => void;
88
- export const wasm_bindgen__convert__closures_____invoke__hc97d2a0daf4dfe80: (a: number, b: number, c: any) => void;
89
- export const wasm_bindgen__convert__closures_____invoke__h2b3dad00bc784127: (a: number, b: number) => void;
90
- export const wasm_bindgen__convert__closures_____invoke__h74d3a415f647d54f: (a: number, b: number) => void;
84
+ export const wasm_bindgen__convert__closures_____invoke__ha6f6b2bfa1410f3c: (a: number, b: number, c: any) => [number, number];
85
+ export const wasm_bindgen__convert__closures_____invoke__h56df9048ad48ac7a: (a: number, b: number, c: any, d: any) => void;
86
+ export const wasm_bindgen__convert__closures_____invoke__h72cc2ee594d6f347: (a: number, b: number, c: any, d: any) => void;
87
+ export const wasm_bindgen__convert__closures_____invoke__h4fd5aba8fe4c0d43: (a: number, b: number, c: any) => void;
88
+ export const wasm_bindgen__convert__closures_____invoke__ha157e9e65bad5300: (a: number, b: number) => void;
89
+ export const wasm_bindgen__convert__closures_____invoke__h1f72a4b6acc06295: (a: number, b: number) => void;
91
90
  export const __wbindgen_malloc_command_export: (a: number, b: number) => number;
92
91
  export const __wbindgen_realloc_command_export: (a: number, b: number, c: number, d: number) => number;
93
92
  export const __wbindgen_exn_store_command_export: (a: number) => void;
94
93
  export const __externref_table_alloc_command_export: () => number;
95
94
  export const __wbindgen_externrefs: WebAssembly.Table;
96
95
  export const __wbindgen_free_command_export: (a: number, b: number, c: number) => void;
96
+ export const __wbindgen_destroy_closure_command_export: (a: number, b: number) => void;
97
97
  export const __externref_table_dealloc_command_export: (a: number) => void;
98
98
  export const __wbindgen_start: () => void;
package/wasm/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "collaborators": [
5
5
  "Luka Crnkovic-Friis"
6
6
  ],
7
- "version": "0.7.18",
7
+ "version": "0.7.20",
8
8
  "license": "MIT OR Apache-2.0",
9
9
  "repository": {
10
10
  "type": "git",