@bitcredit/bcr-ebill-wasm 0.4.2 → 0.4.3

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
@@ -355,7 +355,7 @@ export interface LightBillIdentParticipantWithAddressWeb {
355
355
  postal_address: PostalAddressWeb;
356
356
  }
357
357
 
358
- export type LightBillParticipantWeb = { Anon: LightBillAnonParticipantWeb } | { Ident: LightBillIdentParticipantWeb };
358
+ export type LightBillParticipantWeb = { Anon: LightBillAnonParticipantWeb } | { Ident: LightBillIdentParticipantWithAddressWeb };
359
359
 
360
360
  export interface LightBillAnonParticipantWeb {
361
361
  node_id: string;
@@ -529,6 +529,11 @@ export interface SeedPhrase {
529
529
  seed_phrase: string;
530
530
  }
531
531
 
532
+ export interface NotificationStatusWeb {
533
+ node_id: string;
534
+ active: boolean;
535
+ }
536
+
532
537
  export interface NotificationWeb {
533
538
  id: string;
534
539
  node_id: string;
@@ -623,6 +628,12 @@ export interface BinaryFileResponse {
623
628
  content_type: string;
624
629
  }
625
630
 
631
+ export interface Base64FileResponse {
632
+ data: string;
633
+ name: string;
634
+ content_type: string;
635
+ }
636
+
626
637
  export interface UploadFile {
627
638
  data: number[];
628
639
  extension: string | undefined;
@@ -633,7 +644,7 @@ export interface UploadFileResponse {
633
644
  file_upload_id: string;
634
645
  }
635
646
 
636
- 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" | "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" | "InvalidFileName" | "UnknownNodeId" | "BackupNotSupported" | "CallerMustBeSignatory";
647
+ 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" | "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";
637
648
 
638
649
  export interface JsErrorData {
639
650
  error: JsErrorType;
@@ -701,6 +712,7 @@ export class Bill {
701
712
  past_endorsees(id: string): Promise<PastEndorseesResponse>;
702
713
  bitcoin_key(id: string): Promise<BillCombinedBitcoinKeyWeb>;
703
714
  attachment(bill_id: string, file_name: string): Promise<BinaryFileResponse>;
715
+ attachment_base64(bill_id: string, file_name: string): Promise<Base64FileResponse>;
704
716
  upload(payload: UploadFile): Promise<UploadFileResponse>;
705
717
  search(payload: BillsSearchFilterPayload): Promise<LightBillsResponse>;
706
718
  list_light(): Promise<LightBillsResponse>;
@@ -743,6 +755,7 @@ export class Company {
743
755
  free(): void;
744
756
  static new(): Company;
745
757
  file(id: string, file_name: string): Promise<BinaryFileResponse>;
758
+ file_base64(id: string, file_name: string): Promise<Base64FileResponse>;
746
759
  upload(payload: UploadFile): Promise<UploadFileResponse>;
747
760
  list(): Promise<CompaniesResponse>;
748
761
  list_signatories(id: string): Promise<ListSignatoriesResponse>;
@@ -757,6 +770,7 @@ export class Contact {
757
770
  free(): void;
758
771
  static new(): Contact;
759
772
  file(node_id: string, file_name: string): Promise<BinaryFileResponse>;
773
+ file_base64(node_id: string, file_name: string): Promise<Base64FileResponse>;
760
774
  upload(payload: UploadFile): Promise<UploadFileResponse>;
761
775
  list(): Promise<ContactsResponse>;
762
776
  detail(node_id: string): Promise<ContactWeb>;
@@ -780,6 +794,7 @@ export class Identity {
780
794
  free(): void;
781
795
  static new(): Identity;
782
796
  file(file_name: string): Promise<BinaryFileResponse>;
797
+ file_base64(file_name: string): Promise<Base64FileResponse>;
783
798
  upload(payload: UploadFile): Promise<UploadFileResponse>;
784
799
  detail(): Promise<IdentityWeb>;
785
800
  deanonymize(payload: NewIdentityPayload): Promise<IdentityWeb>;
@@ -794,6 +809,7 @@ export class Notification {
794
809
  private constructor();
795
810
  free(): void;
796
811
  static new(): Notification;
812
+ active_notifications_for_node_ids(node_ids: Vec<String>): Promise<NotificationStatusWeb[]>;
797
813
  subscribe(callback: Function): Promise<void>;
798
814
  list(filters: NotificationFilters): Promise<NotificationWeb[]>;
799
815
  mark_as_done(notification_id: string): Promise<void>;
@@ -809,6 +825,7 @@ export interface InitOutput {
809
825
  readonly bill_past_endorsees: (a: number, b: number, c: number) => any;
810
826
  readonly bill_bitcoin_key: (a: number, b: number, c: number) => any;
811
827
  readonly bill_attachment: (a: number, b: number, c: number, d: number, e: number) => any;
828
+ readonly bill_attachment_base64: (a: number, b: number, c: number, d: number, e: number) => any;
812
829
  readonly bill_upload: (a: number, b: any) => any;
813
830
  readonly bill_search: (a: number, b: any) => any;
814
831
  readonly bill_list_light: (a: number) => any;
@@ -840,6 +857,7 @@ export interface InitOutput {
840
857
  readonly bill_request_to_recourse_bill_acceptance: (a: number, b: any) => any;
841
858
  readonly bill_clear_bill_cache: (a: number) => any;
842
859
  readonly company_file: (a: number, b: number, c: number, d: number, e: number) => any;
860
+ readonly company_file_base64: (a: number, b: number, c: number, d: number, e: number) => any;
843
861
  readonly company_upload: (a: number, b: any) => any;
844
862
  readonly company_list: (a: number) => any;
845
863
  readonly company_list_signatories: (a: number, b: number, c: number) => any;
@@ -849,6 +867,7 @@ export interface InitOutput {
849
867
  readonly company_add_signatory: (a: number, b: any) => any;
850
868
  readonly company_remove_signatory: (a: number, b: any) => any;
851
869
  readonly contact_file: (a: number, b: number, c: number, d: number, e: number) => any;
870
+ readonly contact_file_base64: (a: number, b: number, c: number, d: number, e: number) => any;
852
871
  readonly contact_upload: (a: number, b: any) => any;
853
872
  readonly contact_list: (a: number) => any;
854
873
  readonly contact_detail: (a: number, b: number, c: number) => any;
@@ -862,6 +881,7 @@ export interface InitOutput {
862
881
  readonly general_overview: (a: number, b: number, c: number) => any;
863
882
  readonly general_search: (a: number, b: any) => any;
864
883
  readonly identity_file: (a: number, b: number, c: number) => any;
884
+ readonly identity_file_base64: (a: number, b: number, c: number) => any;
865
885
  readonly identity_upload: (a: number, b: any) => any;
866
886
  readonly identity_detail: (a: number) => any;
867
887
  readonly identity_deanonymize: (a: number, b: any) => any;
@@ -871,6 +891,7 @@ export interface InitOutput {
871
891
  readonly identity_switch: (a: number, b: any) => any;
872
892
  readonly identity_seed_backup: (a: number) => any;
873
893
  readonly identity_seed_recover: (a: number, b: any) => any;
894
+ readonly notification_active_notifications_for_node_ids: (a: number, b: any) => any;
874
895
  readonly notification_subscribe: (a: number, b: any) => any;
875
896
  readonly notification_list: (a: number, b: any) => any;
876
897
  readonly notification_mark_as_done: (a: number, b: number, c: number) => any;
@@ -896,11 +917,11 @@ export interface InitOutput {
896
917
  readonly api_contact: () => number;
897
918
  readonly api_company: () => number;
898
919
  readonly __wbg_identity_free: (a: number, b: number) => void;
920
+ readonly __wbg_bill_free: (a: number, b: number) => void;
921
+ readonly __wbg_company_free: (a: number, b: number) => void;
899
922
  readonly __wbg_notification_free: (a: number, b: number) => void;
900
- readonly __wbg_general_free: (a: number, b: number) => void;
901
923
  readonly __wbg_contact_free: (a: number, b: number) => void;
902
- readonly __wbg_company_free: (a: number, b: number) => void;
903
- readonly __wbg_bill_free: (a: number, b: number) => void;
924
+ readonly __wbg_general_free: (a: number, b: number) => void;
904
925
  readonly __wbindgen_malloc: (a: number, b: number) => number;
905
926
  readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
906
927
  readonly __wbindgen_exn_store: (a: number) => void;
@@ -912,7 +933,7 @@ export interface InitOutput {
912
933
  readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0540da42bd08d24f: (a: number, b: number) => void;
913
934
  readonly closure321_externref_shim: (a: number, b: number, c: any) => void;
914
935
  readonly closure832_externref_shim_multivalue_shim: (a: number, b: number, c: any) => [number, number];
915
- readonly closure608_externref_shim: (a: number, b: number, c: any, d: any) => void;
936
+ readonly closure607_externref_shim: (a: number, b: number, c: any, d: any) => void;
916
937
  readonly __wbindgen_start: () => void;
917
938
  }
918
939
 
package/index.js CHANGED
@@ -242,8 +242,8 @@ function __wbg_adapter_66(arg0, arg1, arg2) {
242
242
  }
243
243
  }
244
244
 
245
- function __wbg_adapter_247(arg0, arg1, arg2, arg3) {
246
- wasm.closure608_externref_shim(arg0, arg1, arg2, arg3);
245
+ function __wbg_adapter_252(arg0, arg1, arg2, arg3) {
246
+ wasm.closure607_externref_shim(arg0, arg1, arg2, arg3);
247
247
  }
248
248
 
249
249
  /**
@@ -425,6 +425,19 @@ export class Bill {
425
425
  const ret = wasm.bill_attachment(this.__wbg_ptr, ptr0, len0, ptr1, len1);
426
426
  return ret;
427
427
  }
428
+ /**
429
+ * @param {string} bill_id
430
+ * @param {string} file_name
431
+ * @returns {Base64FileResponse}
432
+ */
433
+ attachment_base64(bill_id, file_name) {
434
+ const ptr0 = passStringToWasm0(bill_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
435
+ const len0 = WASM_VECTOR_LEN;
436
+ const ptr1 = passStringToWasm0(file_name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
437
+ const len1 = WASM_VECTOR_LEN;
438
+ const ret = wasm.bill_attachment_base64(this.__wbg_ptr, ptr0, len0, ptr1, len1);
439
+ return ret;
440
+ }
428
441
  /**
429
442
  * @param {UploadFile} payload
430
443
  * @returns {UploadFileResponse}
@@ -726,6 +739,19 @@ export class Company {
726
739
  const ret = wasm.company_file(this.__wbg_ptr, ptr0, len0, ptr1, len1);
727
740
  return ret;
728
741
  }
742
+ /**
743
+ * @param {string} id
744
+ * @param {string} file_name
745
+ * @returns {Base64FileResponse}
746
+ */
747
+ file_base64(id, file_name) {
748
+ const ptr0 = passStringToWasm0(id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
749
+ const len0 = WASM_VECTOR_LEN;
750
+ const ptr1 = passStringToWasm0(file_name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
751
+ const len1 = WASM_VECTOR_LEN;
752
+ const ret = wasm.company_file_base64(this.__wbg_ptr, ptr0, len0, ptr1, len1);
753
+ return ret;
754
+ }
729
755
  /**
730
756
  * @param {UploadFile} payload
731
757
  * @returns {UploadFileResponse}
@@ -840,6 +866,19 @@ export class Contact {
840
866
  const ret = wasm.contact_file(this.__wbg_ptr, ptr0, len0, ptr1, len1);
841
867
  return ret;
842
868
  }
869
+ /**
870
+ * @param {string} node_id
871
+ * @param {string} file_name
872
+ * @returns {Base64FileResponse}
873
+ */
874
+ file_base64(node_id, file_name) {
875
+ const ptr0 = passStringToWasm0(node_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
876
+ const len0 = WASM_VECTOR_LEN;
877
+ const ptr1 = passStringToWasm0(file_name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
878
+ const len1 = WASM_VECTOR_LEN;
879
+ const ret = wasm.contact_file_base64(this.__wbg_ptr, ptr0, len0, ptr1, len1);
880
+ return ret;
881
+ }
843
882
  /**
844
883
  * @param {UploadFile} payload
845
884
  * @returns {UploadFileResponse}
@@ -1019,6 +1058,16 @@ export class Identity {
1019
1058
  const ret = wasm.identity_file(this.__wbg_ptr, ptr0, len0);
1020
1059
  return ret;
1021
1060
  }
1061
+ /**
1062
+ * @param {string} file_name
1063
+ * @returns {Base64FileResponse}
1064
+ */
1065
+ file_base64(file_name) {
1066
+ const ptr0 = passStringToWasm0(file_name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1067
+ const len0 = WASM_VECTOR_LEN;
1068
+ const ret = wasm.identity_file_base64(this.__wbg_ptr, ptr0, len0);
1069
+ return ret;
1070
+ }
1022
1071
  /**
1023
1072
  * @param {UploadFile} payload
1024
1073
  * @returns {UploadFileResponse}
@@ -1122,6 +1171,14 @@ export class Notification {
1122
1171
  const ret = wasm.api_bill();
1123
1172
  return Notification.__wrap(ret);
1124
1173
  }
1174
+ /**
1175
+ * @param {Vec<String>} node_ids
1176
+ * @returns {NotificationStatusWeb[]}
1177
+ */
1178
+ active_notifications_for_node_ids(node_ids) {
1179
+ const ret = wasm.notification_active_notifications_for_node_ids(this.__wbg_ptr, node_ids);
1180
+ return ret;
1181
+ }
1125
1182
  /**
1126
1183
  * @param {Function} callback
1127
1184
  * @returns {Promise<void>}
@@ -1301,9 +1358,6 @@ function __wbg_get_imports() {
1301
1358
  const ret = Object.entries(arg0);
1302
1359
  return ret;
1303
1360
  };
1304
- imports.wbg.__wbg_error_1d3b71fa51de155e = function(arg0, arg1) {
1305
- console.error(getStringFromWasm0(arg0, arg1));
1306
- };
1307
1361
  imports.wbg.__wbg_error_7534b8e9a36f1ab4 = function(arg0, arg1) {
1308
1362
  let deferred0_0;
1309
1363
  let deferred0_1;
@@ -1318,6 +1372,9 @@ function __wbg_get_imports() {
1318
1372
  imports.wbg.__wbg_error_80de38b3f7cc3c3c = function(arg0, arg1, arg2, arg3) {
1319
1373
  console.error(arg0, arg1, arg2, arg3);
1320
1374
  };
1375
+ imports.wbg.__wbg_error_e98c298703cffa97 = function(arg0, arg1) {
1376
+ console.error(getStringFromWasm0(arg0, arg1));
1377
+ };
1321
1378
  imports.wbg.__wbg_error_ff4ddaabdfc5dbb3 = function() { return handleError(function (arg0) {
1322
1379
  const ret = arg0.error;
1323
1380
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
@@ -1442,16 +1499,6 @@ function __wbg_get_imports() {
1442
1499
  const ret = result;
1443
1500
  return ret;
1444
1501
  };
1445
- imports.wbg.__wbg_instanceof_Window_def73ea0955fc569 = function(arg0) {
1446
- let result;
1447
- try {
1448
- result = arg0 instanceof Window;
1449
- } catch (_) {
1450
- result = false;
1451
- }
1452
- const ret = result;
1453
- return ret;
1454
- };
1455
1502
  imports.wbg.__wbg_isArray_a1eab7e0d067391b = function(arg0) {
1456
1503
  const ret = Array.isArray(arg0);
1457
1504
  return ret;
@@ -1502,7 +1549,7 @@ function __wbg_get_imports() {
1502
1549
  const a = state0.a;
1503
1550
  state0.a = 0;
1504
1551
  try {
1505
- return __wbg_adapter_247(a, state0.b, arg0, arg1);
1552
+ return __wbg_adapter_252(a, state0.b, arg0, arg1);
1506
1553
  } finally {
1507
1554
  state0.a = a;
1508
1555
  }
@@ -1899,31 +1946,31 @@ function __wbg_get_imports() {
1899
1946
  const ret = false;
1900
1947
  return ret;
1901
1948
  };
1902
- imports.wbg.__wbindgen_closure_wrapper10795 = function(arg0, arg1, arg2) {
1949
+ imports.wbg.__wbindgen_closure_wrapper10852 = function(arg0, arg1, arg2) {
1903
1950
  const ret = makeMutClosure(arg0, arg1, 830, __wbg_adapter_54);
1904
1951
  return ret;
1905
1952
  };
1906
- imports.wbg.__wbindgen_closure_wrapper10818 = function(arg0, arg1, arg2) {
1953
+ imports.wbg.__wbindgen_closure_wrapper10876 = function(arg0, arg1, arg2) {
1907
1954
  const ret = makeMutClosure(arg0, arg1, 833, __wbg_adapter_66);
1908
1955
  return ret;
1909
1956
  };
1910
- imports.wbg.__wbindgen_closure_wrapper19529 = function(arg0, arg1, arg2) {
1911
- const ret = makeMutClosure(arg0, arg1, 598, __wbg_adapter_57);
1957
+ imports.wbg.__wbindgen_closure_wrapper19584 = function(arg0, arg1, arg2) {
1958
+ const ret = makeMutClosure(arg0, arg1, 597, __wbg_adapter_57);
1912
1959
  return ret;
1913
1960
  };
1914
- imports.wbg.__wbindgen_closure_wrapper2086 = function(arg0, arg1, arg2) {
1915
- const ret = makeMutClosure(arg0, arg1, 598, __wbg_adapter_54);
1961
+ imports.wbg.__wbindgen_closure_wrapper2122 = function(arg0, arg1, arg2) {
1962
+ const ret = makeMutClosure(arg0, arg1, 597, __wbg_adapter_54);
1916
1963
  return ret;
1917
1964
  };
1918
- imports.wbg.__wbindgen_closure_wrapper2796 = function(arg0, arg1, arg2) {
1965
+ imports.wbg.__wbindgen_closure_wrapper2829 = function(arg0, arg1, arg2) {
1919
1966
  const ret = makeMutClosure(arg0, arg1, 322, __wbg_adapter_57);
1920
1967
  return ret;
1921
1968
  };
1922
- imports.wbg.__wbindgen_closure_wrapper2923 = function(arg0, arg1, arg2) {
1923
- const ret = makeMutClosure(arg0, arg1, 598, __wbg_adapter_54);
1969
+ imports.wbg.__wbindgen_closure_wrapper2954 = function(arg0, arg1, arg2) {
1970
+ const ret = makeMutClosure(arg0, arg1, 597, __wbg_adapter_54);
1924
1971
  return ret;
1925
1972
  };
1926
- imports.wbg.__wbindgen_closure_wrapper9770 = function(arg0, arg1, arg2) {
1973
+ imports.wbg.__wbindgen_closure_wrapper9845 = function(arg0, arg1, arg2) {
1927
1974
  const ret = makeMutClosure(arg0, arg1, 683, __wbg_adapter_57);
1928
1975
  return ret;
1929
1976
  };
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.2",
4
+ "version": "0.4.3",
5
5
  "license": "MIT",
6
6
  "files": [
7
7
  "index_bg.wasm",