@bitcredit/bcr-ebill-wasm 0.5.6 → 0.5.7

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/index.d.ts CHANGED
@@ -257,6 +257,7 @@ export interface BillsSearchFilter {
257
257
  search_term: string | undefined;
258
258
  date_range: DateRange | undefined;
259
259
  role: BillsFilterRoleWeb;
260
+ participants?: string[];
260
261
  currency: string;
261
262
  }
262
263
 
@@ -731,7 +732,7 @@ export interface PastPaymentDataPaymentWeb {
731
732
  currency: string;
732
733
  sum: string;
733
734
  address_to_pay: string;
734
- private_descriptor_to_spend: string;
735
+ private_descriptor_to_spend: string | undefined;
735
736
  status: PaymentStatusWeb;
736
737
  }
737
738
 
@@ -742,7 +743,7 @@ export interface PastPaymentDataRecourseWeb {
742
743
  currency: string;
743
744
  sum: string;
744
745
  address_to_pay: string;
745
- private_descriptor_to_spend: string;
746
+ private_descriptor_to_spend: string | undefined;
746
747
  status: PaymentStatusWeb;
747
748
  }
748
749
 
@@ -753,7 +754,7 @@ export interface PastPaymentDataSellWeb {
753
754
  currency: string;
754
755
  sum: string;
755
756
  address_to_pay: string;
756
- private_descriptor_to_spend: string;
757
+ private_descriptor_to_spend: string | undefined;
757
758
  status: PaymentStatusWeb;
758
759
  }
759
760
 
@@ -814,6 +815,13 @@ export interface RequestToMintBitcreditBillPayload {
814
815
  bill_id: string;
815
816
  }
816
817
 
