@bitcredit/bcr-ebill-wasm 0.5.2 → 0.5.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
@@ -59,6 +59,22 @@ export interface BillAnonParticipantWeb {
59
59
 
60
60
  export interface BillCallerActionsWeb {
61
61
  bill_actions: BillCallerBillActionWeb[];
62
+ payment_actions: BillCallerPaymentActionWeb[];
63
+ }
64
+
65
+ export interface BillCallerPaymentStateWeb {
66
+ time_of_request: number;
67
+ currency: string;
68
+ sum: string;
69
+ link_to_pay: string;
70
+ address_to_pay: string;
71
+ mempool_link_for_address_to_pay: string;
72
+ status: PaymentStatusWeb;
73
+ payment_deadline: number;
74
+ tx_id: string | undefined;
75
+ in_mempool: boolean;
76
+ confirmations: number;
77
+ private_descriptor_to_spend: string | undefined;
62
78
  }
63
79
 
64
80
  export interface BillCombinedBitcoinKeyWeb {
@@ -147,6 +163,12 @@ export interface BillSellStatusWeb {
147
163
  buying_deadline_timestamp: number | undefined;
148
164
  }
149
165
 
166
+ export interface BillStateWeb {
167
+ mint: BillMintStateWeb;
168
+ accept: BillAcceptStateWeb;
169
+ payment: BillPaymentStateWeb;
170
+ }
171
+
150
172
  export interface BillStatusWeb {
151
173
  acceptance: BillAcceptanceStatusWeb;
152
174
  payment: BillPaymentStatusWeb;
@@ -230,6 +252,7 @@ export interface BitcreditBillWeb {
230
252
  participants: BillParticipantsWeb;
231
253
  data: BillDataWeb;
232
254
  status: BillStatusWeb;
255
+ state: BillStateWeb;
233
256
  current_waiting_state: BillCurrentWaitingStateWeb | undefined;
234
257
  actions: BillCallerActionsWeb;
235
258
  }
@@ -490,6 +513,11 @@ export interface LightBillIdentParticipantWithAddressWeb {
490
513
  postal_address: PostalAddressWeb;
491
514
  }
492
515
 
516
+ export interface LightBillSignatoryWeb {
517
+ name: string | undefined;
518
+ node_id: string;
519
+ }
520
+
493
521
  export interface LightBillsResponse {
494
522
  bills: LightBitcreditBillWeb[];
495
523
  }
@@ -511,7 +539,7 @@ export interface LightBitcreditBillWeb {
511
539
 
512
540
  export interface LightSignedByWeb {
513
541
  data: LightBillParticipantWeb;
514
- signatory: LightBillIdentParticipantWeb | undefined;
542
+ signatory: LightBillSignatoryWeb | undefined;
515
543
  }
516
544
 
517
545
  export interface ListSignatoriesResponse {
@@ -649,7 +677,7 @@ export interface PastPaymentDataPaymentWeb {
649
677
  address_to_pay: string;
650
678
  private_descriptor_to_spend: string;
651
679
  mempool_link_for_address_to_pay: string;
652
- status: PastPaymentStatusWeb;
680
+ status: PaymentStatusWeb;
653
681
  }
654
682
 
655
683
  export interface PastPaymentDataRecourseWeb {
@@ -662,7 +690,7 @@ export interface PastPaymentDataRecourseWeb {
662
690
  address_to_pay: string;
663
691
  private_descriptor_to_spend: string;
664
692
  mempool_link_for_address_to_pay: string;
665
- status: PastPaymentStatusWeb;
693
+ status: PaymentStatusWeb;
666
694
  }
667
695
 
668
696
  export interface PastPaymentDataSellWeb {
@@ -675,7 +703,7 @@ export interface PastPaymentDataSellWeb {
675
703
  address_to_pay: string;
676
704
  private_descriptor_to_spend: string;
677
705
  mempool_link_for_address_to_pay: string;
678
- status: PastPaymentStatusWeb;
706
+ status: PaymentStatusWeb;
679
707
  }
680
708
 
681
709
  export interface PastPaymentsResponse {
@@ -833,14 +861,24 @@ export interface VerifyEmailPayload {
833
861
  confirmation_code: string;
834
862
  }
835
863
 
864
+ export type BillAcceptStateWeb = "None" | { Requested: number } | { Accepted: number } | { Expired: number } | { Rejected: number };
865
+
836
866
  export type BillCallerBillActionWeb = "RequestAcceptance" | "Accept" | "RequestToPay" | "OfferToSell" | "Sell" | "Endorse" | "RequestRecourseForAcceptance" | "RequestRecourseForPayment" | "Recourse" | "Mint" | "RejectAcceptance" | "RejectPayment" | "RejectBuying" | "RejectPaymentForRecourse";
837
867
 
868
+ export type BillCallerPaymentActionWeb = { Pay: BillCallerPaymentWeb } | { CheckPayment: BillCallerPaymentWeb };
869
+
870
+ export type BillCallerPaymentWeb = { Sell: { buyer: BillParticipantWeb; seller: BillParticipantWeb; state: BillCallerPaymentStateWeb } } | { Payment: { payer: BillIdentParticipantWeb; payee: BillParticipantWeb; state: BillCallerPaymentStateWeb } } | { Recourse: { recourser: BillParticipantWeb; recoursee: BillIdentParticipantWeb; state: BillCallerPaymentStateWeb } };
871
+
838
872
  export type BillCurrentWaitingStateWeb = { Sell: BillWaitingForSellStateWeb } | { Payment: BillWaitingForPaymentStateWeb } | { Recourse: BillWaitingForRecourseStateWeb };
839
873
 
874
+ export type BillMintStateWeb = "None" | "Requested";
875
+
840
876
  export type BillOpCodeWeb = "Issue" | "Accept" | "Endorse" | "RequestToAccept" | "RequestToPay" | "OfferToSell" | "Sell" | "Mint" | "RejectToAccept" | "RejectToPay" | "RejectToBuy" | "RejectToPayRecourse" | "RequestRecourse" | "Recourse";
841
877
 
842
878
  export type BillParticipantWeb = { Anon: BillAnonParticipantWeb } | { Ident: BillIdentParticipantWeb };
843
879
 
880
+ export type BillPaymentStateWeb = "None" | { Requested: number } | { Paid: number } | { Expired: number } | { Rejected: number };
881
+
844
882
  export type BillsFilterRoleWeb = "All" | "Payer" | "Payee" | "Contingent";
845
883
 
846
884
  export type CompanySignatoryStatusWeb = { Invited: { ts: number; inviter: string } } | { InviteAccepted: { ts: number } } | { InviteRejected: { ts: number } } | { InviteAcceptedIdentityProven: { ts: number; confirmation: IdentityEmailConfirmationWeb } } | { Removed: { ts: number; remover: string } };
@@ -859,7 +897,7 @@ export type NotificationTypeWeb = "General" | "Company" | "Bill" | "Contact";
859
897
 
860
898
  export type PastPaymentResultWeb = { Sell: PastPaymentDataSellWeb } | { Payment: PastPaymentDataPaymentWeb } | { Recourse: PastPaymentDataRecourseWeb };
861
899
 
862
- export type PastPaymentStatusWeb = { Paid: number } | { Rejected: number } | { Expired: number };
900
+ export type PaymentStatusWeb = { Requested: number } | { Paid: number } | { Rejected: number } | { Expired: number };
863
901
 
864
902
 
865
903
  export class Api {
@@ -1189,22 +1227,22 @@ export interface InitOutput {
1189
1227
  readonly general_new: () => number;
1190
1228
  readonly identity_new: () => number;
1191
1229
  readonly notification_new: () => number;
1230
+ readonly __wbg_notification_free: (a: number, b: number) => void;
1192
1231
  readonly __wbg_contact_free: (a: number, b: number) => void;
1193
- readonly __wbg_general_free: (a: number, b: number) => void;
1194
1232
  readonly __wbg_company_free: (a: number, b: number) => void;
1195
1233
  readonly __wbg_bill_free: (a: number, b: number) => void;
1196
- readonly __wbg_notification_free: (a: number, b: number) => void;
1197
1234
  readonly __wbg_identity_free: (a: number, b: number) => void;
1198
- readonly wasm_bindgen__closure__destroy__h2b64577c0d30e7ff: (a: number, b: number) => void;
1199
- readonly wasm_bindgen__closure__destroy__h56f6a1c416286713: (a: number, b: number) => void;
1200
- readonly wasm_bindgen__closure__destroy__h2681b741ef6c8dcf: (a: number, b: number) => void;
1201
- readonly wasm_bindgen__convert__closures_____invoke__h6aec09e193342f93: (a: number, b: number, c: any) => [number, number];
1202
- readonly wasm_bindgen__convert__closures_____invoke__h5f1e16860b61a77a: (a: number, b: number, c: any) => [number, number];
1203
- readonly wasm_bindgen__convert__closures_____invoke__h0a7adf7d3880a828: (a: number, b: number, c: any, d: any) => void;
1204
- readonly wasm_bindgen__convert__closures_____invoke__h60259d0a007c8ff6: (a: number, b: number, c: any) => void;
1205
- readonly wasm_bindgen__convert__closures_____invoke__h60259d0a007c8ff6_2: (a: number, b: number, c: any) => void;
1206
- readonly wasm_bindgen__convert__closures_____invoke__h3af009eb2e384dae: (a: number, b: number) => void;
1207
- readonly wasm_bindgen__convert__closures_____invoke__hf807c24f46a17e5e: (a: number, b: number) => void;
1235
+ readonly __wbg_general_free: (a: number, b: number) => void;
1236
+ readonly wasm_bindgen__closure__destroy__h09fbd19efde926e5: (a: number, b: number) => void;
1237
+ readonly wasm_bindgen__closure__destroy__h449cff5b9e4d94fb: (a: number, b: number) => void;
1238
+ readonly wasm_bindgen__closure__destroy__hf7912581150b7665: (a: number, b: number) => void;
1239
+ readonly wasm_bindgen__convert__closures_____invoke__he28c7d7169170f6c: (a: number, b: number, c: any) => [number, number];
1240
+ readonly wasm_bindgen__convert__closures_____invoke__h5a11856e308f2f3b: (a: number, b: number, c: any) => [number, number];
1241
+ readonly wasm_bindgen__convert__closures_____invoke__h890880bc264504f6: (a: number, b: number, c: any, d: any) => void;
1242
+ readonly wasm_bindgen__convert__closures_____invoke__h514b2025d9144009: (a: number, b: number, c: any) => void;
1243
+ readonly wasm_bindgen__convert__closures_____invoke__h514b2025d9144009_2: (a: number, b: number, c: any) => void;
1244
+ readonly wasm_bindgen__convert__closures_____invoke__h18fe93cc93023748: (a: number, b: number) => void;
1245
+ readonly wasm_bindgen__convert__closures_____invoke__h497077385a37d13e: (a: number, b: number) => void;
1208
1246
  readonly __wbindgen_malloc: (a: number, b: number) => number;
1209
1247
  readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
1210
1248
  readonly __wbindgen_exn_store: (a: number) => void;
package/index.js CHANGED
@@ -1395,10 +1395,10 @@ function __wbg_get_imports() {
1395
1395
  const ret = fetch(arg0);
1396
1396
  return ret;
1397
1397
  },
1398
- __wbg_getRandomValues_3dda8830c2565714: function() { return handleError(function (arg0, arg1) {
1398
+ __wbg_getRandomValues_3f44b700395062e5: function() { return handleError(function (arg0, arg1) {
1399
1399
  globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
1400
1400
  }, arguments); },
1401
- __wbg_getRandomValues_3f44b700395062e5: function() { return handleError(function (arg0, arg1) {
1401
+ __wbg_getRandomValues_a1cf2e70b003a59d: function() { return handleError(function (arg0, arg1) {
1402
1402
  globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
1403
1403
  }, arguments); },
1404
1404
  __wbg_getRandomValues_c44a50d8cfdaebeb: function() { return handleError(function (arg0, arg1) {
@@ -1592,7 +1592,7 @@ function __wbg_get_imports() {
1592
1592
  const a = state0.a;
1593
1593
  state0.a = 0;
1594
1594
  try {
1595
- return wasm_bindgen__convert__closures_____invoke__h0a7adf7d3880a828(a, state0.b, arg0, arg1);
1595
+ return wasm_bindgen__convert__closures_____invoke__h890880bc264504f6(a, state0.b, arg0, arg1);
1596
1596
  } finally {
1597
1597
  state0.a = a;
1598
1598
  }
@@ -1622,7 +1622,7 @@ function __wbg_get_imports() {
1622
1622
  const a = state0.a;
1623
1623
  state0.a = 0;
1624
1624
  try {
1625
- return wasm_bindgen__convert__closures_____invoke__h0a7adf7d3880a828(a, state0.b, arg0, arg1);
1625
+ return wasm_bindgen__convert__closures_____invoke__h890880bc264504f6(a, state0.b, arg0, arg1);
1626
1626
  } finally {
1627
1627
  state0.a = a;
1628
1628
  }
@@ -1661,14 +1661,14 @@ function __wbg_get_imports() {
1661
1661
  const ret = Date.now();
1662
1662
  return ret;
1663
1663
  },
1664
- __wbg_now_67c2115a7c146997: function() { return handleError(function () {
1665
- const ret = Date.now();
1666
- return ret;
1667
- }, arguments); },
1668
1664
  __wbg_now_6c1d1e978b8b5f6e: function(arg0) {
1669
1665
  const ret = arg0.now();
1670
1666
  return ret;
1671
1667
  },
1668
+ __wbg_now_ad1121946ba97ea0: function() { return handleError(function () {
1669
+ const ret = Date.now();
1670
+ return ret;
1671
+ }, arguments); },
1672
1672
  __wbg_now_c6d7a7d35f74f6f1: function(arg0) {
1673
1673
  const ret = arg0.now();
1674
1674
  return ret;
@@ -1958,38 +1958,38 @@ function __wbg_get_imports() {
1958
1958
  return ret;
1959
1959
  },
1960
1960
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
1961
- // Cast intrinsic for `Closure(Closure { dtor_idx: 61, function: Function { arguments: [Externref], shim_idx: 666, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1962
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h2b64577c0d30e7ff, wasm_bindgen__convert__closures_____invoke__h6aec09e193342f93);
1961
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 56, function: Function { arguments: [Externref], shim_idx: 664, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1962
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h09fbd19efde926e5, wasm_bindgen__convert__closures_____invoke__he28c7d7169170f6c);
1963
1963
  return ret;
1964
1964
  },
1965
1965
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
1966
- // Cast intrinsic for `Closure(Closure { dtor_idx: 61, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 322, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1967
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h2b64577c0d30e7ff, wasm_bindgen__convert__closures_____invoke__h60259d0a007c8ff6);
1966
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 56, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 326, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1967
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h09fbd19efde926e5, wasm_bindgen__convert__closures_____invoke__h514b2025d9144009);
1968
1968
  return ret;
1969
1969
  },
1970
1970
  __wbindgen_cast_0000000000000003: function(arg0, arg1) {
1971
- // Cast intrinsic for `Closure(Closure { dtor_idx: 61, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 322, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1972
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h2b64577c0d30e7ff, wasm_bindgen__convert__closures_____invoke__h60259d0a007c8ff6_2);
1971
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 56, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 326, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1972
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h09fbd19efde926e5, wasm_bindgen__convert__closures_____invoke__h514b2025d9144009_2);
1973
1973
  return ret;
1974
1974
  },
1975
1975
  __wbindgen_cast_0000000000000004: function(arg0, arg1) {
1976
- // Cast intrinsic for `Closure(Closure { dtor_idx: 61, function: Function { arguments: [], shim_idx: 325, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1977
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h2b64577c0d30e7ff, wasm_bindgen__convert__closures_____invoke__h3af009eb2e384dae);
1976
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 56, function: Function { arguments: [], shim_idx: 329, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1977
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h09fbd19efde926e5, wasm_bindgen__convert__closures_____invoke__h18fe93cc93023748);
1978
1978
  return ret;
1979
1979
  },
1980
1980
  __wbindgen_cast_0000000000000005: function(arg0, arg1) {
1981
- // Cast intrinsic for `Closure(Closure { dtor_idx: 61, function: Function { arguments: [], shim_idx: 62, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
1982
- const ret = makeClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h2b64577c0d30e7ff, wasm_bindgen__convert__closures_____invoke__hf807c24f46a17e5e);
1981
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 56, function: Function { arguments: [], shim_idx: 57, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
1982
+ const ret = makeClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h09fbd19efde926e5, wasm_bindgen__convert__closures_____invoke__h497077385a37d13e);
1983
1983
  return ret;
1984
1984
  },
1985
1985
  __wbindgen_cast_0000000000000006: function(arg0, arg1) {
1986
- // Cast intrinsic for `Closure(Closure { dtor_idx: 887, function: Function { arguments: [], shim_idx: 325, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1987
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h56f6a1c416286713, wasm_bindgen__convert__closures_____invoke__h3af009eb2e384dae);
1986
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 884, function: Function { arguments: [], shim_idx: 329, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1987
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h449cff5b9e4d94fb, wasm_bindgen__convert__closures_____invoke__h18fe93cc93023748);
1988
1988
  return ret;
1989
1989
  },
1990
1990
  __wbindgen_cast_0000000000000007: function(arg0, arg1) {
1991
- // Cast intrinsic for `Closure(Closure { dtor_idx: 892, function: Function { arguments: [NamedExternref("Event")], shim_idx: 893, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1992
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h2681b741ef6c8dcf, wasm_bindgen__convert__closures_____invoke__h5f1e16860b61a77a);
1991
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 889, function: Function { arguments: [NamedExternref("Event")], shim_idx: 890, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1992
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hf7912581150b7665, wasm_bindgen__convert__closures_____invoke__h5a11856e308f2f3b);
1993
1993
  return ret;
1994
1994
  },
1995
1995
  __wbindgen_cast_0000000000000008: function(arg0) {
@@ -2033,38 +2033,38 @@ function __wbg_get_imports() {
2033
2033
  };
2034
2034
  }
2035
2035
 
2036
- function wasm_bindgen__convert__closures_____invoke__h3af009eb2e384dae(arg0, arg1) {
2037
- wasm.wasm_bindgen__convert__closures_____invoke__h3af009eb2e384dae(arg0, arg1);
2036
+ function wasm_bindgen__convert__closures_____invoke__h18fe93cc93023748(arg0, arg1) {
2037
+ wasm.wasm_bindgen__convert__closures_____invoke__h18fe93cc93023748(arg0, arg1);
2038
2038
  }
2039
2039
 
2040
- function wasm_bindgen__convert__closures_____invoke__hf807c24f46a17e5e(arg0, arg1) {
2041
- wasm.wasm_bindgen__convert__closures_____invoke__hf807c24f46a17e5e(arg0, arg1);
2040
+ function wasm_bindgen__convert__closures_____invoke__h497077385a37d13e(arg0, arg1) {
2041
+ wasm.wasm_bindgen__convert__closures_____invoke__h497077385a37d13e(arg0, arg1);
2042
2042
  }
2043
2043
 
2044
- function wasm_bindgen__convert__closures_____invoke__h60259d0a007c8ff6(arg0, arg1, arg2) {
2045
- wasm.wasm_bindgen__convert__closures_____invoke__h60259d0a007c8ff6(arg0, arg1, arg2);
2044
+ function wasm_bindgen__convert__closures_____invoke__h514b2025d9144009(arg0, arg1, arg2) {
2045
+ wasm.wasm_bindgen__convert__closures_____invoke__h514b2025d9144009(arg0, arg1, arg2);
2046
2046
  }
2047
2047
 
2048
- function wasm_bindgen__convert__closures_____invoke__h60259d0a007c8ff6_2(arg0, arg1, arg2) {
2049
- wasm.wasm_bindgen__convert__closures_____invoke__h60259d0a007c8ff6_2(arg0, arg1, arg2);
2048
+ function wasm_bindgen__convert__closures_____invoke__h514b2025d9144009_2(arg0, arg1, arg2) {
2049
+ wasm.wasm_bindgen__convert__closures_____invoke__h514b2025d9144009_2(arg0, arg1, arg2);
2050
2050
  }
2051
2051
 
2052
- function wasm_bindgen__convert__closures_____invoke__h6aec09e193342f93(arg0, arg1, arg2) {
2053
- const ret = wasm.wasm_bindgen__convert__closures_____invoke__h6aec09e193342f93(arg0, arg1, arg2);
2052
+ function wasm_bindgen__convert__closures_____invoke__he28c7d7169170f6c(arg0, arg1, arg2) {
2053
+ const ret = wasm.wasm_bindgen__convert__closures_____invoke__he28c7d7169170f6c(arg0, arg1, arg2);
2054
2054
  if (ret[1]) {
2055
2055
  throw takeFromExternrefTable0(ret[0]);
2056
2056
  }
2057
2057
  }
2058
2058
 
2059
- function wasm_bindgen__convert__closures_____invoke__h5f1e16860b61a77a(arg0, arg1, arg2) {
2060
- const ret = wasm.wasm_bindgen__convert__closures_____invoke__h5f1e16860b61a77a(arg0, arg1, arg2);
2059
+ function wasm_bindgen__convert__closures_____invoke__h5a11856e308f2f3b(arg0, arg1, arg2) {
2060
+ const ret = wasm.wasm_bindgen__convert__closures_____invoke__h5a11856e308f2f3b(arg0, arg1, arg2);
2061
2061
  if (ret[1]) {
2062
2062
  throw takeFromExternrefTable0(ret[0]);
2063
2063
  }
2064
2064
  }
2065
2065
 
2066
- function wasm_bindgen__convert__closures_____invoke__h0a7adf7d3880a828(arg0, arg1, arg2, arg3) {
2067
- wasm.wasm_bindgen__convert__closures_____invoke__h0a7adf7d3880a828(arg0, arg1, arg2, arg3);
2066
+ function wasm_bindgen__convert__closures_____invoke__h890880bc264504f6(arg0, arg1, arg2, arg3) {
2067
+ wasm.wasm_bindgen__convert__closures_____invoke__h890880bc264504f6(arg0, arg1, arg2, arg3);
2068
2068
  }
2069
2069
 
2070
2070
 
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.2",
4
+ "version": "0.5.4",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",