@bitcredit/bcr-ebill-wasm 0.5.10 → 0.5.11
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 +11 -10
- package/index.js +31 -31
- package/index_bg.wasm +0 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -832,6 +832,7 @@ export interface RequestToPayBitcreditBillPayload {
|
|
|
832
832
|
|
|
833
833
|
export interface ResyncBillPayload {
|
|
834
834
|
bill_id: string;
|
|
835
|
+
from_nostr: boolean | undefined;
|
|
835
836
|
}
|
|
836
837
|
|
|
837
838
|
export interface ResyncCompanyPayload {
|
|
@@ -1300,19 +1301,19 @@ export interface InitOutput {
|
|
|
1300
1301
|
readonly general_new: () => number;
|
|
1301
1302
|
readonly identity_new: () => number;
|
|
1302
1303
|
readonly notification_new: () => number;
|
|
1303
|
-
readonly __wbg_general_free: (a: number, b: number) => void;
|
|
1304
|
-
readonly __wbg_notification_free: (a: number, b: number) => void;
|
|
1305
|
-
readonly __wbg_identity_free: (a: number, b: number) => void;
|
|
1306
1304
|
readonly __wbg_company_free: (a: number, b: number) => void;
|
|
1305
|
+
readonly __wbg_identity_free: (a: number, b: number) => void;
|
|
1307
1306
|
readonly __wbg_bill_free: (a: number, b: number) => void;
|
|
1307
|
+
readonly __wbg_general_free: (a: number, b: number) => void;
|
|
1308
|
+
readonly __wbg_notification_free: (a: number, b: number) => void;
|
|
1308
1309
|
readonly __wbg_contact_free: (a: number, b: number) => void;
|
|
1309
|
-
readonly
|
|
1310
|
-
readonly
|
|
1311
|
-
readonly
|
|
1312
|
-
readonly
|
|
1313
|
-
readonly
|
|
1314
|
-
readonly
|
|
1315
|
-
readonly
|
|
1310
|
+
readonly wasm_bindgen__convert__closures_____invoke__h530a5224cede6315: (a: number, b: number, c: any) => [number, number];
|
|
1311
|
+
readonly wasm_bindgen__convert__closures_____invoke__he12e2c2c758a874b: (a: number, b: number, c: any) => [number, number];
|
|
1312
|
+
readonly wasm_bindgen__convert__closures_____invoke__h62c232e8e81d95fd: (a: number, b: number, c: any, d: any) => void;
|
|
1313
|
+
readonly wasm_bindgen__convert__closures_____invoke__h5746da14375b4cd1: (a: number, b: number, c: any) => void;
|
|
1314
|
+
readonly wasm_bindgen__convert__closures_____invoke__h5746da14375b4cd1_3: (a: number, b: number, c: any) => void;
|
|
1315
|
+
readonly wasm_bindgen__convert__closures_____invoke__h94a5e05e3e2923e5: (a: number, b: number) => void;
|
|
1316
|
+
readonly wasm_bindgen__convert__closures_____invoke__hf24fdcc339bf6dbf: (a: number, b: number) => void;
|
|
1316
1317
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
1317
1318
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
1318
1319
|
readonly __wbindgen_exn_store: (a: number) => void;
|
package/index.js
CHANGED
|
@@ -1431,12 +1431,12 @@ function __wbg_get_imports() {
|
|
|
1431
1431
|
__wbg_getRandomValues_3f44b700395062e5: function() { return handleError(function (arg0, arg1) {
|
|
1432
1432
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
1433
1433
|
}, arguments); },
|
|
1434
|
+
__wbg_getRandomValues_8aa3112c6615eef6: function() { return handleError(function (arg0, arg1) {
|
|
1435
|
+
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
1436
|
+
}, arguments); },
|
|
1434
1437
|
__wbg_getRandomValues_c44a50d8cfdaebeb: function() { return handleError(function (arg0, arg1) {
|
|
1435
1438
|
arg0.getRandomValues(arg1);
|
|
1436
1439
|
}, arguments); },
|
|
1437
|
-
__wbg_getRandomValues_ef12552bf5acd2fe: function() { return handleError(function (arg0, arg1) {
|
|
1438
|
-
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
1439
|
-
}, arguments); },
|
|
1440
1440
|
__wbg_getTime_00b3f7db575e4ef5: function(arg0) {
|
|
1441
1441
|
const ret = arg0.getTime();
|
|
1442
1442
|
return ret;
|
|
@@ -1617,7 +1617,7 @@ function __wbg_get_imports() {
|
|
|
1617
1617
|
const a = state0.a;
|
|
1618
1618
|
state0.a = 0;
|
|
1619
1619
|
try {
|
|
1620
|
-
return
|
|
1620
|
+
return wasm_bindgen__convert__closures_____invoke__h62c232e8e81d95fd(a, state0.b, arg0, arg1);
|
|
1621
1621
|
} finally {
|
|
1622
1622
|
state0.a = a;
|
|
1623
1623
|
}
|
|
@@ -1655,7 +1655,7 @@ function __wbg_get_imports() {
|
|
|
1655
1655
|
const a = state0.a;
|
|
1656
1656
|
state0.a = 0;
|
|
1657
1657
|
try {
|
|
1658
|
-
return
|
|
1658
|
+
return wasm_bindgen__convert__closures_____invoke__h62c232e8e81d95fd(a, state0.b, arg0, arg1);
|
|
1659
1659
|
} finally {
|
|
1660
1660
|
state0.a = a;
|
|
1661
1661
|
}
|
|
@@ -1686,14 +1686,14 @@ function __wbg_get_imports() {
|
|
|
1686
1686
|
const ret = arg0.node;
|
|
1687
1687
|
return ret;
|
|
1688
1688
|
},
|
|
1689
|
-
__wbg_now_0cce8c6798af1870: function() { return handleError(function () {
|
|
1690
|
-
const ret = Date.now();
|
|
1691
|
-
return ret;
|
|
1692
|
-
}, arguments); },
|
|
1693
1689
|
__wbg_now_190933fa139cc119: function() {
|
|
1694
1690
|
const ret = Date.now();
|
|
1695
1691
|
return ret;
|
|
1696
1692
|
},
|
|
1693
|
+
__wbg_now_689f2c097d4c54e3: function() { return handleError(function () {
|
|
1694
|
+
const ret = Date.now();
|
|
1695
|
+
return ret;
|
|
1696
|
+
}, arguments); },
|
|
1697
1697
|
__wbg_now_6c1d1e978b8b5f6e: function(arg0) {
|
|
1698
1698
|
const ret = arg0.now();
|
|
1699
1699
|
return ret;
|
|
@@ -1991,33 +1991,33 @@ function __wbg_get_imports() {
|
|
|
1991
1991
|
return ret;
|
|
1992
1992
|
},
|
|
1993
1993
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
1994
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
1995
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1994
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 690, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1995
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h530a5224cede6315);
|
|
1996
1996
|
return ret;
|
|
1997
1997
|
},
|
|
1998
1998
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
1999
1999
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 319, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
2000
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2000
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h5746da14375b4cd1);
|
|
2001
2001
|
return ret;
|
|
2002
2002
|
},
|
|
2003
2003
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
2004
2004
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 988, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
2005
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2005
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__he12e2c2c758a874b);
|
|
2006
2006
|
return ret;
|
|
2007
2007
|
},
|
|
2008
2008
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
2009
2009
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 319, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
2010
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2010
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h5746da14375b4cd1_3);
|
|
2011
2011
|
return ret;
|
|
2012
2012
|
},
|
|
2013
2013
|
__wbindgen_cast_0000000000000005: function(arg0, arg1) {
|
|
2014
2014
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 323, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
2015
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2015
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h94a5e05e3e2923e5);
|
|
2016
2016
|
return ret;
|
|
2017
2017
|
},
|
|
2018
2018
|
__wbindgen_cast_0000000000000006: function(arg0, arg1) {
|
|
2019
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
2020
|
-
const ret = makeClosure(arg0, arg1,
|
|
2019
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 63, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
|
|
2020
|
+
const ret = makeClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hf24fdcc339bf6dbf);
|
|
2021
2021
|
return ret;
|
|
2022
2022
|
},
|
|
2023
2023
|
__wbindgen_cast_0000000000000007: function(arg0) {
|
|
@@ -2061,38 +2061,38 @@ function __wbg_get_imports() {
|
|
|
2061
2061
|
};
|
|
2062
2062
|
}
|
|
2063
2063
|
|
|
2064
|
-
function
|
|
2065
|
-
wasm.
|
|
2064
|
+
function wasm_bindgen__convert__closures_____invoke__h94a5e05e3e2923e5(arg0, arg1) {
|
|
2065
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h94a5e05e3e2923e5(arg0, arg1);
|
|
2066
2066
|
}
|
|
2067
2067
|
|
|
2068
|
-
function
|
|
2069
|
-
wasm.
|
|
2068
|
+
function wasm_bindgen__convert__closures_____invoke__hf24fdcc339bf6dbf(arg0, arg1) {
|
|
2069
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hf24fdcc339bf6dbf(arg0, arg1);
|
|
2070
2070
|
}
|
|
2071
2071
|
|
|
2072
|
-
function
|
|
2073
|
-
wasm.
|
|
2072
|
+
function wasm_bindgen__convert__closures_____invoke__h5746da14375b4cd1(arg0, arg1, arg2) {
|
|
2073
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h5746da14375b4cd1(arg0, arg1, arg2);
|
|
2074
2074
|
}
|
|
2075
2075
|
|
|
2076
|
-
function
|
|
2077
|
-
wasm.
|
|
2076
|
+
function wasm_bindgen__convert__closures_____invoke__h5746da14375b4cd1_3(arg0, arg1, arg2) {
|
|
2077
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h5746da14375b4cd1_3(arg0, arg1, arg2);
|
|
2078
2078
|
}
|
|
2079
2079
|
|
|
2080
|
-
function
|
|
2081
|
-
const ret = wasm.
|
|
2080
|
+
function wasm_bindgen__convert__closures_____invoke__h530a5224cede6315(arg0, arg1, arg2) {
|
|
2081
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__h530a5224cede6315(arg0, arg1, arg2);
|
|
2082
2082
|
if (ret[1]) {
|
|
2083
2083
|
throw takeFromExternrefTable0(ret[0]);
|
|
2084
2084
|
}
|
|
2085
2085
|
}
|
|
2086
2086
|
|
|
2087
|
-
function
|
|
2088
|
-
const ret = wasm.
|
|
2087
|
+
function wasm_bindgen__convert__closures_____invoke__he12e2c2c758a874b(arg0, arg1, arg2) {
|
|
2088
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__he12e2c2c758a874b(arg0, arg1, arg2);
|
|
2089
2089
|
if (ret[1]) {
|
|
2090
2090
|
throw takeFromExternrefTable0(ret[0]);
|
|
2091
2091
|
}
|
|
2092
2092
|
}
|
|
2093
2093
|
|
|
2094
|
-
function
|
|
2095
|
-
wasm.
|
|
2094
|
+
function wasm_bindgen__convert__closures_____invoke__h62c232e8e81d95fd(arg0, arg1, arg2, arg3) {
|
|
2095
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h62c232e8e81d95fd(arg0, arg1, arg2, arg3);
|
|
2096
2096
|
}
|
|
2097
2097
|
|
|
2098
2098
|
|
package/index_bg.wasm
CHANGED
|
Binary file
|