818
+ export interface RequestToPayAsMintBitcreditBillPayload {
819
+ bill_id: string;
820
+ currency: string;
821
+ payment_deadline: string;
822
+ payment_address: string;
823
+ }
824
+
817
825
  export interface RequestToPayBitcreditBillPayload {
818
826
  bill_id: string;
819
827
  currency: string;
@@ -938,7 +946,7 @@ export type CompanyStatusWeb = "Invited" | "Active" | "None";
938
946
 
939
947
  export type GeneralSearchFilterItemTypeWeb = "Company" | "Bill" | "Contact";
940
948
 
941
- export type JsErrorType = "FieldEmpty" | "FieldInvalid" | "InvalidSum" | "InvalidCurrency" | "InvalidBitcoinAddress" | "InvalidContentType" | "IdentityCantBeAnon" | "InvalidContactType" | "InvalidIdentityType" | "InvalidDate" | "InvalidCountry" | "InvalidTimestamp" | "DeadlineBeforeMinimum" | "SelfDraftedBillCantBeBlank" | "RequestToMintForBillAndMintAlreadyActive" | "SignerCantBeAnon" | "ContactIsAnonymous" | "InvalidContact" | "InvalidMint" | "IssueDateAfterMaturityDate" | "MaturityDateInThePast" | "RequestToPayBeforeMaturityDate" | "InvalidFileUploadId" | "InvalidNodeId" | "InvalidBillId" | "InvalidBillType" | "DraweeCantBePayee" | "EndorserCantBeEndorsee" | "BuyerCantBeSeller" | "RecourserCantBeRecoursee" | "DraweeNotInContacts" | "PayeeNotInContacts" | "MintNotInContacts" | "BuyerNotInContacts" | "EndorseeNotInContacts" | "RecourseeNotInContacts" | "NoPaymentForSweep" | "CancelMintRequestNotPending" | "RejectMintRequestNotOffered" | "AcceptMintRequestNotOffered" | "AcceptMintOfferExpired" | "NoConfirmedEmailForIdentIdentity" | "NoFileForFileUploadId" | "NotFound" | "ExternalApi" | "Crypto" | "Persistence" | "Blockchain" | "Protocol" | "InvalidRelayUrl" | "Serialization" | "Init" | "NotificationNetwork" | "NotificationMessage" | "InvalidOperation" | "BillAlreadyAccepted" | "BillWasRejectedToAccept" | "BillAcceptanceExpired" | "BillWasRejectedToPay" | "BillPaymentExpired" | "BillWasRecoursedToTheEnd" | "BillAlreadyRequestedToAccept" | "BillNotAccepted" | "CallerIsNotDrawee" | "CallerIsNotHolder" | "CallerIsNotRecoursee" | "CallerIsNotBuyer" | "RequestAlreadyRejected" | "BillAlreadyPaid" | "BillWasNotRequestedToPay" | "BillWasNotOfferedToSell" | "BillRequestToAcceptDidNotExpireAndWasNotRejected" | "BillRequestToPayDidNotExpireAndWasNotRejected" | "RecourseeNotPastHolder" | "BillWasNotRequestedToRecourse" | "BillIsNotRequestedToRecourseAndWaitingForPayment" | "BillIsNotOfferToSellWaitingForPayment" | "BillSellDataInvalid" | "BillRecourseDataInvalid" | "BillIsRequestedToPayAndWaitingForPayment" | "BillIsOfferedToSellAndWaitingForPayment" | "BillIsInRecourseAndWaitingForPayment" | "SignatoryNotInContacts" | "SignatoryAlreadySignatory" | "CantRemoveLastSignatory" | "NotASignatory" | "NotARemovedOrRejectedSignatory" | "NotInvitedAsSignatory" | "NoSignerIdentityProof" | "FileIsTooBig" | "FileIsEmpty" | "TooManyFiles" | "InvalidFileName" | "UnknownNodeId" | "CallerMustBeSignatory" | "InvalidIdentityProof" | "InvalidReferenceBlock" | "InvalidSignature" | "InvalidHash" | "InvalidUrl" | "InvalidIdentityProofStatus" | "Json" | "InvalidBillAction" | "InvalidCompanyAction" | "CompanySignerCreatorMismatch" | "InvalidMintRequestId";
949
+ export type JsErrorType = "FieldEmpty" | "FieldInvalid" | "InvalidSum" | "InvalidCurrency" | "InvalidBitcoinAddress" | "InvalidBitcoinDescriptor" | "InvalidContentType" | "IdentityCantBeAnon" | "InvalidContactType" | "InvalidIdentityType" | "InvalidDate" | "InvalidCountry" | "InvalidTimestamp" | "DeadlineBeforeMinimum" | "SelfDraftedBillCantBeBlank" | "RequestToMintForBillAndMintAlreadyActive" | "SignerCantBeAnon" | "ContactIsAnonymous" | "InvalidContact" | "InvalidMint" | "IssueDateAfterMaturityDate" | "MaturityDateInThePast" | "RequestToPayBeforeMaturityDate" | "InvalidFileUploadId" | "InvalidNodeId" | "InvalidBillId" | "InvalidBillType" | "DraweeCantBePayee" | "EndorserCantBeEndorsee" | "BuyerCantBeSeller" | "RecourserCantBeRecoursee" | "DraweeNotInContacts" | "PayeeNotInContacts" | "MintNotInContacts" | "BuyerNotInContacts" | "EndorseeNotInContacts" | "RecourseeNotInContacts" | "NoPaymentForSweep" | "CancelMintRequestNotPending" | "RejectMintRequestNotOffered" | "AcceptMintRequestNotOffered" | "AcceptMintOfferExpired" | "NoConfirmedEmailForIdentIdentity" | "NoFileForFileUploadId" | "NotFound" | "ExternalApi" | "Crypto" | "Persistence" | "Blockchain" | "Protocol" | "InvalidRelayUrl" | "Serialization" | "Init" | "NotificationNetwork" | "NotificationMessage" | "InvalidOperation" | "BillAlreadyAccepted" | "BillWasRejectedToAccept" | "BillAcceptanceExpired" | "BillWasRejectedToPay" | "BillPaymentExpired" | "BillWasRecoursedToTheEnd" | "BillAlreadyRequestedToAccept" | "BillNotAccepted" | "CallerIsNotDrawee" | "CallerIsNotHolder" | "CallerIsNotRecoursee" | "CallerIsNotBuyer" | "RequestAlreadyRejected" | "BillAlreadyPaid" | "BillWasNotRequestedToPay" | "BillWasNotOfferedToSell" | "BillRequestToAcceptDidNotExpireAndWasNotRejected" | "BillRequestToPayDidNotExpireAndWasNotRejected" | "RecourseeNotPastHolder" | "BillWasNotRequestedToRecourse" | "BillIsNotRequestedToRecourseAndWaitingForPayment" | "BillIsNotOfferToSellWaitingForPayment" | "BillSellDataInvalid" | "BillRecourseDataInvalid" | "BillIsRequestedToPayAndWaitingForPayment" | "BillIsOfferedToSellAndWaitingForPayment" | "BillIsInRecourseAndWaitingForPayment" | "SignatoryNotInContacts" | "SignatoryAlreadySignatory" | "CantRemoveLastSignatory" | "NotASignatory" | "NotARemovedOrRejectedSignatory" | "NotInvitedAsSignatory" | "NoSignerIdentityProof" | "FileIsTooBig" | "FileIsEmpty" | "TooManyFiles" | "InvalidFileName" | "UnknownNodeId" | "CallerMustBeSignatory" | "InvalidIdentityProof" | "InvalidReferenceBlock" | "MintRequestToPayWithoutCustomAddress" | "InvalidSignature" | "InvalidHash" | "InvalidUrl" | "InvalidIdentityProofStatus" | "Json" | "InvalidBillAction" | "InvalidCompanyAction" | "CompanySignerCreatorMismatch" | "InvalidMintRequestId";
942
950
 
943
951
  export type LightBillParticipantWeb = { Anon: LightBillAnonParticipantWeb } | { Ident: LightBillIdentParticipantWithAddressWeb };
944
952
 
@@ -1008,6 +1016,7 @@ export class Bill {
1008
1016
  request_to_accept(payload: RequestToAcceptBitcreditBillPayload): Promise<TSResult<void>>;
1009
1017
  request_to_mint(payload: RequestToMintBitcreditBillPayload): Promise<TSResult<void>>;
1010
1018
  request_to_pay(payload: RequestToPayBitcreditBillPayload): Promise<TSResult<void>>;
1019
+ request_to_pay_as_mint(payload: RequestToPayAsMintBitcreditBillPayload): Promise<TSResult<void>>;
1011
1020
  request_to_recourse_bill_acceptance(payload: RequestRecourseForPaymentPayload): Promise<TSResult<void>>;
1012
1021
  request_to_recourse_bill_payment(payload: RequestRecourseForPaymentPayload): Promise<TSResult<void>>;
1013
1022
  search(payload: BillsSearchFilterPayload): Promise<TSResult<LightBillsResponse>>;
@@ -1194,6 +1203,7 @@ export interface InitOutput {
1194
1203
  readonly bill_request_to_accept: (a: number, b: any) => any;
1195
1204
  readonly bill_request_to_mint: (a: number, b: any) => any;
1196
1205
  readonly bill_request_to_pay: (a: number, b: any) => any;
1206
+ readonly bill_request_to_pay_as_mint: (a: number, b: any) => any;
1197
1207
  readonly bill_request_to_recourse_bill_acceptance: (a: number, b: any) => any;
1198
1208
  readonly bill_request_to_recourse_bill_payment: (a: number, b: any) => any;
1199
1209
  readonly bill_search: (a: number, b: any) => any;
@@ -1286,28 +1296,26 @@ export interface InitOutput {
1286
1296
  readonly general_new: () => number;
1287
1297
  readonly identity_new: () => number;
1288
1298
  readonly notification_new: () => number;
1299
+ readonly __wbg_notification_free: (a: number, b: number) => void;
1289
1300
  readonly __wbg_company_free: (a: number, b: number) => void;
1290
1301
  readonly __wbg_identity_free: (a: number, b: number) => void;
1291
- readonly __wbg_general_free: (a: number, b: number) => void;
1292
- readonly __wbg_bill_free: (a: number, b: number) => void;
1293
1302
  readonly __wbg_contact_free: (a: number, b: number) => void;
1294
- readonly __wbg_notification_free: (a: number, b: number) => void;
1295
- readonly wasm_bindgen__closure__destroy__h2224c54b4af2fbad: (a: number, b: number) => void;
1296
- readonly wasm_bindgen__closure__destroy__hcf84bd8f683a66b8: (a: number, b: number) => void;
1297
- readonly wasm_bindgen__closure__destroy__had1eeb50d5c61eb8: (a: number, b: number) => void;
1298
- readonly wasm_bindgen__convert__closures_____invoke__hd77882154a27f786: (a: number, b: number, c: any) => [number, number];
1299
- readonly wasm_bindgen__convert__closures_____invoke__he8ceb6485339bd81: (a: number, b: number, c: any) => [number, number];
1300
- readonly wasm_bindgen__convert__closures_____invoke__hab9ab5b39ed8bcc8: (a: number, b: number, c: any, d: any) => void;
1301
- readonly wasm_bindgen__convert__closures_____invoke__h928c64866f63543d: (a: number, b: number, c: any) => void;
1302
- readonly wasm_bindgen__convert__closures_____invoke__h928c64866f63543d_2: (a: number, b: number, c: any) => void;
1303
- readonly wasm_bindgen__convert__closures_____invoke__h44a768595d33e06f: (a: number, b: number) => void;
1304
- readonly wasm_bindgen__convert__closures_____invoke__h45d9f4012aef2b30: (a: number, b: number) => void;
1303
+ readonly __wbg_bill_free: (a: number, b: number) => void;
1304
+ readonly __wbg_general_free: (a: number, b: number) => void;
1305
+ readonly wasm_bindgen__convert__closures_____invoke__h0b724243ca7dd727: (a: number, b: number, c: any) => [number, number];
1306
+ readonly wasm_bindgen__convert__closures_____invoke__hbd8c09ae7cb03b36: (a: number, b: number, c: any) => [number, number];
1307
+ readonly wasm_bindgen__convert__closures_____invoke__h08ba80926c9c1583: (a: number, b: number, c: any, d: any) => void;
1308
+ readonly wasm_bindgen__convert__closures_____invoke__h7e7b4a4868650eb0: (a: number, b: number, c: any) => void;
1309
+ readonly wasm_bindgen__convert__closures_____invoke__h7e7b4a4868650eb0_3: (a: number, b: number, c: any) => void;
1310
+ readonly wasm_bindgen__convert__closures_____invoke__h4a7cd3e7ccf633a4: (a: number, b: number) => void;
1311
+ readonly wasm_bindgen__convert__closures_____invoke__h219764a9e9ff1cc8: (a: number, b: number) => void;
1305
1312
  readonly __wbindgen_malloc: (a: number, b: number) => number;
1306
1313
  readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
1307
1314
  readonly __wbindgen_exn_store: (a: number) => void;
1308
1315
  readonly __externref_table_alloc: () => number;
1309
1316
  readonly __wbindgen_externrefs: WebAssembly.Table;
1310
1317
  readonly __wbindgen_free: (a: number, b: number, c: number) => void;
1318
+ readonly __wbindgen_destroy_closure: (a: number, b: number) => void;
1311
1319
  readonly __externref_table_dealloc: (a: number) => void;
1312
1320
  readonly __wbindgen_start: () => void;
1313
1321
  }
package/index.js CHANGED
@@ -387,6 +387,14 @@ export class Bill {
387
387
  const ret = wasm.bill_request_to_pay(this.__wbg_ptr, payload);
388
388
  return ret;
389
389
  }
390
+ /**
391
+ * @param {RequestToPayAsMintBitcreditBillPayload} payload
392
+ * @returns {TSResult<void>}
393
+ */
394
+ request_to_pay_as_mint(payload) {
395
+ const ret = wasm.bill_request_to_pay_as_mint(this.__wbg_ptr, payload);
396
+ return ret;
397
+ }
390
398
  /**
391
399
  * @param {RequestRecourseForPaymentPayload} payload
392
400
  * @returns {TSResult<void>}
@@ -1207,15 +1215,14 @@ export function task_worker_entry_point(ptr) {
1207
1215
  throw takeFromExternrefTable0(ret[0]);
1208
1216
  }
1209
1217
  }
1210
-
1211
1218
  function __wbg_get_imports() {
1212
1219
  const import0 = {
1213
1220
  __proto__: null,
1214
- __wbg_Error_83742b46f01ce22d: function(arg0, arg1) {
1221
+ __wbg_Error_960c155d3d49e4c2: function(arg0, arg1) {
1215
1222
  const ret = Error(getStringFromWasm0(arg0, arg1));
1216
1223
  return ret;
1217
1224
  },
1218
- __wbg_Number_a5a435bd7bbec835: function(arg0) {
1225
+ __wbg_Number_32bf70a599af1d4b: function(arg0) {
1219
1226
  const ret = Number(arg0);
1220
1227
  return ret;
1221
1228
  },
@@ -1226,68 +1233,68 @@ function __wbg_get_imports() {
1226
1233
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1227
1234
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1228
1235
  },
1229
- __wbg___wbindgen_bigint_get_as_i64_447a76b5c6ef7bda: function(arg0, arg1) {
1236
+ __wbg___wbindgen_bigint_get_as_i64_3d3aba5d616c6a51: function(arg0, arg1) {
1230
1237
  const v = arg1;
1231
1238
  const ret = typeof(v) === 'bigint' ? v : undefined;
1232
1239
  getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
1233
1240
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
1234
1241
  },
1235
- __wbg___wbindgen_boolean_get_c0f3f60bac5a78d1: function(arg0) {
1242
+ __wbg___wbindgen_boolean_get_6ea149f0a8dcc5ff: function(arg0) {
1236
1243
  const v = arg0;
1237
1244
  const ret = typeof(v) === 'boolean' ? v : undefined;
1238
1245
  return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
1239
1246
  },
1240
- __wbg___wbindgen_debug_string_5398f5bb970e0daa: function(arg0, arg1) {
1247
+ __wbg___wbindgen_debug_string_ab4b34d23d6778bd: function(arg0, arg1) {
1241
1248
  const ret = debugString(arg1);
1242
1249
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1243
1250
  const len1 = WASM_VECTOR_LEN;
1244
1251
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1245
1252
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1246
1253
  },
1247
- __wbg___wbindgen_in_41dbb8413020e076: function(arg0, arg1) {
1254
+ __wbg___wbindgen_in_a5d8b22e52b24dd1: function(arg0, arg1) {
1248
1255
  const ret = arg0 in arg1;
1249
1256
  return ret;
1250
1257
  },
1251
- __wbg___wbindgen_is_bigint_e2141d4f045b7eda: function(arg0) {
1258
+ __wbg___wbindgen_is_bigint_ec25c7f91b4d9e93: function(arg0) {
1252
1259
  const ret = typeof(arg0) === 'bigint';
1253
1260
  return ret;
1254
1261
  },
1255
- __wbg___wbindgen_is_falsy_30906e697739fcc2: function(arg0) {
1262
+ __wbg___wbindgen_is_falsy_c07bb72123e65555: function(arg0) {
1256
1263
  const ret = !arg0;
1257
1264
  return ret;
1258
1265
  },
1259
- __wbg___wbindgen_is_function_3c846841762788c1: function(arg0) {
1266
+ __wbg___wbindgen_is_function_3baa9db1a987f47d: function(arg0) {
1260
1267
  const ret = typeof(arg0) === 'function';
1261
1268
  return ret;
1262
1269
  },
1263
- __wbg___wbindgen_is_object_781bc9f159099513: function(arg0) {
1270
+ __wbg___wbindgen_is_object_63322ec0cd6ea4ef: function(arg0) {
1264
1271
  const val = arg0;
1265
1272
  const ret = typeof(val) === 'object' && val !== null;
1266
1273
  return ret;
1267
1274
  },
1268
- __wbg___wbindgen_is_string_7ef6b97b02428fae: function(arg0) {
1275
+ __wbg___wbindgen_is_string_6df3bf7ef1164ed3: function(arg0) {
1269
1276
  const ret = typeof(arg0) === 'string';
1270
1277
  return ret;
1271
1278
  },
1272
- __wbg___wbindgen_is_undefined_52709e72fb9f179c: function(arg0) {
1279
+ __wbg___wbindgen_is_undefined_29a43b4d42920abd: function(arg0) {
1273
1280
  const ret = arg0 === undefined;
1274
1281
  return ret;
1275
1282
  },
1276
- __wbg___wbindgen_jsval_eq_ee31bfad3e536463: function(arg0, arg1) {
1283
+ __wbg___wbindgen_jsval_eq_d3465d8a07697228: function(arg0, arg1) {
1277
1284
  const ret = arg0 === arg1;
1278
1285
  return ret;
1279
1286
  },
1280
- __wbg___wbindgen_jsval_loose_eq_5bcc3bed3c69e72b: function(arg0, arg1) {
1287
+ __wbg___wbindgen_jsval_loose_eq_cac3565e89b4134c: function(arg0, arg1) {
1281
1288
  const ret = arg0 == arg1;
1282
1289
  return ret;
1283
1290
  },
1284
- __wbg___wbindgen_number_get_34bb9d9dcfa21373: function(arg0, arg1) {
1291
+ __wbg___wbindgen_number_get_c7f42aed0525c451: function(arg0, arg1) {
1285
1292
  const obj = arg1;
1286
1293
  const ret = typeof(obj) === 'number' ? obj : undefined;
1287
1294
  getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
1288
1295
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
1289
1296
  },
1290
- __wbg___wbindgen_string_get_395e606bd0ee4427: function(arg0, arg1) {
1297
+ __wbg___wbindgen_string_get_7ed5322991caaec5: function(arg0, arg1) {
1291
1298
  const obj = arg1;
1292
1299
  const ret = typeof(obj) === 'string' ? obj : undefined;
1293
1300
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -1295,41 +1302,41 @@ function __wbg_get_imports() {
1295
1302
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1296
1303
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1297
1304
  },
1298
- __wbg___wbindgen_throw_6ddd609b62940d55: function(arg0, arg1) {
1305
+ __wbg___wbindgen_throw_6b64449b9b9ed33c: function(arg0, arg1) {
1299
1306
  throw new Error(getStringFromWasm0(arg0, arg1));
1300
1307
  },
1301
- __wbg__wbg_cb_unref_6b5b6b8576d35cb1: function(arg0) {
1308
+ __wbg__wbg_cb_unref_b46c9b5a9f08ec37: function(arg0) {
1302
1309
  arg0._wbg_cb_unref();
1303
1310
  },
1304
- __wbg_abort_5ef96933660780b7: function(arg0) {
1311
+ __wbg_abort_4ce5b484434ef6fd: function(arg0) {
1305
1312
  arg0.abort();
1306
1313
  },
1307
- __wbg_abort_60dcb252ae0031fc: function() { return handleError(function (arg0) {
1314
+ __wbg_abort_b64b5c37b7b5156d: function() { return handleError(function (arg0) {
1308
1315
  arg0.abort();
1309
1316
  }, arguments); },
1310
- __wbg_abort_6479c2d794ebf2ee: function(arg0, arg1) {
1317
+ __wbg_abort_d53712380a54cc81: function(arg0, arg1) {
1311
1318
  arg0.abort(arg1);
1312
1319
  },
1313
- __wbg_advance_670851c833f4530f: function() { return handleError(function (arg0, arg1) {
1320
+ __wbg_advance_cb186a77f04d7228: function() { return handleError(function (arg0, arg1) {
1314
1321
  arg0.advance(arg1 >>> 0);
1315
1322
  }, arguments); },
1316
- __wbg_append_608dfb635ee8998f: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
1323
+ __wbg_append_e8fc56ce7c00e874: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
1317
1324
  arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
1318
1325
  }, arguments); },
1319
- __wbg_arrayBuffer_eb8e9ca620af2a19: function() { return handleError(function (arg0) {
1326
+ __wbg_arrayBuffer_848c392b70c67d3d: function() { return handleError(function (arg0) {
1320
1327
  const ret = arg0.arrayBuffer();
1321
1328
  return ret;
1322
1329
  }, arguments); },
1323
- __wbg_bound_4e343b4fbe5419fa: function() { return handleError(function (arg0, arg1, arg2, arg3) {
1330
+ __wbg_bound_d976f60d9eb7b26b: function() { return handleError(function (arg0, arg1, arg2, arg3) {
1324
1331
  const ret = IDBKeyRange.bound(arg0, arg1, arg2 !== 0, arg3 !== 0);
1325
1332
  return ret;
1326
1333
  }, arguments); },
1327
- __wbg_call_2d781c1f4d5c0ef8: function() { return handleError(function (arg0, arg1, arg2) {
1328
- const ret = arg0.call(arg1, arg2);
1334
+ __wbg_call_14b169f759b26747: function() { return handleError(function (arg0, arg1) {
1335
+ const ret = arg0.call(arg1);
1329
1336
  return ret;
1330
1337
  }, arguments); },
1331
- __wbg_call_e133b57c9155d22c: function() { return handleError(function (arg0, arg1) {
1332
- const ret = arg0.call(arg1);
1338
+ __wbg_call_a24592a6f349a97e: function() { return handleError(function (arg0, arg1, arg2) {
1339
+ const ret = arg0.call(arg1, arg2);
1333
1340
  return ret;
1334
1341
  }, arguments); },
1335
1342
  __wbg_clearInterval_f2824d65a83440ff: function(arg0) {
@@ -1343,29 +1350,29 @@ function __wbg_get_imports() {
1343
1350
  const ret = clearTimeout(arg0);
1344
1351
  return ret;
1345
1352
  },
1346
- __wbg_close_af26905c832a88cb: function() { return handleError(function (arg0) {
1353
+ __wbg_close_88106990eea7f544: function() { return handleError(function (arg0) {
1347
1354
  arg0.close();
1348
1355
  }, arguments); },
1349
- __wbg_code_aea376e2d265a64f: function(arg0) {
1356
+ __wbg_code_c4f315d8dc91de14: function(arg0) {
1350
1357
  const ret = arg0.code;
1351
1358
  return ret;
1352
1359
  },
1353
- __wbg_code_bc4dde4d67926010: function(arg0) {
1360
+ __wbg_code_e2d14bb68011f972: function(arg0) {
1354
1361
  const ret = arg0.code;
1355
1362
  return ret;
1356
1363
  },
1357
- __wbg_contains_ef4bfb7fa5a241b7: function(arg0, arg1, arg2) {
1364
+ __wbg_contains_f911f9ff03e5a433: function(arg0, arg1, arg2) {
1358
1365
  const ret = arg0.contains(getStringFromWasm0(arg1, arg2));
1359
1366
  return ret;
1360
1367
  },
1361
- __wbg_continue_44abcf9ba406e87e: function() { return handleError(function (arg0) {
1368
+ __wbg_continue_8576ea85aa470fb3: function() { return handleError(function (arg0) {
1362
1369
  arg0.continue();
1363
1370
  }, arguments); },
1364
- __wbg_createIndex_323cb0213cc21d9b: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
1371
+ __wbg_createIndex_b7dc3a4f19fc4231: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
1365
1372
  const ret = arg0.createIndex(getStringFromWasm0(arg1, arg2), arg3, arg4);
1366
1373
  return ret;
1367
1374
  }, arguments); },
1368
- __wbg_createObjectStore_4709de9339ffc6c0: function() { return handleError(function (arg0, arg1, arg2, arg3) {
1375
+ __wbg_createObjectStore_9cf3048eb7b47bc2: function() { return handleError(function (arg0, arg1, arg2, arg3) {
1369
1376
  const ret = arg0.createObjectStore(getStringFromWasm0(arg1, arg2), arg3);
1370
1377
  return ret;
1371
1378
  }, arguments); },
@@ -1373,38 +1380,38 @@ function __wbg_get_imports() {
1373
1380
  const ret = arg0.crypto;
1374
1381
  return ret;
1375
1382
  },
1376
- __wbg_data_a3d9ff9cdd801002: function(arg0) {
1383
+ __wbg_data_bb9dffdd1e99cf2d: function(arg0) {
1377
1384
  const ret = arg0.data;
1378
1385
  return ret;
1379
1386
  },
1380
- __wbg_debug_271c16e6de0bc226: function(arg0, arg1, arg2, arg3) {
1387
+ __wbg_debug_4e190d233ee2e0d8: function(arg0, arg1, arg2, arg3) {
1381
1388
  console.debug(arg0, arg1, arg2, arg3);
1382
1389
  },
1383
- __wbg_deleteIndex_9391b8bace7b0b18: function() { return handleError(function (arg0, arg1, arg2) {
1390
+ __wbg_deleteIndex_99722fe825533212: function() { return handleError(function (arg0, arg1, arg2) {
1384
1391
  arg0.deleteIndex(getStringFromWasm0(arg1, arg2));
1385
1392
  }, arguments); },
1386
- __wbg_deleteObjectStore_65401ab024ac08c1: function() { return handleError(function (arg0, arg1, arg2) {
1393
+ __wbg_deleteObjectStore_081280ffb13f9792: function() { return handleError(function (arg0, arg1, arg2) {
1387
1394
  arg0.deleteObjectStore(getStringFromWasm0(arg1, arg2));
1388
1395
  }, arguments); },
1389
- __wbg_delete_40db93c05c546fb9: function() { return handleError(function (arg0, arg1) {
1396
+ __wbg_delete_10b3489d089185d7: function() { return handleError(function (arg0, arg1) {
1390
1397
  const ret = arg0.delete(arg1);
1391
1398
  return ret;
1392
1399
  }, arguments); },
1393
- __wbg_done_08ce71ee07e3bd17: function(arg0) {
1400
+ __wbg_done_9158f7cc8751ba32: function(arg0) {
1394
1401
  const ret = arg0.done;
1395
1402
  return ret;
1396
1403
  },
1397
- __wbg_entries_e8a20ff8c9757101: function(arg0) {
1404
+ __wbg_entries_e0b73aa8571ddb56: function(arg0) {
1398
1405
  const ret = Object.entries(arg0);
1399
1406
  return ret;
1400
1407
  },
1401
- __wbg_error_1eece6b0039034ce: function(arg0, arg1, arg2, arg3) {
1402
- console.error(arg0, arg1, arg2, arg3);
1403
- },
1404
- __wbg_error_74898554122344a8: function() { return handleError(function (arg0) {
1408
+ __wbg_error_43690a185e0311ac: function() { return handleError(function (arg0) {
1405
1409
  const ret = arg0.error;
1406
1410
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1407
1411
  }, arguments); },
1412
+ __wbg_error_a6a4bb2525a88971: function(arg0, arg1, arg2, arg3) {
1413
+ console.error(arg0, arg1, arg2, arg3);
1414
+ },
1408
1415
  __wbg_error_a6fa202b58aa1cd3: function(arg0, arg1) {
1409
1416
  let deferred0_0;
1410
1417
  let deferred0_1;
@@ -1419,7 +1426,7 @@ function __wbg_get_imports() {
1419
1426
  __wbg_error_ba2b2915aeba36d8: function(arg0, arg1) {
1420
1427
  console.error(getStringFromWasm0(arg0, arg1));
1421
1428
  },
1422
- __wbg_fetch_5550a88cf343aaa9: function(arg0, arg1) {
1429
+ __wbg_fetch_0d322c0aed196b8b: function(arg0, arg1) {
1423
1430
  const ret = arg0.fetch(arg1);
1424
1431
  return ret;
1425
1432
  },
@@ -1433,41 +1440,41 @@ function __wbg_get_imports() {
1433
1440
  __wbg_getRandomValues_c44a50d8cfdaebeb: function() { return handleError(function (arg0, arg1) {
1434
1441
  arg0.getRandomValues(arg1);
1435
1442
  }, arguments); },
1436
- __wbg_getRandomValues_d49329ff89a07af1: function() { return handleError(function (arg0, arg1) {
1443
+ __wbg_getRandomValues_ef12552bf5acd2fe: function() { return handleError(function (arg0, arg1) {
1437
1444
  globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
1438
1445
  }, arguments); },
1439
- __wbg_getTime_1dad7b5386ddd2d9: function(arg0) {
1446
+ __wbg_getTime_da7c55f52b71e8c6: function(arg0) {
1440
1447
  const ret = arg0.getTime();
1441
1448
  return ret;
1442
1449
  },
1443
- __wbg_getTimezoneOffset_639bcf2dde21158b: function(arg0) {
1450
+ __wbg_getTimezoneOffset_31f57a5389d0d57c: function(arg0) {
1444
1451
  const ret = arg0.getTimezoneOffset();
1445
1452
  return ret;
1446
1453
  },
1447
- __wbg_get_326e41e095fb2575: function() { return handleError(function (arg0, arg1) {
1448
- const ret = Reflect.get(arg0, arg1);
1449
- return ret;
1450
- }, arguments); },
1451
- __wbg_get_3ef1eba1850ade27: function() { return handleError(function (arg0, arg1) {
1454
+ __wbg_get_1affdbdd5573b16a: function() { return handleError(function (arg0, arg1) {
1452
1455
  const ret = Reflect.get(arg0, arg1);
1453
1456
  return ret;
1454
1457
  }, arguments); },
1455
- __wbg_get_6ac8c8119f577720: function() { return handleError(function (arg0, arg1) {
1456
- const ret = arg0.get(arg1);
1457
- return ret;
1458
- }, arguments); },
1459
- __wbg_get_7873e3afa59bad00: function(arg0, arg1, arg2) {
1458
+ __wbg_get_59664ef421721a7e: function(arg0, arg1, arg2) {
1460
1459
  const ret = arg1[arg2 >>> 0];
1461
1460
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1462
1461
  var len1 = WASM_VECTOR_LEN;
1463
1462
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1464
1463
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1465
1464
  },
1466
- __wbg_get_a8ee5c45dabc1b3b: function(arg0, arg1) {
1465
+ __wbg_get_6011fa3a58f61074: function() { return handleError(function (arg0, arg1) {
1466
+ const ret = Reflect.get(arg0, arg1);
1467
+ return ret;
1468
+ }, arguments); },
1469
+ __wbg_get_803cfa78503173c3: function() { return handleError(function (arg0, arg1) {
1470
+ const ret = arg0.get(arg1);
1471
+ return ret;
1472
+ }, arguments); },
1473
+ __wbg_get_8360291721e2339f: function(arg0, arg1) {
1467
1474
  const ret = arg0[arg1 >>> 0];
1468
1475
  return ret;
1469
1476
  },
1470
- __wbg_get_unchecked_329cfe50afab7352: function(arg0, arg1) {
1477
+ __wbg_get_unchecked_17f53dad852b9588: function(arg0, arg1) {
1471
1478
  const ret = arg0[arg1 >>> 0];
1472
1479
  return ret;
1473
1480
  },
@@ -1475,22 +1482,22 @@ function __wbg_get_imports() {
1475
1482
  const ret = arg0[arg1];
1476
1483
  return ret;
1477
1484
  },
1478
- __wbg_has_926ef2ff40b308cf: function() { return handleError(function (arg0, arg1) {
1485
+ __wbg_has_880f1d472f7cecba: function() { return handleError(function (arg0, arg1) {
1479
1486
  const ret = Reflect.has(arg0, arg1);
1480
1487
  return ret;
1481
1488
  }, arguments); },
1482
- __wbg_headers_eb2234545f9ff993: function(arg0) {
1489
+ __wbg_headers_6022deb4e576fb8e: function(arg0) {
1483
1490
  const ret = arg0.headers;
1484
1491
  return ret;
1485
1492
  },
1486
- __wbg_indexNames_3a9be68017fb9405: function(arg0) {
1493
+ __wbg_indexNames_3e19d9cfe84e3093: function(arg0) {
1487
1494
  const ret = arg0.indexNames;
1488
1495
  return ret;
1489
1496
  },
1490
- __wbg_info_0194681687b5ab04: function(arg0, arg1, arg2, arg3) {
1497
+ __wbg_info_e1c3400f7bf783dc: function(arg0, arg1, arg2, arg3) {
1491
1498
  console.info(arg0, arg1, arg2, arg3);
1492
1499
  },
1493
- __wbg_instanceof_ArrayBuffer_101e2bf31071a9f6: function(arg0) {
1500
+ __wbg_instanceof_ArrayBuffer_7c8433c6ed14ffe3: function(arg0) {
1494
1501
  let result;
1495
1502
  try {
1496
1503
  result = arg0 instanceof ArrayBuffer;
@@ -1500,7 +1507,7 @@ function __wbg_get_imports() {
1500
1507
  const ret = result;
1501
1508
  return ret;
1502
1509
  },
1503
- __wbg_instanceof_Blob_c91af000f11c2d0b: function(arg0) {
1510
+ __wbg_instanceof_Blob_10148a11a16aee87: function(arg0) {
1504
1511
  let result;
1505
1512
  try {
1506
1513
  result = arg0 instanceof Blob;
@@ -1510,7 +1517,7 @@ function __wbg_get_imports() {
1510
1517
  const ret = result;
1511
1518
  return ret;
1512
1519
  },
1513
- __wbg_instanceof_IdbFactory_efcffbfd9020e4ac: function(arg0) {
1520
+ __wbg_instanceof_IdbFactory_8af6762731f44f3b: function(arg0) {
1514
1521
  let result;
1515
1522
  try {
1516
1523
  result = arg0 instanceof IDBFactory;
@@ -1520,7 +1527,7 @@ function __wbg_get_imports() {
1520
1527
  const ret = result;
1521
1528
  return ret;
1522
1529
  },
1523
- __wbg_instanceof_Map_f194b366846aca0c: function(arg0) {
1530
+ __wbg_instanceof_Map_1b76fd4635be43eb: function(arg0) {
1524
1531
  let result;
1525
1532
  try {
1526
1533
  result = arg0 instanceof Map;
@@ -1530,7 +1537,7 @@ function __wbg_get_imports() {
1530
1537
  const ret = result;
1531
1538
  return ret;
1532
1539
  },
1533
- __wbg_instanceof_Response_9b4d9fd451e051b1: function(arg0) {
1540
+ __wbg_instanceof_Response_9b2d111407865ff2: function(arg0) {
1534
1541
  let result;
1535
1542
  try {
1536
1543
  result = arg0 instanceof Response;
@@ -1540,7 +1547,7 @@ function __wbg_get_imports() {
1540
1547
  const ret = result;
1541
1548
  return ret;
1542
1549
  },
1543
- __wbg_instanceof_Uint8Array_740438561a5b956d: function(arg0) {
1550
+ __wbg_instanceof_Uint8Array_152ba1f289edcf3f: function(arg0) {
1544
1551
  let result;
1545
1552
  try {
1546
1553
  result = arg0 instanceof Uint8Array;
@@ -1550,81 +1557,49 @@ function __wbg_get_imports() {
1550
1557
  const ret = result;
1551
1558
  return ret;
1552
1559
  },
1553
- __wbg_isArray_33b91feb269ff46e: function(arg0) {
1560
+ __wbg_isArray_c3109d14ffc06469: function(arg0) {
1554
1561
  const ret = Array.isArray(arg0);
1555
1562
  return ret;
1556
1563
  },
1557
- __wbg_isSafeInteger_ecd6a7f9c3e053cd: function(arg0) {
1564
+ __wbg_isSafeInteger_4fc213d1989d6d2a: function(arg0) {
1558
1565
  const ret = Number.isSafeInteger(arg0);
1559
1566
  return ret;
1560
1567
  },
1561
- __wbg_iterator_d8f549ec8fb061b1: function() {
1568
+ __wbg_iterator_013bc09ec998c2a7: function() {
1562
1569
  const ret = Symbol.iterator;
1563
1570
  return ret;
1564
1571
  },
1565
- __wbg_key_581f2698de7f8240: function() { return handleError(function (arg0) {
1572
+ __wbg_key_3b366eba0fc3946a: function() { return handleError(function (arg0) {
1566
1573
  const ret = arg0.key;
1567
1574
  return ret;
1568
1575
  }, arguments); },
1569
- __wbg_length_02c4f6002306a824: function(arg0) {
1576
+ __wbg_length_167a2db2c5f76499: function(arg0) {
1570
1577
  const ret = arg0.length;
1571
1578
  return ret;
1572
1579
  },
1573
- __wbg_length_b3416cf66a5452c8: function(arg0) {
1580
+ __wbg_length_3d4ecd04bd8d22f1: function(arg0) {
1574
1581
  const ret = arg0.length;
1575
1582
  return ret;
1576
1583
  },
1577
- __wbg_length_ea16607d7b61445b: function(arg0) {
1584
+ __wbg_length_9f1775224cf1d815: function(arg0) {
1578
1585
  const ret = arg0.length;
1579
1586
  return ret;
1580
1587
  },
1581
- __wbg_log_70972330cfc941dd: function(arg0, arg1, arg2, arg3) {
1588
+ __wbg_log_465fe3993e4051bf: function(arg0, arg1, arg2, arg3) {
1582
1589
  console.log(arg0, arg1, arg2, arg3);
1583
1590
  },
1584
1591
  __wbg_msCrypto_bd5a034af96bcba6: function(arg0) {
1585
1592
  const ret = arg0.msCrypto;
1586
1593
  return ret;
1587
1594
  },
1588
- __wbg_new_0837727332ac86ba: function() { return handleError(function () {
1589
- const ret = new Headers();
1590
- return ret;
1591
- }, arguments); },
1592
- __wbg_new_0_1dcafdf5e786e876: function() {
1593
- const ret = new Date();
1594
- return ret;
1595
- },
1596
- __wbg_new_227d7c05414eb861: function() {
1597
- const ret = new Error();
1598
- return ret;
1599
- },
1600
- __wbg_new_49d5571bd3f0c4d4: function() {
1601
- const ret = new Map();
1602
- return ret;
1603
- },
1604
- __wbg_new_5f486cdf45a04d78: function(arg0) {
1605
- const ret = new Uint8Array(arg0);
1606
- return ret;
1607
- },
1608
- __wbg_new_a70fbab9066b301f: function() {
1609
- const ret = new Array();
1610
- return ret;
1611
- },
1612
- __wbg_new_ab79df5bd7c26067: function() {
1613
- const ret = new Object();
1614
- return ret;
1615
- },
1616
- __wbg_new_c518c60af666645b: function() { return handleError(function () {
1617
- const ret = new AbortController();
1618
- return ret;
1619
- }, arguments); },
1620
- __wbg_new_d098e265629cd10f: function(arg0, arg1) {
1595
+ __wbg_new_036bd6cd9cea9e73: function(arg0, arg1) {
1621
1596
  try {
1622
1597
  var state0 = {a: arg0, b: arg1};
1623
1598
  var cb0 = (arg0, arg1) => {
1624
1599
  const a = state0.a;
1625
1600
  state0.a = 0;
1626
1601
  try {
1627
- return wasm_bindgen__convert__closures_____invoke__hab9ab5b39ed8bcc8(a, state0.b, arg0, arg1);
1602
+ return wasm_bindgen__convert__closures_____invoke__h08ba80926c9c1583(a, state0.b, arg0, arg1);
1628
1603
  } finally {
1629
1604
  state0.a = a;
1630
1605
  }
@@ -1632,29 +1607,61 @@ function __wbg_get_imports() {
1632
1607
  const ret = new Promise(cb0);
1633
1608
  return ret;
1634
1609
  } finally {
1635
- state0.a = state0.b = 0;
1610
+ state0.a = 0;
1636
1611
  }
1637
1612
  },
1638
- __wbg_new_dd50bcc3f60ba434: function() { return handleError(function (arg0, arg1) {
1613
+ __wbg_new_0_4d657201ced14de3: function() {
1614
+ const ret = new Date();
1615
+ return ret;
1616
+ },
1617
+ __wbg_new_0c7403db6e782f19: function(arg0) {
1618
+ const ret = new Uint8Array(arg0);
1619
+ return ret;
1620
+ },
1621
+ __wbg_new_15a4889b4b90734d: function() { return handleError(function () {
1622
+ const ret = new Headers();
1623
+ return ret;
1624
+ }, arguments); },
1625
+ __wbg_new_227d7c05414eb861: function() {
1626
+ const ret = new Error();
1627
+ return ret;
1628
+ },
1629
+ __wbg_new_2a6e9133304ae2bf: function() { return handleError(function (arg0, arg1) {
1639
1630
  const ret = new WebSocket(getStringFromWasm0(arg0, arg1));
1640
1631
  return ret;
1641
1632
  }, arguments); },
1642
- __wbg_new_fd94ca5c9639abd2: function(arg0) {
1633
+ __wbg_new_34d45cc8e36aaead: function() {
1634
+ const ret = new Map();
1635
+ return ret;
1636
+ },
1637
+ __wbg_new_682678e2f47e32bc: function() {
1638
+ const ret = new Array();
1639
+ return ret;
1640
+ },
1641
+ __wbg_new_7913666fe5070684: function(arg0) {
1643
1642
  const ret = new Date(arg0);
1644
1643
  return ret;
1645
1644
  },
1646
- __wbg_new_from_slice_22da9388ac046e50: function(arg0, arg1) {
1645
+ __wbg_new_98c22165a42231aa: function() { return handleError(function () {
1646
+ const ret = new AbortController();
1647
+ return ret;
1648
+ }, arguments); },
1649
+ __wbg_new_aa8d0fa9762c29bd: function() {
1650
+ const ret = new Object();
1651
+ return ret;
1652
+ },
1653
+ __wbg_new_from_slice_b5ea43e23f6008c0: function(arg0, arg1) {
1647
1654
  const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
1648
1655
  return ret;
1649
1656
  },
1650
- __wbg_new_typed_aaaeaf29cf802876: function(arg0, arg1) {
1657
+ __wbg_new_typed_323f37fd55ab048d: function(arg0, arg1) {
1651
1658
  try {
1652
1659
  var state0 = {a: arg0, b: arg1};
1653
1660
  var cb0 = (arg0, arg1) => {
1654
1661
  const a = state0.a;
1655
1662
  state0.a = 0;
1656
1663
  try {
1657
- return wasm_bindgen__convert__closures_____invoke__hab9ab5b39ed8bcc8(a, state0.b, arg0, arg1);
1664
+ return wasm_bindgen__convert__closures_____invoke__h08ba80926c9c1583(a, state0.b, arg0, arg1);
1658
1665
  } finally {
1659
1666
  state0.a = a;
1660
1667
  }
@@ -1662,26 +1669,22 @@ function __wbg_get_imports() {
1662
1669
  const ret = new Promise(cb0);
1663
1670
  return ret;
1664
1671
  } finally {
1665
- state0.a = state0.b = 0;
1672
+ state0.a = 0;
1666
1673
  }
1667
1674
  },
1668
- __wbg_new_typed_bccac67128ed885a: function() {
1669
- const ret = new Array();
1670
- return ret;
1671
- },
1672
- __wbg_new_with_length_825018a1616e9e55: function(arg0) {
1675
+ __wbg_new_with_length_8c854e41ea4dae9b: function(arg0) {
1673
1676
  const ret = new Uint8Array(arg0 >>> 0);
1674
1677
  return ret;
1675
1678
  },
1676
- __wbg_new_with_str_and_init_b4b54d1a819bc724: function() { return handleError(function (arg0, arg1, arg2) {
1679
+ __wbg_new_with_str_and_init_897be1708e42f39d: function() { return handleError(function (arg0, arg1, arg2) {
1677
1680
  const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
1678
1681
  return ret;
1679
1682
  }, arguments); },
1680
- __wbg_next_11b99ee6237339e3: function() { return handleError(function (arg0) {
1683
+ __wbg_next_0340c4ae324393c3: function() { return handleError(function (arg0) {
1681
1684
  const ret = arg0.next();
1682
1685
  return ret;
1683
1686
  }, arguments); },
1684
- __wbg_next_e01a967809d1aa68: function(arg0) {
1687
+ __wbg_next_7646edaa39458ef7: function(arg0) {
1685
1688
  const ret = arg0.next;
1686
1689
  return ret;
1687
1690
  },
@@ -1689,91 +1692,91 @@ function __wbg_get_imports() {
1689
1692
  const ret = arg0.node;
1690
1693
  return ret;
1691
1694
  },
1692
- __wbg_now_16f0c993d5dd6c27: function() {
1693
- const ret = Date.now();
1694
- return ret;
1695
- },
1696
- __wbg_now_6798946be0e6fe2b: function() { return handleError(function () {
1695
+ __wbg_now_0cce8c6798af1870: function() { return handleError(function () {
1697
1696
  const ret = Date.now();
1698
1697
  return ret;
1699
1698
  }, arguments); },
1700
- __wbg_now_6c1d1e978b8b5f6e: function(arg0) {
1699
+ __wbg_now_36a3148ac47c4ad7: function(arg0) {
1701
1700
  const ret = arg0.now();
1702
1701
  return ret;
1703
1702
  },
1704
- __wbg_now_c6d7a7d35f74f6f1: function(arg0) {
1703
+ __wbg_now_6c1d1e978b8b5f6e: function(arg0) {
1705
1704
  const ret = arg0.now();
1706
1705
  return ret;
1707
1706
  },
1708
- __wbg_objectStoreNames_564985d2e9ae7523: function(arg0) {
1707
+ __wbg_now_a9b7df1cbee90986: function() {
1708
+ const ret = Date.now();
1709
+ return ret;
1710
+ },
1711
+ __wbg_objectStoreNames_c755717c02e8876b: function(arg0) {
1709
1712
  const ret = arg0.objectStoreNames;
1710
1713
  return ret;
1711
1714
  },
1712
- __wbg_objectStore_f314ab152a5c7bd0: function() { return handleError(function (arg0, arg1, arg2) {
1715
+ __wbg_objectStore_5942e8f91c946be8: function() { return handleError(function (arg0, arg1, arg2) {
1713
1716
  const ret = arg0.objectStore(getStringFromWasm0(arg1, arg2));
1714
1717
  return ret;
1715
1718
  }, arguments); },
1716
- __wbg_openCursor_7f0cc3f660850dc1: function() { return handleError(function (arg0) {
1717
- const ret = arg0.openCursor();
1718
- return ret;
1719
- }, arguments); },
1720
- __wbg_openCursor_92dbb828857828a4: function() { return handleError(function (arg0, arg1, arg2) {
1719
+ __wbg_openCursor_62307c0eaa7b86e6: function() { return handleError(function (arg0, arg1, arg2) {
1721
1720
  const ret = arg0.openCursor(arg1, __wbindgen_enum_IdbCursorDirection[arg2]);
1722
1721
  return ret;
1723
1722
  }, arguments); },
1724
- __wbg_openCursor_d2c404b7a149da6b: function() { return handleError(function (arg0, arg1) {
1723
+ __wbg_openCursor_75d823082c002e28: function() { return handleError(function (arg0, arg1) {
1725
1724
  const ret = arg0.openCursor(arg1);
1726
1725
  return ret;
1727
1726
  }, arguments); },
1728
- __wbg_open_e7a9d3d6344572f6: function() { return handleError(function (arg0, arg1, arg2, arg3) {
1729
- const ret = arg0.open(getStringFromWasm0(arg1, arg2), arg3 >>> 0);
1727
+ __wbg_openCursor_a2ea782733f4ca2a: function() { return handleError(function (arg0) {
1728
+ const ret = arg0.openCursor();
1730
1729
  return ret;
1731
1730
  }, arguments); },
1732
- __wbg_open_f3dc09caa3990bc4: function() { return handleError(function (arg0, arg1, arg2) {
1731
+ __wbg_open_0949b7cdde2ab99a: function() { return handleError(function (arg0, arg1, arg2) {
1733
1732
  const ret = arg0.open(getStringFromWasm0(arg1, arg2));
1734
1733
  return ret;
1735
1734
  }, arguments); },
1735
+ __wbg_open_90f4e40d36c2c9f5: function() { return handleError(function (arg0, arg1, arg2, arg3) {
1736
+ const ret = arg0.open(getStringFromWasm0(arg1, arg2), arg3 >>> 0);
1737
+ return ret;
1738
+ }, arguments); },
1736
1739
  __wbg_performance_9df3cb88b297e33d: function(arg0) {
1737
1740
  const ret = arg0.performance;
1738
1741
  return ret;
1739
1742
  },
1740
- __wbg_postMessage_564f0071531c08c3: function() { return handleError(function (arg0, arg1) {
1743
+ __wbg_postMessage_05c4f5b252fddf64: function() { return handleError(function (arg0, arg1) {
1741
1744
  arg0.postMessage(arg1);
1742
1745
  }, arguments); },
1743
1746
  __wbg_process_44c7a14e11e9f69e: function(arg0) {
1744
1747
  const ret = arg0.process;
1745
1748
  return ret;
1746
1749
  },
1747
- __wbg_prototypesetcall_d62e5099504357e6: function(arg0, arg1, arg2) {
1750
+ __wbg_prototypesetcall_a6b02eb00b0f4ce2: function(arg0, arg1, arg2) {
1748
1751
  Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
1749
1752
  },
1750
- __wbg_push_e87b0e732085a946: function(arg0, arg1) {
1753
+ __wbg_push_471a5b068a5295f6: function(arg0, arg1) {
1751
1754
  const ret = arg0.push(arg1);
1752
1755
  return ret;
1753
1756
  },
1754
- __wbg_put_ae369598c083f1f5: function() { return handleError(function (arg0, arg1) {
1757
+ __wbg_put_2d1082795891ee40: function() { return handleError(function (arg0, arg1) {
1755
1758
  const ret = arg0.put(arg1);
1756
1759
  return ret;
1757
1760
  }, arguments); },
1758
- __wbg_put_f1673d719f93ce22: function() { return handleError(function (arg0, arg1, arg2) {
1761
+ __wbg_put_fd02d3070a55994c: function() { return handleError(function (arg0, arg1, arg2) {
1759
1762
  const ret = arg0.put(arg1, arg2);
1760
1763
  return ret;
1761
1764
  }, arguments); },
1762
- __wbg_queueMicrotask_0c399741342fb10f: function(arg0) {
1765
+ __wbg_queueMicrotask_5d15a957e6aa920e: function(arg0) {
1766
+ queueMicrotask(arg0);
1767
+ },
1768
+ __wbg_queueMicrotask_f8819e5ffc402f36: function(arg0) {
1763
1769
  const ret = arg0.queueMicrotask;
1764
1770
  return ret;
1765
1771
  },
1766
- __wbg_queueMicrotask_a082d78ce798393e: function(arg0) {
1767
- queueMicrotask(arg0);
1768
- },
1769
1772
  __wbg_randomFillSync_6c25eac9869eb53c: function() { return handleError(function (arg0, arg1) {
1770
1773
  arg0.randomFillSync(arg1);
1771
1774
  }, arguments); },
1772
- __wbg_readyState_1f1e7f1bdf9f4d42: function(arg0) {
1775
+ __wbg_readyState_c78e609c7de3b381: function(arg0) {
1773
1776
  const ret = arg0.readyState;
1774
1777
  return ret;
1775
1778
  },
1776
- __wbg_reason_cbcb9911796c4714: function(arg0, arg1) {
1779
+ __wbg_reason_e943590a4ef0d587: function(arg0, arg1) {
1777
1780
  const ret = arg1.reason;
1778
1781
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1779
1782
  const len1 = WASM_VECTOR_LEN;
@@ -1784,18 +1787,18 @@ function __wbg_get_imports() {
1784
1787
  const ret = module.require;
1785
1788
  return ret;
1786
1789
  }, arguments); },
1787
- __wbg_resolve_ae8d83246e5bcc12: function(arg0) {
1790
+ __wbg_resolve_e6c466bc1052f16c: function(arg0) {
1788
1791
  const ret = Promise.resolve(arg0);
1789
1792
  return ret;
1790
1793
  },
1791
- __wbg_result_c5baa2d3d690a01a: function() { return handleError(function (arg0) {
1794
+ __wbg_result_f782323755b96dc8: function() { return handleError(function (arg0) {
1792
1795
  const ret = arg0.result;
1793
1796
  return ret;
1794
1797
  }, arguments); },
1795
- __wbg_send_4a1dc66e8653e5ed: function() { return handleError(function (arg0, arg1, arg2) {
1798
+ __wbg_send_15358dbe221c6258: function() { return handleError(function (arg0, arg1, arg2) {
1796
1799
  arg0.send(getStringFromWasm0(arg1, arg2));
1797
1800
  }, arguments); },
1798
- __wbg_send_d31a693c975dea74: function() { return handleError(function (arg0, arg1, arg2) {
1801
+ __wbg_send_186c85704c7f2d00: function() { return handleError(function (arg0, arg1, arg2) {
1799
1802
  arg0.send(getArrayU8FromWasm0(arg1, arg2));
1800
1803
  }, arguments); },
1801
1804
  __wbg_setInterval_589c59a1e7427be3: function(arg0, arg1) {
@@ -1817,83 +1820,83 @@ function __wbg_get_imports() {
1817
1820
  const ret = setTimeout(arg0, arg1);
1818
1821
  return ret;
1819
1822
  },
1820
- __wbg_set_282384002438957f: function(arg0, arg1, arg2) {
1823
+ __wbg_set_3bf1de9fab0cd644: function(arg0, arg1, arg2) {
1821
1824
  arg0[arg1 >>> 0] = arg2;
1822
1825
  },
1823
1826
  __wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
1824
1827
  arg0[arg1] = arg2;
1825
1828
  },
1826
- __wbg_set_auto_increment_ffc3cd6470763a4c: function(arg0, arg1) {
1829
+ __wbg_set_auto_increment_12f813bc0f283d18: function(arg0, arg1) {
1827
1830
  arg0.autoIncrement = arg1 !== 0;
1828
1831
  },
1829
- __wbg_set_bf7251625df30a02: function(arg0, arg1, arg2) {
1830
- const ret = arg0.set(arg1, arg2);
1831
- return ret;
1832
- },
1833
- __wbg_set_binaryType_3dcf8281ec100a8f: function(arg0, arg1) {
1832
+ __wbg_set_binaryType_770e68648ca5e83d: function(arg0, arg1) {
1834
1833
  arg0.binaryType = __wbindgen_enum_BinaryType[arg1];
1835
1834
  },
1836
- __wbg_set_body_a3d856b097dfda04: function(arg0, arg1) {
1835
+ __wbg_set_body_be11680f34217f75: function(arg0, arg1) {
1837
1836
  arg0.body = arg1;
1838
1837
  },
1839
- __wbg_set_cache_ec7e430c6056ebda: function(arg0, arg1) {
1838
+ __wbg_set_cache_968edea422613d1b: function(arg0, arg1) {
1840
1839
  arg0.cache = __wbindgen_enum_RequestCache[arg1];
1841
1840
  },
1842
- __wbg_set_credentials_ed63183445882c65: function(arg0, arg1) {
1841
+ __wbg_set_credentials_6577be90e0e85eb6: function(arg0, arg1) {
1843
1842
  arg0.credentials = __wbindgen_enum_RequestCredentials[arg1];
1844
1843
  },
1845
- __wbg_set_headers_3c8fecc693b75327: function(arg0, arg1) {
1844
+ __wbg_set_fde2cec06c23692b: function(arg0, arg1, arg2) {
1845
+ const ret = arg0.set(arg1, arg2);
1846
+ return ret;
1847
+ },
1848
+ __wbg_set_headers_50fc01786240a440: function(arg0, arg1) {
1846
1849
  arg0.headers = arg1;
1847
1850
  },
1848
- __wbg_set_key_path_3c45a8ff0b89e678: function(arg0, arg1) {
1851
+ __wbg_set_key_path_23485c4a6cd0c2cf: function(arg0, arg1) {
1849
1852
  arg0.keyPath = arg1;
1850
1853
  },
1851
- __wbg_set_method_8c015e8bcafd7be1: function(arg0, arg1, arg2) {
1854
+ __wbg_set_method_c9f1f985f6b6c427: function(arg0, arg1, arg2) {
1852
1855
  arg0.method = getStringFromWasm0(arg1, arg2);
1853
1856
  },
1854
- __wbg_set_mode_5a87f2c809cf37c2: function(arg0, arg1) {
1857
+ __wbg_set_mode_5e08d503428c06b9: function(arg0, arg1) {
1855
1858
  arg0.mode = __wbindgen_enum_RequestMode[arg1];
1856
1859
  },
1857
- __wbg_set_multi_entry_38c253febe05d3be: function(arg0, arg1) {
1860
+ __wbg_set_multi_entry_bda3f2f33c69a070: function(arg0, arg1) {
1858
1861
  arg0.multiEntry = arg1 !== 0;
1859
1862
  },
1860
- __wbg_set_onabort_63885d8d7841a8d5: function(arg0, arg1) {
1863
+ __wbg_set_onabort_7eecdbabbc4fd5f8: function(arg0, arg1) {
1861
1864
  arg0.onabort = arg1;
1862
1865
  },
1863
- __wbg_set_onclose_8da801226bdd7a7b: function(arg0, arg1) {
1866
+ __wbg_set_onclose_17fa3bbcc4ba3541: function(arg0, arg1) {
1864
1867
  arg0.onclose = arg1;
1865
1868
  },
1866
- __wbg_set_oncomplete_f31e6dc6d16c1ff8: function(arg0, arg1) {
1869
+ __wbg_set_oncomplete_8c9c4dac8e331f19: function(arg0, arg1) {
1867
1870
  arg0.oncomplete = arg1;
1868
1871
  },
1869
- __wbg_set_onerror_8a268cb237177bba: function(arg0, arg1) {
1872
+ __wbg_set_onerror_5cae5e3b994ad11f: function(arg0, arg1) {
1870
1873
  arg0.onerror = arg1;
1871
1874
  },
1872
- __wbg_set_onerror_901ca711f94a5bbb: function(arg0, arg1) {
1875
+ __wbg_set_onerror_da99c4232662a084: function(arg0, arg1) {
1873
1876
  arg0.onerror = arg1;
1874
1877
  },
1875
- __wbg_set_onerror_c1ecd6233c533c08: function(arg0, arg1) {
1878
+ __wbg_set_onerror_ed658d0b50b67e95: function(arg0, arg1) {
1876
1879
  arg0.onerror = arg1;
1877
1880
  },
1878
- __wbg_set_onmessage_6f80ab771bf151aa: function(arg0, arg1) {
1881
+ __wbg_set_onmessage_c1db358b9c38e3f1: function(arg0, arg1) {
1879
1882
  arg0.onmessage = arg1;
1880
1883
  },
1881
- __wbg_set_onopen_34e3e24cf9337ddd: function(arg0, arg1) {
1884
+ __wbg_set_onopen_cd47b8fb1d92dee9: function(arg0, arg1) {
1882
1885
  arg0.onopen = arg1;
1883
1886
  },
1884
- __wbg_set_onsuccess_fca94ded107b64af: function(arg0, arg1) {
1887
+ __wbg_set_onsuccess_bf03d6c06709ef09: function(arg0, arg1) {
1885
1888
  arg0.onsuccess = arg1;
1886
1889
  },
1887
- __wbg_set_onupgradeneeded_860ce42184f987e7: function(arg0, arg1) {
1890
+ __wbg_set_onupgradeneeded_3fc8649a687213f5: function(arg0, arg1) {
1888
1891
  arg0.onupgradeneeded = arg1;
1889
1892
  },
1890
- __wbg_set_signal_0cebecb698f25d21: function(arg0, arg1) {
1893
+ __wbg_set_signal_1d4e73c2305a0e7c: function(arg0, arg1) {
1891
1894
  arg0.signal = arg1;
1892
1895
  },
1893
- __wbg_set_unique_a39d85db47f8e025: function(arg0, arg1) {
1896
+ __wbg_set_unique_0a396b97f5b68657: function(arg0, arg1) {
1894
1897
  arg0.unique = arg1 !== 0;
1895
1898
  },
1896
- __wbg_signal_166e1da31adcac18: function(arg0) {
1899
+ __wbg_signal_fdc54643b47bf85b: function(arg0) {
1897
1900
  const ret = arg0.signal;
1898
1901
  return ret;
1899
1902
  },
@@ -1904,151 +1907,146 @@ function __wbg_get_imports() {
1904
1907
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1905
1908
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1906
1909
  },
1907
- __wbg_static_accessor_GLOBAL_8adb955bd33fac2f: function() {
1910
+ __wbg_static_accessor_GLOBAL_8cfadc87a297ca02: function() {
1908
1911
  const ret = typeof global === 'undefined' ? null : global;
1909
1912
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1910
1913
  },
1911
- __wbg_static_accessor_GLOBAL_THIS_ad356e0db91c7913: function() {
1914
+ __wbg_static_accessor_GLOBAL_THIS_602256ae5c8f42cf: function() {
1912
1915
  const ret = typeof globalThis === 'undefined' ? null : globalThis;
1913
1916
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1914
1917
  },
1915
- __wbg_static_accessor_SELF_f207c857566db248: function() {
1918
+ __wbg_static_accessor_SELF_e445c1c7484aecc3: function() {
1916
1919
  const ret = typeof self === 'undefined' ? null : self;
1917
1920
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1918
1921
  },
1919
- __wbg_static_accessor_WINDOW_bb9f1ba69d61b386: function() {
1922
+ __wbg_static_accessor_WINDOW_f20e8576ef1e0f17: function() {
1920
1923
  const ret = typeof window === 'undefined' ? null : window;
1921
1924
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1922
1925
  },
1923
- __wbg_status_318629ab93a22955: function(arg0) {
1926
+ __wbg_status_43e0d2f15b22d69f: function(arg0) {
1924
1927
  const ret = arg0.status;
1925
1928
  return ret;
1926
1929
  },
1927
- __wbg_stringify_5ae93966a84901ac: function() { return handleError(function (arg0) {
1930
+ __wbg_stringify_91082ed7a5a5769e: function() { return handleError(function (arg0) {
1928
1931
  const ret = JSON.stringify(arg0);
1929
1932
  return ret;
1930
1933
  }, arguments); },
1931
- __wbg_subarray_a068d24e39478a8a: function(arg0, arg1, arg2) {
1934
+ __wbg_subarray_f8ca46a25b1f5e0d: function(arg0, arg1, arg2) {
1932
1935
  const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
1933
1936
  return ret;
1934
1937
  },
1935
- __wbg_target_7bc90f314634b37b: function(arg0) {
1938
+ __wbg_target_6d97e221d11b71b6: function(arg0) {
1936
1939
  const ret = arg0.target;
1937
1940
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1938
1941
  },
1939
- __wbg_text_372f5b91442c50f9: function() { return handleError(function (arg0) {
1942
+ __wbg_text_595ef75535aa25c1: function() { return handleError(function (arg0) {
1940
1943
  const ret = arg0.text();
1941
1944
  return ret;
1942
1945
  }, arguments); },
1943
- __wbg_then_098abe61755d12f6: function(arg0, arg1) {
1944
- const ret = arg0.then(arg1);
1946
+ __wbg_then_792e0c862b060889: function(arg0, arg1, arg2) {
1947
+ const ret = arg0.then(arg1, arg2);
1945
1948
  return ret;
1946
1949
  },
1947
- __wbg_then_9e335f6dd892bc11: function(arg0, arg1, arg2) {
1948
- const ret = arg0.then(arg1, arg2);
1950
+ __wbg_then_8e16ee11f05e4827: function(arg0, arg1) {
1951
+ const ret = arg0.then(arg1);
1949
1952
  return ret;
1950
1953
  },
1951
- __wbg_toString_fca8b5e46235cfb4: function(arg0) {
1954
+ __wbg_toString_6dc1a94e0bdba378: function(arg0) {
1952
1955
  const ret = arg0.toString();
1953
1956
  return ret;
1954
1957
  },
1955
- __wbg_transaction_3223f7c8d0f40129: function() { return handleError(function (arg0, arg1, arg2) {
1956
- const ret = arg0.transaction(arg1, __wbindgen_enum_IdbTransactionMode[arg2]);
1957
- return ret;
1958
- }, arguments); },
1959
- __wbg_transaction_fda57653957fee06: function(arg0) {
1958
+ __wbg_transaction_246d4ade615944eb: function(arg0) {
1960
1959
  const ret = arg0.transaction;
1961
1960
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1962
1961
  },
1963
- __wbg_url_778f9516ea867e17: function(arg0, arg1) {
1962
+ __wbg_transaction_9af5475ca3bd3fa9: function() { return handleError(function (arg0, arg1, arg2) {
1963
+ const ret = arg0.transaction(arg1, __wbindgen_enum_IdbTransactionMode[arg2]);
1964
+ return ret;
1965
+ }, arguments); },
1966
+ __wbg_url_2bf741820e6563a0: function(arg0, arg1) {
1964
1967
  const ret = arg1.url;
1965
1968
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1966
1969
  const len1 = WASM_VECTOR_LEN;
1967
1970
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1968
1971
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1969
1972
  },
1970
- __wbg_url_7fefc1820fba4e0c: function(arg0, arg1) {
1973
+ __wbg_url_7e153eff46938d20: function(arg0, arg1) {
1971
1974
  const ret = arg1.url;
1972
1975
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1973
1976
  const len1 = WASM_VECTOR_LEN;
1974
1977
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1975
1978
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1976
1979
  },
1977
- __wbg_value_21fc78aab0322612: function(arg0) {
1980
+ __wbg_value_cd3e83709dea7716: function() { return handleError(function (arg0) {
1978
1981
  const ret = arg0.value;
1979
1982
  return ret;
1980
- },
1981
- __wbg_value_79629bd10d556879: function() { return handleError(function (arg0) {
1983
+ }, arguments); },
1984
+ __wbg_value_ee3a06f4579184fa: function(arg0) {
1982
1985
  const ret = arg0.value;
1983
1986
  return ret;
1984
- }, arguments); },
1987
+ },
1985
1988
  __wbg_versions_276b2795b1c6a219: function(arg0) {
1986
1989
  const ret = arg0.versions;
1987
1990
  return ret;
1988
1991
  },
1989
- __wbg_warn_809cad1bfc2b3a42: function(arg0, arg1, arg2, arg3) {
1992
+ __wbg_warn_ad997e36628bd23a: function(arg0, arg1, arg2, arg3) {
1990
1993
  console.warn(arg0, arg1, arg2, arg3);
1991
1994
  },
1992
- __wbg_wasClean_69f68dc4ed2d2cc7: function(arg0) {
1995
+ __wbg_wasClean_bd109e45fffa711a: function(arg0) {
1993
1996
  const ret = arg0.wasClean;
1994
1997
  return ret;
1995
1998
  },
1996
1999
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
1997
- // Cast intrinsic for `Closure(Closure { dtor_idx: 61, function: Function { arguments: [Externref], shim_idx: 683, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1998
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h2224c54b4af2fbad, wasm_bindgen__convert__closures_____invoke__hd77882154a27f786);
2000
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 685, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
2001
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h0b724243ca7dd727);
1999
2002
  return ret;
2000
2003
  },
2001
2004
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
2002
- // Cast intrinsic for `Closure(Closure { dtor_idx: 61, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 325, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2003
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h2224c54b4af2fbad, wasm_bindgen__convert__closures_____invoke__h928c64866f63543d);
2005
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 320, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2006
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h7e7b4a4868650eb0);
2004
2007
  return ret;
2005
2008
  },
2006
2009
  __wbindgen_cast_0000000000000003: function(arg0, arg1) {
2007
- // Cast intrinsic for `Closure(Closure { dtor_idx: 61, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 325, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2008
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h2224c54b4af2fbad, wasm_bindgen__convert__closures_____invoke__h928c64866f63543d_2);
2010
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 978, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
2011
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hbd8c09ae7cb03b36);
2009
2012
  return ret;
2010
2013
  },
2011
2014
  __wbindgen_cast_0000000000000004: function(arg0, arg1) {
2012
- // Cast intrinsic for `Closure(Closure { dtor_idx: 61, function: Function { arguments: [], shim_idx: 328, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2013
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h2224c54b4af2fbad, wasm_bindgen__convert__closures_____invoke__h44a768595d33e06f);
2015
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 320, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2016
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h7e7b4a4868650eb0_3);
2014
2017
  return ret;
2015
2018
  },
2016
2019
  __wbindgen_cast_0000000000000005: function(arg0, arg1) {
2017
- // Cast intrinsic for `Closure(Closure { dtor_idx: 61, function: Function { arguments: [], shim_idx: 62, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
2018
- const ret = makeClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h2224c54b4af2fbad, wasm_bindgen__convert__closures_____invoke__h45d9f4012aef2b30);
2020
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 324, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2021
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h4a7cd3e7ccf633a4);
2019
2022
  return ret;
2020
2023
  },
2021
2024
  __wbindgen_cast_0000000000000006: function(arg0, arg1) {
2022
- // Cast intrinsic for `Closure(Closure { dtor_idx: 977, function: Function { arguments: [], shim_idx: 328, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2023
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hcf84bd8f683a66b8, wasm_bindgen__convert__closures_____invoke__h44a768595d33e06f);
2024
- return ret;
2025
- },
2026
- __wbindgen_cast_0000000000000007: function(arg0, arg1) {
2027
- // Cast intrinsic for `Closure(Closure { dtor_idx: 982, function: Function { arguments: [NamedExternref("Event")], shim_idx: 983, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
2028
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__had1eeb50d5c61eb8, wasm_bindgen__convert__closures_____invoke__he8ceb6485339bd81);
2025
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 58, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
2026
+ const ret = makeClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h219764a9e9ff1cc8);
2029
2027
  return ret;
2030
2028
  },
2031
- __wbindgen_cast_0000000000000008: function(arg0) {
2029
+ __wbindgen_cast_0000000000000007: function(arg0) {
2032
2030
  // Cast intrinsic for `F64 -> Externref`.
2033
2031
  const ret = arg0;
2034
2032
  return ret;
2035
2033
  },
2036
- __wbindgen_cast_0000000000000009: function(arg0) {
2034
+ __wbindgen_cast_0000000000000008: function(arg0) {
2037
2035
  // Cast intrinsic for `I64 -> Externref`.
2038
2036
  const ret = arg0;
2039
2037
  return ret;
2040
2038
  },
2041
- __wbindgen_cast_000000000000000a: function(arg0, arg1) {
2039
+ __wbindgen_cast_0000000000000009: function(arg0, arg1) {
2042
2040
  // Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
2043
2041
  const ret = getArrayU8FromWasm0(arg0, arg1);
2044
2042
  return ret;
2045
2043
  },
2046
- __wbindgen_cast_000000000000000b: function(arg0, arg1) {
2044
+ __wbindgen_cast_000000000000000a: function(arg0, arg1) {
2047
2045
  // Cast intrinsic for `Ref(String) -> Externref`.
2048
2046
  const ret = getStringFromWasm0(arg0, arg1);
2049
2047
  return ret;
2050
2048
  },
2051
- __wbindgen_cast_000000000000000c: function(arg0) {
2049
+ __wbindgen_cast_000000000000000b: function(arg0) {
2052
2050
  // Cast intrinsic for `U64 -> Externref`.
2053
2051
  const ret = BigInt.asUintN(64, arg0);
2054
2052
  return ret;
@@ -2069,38 +2067,38 @@ function __wbg_get_imports() {
2069
2067
  };
2070
2068
  }
2071
2069
 
2072
- function wasm_bindgen__convert__closures_____invoke__h44a768595d33e06f(arg0, arg1) {
2073
- wasm.wasm_bindgen__convert__closures_____invoke__h44a768595d33e06f(arg0, arg1);
2070
+ function wasm_bindgen__convert__closures_____invoke__h4a7cd3e7ccf633a4(arg0, arg1) {
2071
+ wasm.wasm_bindgen__convert__closures_____invoke__h4a7cd3e7ccf633a4(arg0, arg1);
2074
2072
  }
2075
2073
 
2076
- function wasm_bindgen__convert__closures_____invoke__h45d9f4012aef2b30(arg0, arg1) {
2077
- wasm.wasm_bindgen__convert__closures_____invoke__h45d9f4012aef2b30(arg0, arg1);
2074
+ function wasm_bindgen__convert__closures_____invoke__h219764a9e9ff1cc8(arg0, arg1) {
2075
+ wasm.wasm_bindgen__convert__closures_____invoke__h219764a9e9ff1cc8(arg0, arg1);
2078
2076
  }
2079
2077
 
2080
- function wasm_bindgen__convert__closures_____invoke__h928c64866f63543d(arg0, arg1, arg2) {
2081
- wasm.wasm_bindgen__convert__closures_____invoke__h928c64866f63543d(arg0, arg1, arg2);
2078
+ function wasm_bindgen__convert__closures_____invoke__h7e7b4a4868650eb0(arg0, arg1, arg2) {
2079
+ wasm.wasm_bindgen__convert__closures_____invoke__h7e7b4a4868650eb0(arg0, arg1, arg2);
2082
2080
  }
2083
2081
 
2084
- function wasm_bindgen__convert__closures_____invoke__h928c64866f63543d_2(arg0, arg1, arg2) {
2085
- wasm.wasm_bindgen__convert__closures_____invoke__h928c64866f63543d_2(arg0, arg1, arg2);
2082
+ function wasm_bindgen__convert__closures_____invoke__h7e7b4a4868650eb0_3(arg0, arg1, arg2) {
2083
+ wasm.wasm_bindgen__convert__closures_____invoke__h7e7b4a4868650eb0_3(arg0, arg1, arg2);
2086
2084
  }
2087
2085
 
2088
- function wasm_bindgen__convert__closures_____invoke__hd77882154a27f786(arg0, arg1, arg2) {
2089
- const ret = wasm.wasm_bindgen__convert__closures_____invoke__hd77882154a27f786(arg0, arg1, arg2);
2086
+ function wasm_bindgen__convert__closures_____invoke__h0b724243ca7dd727(arg0, arg1, arg2) {
2087
+ const ret = wasm.wasm_bindgen__convert__closures_____invoke__h0b724243ca7dd727(arg0, arg1, arg2);
2090
2088
  if (ret[1]) {
2091
2089
  throw takeFromExternrefTable0(ret[0]);
2092
2090
  }
2093
2091
  }
2094
2092
 
2095
- function wasm_bindgen__convert__closures_____invoke__he8ceb6485339bd81(arg0, arg1, arg2) {
2096
- const ret = wasm.wasm_bindgen__convert__closures_____invoke__he8ceb6485339bd81(arg0, arg1, arg2);
2093
+ function wasm_bindgen__convert__closures_____invoke__hbd8c09ae7cb03b36(arg0, arg1, arg2) {
2094
+ const ret = wasm.wasm_bindgen__convert__closures_____invoke__hbd8c09ae7cb03b36(arg0, arg1, arg2);
2097
2095
  if (ret[1]) {
2098
2096
  throw takeFromExternrefTable0(ret[0]);
2099
2097
  }
2100
2098
  }
2101
2099
 
2102
- function wasm_bindgen__convert__closures_____invoke__hab9ab5b39ed8bcc8(arg0, arg1, arg2, arg3) {
2103
- wasm.wasm_bindgen__convert__closures_____invoke__hab9ab5b39ed8bcc8(arg0, arg1, arg2, arg3);
2100
+ function wasm_bindgen__convert__closures_____invoke__h08ba80926c9c1583(arg0, arg1, arg2, arg3) {
2101
+ wasm.wasm_bindgen__convert__closures_____invoke__h08ba80926c9c1583(arg0, arg1, arg2, arg3);
2104
2102
  }
2105
2103
 
2106
2104
 
@@ -2150,7 +2148,7 @@ function addToExternrefTable0(obj) {
2150
2148
 
2151
2149
  const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
2152
2150
  ? { register: () => {}, unregister: () => {} }
2153
- : new FinalizationRegistry(state => state.dtor(state.a, state.b));
2151
+ : new FinalizationRegistry(state => wasm.__wbindgen_destroy_closure(state.a, state.b));
2154
2152
 
2155
2153
  function debugString(val) {
2156
2154
  // primitive types
@@ -2256,8 +2254,8 @@ function isLikeNone(x) {
2256
2254
  return x === undefined || x === null;
2257
2255
  }
2258
2256
 
2259
- function makeClosure(arg0, arg1, dtor, f) {
2260
- const state = { a: arg0, b: arg1, cnt: 1, dtor };
2257
+ function makeClosure(arg0, arg1, f) {
2258
+ const state = { a: arg0, b: arg1, cnt: 1 };
2261
2259
  const real = (...args) => {
2262
2260
 
2263
2261
  // First up with a closure we increment the internal reference
@@ -2272,7 +2270,7 @@ function makeClosure(arg0, arg1, dtor, f) {
2272
2270
  };
2273
2271
  real._wbg_cb_unref = () => {
2274
2272
  if (--state.cnt === 0) {
2275
- state.dtor(state.a, state.b);
2273
+ wasm.__wbindgen_destroy_closure(state.a, state.b);
2276
2274
  state.a = 0;
2277
2275
  CLOSURE_DTORS.unregister(state);
2278
2276
  }
@@ -2281,8 +2279,8 @@ function makeClosure(arg0, arg1, dtor, f) {
2281
2279
  return real;
2282
2280
  }
2283
2281
 
2284
- function makeMutClosure(arg0, arg1, dtor, f) {
2285
- const state = { a: arg0, b: arg1, cnt: 1, dtor };
2282
+ function makeMutClosure(arg0, arg1, f) {
2283
+ const state = { a: arg0, b: arg1, cnt: 1 };
2286
2284
  const real = (...args) => {
2287
2285
 
2288
2286
  // First up with a closure we increment the internal reference
@@ -2300,7 +2298,7 @@ function makeMutClosure(arg0, arg1, dtor, f) {
2300
2298
  };
2301
2299
  real._wbg_cb_unref = () => {
2302
2300
  if (--state.cnt === 0) {
2303
- state.dtor(state.a, state.b);
2301
+ wasm.__wbindgen_destroy_closure(state.a, state.b);
2304
2302
  state.a = 0;
2305
2303
  CLOSURE_DTORS.unregister(state);
2306
2304
  }
package/index_bg.wasm CHANGED
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bitcredit/bcr-ebill-wasm",
3
3
  "type": "module",
4
- "version": "0.5.6",
4
+ "version": "0.5.7",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",