@bitcredit/bcr-ebill-wasm 0.4.5 → 0.4.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -112,7 +112,7 @@ export interface LightSignedByWeb {
112
112
  }
113
113
 
114
114
  export interface EndorsementWeb {
115
- pay_to_the_order_of: LightBillIdentParticipantWithAddressWeb;
115
+ pay_to_the_order_of: LightBillParticipantWeb;
116
116
  signed: LightSignedByWeb;
117
117
  signing_timestamp: number;
118
118
  signing_address: PostalAddressWeb | undefined;
@@ -245,6 +245,7 @@ export interface BillStatusWeb {
245
245
  mint: BillMintStatusWeb;
246
246
  redeemed_funds_available: boolean;
247
247
  has_requested_funds: boolean;
248
+ last_block_time: number;
248
249
  }
249
250
 
250
251
  export interface BillAcceptanceStatusWeb {
@@ -520,6 +521,16 @@ export interface SeedPhrase {
520
521
  seed_phrase: string;
521
522
  }
522
523
 
524
+ export interface IdentityProofWeb {
525
+ id: string;
526
+ node_id: NodeId;
527
+ stamp: IdentityProofStamp;
528
+ url: Url;
529
+ timestamp: number;
530
+ status: IdentityProofStatusWeb;
531
+ status_last_checked_timestamp: number;
532
+ }
533
+
523
534
  export interface NotificationStatusWeb {
524
535
  node_id: string;
525
536
  active: boolean;
@@ -635,7 +646,7 @@ export interface UploadFileResponse {
635
646
  file_upload_id: string;
636
647
  }
637
648
 
638
- export type JsErrorType = "FieldEmpty" | "InvalidSum" | "InvalidCurrency" | "InvalidPaymentAddress" | "InvalidContentType" | "IdentityCantBeAnon" | "IdentityIsNotBillIssuer" | "InvalidContactType" | "InvalidIdentityType" | "InvalidDate" | "SelfDraftedBillCantBeBlank" | "RequestToMintForBillAndMintAlreadyActive" | "SignerCantBeAnon" | "ContactIsAnonymous" | "InvalidContact" | "InvalidMint" | "IssueDateAfterMaturityDate" | "MaturityDateInThePast" | "InvalidFileUploadId" | "InvalidNodeId" | "InvalidBillId" | "InvalidBillType" | "DraweeCantBePayee" | "EndorserCantBeEndorsee" | "BuyerCantBeSeller" | "RecourserCantBeRecoursee" | "DraweeNotInContacts" | "PayeeNotInContacts" | "MintNotInContacts" | "BuyerNotInContacts" | "EndorseeNotInContacts" | "RecourseeNotInContacts" | "CancelMintRequestNotPending" | "RejectMintRequestNotOffered" | "AcceptMintRequestNotOffered" | "AcceptMintOfferExpired" | "NoFileForFileUploadId" | "NotFound" | "ExternalApi" | "Io" | "Crypto" | "Persistence" | "Blockchain" | "InvalidRelayUrl" | "Serialization" | "Init" | "NotificationNetwork" | "NotificationMessage" | "InvalidOperation" | "BillAlreadyAccepted" | "BillWasRejectedToAccept" | "BillAcceptanceExpired" | "BillWasRejectedToPay" | "BillPaymentExpired" | "BillWasRejectedToRecourse" | "BillRequestToRecourseExpired" | "BillWasRecoursedToTheEnd" | "BillAlreadyRequestedToAccept" | "BillNotAccepted" | "CallerIsNotDrawee" | "CallerIsNotHolder" | "CallerIsNotRecoursee" | "CallerIsNotBuyer" | "RequestAlreadyExpired" | "RequestAlreadyRejected" | "BillAlreadyPaid" | "BillWasNotRequestedToAccept" | "BillWasNotRequestedToPay" | "BillWasNotOfferedToSell" | "BillRequestToAcceptDidNotExpireAndWasNotRejected" | "BillRequestToPayDidNotExpireAndWasNotRejected" | "RecourseeNotPastHolder" | "BillWasNotRequestedToRecourse" | "BillIsNotRequestedToRecourseAndWaitingForPayment" | "BillIsNotOfferToSellWaitingForPayment" | "BillSellDataInvalid" | "BillRecourseDataInvalid" | "BillIsRequestedToPayAndWaitingForPayment" | "BillIsOfferedToSellAndWaitingForPayment" | "BillIsInRecourseAndWaitingForPayment" | "BillWasRequestedToPay" | "DrawerIsNotBillIssuer" | "SignatoryNotInContacts" | "SignatoryAlreadySignatory" | "CantRemoveLastSignatory" | "NotASignatory" | "InvalidSecp256k1Key" | "FileIsTooBig" | "FileIsEmpty" | "TooManyFiles" | "InvalidFileName" | "UnknownNodeId" | "BackupNotSupported" | "CallerMustBeSignatory";
649
+ export type JsErrorType = "FieldEmpty" | "InvalidSum" | "InvalidCurrency" | "InvalidPaymentAddress" | "InvalidContentType" | "IdentityCantBeAnon" | "IdentityIsNotBillIssuer" | "InvalidContactType" | "InvalidIdentityType" | "InvalidDate" | "SelfDraftedBillCantBeBlank" | "RequestToMintForBillAndMintAlreadyActive" | "SignerCantBeAnon" | "ContactIsAnonymous" | "InvalidContact" | "InvalidMint" | "IssueDateAfterMaturityDate" | "MaturityDateInThePast" | "InvalidFileUploadId" | "InvalidNodeId" | "InvalidBillId" | "InvalidBillType" | "DraweeCantBePayee" | "EndorserCantBeEndorsee" | "BuyerCantBeSeller" | "RecourserCantBeRecoursee" | "DraweeNotInContacts" | "PayeeNotInContacts" | "MintNotInContacts" | "BuyerNotInContacts" | "EndorseeNotInContacts" | "RecourseeNotInContacts" | "CancelMintRequestNotPending" | "RejectMintRequestNotOffered" | "AcceptMintRequestNotOffered" | "AcceptMintOfferExpired" | "NoFileForFileUploadId" | "NotFound" | "ExternalApi" | "Io" | "Crypto" | "Persistence" | "Blockchain" | "InvalidRelayUrl" | "Serialization" | "Init" | "NotificationNetwork" | "NotificationMessage" | "InvalidOperation" | "BillAlreadyAccepted" | "BillWasRejectedToAccept" | "BillAcceptanceExpired" | "BillWasRejectedToPay" | "BillPaymentExpired" | "BillWasRejectedToRecourse" | "BillRequestToRecourseExpired" | "BillWasRecoursedToTheEnd" | "BillAlreadyRequestedToAccept" | "BillNotAccepted" | "CallerIsNotDrawee" | "CallerIsNotHolder" | "CallerIsNotRecoursee" | "CallerIsNotBuyer" | "RequestAlreadyExpired" | "RequestAlreadyRejected" | "BillAlreadyPaid" | "BillWasNotRequestedToAccept" | "BillWasNotRequestedToPay" | "BillWasNotOfferedToSell" | "BillRequestToAcceptDidNotExpireAndWasNotRejected" | "BillRequestToPayDidNotExpireAndWasNotRejected" | "RecourseeNotPastHolder" | "BillWasNotRequestedToRecourse" | "BillIsNotRequestedToRecourseAndWaitingForPayment" | "BillIsNotOfferToSellWaitingForPayment" | "BillSellDataInvalid" | "BillRecourseDataInvalid" | "BillIsRequestedToPayAndWaitingForPayment" | "BillIsOfferedToSellAndWaitingForPayment" | "BillIsInRecourseAndWaitingForPayment" | "BillWasRequestedToPay" | "DrawerIsNotBillIssuer" | "SignatoryNotInContacts" | "SignatoryAlreadySignatory" | "CantRemoveLastSignatory" | "NotASignatory" | "InvalidSecp256k1Key" | "FileIsTooBig" | "FileIsEmpty" | "TooManyFiles" | "InvalidFileName" | "UnknownNodeId" | "BackupNotSupported" | "CallerMustBeSignatory" | "InvalidBase58" | "InvalidSignature" | "InvalidUrl" | "InvalidIdentityProofStatus";
639
650
 
640
651
  export interface JsErrorData {
641
652
  error: JsErrorType;
@@ -692,6 +703,7 @@ export class Api {
692
703
  static general(): General;
693
704
  static contact(): Contact;
694
705
  static identity(): Identity;
706
+ static identity_proof(): IdentityProof;
695
707
  static notification(): Notification;
696
708
  static company(): Company;
697
709
  static bill(): Bill;
@@ -802,11 +814,37 @@ export class Identity {
802
814
  seed_backup(): Promise<SeedPhrase>;
803
815
  seed_recover(payload: SeedPhrase): Promise<void>;
804
816
  }
817
+ export class IdentityProof {
818
+ private constructor();
819
+ free(): void;
820
+ static new(): IdentityProof;
821
+ /**
822
+ * Get identity stamp to post on social media for the currently selected identity
823
+ */
824
+ get_identity_stamp(): Promise<string>;
825
+ /**
826
+ * Fetch identity proofs for the currently selected identity
827
+ */
828
+ list(): Promise<IdentityProofWeb[]>;
829
+ /**
830
+ * Add identity proof for the currently selected identity
831
+ */
832
+ add(url: string, stamp: string): Promise<IdentityProofWeb>;
833
+ /**
834
+ * Archive the identity proof with the given id for the currently selected identity
835
+ */
836
+ archive(id: string): Promise<void>;
837
+ /**
838
+ * Re-check the identity proof by its URL with the given id for the currently selected identity
839
+ * returning the new result
840
+ */
841
+ re_check(id: string): Promise<IdentityProofWeb>;
842
+ }
805
843
  export class Notification {
806
844
  private constructor();
807
845
  free(): void;
808
846
  static new(): Notification;
809
- active_notifications_for_node_ids(node_ids: Vec<String>): Promise<NotificationStatusWeb[]>;
847
+ active_notifications_for_node_ids(node_ids: string[]): Promise<NotificationStatusWeb[]>;
810
848
  subscribe(callback: Function): Promise<void>;
811
849
  list(filters: NotificationFilters): Promise<NotificationWeb[]>;
812
850
  mark_as_done(notification_id: string): Promise<void>;
@@ -897,6 +935,11 @@ export interface InitOutput {
897
935
  readonly identity_switch: (a: number, b: any) => any;
898
936
  readonly identity_seed_backup: (a: number) => any;
899
937
  readonly identity_seed_recover: (a: number, b: any) => any;
938
+ readonly identityproof_get_identity_stamp: (a: number) => any;
939
+ readonly identityproof_list: (a: number) => any;
940
+ readonly identityproof_add: (a: number, b: number, c: number, d: number, e: number) => any;
941
+ readonly identityproof_archive: (a: number, b: number, c: number) => any;
942
+ readonly identityproof_re_check: (a: number, b: number, c: number) => any;
900
943
  readonly notification_active_notifications_for_node_ids: (a: number, b: any) => any;
901
944
  readonly notification_subscribe: (a: number, b: any) => any;
902
945
  readonly notification_list: (a: number, b: any) => any;
@@ -917,19 +960,22 @@ export interface InitOutput {
917
960
  readonly contact_new: () => number;
918
961
  readonly general_new: () => number;
919
962
  readonly identity_new: () => number;
963
+ readonly identityproof_new: () => number;
920
964
  readonly notification_new: () => number;
921
965
  readonly bill_new: () => number;
922
966
  readonly api_general: () => number;
923
967
  readonly api_identity: () => number;
968
+ readonly api_identity_proof: () => number;
924
969
  readonly api_notification: () => number;
925
970
  readonly api_contact: () => number;
926
971
  readonly api_company: () => number;
927
- readonly __wbg_contact_free: (a: number, b: number) => void;
928
- readonly __wbg_notification_free: (a: number, b: number) => void;
929
- readonly __wbg_company_free: (a: number, b: number) => void;
930
- readonly __wbg_bill_free: (a: number, b: number) => void;
972
+ readonly __wbg_identityproof_free: (a: number, b: number) => void;
931
973
  readonly __wbg_identity_free: (a: number, b: number) => void;
974
+ readonly __wbg_notification_free: (a: number, b: number) => void;
932
975
  readonly __wbg_general_free: (a: number, b: number) => void;
976
+ readonly __wbg_contact_free: (a: number, b: number) => void;
977
+ readonly __wbg_bill_free: (a: number, b: number) => void;
978
+ readonly __wbg_company_free: (a: number, b: number) => void;
933
979
  readonly __wbindgen_malloc: (a: number, b: number) => number;
934
980
  readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
935
981
  readonly __wbindgen_exn_store: (a: number) => void;
@@ -938,11 +984,11 @@ export interface InitOutput {
938
984
  readonly __wbindgen_free: (a: number, b: number, c: number) => void;
939
985
  readonly __wbindgen_export_6: WebAssembly.Table;
940
986
  readonly __externref_table_dealloc: (a: number) => void;
941
- readonly wasm_bindgen__convert__closures_____invoke__hcd818624b91b38c6: (a: number, b: number) => void;
942
- readonly closure349_externref_shim: (a: number, b: number, c: any) => void;
943
- readonly wasm_bindgen__convert__closures_____invoke__h7d2bcf154647340c: (a: number, b: number) => void;
944
- readonly closure857_externref_shim_multivalue_shim: (a: number, b: number, c: any) => [number, number];
945
- readonly closure638_externref_shim: (a: number, b: number, c: any, d: any) => void;
987
+ readonly wasm_bindgen__convert__closures_____invoke__h0172cc400d3e2d99: (a: number, b: number) => void;
988
+ readonly closure353_externref_shim: (a: number, b: number, c: any) => void;
989
+ readonly wasm_bindgen__convert__closures_____invoke__h40be9c133f5df086: (a: number, b: number) => void;
990
+ readonly closure861_externref_shim_multivalue_shim: (a: number, b: number, c: any) => [number, number];
991
+ readonly closure643_externref_shim: (a: number, b: number, c: any, d: any) => void;
946
992
  readonly __wbindgen_start: () => void;
947
993
  }
948
994
 
package/index.js CHANGED
@@ -262,26 +262,26 @@ export function task_worker_entry_point(ptr) {
262
262
  }
263
263
 
264
264
  function __wbg_adapter_52(arg0, arg1) {
265
- wasm.wasm_bindgen__convert__closures_____invoke__hcd818624b91b38c6(arg0, arg1);
265
+ wasm.wasm_bindgen__convert__closures_____invoke__h0172cc400d3e2d99(arg0, arg1);
266
266
  }
267
267
 
268
268
  function __wbg_adapter_55(arg0, arg1, arg2) {
269
- wasm.closure349_externref_shim(arg0, arg1, arg2);
269
+ wasm.closure353_externref_shim(arg0, arg1, arg2);
270
270
  }
271
271
 
272
272
  function __wbg_adapter_58(arg0, arg1) {
273
- wasm.wasm_bindgen__convert__closures_____invoke__h7d2bcf154647340c(arg0, arg1);
273
+ wasm.wasm_bindgen__convert__closures_____invoke__h40be9c133f5df086(arg0, arg1);
274
274
  }
275
275
 
276
276
  function __wbg_adapter_65(arg0, arg1, arg2) {
277
- const ret = wasm.closure857_externref_shim_multivalue_shim(arg0, arg1, arg2);
277
+ const ret = wasm.closure861_externref_shim_multivalue_shim(arg0, arg1, arg2);
278
278
  if (ret[1]) {
279
279
  throw takeFromExternrefTable0(ret[0]);
280
280
  }
281
281
  }
282
282
 
283
- function __wbg_adapter_252(arg0, arg1, arg2, arg3) {
284
- wasm.closure638_externref_shim(arg0, arg1, arg2, arg3);
283
+ function __wbg_adapter_259(arg0, arg1, arg2, arg3) {
284
+ wasm.closure643_externref_shim(arg0, arg1, arg2, arg3);
285
285
  }
286
286
 
287
287
  /**
@@ -357,6 +357,13 @@ export class Api {
357
357
  const ret = wasm.api_bill();
358
358
  return Identity.__wrap(ret);
359
359
  }
360
+ /**
361
+ * @returns {IdentityProof}
362
+ */
363
+ static identity_proof() {
364
+ const ret = wasm.api_bill();
365
+ return IdentityProof.__wrap(ret);
366
+ }
360
367
  /**
361
368
  * @returns {Notification}
362
369
  */
@@ -1188,6 +1195,93 @@ export class Identity {
1188
1195
  }
1189
1196
  }
1190
1197
 
1198
+ const IdentityProofFinalization = (typeof FinalizationRegistry === 'undefined')
1199
+ ? { register: () => {}, unregister: () => {} }
1200
+ : new FinalizationRegistry(ptr => wasm.__wbg_identityproof_free(ptr >>> 0, 1));
1201
+
1202
+ export class IdentityProof {
1203
+
1204
+ static __wrap(ptr) {
1205
+ ptr = ptr >>> 0;
1206
+ const obj = Object.create(IdentityProof.prototype);
1207
+ obj.__wbg_ptr = ptr;
1208
+ IdentityProofFinalization.register(obj, obj.__wbg_ptr, obj);
1209
+ return obj;
1210
+ }
1211
+
1212
+ __destroy_into_raw() {
1213
+ const ptr = this.__wbg_ptr;
1214
+ this.__wbg_ptr = 0;
1215
+ IdentityProofFinalization.unregister(this);
1216
+ return ptr;
1217
+ }
1218
+
1219
+ free() {
1220
+ const ptr = this.__destroy_into_raw();
1221
+ wasm.__wbg_identityproof_free(ptr, 0);
1222
+ }
1223
+ /**
1224
+ * @returns {IdentityProof}
1225
+ */
1226
+ static new() {
1227
+ const ret = wasm.api_bill();
1228
+ return IdentityProof.__wrap(ret);
1229
+ }
1230
+ /**
1231
+ * Get identity stamp to post on social media for the currently selected identity
1232
+ * @returns {Promise<string>}
1233
+ */
1234
+ get_identity_stamp() {
1235
+ const ret = wasm.identityproof_get_identity_stamp(this.__wbg_ptr);
1236
+ return ret;
1237
+ }
1238
+ /**
1239
+ * Fetch identity proofs for the currently selected identity
1240
+ * @returns {IdentityProofWeb[]}
1241
+ */
1242
+ list() {
1243
+ const ret = wasm.identityproof_list(this.__wbg_ptr);
1244
+ return ret;
1245
+ }
1246
+ /**
1247
+ * Add identity proof for the currently selected identity
1248
+ * @param {string} url
1249
+ * @param {string} stamp
1250
+ * @returns {IdentityProofWeb}
1251
+ */
1252
+ add(url, stamp) {
1253
+ const ptr0 = passStringToWasm0(url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1254
+ const len0 = WASM_VECTOR_LEN;
1255
+ const ptr1 = passStringToWasm0(stamp, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1256
+ const len1 = WASM_VECTOR_LEN;
1257
+ const ret = wasm.identityproof_add(this.__wbg_ptr, ptr0, len0, ptr1, len1);
1258
+ return ret;
1259
+ }
1260
+ /**
1261
+ * Archive the identity proof with the given id for the currently selected identity
1262
+ * @param {string} id
1263
+ * @returns {Promise<void>}
1264
+ */
1265
+ archive(id) {
1266
+ const ptr0 = passStringToWasm0(id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1267
+ const len0 = WASM_VECTOR_LEN;
1268
+ const ret = wasm.identityproof_archive(this.__wbg_ptr, ptr0, len0);
1269
+ return ret;
1270
+ }
1271
+ /**
1272
+ * Re-check the identity proof by its URL with the given id for the currently selected identity
1273
+ * returning the new result
1274
+ * @param {string} id
1275
+ * @returns {IdentityProofWeb}
1276
+ */
1277
+ re_check(id) {
1278
+ const ptr0 = passStringToWasm0(id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1279
+ const len0 = WASM_VECTOR_LEN;
1280
+ const ret = wasm.identityproof_re_check(this.__wbg_ptr, ptr0, len0);
1281
+ return ret;
1282
+ }
1283
+ }
1284
+
1191
1285
  const NotificationFinalization = (typeof FinalizationRegistry === 'undefined')
1192
1286
  ? { register: () => {}, unregister: () => {} }
1193
1287
  : new FinalizationRegistry(ptr => wasm.__wbg_notification_free(ptr >>> 0, 1));
@@ -1221,7 +1315,7 @@ export class Notification {
1221
1315
  return Notification.__wrap(ret);
1222
1316
  }
1223
1317
  /**
1224
- * @param {Vec<String>} node_ids
1318
+ * @param {string[]} node_ids
1225
1319
  * @returns {NotificationStatusWeb[]}
1226
1320
  */
1227
1321
  active_notifications_for_node_ids(node_ids) {
@@ -1648,7 +1742,7 @@ function __wbg_get_imports() {
1648
1742
  const a = state0.a;
1649
1743
  state0.a = 0;
1650
1744
  try {
1651
- return __wbg_adapter_252(a, state0.b, arg0, arg1);
1745
+ return __wbg_adapter_259(a, state0.b, arg0, arg1);
1652
1746
  } finally {
1653
1747
  state0.a = a;
1654
1748
  }
@@ -1946,6 +2040,10 @@ function __wbg_get_imports() {
1946
2040
  const ret = arg0.target;
1947
2041
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1948
2042
  };
2043
+ imports.wbg.__wbg_text_ec0e22f60e30dd2f = function() { return handleError(function (arg0) {
2044
+ const ret = arg0.text();
2045
+ return ret;
2046
+ }, arguments) };
1949
2047
  imports.wbg.__wbg_then_82ab9fb4080f1707 = function(arg0, arg1, arg2) {
1950
2048
  const ret = arg0.then(arg1, arg2);
1951
2049
  return ret;
@@ -2031,36 +2129,36 @@ function __wbg_get_imports() {
2031
2129
  const ret = false;
2032
2130
  return ret;
2033
2131
  };
2034
- imports.wbg.__wbindgen_closure_wrapper10317 = function(arg0, arg1, arg2) {
2035
- const ret = makeMutClosure(arg0, arg1, 715, __wbg_adapter_55);
2132
+ imports.wbg.__wbindgen_closure_wrapper10286 = function(arg0, arg1, arg2) {
2133
+ const ret = makeMutClosure(arg0, arg1, 711, __wbg_adapter_55);
2036
2134
  return ret;
2037
2135
  };
2038
- imports.wbg.__wbindgen_closure_wrapper11271 = function(arg0, arg1, arg2) {
2039
- const ret = makeMutClosure(arg0, arg1, 856, __wbg_adapter_65);
2136
+ imports.wbg.__wbindgen_closure_wrapper11305 = function(arg0, arg1, arg2) {
2137
+ const ret = makeMutClosure(arg0, arg1, 857, __wbg_adapter_58);
2040
2138
  return ret;
2041
2139
  };
2042
- imports.wbg.__wbindgen_closure_wrapper20023 = function(arg0, arg1, arg2) {
2043
- const ret = makeMutClosure(arg0, arg1, 628, __wbg_adapter_55);
2140
+ imports.wbg.__wbindgen_closure_wrapper11335 = function(arg0, arg1, arg2) {
2141
+ const ret = makeMutClosure(arg0, arg1, 860, __wbg_adapter_65);
2044
2142
  return ret;
2045
2143
  };
2046
- imports.wbg.__wbindgen_closure_wrapper20064 = function(arg0, arg1, arg2) {
2047
- const ret = makeMutClosure(arg0, arg1, 628, __wbg_adapter_58);
2144
+ imports.wbg.__wbindgen_closure_wrapper20108 = function(arg0, arg1, arg2) {
2145
+ const ret = makeMutClosure(arg0, arg1, 633, __wbg_adapter_55);
2048
2146
  return ret;
2049
2147
  };
2050
- imports.wbg.__wbindgen_closure_wrapper2147 = function(arg0, arg1, arg2) {
2051
- const ret = makeClosure(arg0, arg1, 348, __wbg_adapter_52);
2148
+ imports.wbg.__wbindgen_closure_wrapper20149 = function(arg0, arg1, arg2) {
2149
+ const ret = makeMutClosure(arg0, arg1, 633, __wbg_adapter_58);
2052
2150
  return ret;
2053
2151
  };
2054
- imports.wbg.__wbindgen_closure_wrapper2855 = function(arg0, arg1, arg2) {
2055
- const ret = makeMutClosure(arg0, arg1, 348, __wbg_adapter_55);
2152
+ imports.wbg.__wbindgen_closure_wrapper2189 = function(arg0, arg1, arg2) {
2153
+ const ret = makeClosure(arg0, arg1, 352, __wbg_adapter_52);
2056
2154
  return ret;
2057
2155
  };
2058
- imports.wbg.__wbindgen_closure_wrapper5362 = function(arg0, arg1, arg2) {
2059
- const ret = makeMutClosure(arg0, arg1, 853, __wbg_adapter_58);
2156
+ imports.wbg.__wbindgen_closure_wrapper2894 = function(arg0, arg1, arg2) {
2157
+ const ret = makeMutClosure(arg0, arg1, 352, __wbg_adapter_55);
2060
2158
  return ret;
2061
2159
  };
2062
- imports.wbg.__wbindgen_closure_wrapper8502 = function(arg0, arg1, arg2) {
2063
- const ret = makeMutClosure(arg0, arg1, 628, __wbg_adapter_58);
2160
+ imports.wbg.__wbindgen_closure_wrapper5457 = function(arg0, arg1, arg2) {
2161
+ const ret = makeMutClosure(arg0, arg1, 633, __wbg_adapter_58);
2064
2162
  return ret;
2065
2163
  };
2066
2164
  imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
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.4.5",
4
+ "version": "0.4.6",
5
5
  "license": "MIT",
6
6
  "files": [
7
7
  "index_bg.wasm",