@bitcredit/bcr-ebill-wasm 0.5.2 → 0.5.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
@@ -1189,22 +1189,22 @@ export interface InitOutput {
1189
1189
  readonly general_new: () => number;
1190
1190
  readonly identity_new: () => number;
1191
1191
  readonly notification_new: () => number;
1192
- readonly __wbg_contact_free: (a: number, b: number) => void;
1193
- readonly __wbg_general_free: (a: number, b: number) => void;
1194
1192
  readonly __wbg_company_free: (a: number, b: number) => void;
1195
1193
  readonly __wbg_bill_free: (a: number, b: number) => void;
1196
1194
  readonly __wbg_notification_free: (a: number, b: number) => void;
1195
+ readonly __wbg_contact_free: (a: number, b: number) => void;
1197
1196
  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;
1197
+ readonly __wbg_general_free: (a: number, b: number) => void;
1198
+ readonly wasm_bindgen__closure__destroy__h09fbd19efde926e5: (a: number, b: number) => void;
1199
+ readonly wasm_bindgen__closure__destroy__h449cff5b9e4d94fb: (a: number, b: number) => void;
1200
+ readonly wasm_bindgen__closure__destroy__hf7912581150b7665: (a: number, b: number) => void;
1201
+ readonly wasm_bindgen__convert__closures_____invoke__he28c7d7169170f6c: (a: number, b: number, c: any) => [number, number];
1202
+ readonly wasm_bindgen__convert__closures_____invoke__h5a11856e308f2f3b: (a: number, b: number, c: any) => [number, number];
1203
+ readonly wasm_bindgen__convert__closures_____invoke__h890880bc264504f6: (a: number, b: number, c: any, d: any) => void;
1204
+ readonly wasm_bindgen__convert__closures_____invoke__h514b2025d9144009: (a: number, b: number, c: any) => void;
1205
+ readonly wasm_bindgen__convert__closures_____invoke__h514b2025d9144009_2: (a: number, b: number, c: any) => void;
1206
+ readonly wasm_bindgen__convert__closures_____invoke__h18fe93cc93023748: (a: number, b: number) => void;
1207
+ readonly wasm_bindgen__convert__closures_____invoke__h497077385a37d13e: (a: number, b: number) => void;
1208
1208
  readonly __wbindgen_malloc: (a: number, b: number) => number;
1209
1209
  readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
1210
1210
  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: 665, 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: 886, 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: 891, function: Function { arguments: [NamedExternref("Event")], shim_idx: 892, 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.3",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",