@bitcredit/bcr-ebill-wasm 0.3.2 → 0.3.4

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
@@ -148,6 +148,53 @@ export interface PastEndorseesResponse {
148
148
  past_endorsees: PastEndorseeWeb[];
149
149
  }
150
150
 
151
+ export interface PastPaymentsResponse {
152
+ past_payments: PastPaymentResultWeb[];
153
+ }
154
+
155
+ export type PastPaymentResultWeb = { Sell: PastPaymentDataSellWeb } | { Payment: PastPaymentDataPaymentWeb } | { Recourse: PastPaymentDataRecourseWeb };
156
+
157
+ export type PastPaymentStatusWeb = { Paid: number } | { Rejected: number } | { Expired: number };
158
+
159
+ export interface PastPaymentDataSellWeb {
160
+ time_of_request: number;
161
+ buyer: IdentityPublicDataWeb;
162
+ seller: IdentityPublicDataWeb;
163
+ currency: string;
164
+ sum: string;
165
+ link_to_pay: string;
166
+ address_to_pay: string;
167
+ private_key_to_spend: string;
168
+ mempool_link_for_address_to_pay: string;
169
+ status: PastPaymentStatusWeb;
170
+ }
171
+
172
+ export interface PastPaymentDataPaymentWeb {
173
+ time_of_request: number;
174
+ payer: IdentityPublicDataWeb;
175
+ payee: IdentityPublicDataWeb;
176
+ currency: string;
177
+ sum: string;
178
+ link_to_pay: string;
179
+ address_to_pay: string;
180
+ private_key_to_spend: string;
181
+ mempool_link_for_address_to_pay: string;
182
+ status: PastPaymentStatusWeb;
183
+ }
184
+
185
+ export interface PastPaymentDataRecourseWeb {
186
+ time_of_request: number;
187
+ recourser: IdentityPublicDataWeb;
188
+ recoursee: IdentityPublicDataWeb;
189
+ currency: string;
190
+ sum: string;
191
+ link_to_pay: string;
192
+ address_to_pay: string;
193
+ private_key_to_spend: string;
194
+ mempool_link_for_address_to_pay: string;
195
+ status: PastPaymentStatusWeb;
196
+ }
197
+
151
198
  export interface BitcreditEbillQuote {
152
199
  bill_id: string;
153
200
  quote_id: string;
@@ -207,6 +254,7 @@ export interface BillStatusWeb {
207
254
  sell: BillSellStatusWeb;
208
255
  recourse: BillRecourseStatusWeb;
209
256
  redeemed_funds_available: boolean;
257
+ has_requested_funds: boolean;
210
258
  }
211
259
 
212
260
  export interface BillAcceptanceStatusWeb {
@@ -302,6 +350,19 @@ export interface LightIdentityPublicDataWeb {
302
350
  node_id: string;
303
351
  }
304
352
 
353
+ export interface NotificationWeb {
354
+ id: string;
355
+ node_id: string | undefined;
356
+ notification_type: NotificationTypeWeb;
357
+ reference_id: string | undefined;
358
+ description: string;
359
+ datetime: string;
360
+ active: boolean;
361
+ payload: any | undefined;
362
+ }
363
+
364
+ export type NotificationTypeWeb = "General" | "Bill";
365
+
305
366
  export interface StatusResponse {
306
367
  bitcoin_network: string;
307
368
  app_version: string;
@@ -383,6 +444,22 @@ export interface UploadFileResponse {
383
444
  file_upload_id: string;
384
445
  }
385
446
 
447
+ export type JsErrorType = "FieldEmpty" | "InvalidSum" | "InvalidCurrency" | "InvalidPaymentAddress" | "InvalidContentType" | "InvalidContactType" | "InvalidDate" | "InvalidFileUploadId" | "InvalidBillType" | "DraweeCantBePayee" | "EndorserCantBeEndorsee" | "BuyerCantBeSeller" | "RecourserCantBeRecoursee" | "DraweeNotInContacts" | "PayeeNotInContacts" | "MintNotInContacts" | "BuyerNotInContacts" | "EndorseeNotInContacts" | "RecourseeNotInContacts" | "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" | "BillRequestedToPayBeforeMaturityDate" | "DrawerIsNotBillIssuer" | "SignatoryNotInContacts" | "SignatoryAlreadySignatory" | "CantRemoveLastSignatory" | "NotASignatory" | "InvalidSecp256k1Key" | "FileIsTooBig" | "InvalidFileName" | "UnknownNodeId" | "BackupNotSupported" | "CallerMustBeSignatory";
448
+
449
+ export interface JsErrorData {
450
+ error: JsErrorType;
451
+ message: string;
452
+ code: number;
453
+ }
454
+
455
+ export interface Config {
456
+ log_level: string | undefined;
457
+ bitcoin_network: string;
458
+ nostr_relay: string;
459
+ job_runner_initial_delay_seconds: number;
460
+ job_runner_check_interval_seconds: number;
461
+ }
462
+
386
463
  export interface SwitchIdentity {
387
464
  t: IdentityTypeWeb | undefined;
388
465
  node_id: string;
@@ -543,35 +620,6 @@ export interface ContactWeb {
543
620
  nostr_relays: string[];
544
621
  }
545
622
 
546
- export interface NotificationWeb {
547
- id: string;
548
- node_id: string | undefined;
549
- notification_type: NotificationTypeWeb;
550
- reference_id: string | undefined;
551
- description: string;
552
- datetime: string;
553
- active: boolean;
554
- payload: any | undefined;
555
- }
556
-
557
- export type NotificationTypeWeb = "General" | "Bill";
558
-
559
- export type JsErrorType = "NoFileForFileUploadId" | "NotFound" | "Validation" | "ExternalApi" | "Io" | "Crypto" | "Persistence" | "Blockchain" | "Serialization" | "Init" | "NotificationNetwork" | "NotificationMessage" | "InvalidBillType" | "InvalidOperation" | "BillAlreadyAccepted" | "BillAlreadyRequestedToAccept" | "BillNotAccepted" | "CallerIsNotDrawee" | "CallerIsNotHolder" | "CallerIsNotRecoursee" | "CallerIsNotBuyer" | "RequestAlreadyExpired" | "RequestAlreadyRejected" | "BillAlreadyPaid" | "BillWasNotRequestedToAccept" | "BillWasNotRequestedToPay" | "BillWasNotOfferedToSell" | "BillRequestToAcceptDidNotExpireAndWasNotRejected" | "BillRequestToPayDidNotExpireAndWasNotRejected" | "RecourseeNotPastHolder" | "BillWasNotRequestedToRecourse" | "BillIsNotRequestedToRecourseAndWaitingForPayment" | "BillIsNotOfferToSellWaitingForPayment" | "BillSellDataInvalid" | "BillRecourseDataInvalid" | "BillIsRequestedToPayAndWaitingForPayment" | "BillIsOfferedToSellAndWaitingForPayment" | "BillIsInRecourseAndWaitingForPayment" | "BillIsRequestedToPay";
560
-
561
- export interface JsErrorData {
562
- error: JsErrorType;
563
- message: string;
564
- code: number;
565
- }
566
-
567
- export interface Config {
568
- log_level: string | undefined;
569
- bitcoin_network: string;
570
- nostr_relay: string;
571
- job_runner_initial_delay_seconds: number;
572
- job_runner_check_interval_seconds: number;
573
- }
574
-
575
623
  export class Api {
576
624
  private constructor();
577
625
  free(): void;
@@ -588,6 +636,7 @@ export class Bill {
588
636
  free(): void;
589
637
  static new(): Bill;
590
638
  endorsements(id: string): Promise<EndorsementsResponse>;
639
+ past_payments(id: string): Promise<PastPaymentsResponse>;
591
640
  past_endorsees(id: string): Promise<PastEndorseesResponse>;
592
641
  bitcoin_key(id: string): Promise<BillCombinedBitcoinKeyWeb>;
593
642
  attachment(bill_id: string, file_name: string): Promise<BinaryFileResponse>;
@@ -684,24 +733,10 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
684
733
 
685
734
  export interface InitOutput {
686
735
  readonly memory: WebAssembly.Memory;
687
- readonly __wbg_identity_free: (a: number, b: number) => void;
688
- readonly identity_new: () => number;
689
- readonly identity_file: (a: number, b: number, c: number) => any;
690
- readonly identity_upload: (a: number, b: any) => any;
691
- readonly identity_detail: (a: number) => any;
692
- readonly identity_create: (a: number, b: any) => any;
693
- readonly identity_change: (a: number, b: any) => any;
694
- readonly identity_active: (a: number) => any;
695
- readonly identity_switch: (a: number, b: any) => any;
696
- readonly identity_seed_backup: (a: number) => any;
697
- readonly identity_seed_recover: (a: number, b: any) => any;
698
- readonly __wbg_quote_free: (a: number, b: number) => void;
699
- readonly quote_get: (a: number, b: number, c: number) => any;
700
- readonly quote_accept: (a: number, b: number, c: number) => any;
701
- readonly quote_new: () => number;
702
736
  readonly __wbg_bill_free: (a: number, b: number) => void;
703
737
  readonly bill_new: () => number;
704
738
  readonly bill_endorsements: (a: number, b: number, c: number) => any;
739
+ readonly bill_past_payments: (a: number, b: number, c: number) => any;
705
740
  readonly bill_past_endorsees: (a: number, b: number, c: number) => any;
706
741
  readonly bill_bitcoin_key: (a: number, b: number, c: number) => any;
707
742
  readonly bill_attachment: (a: number, b: number, c: number, d: number, e: number) => any;
@@ -736,14 +771,45 @@ export interface InitOutput {
736
771
  readonly company_edit: (a: number, b: any) => any;
737
772
  readonly company_add_signatory: (a: number, b: any) => any;
738
773
  readonly company_remove_signatory: (a: number, b: any) => any;
774
+ readonly __wbg_notification_free: (a: number, b: number) => void;
775
+ readonly notification_subscribe: (a: number, b: any) => any;
776
+ readonly notification_list: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: bigint, i: number, j: bigint) => any;
777
+ readonly notification_mark_as_done: (a: number, b: number, c: number) => any;
778
+ readonly notification_trigger_test_msg: (a: number, b: any) => any;
779
+ readonly company_new: () => number;
780
+ readonly notification_new: () => number;
781
+ readonly __wbg_contact_free: (a: number, b: number) => void;
782
+ readonly contact_new: () => number;
783
+ readonly contact_file: (a: number, b: number, c: number, d: number, e: number) => any;
784
+ readonly contact_upload: (a: number, b: any) => any;
785
+ readonly contact_list: (a: number) => any;
786
+ readonly contact_detail: (a: number, b: number, c: number) => any;
787
+ readonly contact_remove: (a: number, b: number, c: number) => any;
788
+ readonly contact_create: (a: number, b: any) => any;
789
+ readonly contact_edit: (a: number, b: any) => any;
790
+ readonly initialize_api: (a: any) => any;
739
791
  readonly __wbg_general_free: (a: number, b: number) => void;
792
+ readonly general_new: () => number;
740
793
  readonly general_status: (a: number) => any;
741
794
  readonly general_currencies: (a: number) => any;
742
795
  readonly general_temp_file: (a: number, b: number, c: number) => any;
743
796
  readonly general_overview: (a: number, b: number, c: number) => any;
744
797
  readonly general_search: (a: number, b: any) => any;
745
- readonly company_new: () => number;
746
- readonly general_new: () => number;
798
+ readonly __wbg_identity_free: (a: number, b: number) => void;
799
+ readonly identity_file: (a: number, b: number, c: number) => any;
800
+ readonly identity_upload: (a: number, b: any) => any;
801
+ readonly identity_detail: (a: number) => any;
802
+ readonly identity_create: (a: number, b: any) => any;
803
+ readonly identity_change: (a: number, b: any) => any;
804
+ readonly identity_active: (a: number) => any;
805
+ readonly identity_switch: (a: number, b: any) => any;
806
+ readonly identity_seed_backup: (a: number) => any;
807
+ readonly identity_seed_recover: (a: number, b: any) => any;
808
+ readonly identity_new: () => number;
809
+ readonly __wbg_quote_free: (a: number, b: number) => void;
810
+ readonly quote_new: () => number;
811
+ readonly quote_get: (a: number, b: number, c: number) => any;
812
+ readonly quote_accept: (a: number, b: number, c: number) => any;
747
813
  readonly __wbg_api_free: (a: number, b: number) => void;
748
814
  readonly api_bill: () => number;
749
815
  readonly api_general: () => number;
@@ -752,22 +818,6 @@ export interface InitOutput {
752
818
  readonly api_contact: () => number;
753
819
  readonly api_company: () => number;
754
820
  readonly api_quote: () => number;
755
- readonly __wbg_contact_free: (a: number, b: number) => void;
756
- readonly contact_new: () => number;
757
- readonly contact_file: (a: number, b: number, c: number, d: number, e: number) => any;
758
- readonly contact_upload: (a: number, b: any) => any;
759
- readonly contact_list: (a: number) => any;
760
- readonly contact_detail: (a: number, b: number, c: number) => any;
761
- readonly contact_remove: (a: number, b: number, c: number) => any;
762
- readonly contact_create: (a: number, b: any) => any;
763
- readonly contact_edit: (a: number, b: any) => any;
764
- readonly __wbg_notification_free: (a: number, b: number) => void;
765
- readonly notification_new: () => number;
766
- readonly notification_subscribe: (a: number, b: any) => any;
767
- readonly notification_list: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: bigint, i: number, j: bigint) => any;
768
- readonly notification_mark_as_done: (a: number, b: number, c: number) => any;
769
- readonly notification_trigger_test_msg: (a: number, b: any) => any;
770
- readonly initialize_api: (a: any) => any;
771
821
  readonly task_worker_entry_point: (a: number) => [number, number];
772
822
  readonly ring_core_0_17_14__bn_mul_mont: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
773
823
  readonly rustsecp256k1_v0_10_0_context_create: (a: number) => number;
@@ -782,14 +832,14 @@ export interface InitOutput {
782
832
  readonly __wbindgen_free: (a: number, b: number, c: number) => void;
783
833
  readonly __wbindgen_export_6: WebAssembly.Table;
784
834
  readonly __externref_table_dealloc: (a: number) => void;
785
- readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h22fb1808b8ab2d8a: (a: number, b: number) => void;
786
- readonly closure4143_externref_shim_multivalue_shim: (a: number, b: number, c: any) => [number, number];
787
- readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3908efabe940eeba: (a: number, b: number) => void;
788
- readonly closure5666_externref_shim: (a: number, b: number, c: any) => void;
789
- readonly closure5903_externref_shim: (a: number, b: number, c: any) => void;
835
+ readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hea7ae37f53e31771: (a: number, b: number) => void;
836
+ readonly closure4180_externref_shim_multivalue_shim: (a: number, b: number, c: any) => [number, number];
837
+ readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hda04f07252086208: (a: number, b: number) => void;
838
+ readonly closure5758_externref_shim: (a: number, b: number, c: any) => void;
839
+ readonly closure5950_externref_shim: (a: number, b: number, c: any) => void;
790
840
  readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1098717e74983065: (a: number, b: number) => void;
791
- readonly closure6117_externref_shim: (a: number, b: number, c: any) => void;
792
- readonly closure6249_externref_shim: (a: number, b: number, c: any, d: any) => void;
841
+ readonly closure6152_externref_shim: (a: number, b: number, c: any) => void;
842
+ readonly closure6289_externref_shim: (a: number, b: number, c: any, d: any) => void;
793
843
  readonly __wbindgen_start: () => void;
794
844
  }
795
845
 
package/index.js CHANGED
@@ -228,26 +228,26 @@ export function task_worker_entry_point(ptr) {
228
228
  }
229
229
 
230
230
  function __wbg_adapter_54(arg0, arg1) {
231
- wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h22fb1808b8ab2d8a(arg0, arg1);
231
+ wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hea7ae37f53e31771(arg0, arg1);
232
232
  }
233
233
 
234
234
  function __wbg_adapter_57(arg0, arg1, arg2) {
235
- const ret = wasm.closure4143_externref_shim_multivalue_shim(arg0, arg1, arg2);
235
+ const ret = wasm.closure4180_externref_shim_multivalue_shim(arg0, arg1, arg2);
236
236
  if (ret[1]) {
237
237
  throw takeFromExternrefTable0(ret[0]);
238
238
  }
239
239
  }
240
240
 
241
241
  function __wbg_adapter_60(arg0, arg1) {
242
- wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3908efabe940eeba(arg0, arg1);
242
+ wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hda04f07252086208(arg0, arg1);
243
243
  }
244
244
 
245
245
  function __wbg_adapter_63(arg0, arg1, arg2) {
246
- wasm.closure5666_externref_shim(arg0, arg1, arg2);
246
+ wasm.closure5758_externref_shim(arg0, arg1, arg2);
247
247
  }
248
248
 
249
249
  function __wbg_adapter_66(arg0, arg1, arg2) {
250
- wasm.closure5903_externref_shim(arg0, arg1, arg2);
250
+ wasm.closure5950_externref_shim(arg0, arg1, arg2);
251
251
  }
252
252
 
253
253
  function __wbg_adapter_69(arg0, arg1) {
@@ -255,11 +255,11 @@ function __wbg_adapter_69(arg0, arg1) {
255
255
  }
256
256
 
257
257
  function __wbg_adapter_72(arg0, arg1, arg2) {
258
- wasm.closure6117_externref_shim(arg0, arg1, arg2);
258
+ wasm.closure6152_externref_shim(arg0, arg1, arg2);
259
259
  }
260
260
 
261
- function __wbg_adapter_430(arg0, arg1, arg2, arg3) {
262
- wasm.closure6249_externref_shim(arg0, arg1, arg2, arg3);
261
+ function __wbg_adapter_431(arg0, arg1, arg2, arg3) {
262
+ wasm.closure6289_externref_shim(arg0, arg1, arg2, arg3);
263
263
  }
264
264
 
265
265
  /**
@@ -397,6 +397,16 @@ export class Bill {
397
397
  const ret = wasm.bill_endorsements(this.__wbg_ptr, ptr0, len0);
398
398
  return ret;
399
399
  }
400
+ /**
401
+ * @param {string} id
402
+ * @returns {PastPaymentsResponse}
403
+ */
404
+ past_payments(id) {
405
+ const ptr0 = passStringToWasm0(id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
406
+ const len0 = WASM_VECTOR_LEN;
407
+ const ret = wasm.bill_past_payments(this.__wbg_ptr, ptr0, len0);
408
+ return ret;
409
+ }
400
410
  /**
401
411
  * @param {string} id
402
412
  * @returns {PastEndorseesResponse}
@@ -842,7 +852,7 @@ export class General {
842
852
  * @returns {General}
843
853
  */
844
854
  static new() {
845
- const ret = wasm.bill_new();
855
+ const ret = wasm.general_new();
846
856
  return General.__wrap(ret);
847
857
  }
848
858
  /**
@@ -918,7 +928,7 @@ export class Identity {
918
928
  * @returns {Identity}
919
929
  */
920
930
  static new() {
921
- const ret = wasm.identity_new();
931
+ const ret = wasm.general_new();
922
932
  return Identity.__wrap(ret);
923
933
  }
924
934
  /**
@@ -1023,7 +1033,7 @@ export class Notification {
1023
1033
  * @returns {Notification}
1024
1034
  */
1025
1035
  static new() {
1026
- const ret = wasm.notification_new();
1036
+ const ret = wasm.bill_new();
1027
1037
  return Notification.__wrap(ret);
1028
1038
  }
1029
1039
  /**
@@ -1099,7 +1109,7 @@ export class Quote {
1099
1109
  * @returns {Quote}
1100
1110
  */
1101
1111
  static new() {
1102
- const ret = wasm.identity_new();
1112
+ const ret = wasm.quote_new();
1103
1113
  return Quote.__wrap(ret);
1104
1114
  }
1105
1115
  /**
@@ -1458,7 +1468,7 @@ function __wbg_get_imports() {
1458
1468
  const a = state0.a;
1459
1469
  state0.a = 0;
1460
1470
  try {
1461
- return __wbg_adapter_430(a, state0.b, arg0, arg1);
1471
+ return __wbg_adapter_431(a, state0.b, arg0, arg1);
1462
1472
  } finally {
1463
1473
  state0.a = a;
1464
1474
  }
@@ -1855,32 +1865,32 @@ function __wbg_get_imports() {
1855
1865
  const ret = false;
1856
1866
  return ret;
1857
1867
  };
1858
- imports.wbg.__wbindgen_closure_wrapper21843 = function(arg0, arg1, arg2) {
1859
- const ret = makeMutClosure(arg0, arg1, 4144, __wbg_adapter_57);
1868
+ imports.wbg.__wbindgen_closure_wrapper21594 = function(arg0, arg1, arg2) {
1869
+ const ret = makeMutClosure(arg0, arg1, 4181, __wbg_adapter_57);
1860
1870
  return ret;
1861
1871
  };
1862
- imports.wbg.__wbindgen_closure_wrapper22360 = function(arg0, arg1, arg2) {
1863
- const ret = makeMutClosure(arg0, arg1, 4296, __wbg_adapter_60);
1872
+ imports.wbg.__wbindgen_closure_wrapper22106 = function(arg0, arg1, arg2) {
1873
+ const ret = makeMutClosure(arg0, arg1, 4329, __wbg_adapter_60);
1864
1874
  return ret;
1865
1875
  };
1866
- imports.wbg.__wbindgen_closure_wrapper27496 = function(arg0, arg1, arg2) {
1867
- const ret = makeMutClosure(arg0, arg1, 5667, __wbg_adapter_63);
1876
+ imports.wbg.__wbindgen_closure_wrapper27365 = function(arg0, arg1, arg2) {
1877
+ const ret = makeMutClosure(arg0, arg1, 5759, __wbg_adapter_63);
1868
1878
  return ret;
1869
1879
  };
1870
- imports.wbg.__wbindgen_closure_wrapper28173 = function(arg0, arg1, arg2) {
1871
- const ret = makeMutClosure(arg0, arg1, 5904, __wbg_adapter_66);
1880
+ imports.wbg.__wbindgen_closure_wrapper28024 = function(arg0, arg1, arg2) {
1881
+ const ret = makeMutClosure(arg0, arg1, 5951, __wbg_adapter_66);
1872
1882
  return ret;
1873
1883
  };
1874
- imports.wbg.__wbindgen_closure_wrapper29490 = function(arg0, arg1, arg2) {
1875
- const ret = makeMutClosure(arg0, arg1, 6108, __wbg_adapter_69);
1884
+ imports.wbg.__wbindgen_closure_wrapper29345 = function(arg0, arg1, arg2) {
1885
+ const ret = makeMutClosure(arg0, arg1, 6143, __wbg_adapter_69);
1876
1886
  return ret;
1877
1887
  };
1878
- imports.wbg.__wbindgen_closure_wrapper29515 = function(arg0, arg1, arg2) {
1879
- const ret = makeMutClosure(arg0, arg1, 6118, __wbg_adapter_72);
1888
+ imports.wbg.__wbindgen_closure_wrapper29370 = function(arg0, arg1, arg2) {
1889
+ const ret = makeMutClosure(arg0, arg1, 6153, __wbg_adapter_72);
1880
1890
  return ret;
1881
1891
  };
1882
- imports.wbg.__wbindgen_closure_wrapper3240 = function(arg0, arg1, arg2) {
1883
- const ret = makeMutClosure(arg0, arg1, 1312, __wbg_adapter_54);
1892
+ imports.wbg.__wbindgen_closure_wrapper3245 = function(arg0, arg1, arg2) {
1893
+ const ret = makeMutClosure(arg0, arg1, 1332, __wbg_adapter_54);
1884
1894
  return ret;
1885
1895
  };
1886
1896
  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.3.2",
4
+ "version": "0.3.4",
5
5
  "files": [
6
6
  "index_bg.wasm",
7
7
  "index.js",