@layers/amba-core 4.0.10 → 4.0.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/package.json +1 -1
- package/pkg/amba_core.d.ts +3 -3
- package/pkg/amba_core.js +11 -11
- package/pkg/amba_core_bg.wasm +0 -0
- package/pkg/amba_core_bg.wasm.d.ts +3 -3
- package/pkg-inline/amba_core.d.ts +3 -3
- package/pkg-inline/amba_core.js +1 -1
- package/pkg-rn/amba_core_bg.js +33 -32
- package/pkg-rn/amba_core_bg.wasm.d.ts +3 -3
- package/pkg-rn/amba_core_bg.wasm.js +116148 -111166
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@layers/amba-core",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.11",
|
|
4
4
|
"description": "amba SDK runtime — shared client core used by @layers/amba-web, @layers/amba-node, @layers/amba-react-native. Internal dependency; install one of those packages instead.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./pkg/amba_core.js",
|
package/pkg/amba_core.d.ts
CHANGED
|
@@ -438,9 +438,9 @@ export interface InitOutput {
|
|
|
438
438
|
readonly ambacorewasm_xpClaim: (a: number, b: number, c: number) => number;
|
|
439
439
|
readonly ambacorewasm_xpGetBalance: (a: number) => number;
|
|
440
440
|
readonly ambacorewasm_xpGetHistory: (a: number, b: number) => number;
|
|
441
|
-
readonly
|
|
442
|
-
readonly
|
|
443
|
-
readonly
|
|
441
|
+
readonly __wasm_bindgen_func_elem_3288: (a: number, b: number, c: number, d: number) => void;
|
|
442
|
+
readonly __wasm_bindgen_func_elem_3286: (a: number, b: number, c: number, d: number) => void;
|
|
443
|
+
readonly __wasm_bindgen_func_elem_3288_145: (a: number, b: number, c: number, d: number) => void;
|
|
444
444
|
readonly __wbindgen_export: (a: number, b: number) => number;
|
|
445
445
|
readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
446
446
|
readonly __wbindgen_export3: (a: number) => void;
|
package/pkg/amba_core.js
CHANGED
|
@@ -1742,7 +1742,7 @@ function __wbg_get_imports() {
|
|
|
1742
1742
|
const a = state0.a;
|
|
1743
1743
|
state0.a = 0;
|
|
1744
1744
|
try {
|
|
1745
|
-
return
|
|
1745
|
+
return __wasm_bindgen_func_elem_3288_145(a, state0.b, arg0, arg1);
|
|
1746
1746
|
} finally {
|
|
1747
1747
|
state0.a = a;
|
|
1748
1748
|
}
|
|
@@ -1813,13 +1813,13 @@ function __wbg_get_imports() {
|
|
|
1813
1813
|
return addHeapObject(ret);
|
|
1814
1814
|
},
|
|
1815
1815
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
1816
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref, Externref], shim_idx:
|
|
1817
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1816
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref, Externref], shim_idx: 823, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1817
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_3288);
|
|
1818
1818
|
return addHeapObject(ret);
|
|
1819
1819
|
},
|
|
1820
1820
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
1821
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
1822
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1821
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 821, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1822
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_3286);
|
|
1823
1823
|
return addHeapObject(ret);
|
|
1824
1824
|
},
|
|
1825
1825
|
__wbindgen_cast_0000000000000003: function(arg0) {
|
|
@@ -1856,14 +1856,14 @@ function __wbg_get_imports() {
|
|
|
1856
1856
|
};
|
|
1857
1857
|
}
|
|
1858
1858
|
|
|
1859
|
-
function
|
|
1860
|
-
wasm.
|
|
1859
|
+
function __wasm_bindgen_func_elem_3288(arg0, arg1, arg2, arg3) {
|
|
1860
|
+
wasm.__wasm_bindgen_func_elem_3288(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
1861
1861
|
}
|
|
1862
1862
|
|
|
1863
|
-
function
|
|
1863
|
+
function __wasm_bindgen_func_elem_3286(arg0, arg1, arg2) {
|
|
1864
1864
|
try {
|
|
1865
1865
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
1866
|
-
wasm.
|
|
1866
|
+
wasm.__wasm_bindgen_func_elem_3286(retptr, arg0, arg1, addHeapObject(arg2));
|
|
1867
1867
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
1868
1868
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
1869
1869
|
if (r1) {
|
|
@@ -1874,8 +1874,8 @@ function __wasm_bindgen_func_elem_3291(arg0, arg1, arg2) {
|
|
|
1874
1874
|
}
|
|
1875
1875
|
}
|
|
1876
1876
|
|
|
1877
|
-
function
|
|
1878
|
-
wasm.
|
|
1877
|
+
function __wasm_bindgen_func_elem_3288_145(arg0, arg1, arg2, arg3) {
|
|
1878
|
+
wasm.__wasm_bindgen_func_elem_3288_145(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
1879
1879
|
}
|
|
1880
1880
|
|
|
1881
1881
|
const AmbaCoreWasmFinalization = (typeof FinalizationRegistry === 'undefined')
|
package/pkg/amba_core_bg.wasm
CHANGED
|
Binary file
|
|
@@ -145,9 +145,9 @@ export const ambacorewasm_verifySmsOtp: (a: number, b: number, c: number, d: num
|
|
|
145
145
|
export const ambacorewasm_xpClaim: (a: number, b: number, c: number) => number;
|
|
146
146
|
export const ambacorewasm_xpGetBalance: (a: number) => number;
|
|
147
147
|
export const ambacorewasm_xpGetHistory: (a: number, b: number) => number;
|
|
148
|
-
export const
|
|
149
|
-
export const
|
|
150
|
-
export const
|
|
148
|
+
export const __wasm_bindgen_func_elem_3288: (a: number, b: number, c: number, d: number) => void;
|
|
149
|
+
export const __wasm_bindgen_func_elem_3286: (a: number, b: number, c: number, d: number) => void;
|
|
150
|
+
export const __wasm_bindgen_func_elem_3288_145: (a: number, b: number, c: number, d: number) => void;
|
|
151
151
|
export const __wbindgen_export: (a: number, b: number) => number;
|
|
152
152
|
export const __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
153
153
|
export const __wbindgen_export3: (a: number) => void;
|
|
@@ -438,9 +438,9 @@ export interface InitOutput {
|
|
|
438
438
|
readonly ambacorewasm_xpClaim: (a: number, b: number, c: number) => number;
|
|
439
439
|
readonly ambacorewasm_xpGetBalance: (a: number) => number;
|
|
440
440
|
readonly ambacorewasm_xpGetHistory: (a: number, b: number) => number;
|
|
441
|
-
readonly
|
|
442
|
-
readonly
|
|
443
|
-
readonly
|
|
441
|
+
readonly __wasm_bindgen_func_elem_3288: (a: number, b: number, c: number, d: number) => void;
|
|
442
|
+
readonly __wasm_bindgen_func_elem_3286: (a: number, b: number, c: number, d: number) => void;
|
|
443
|
+
readonly __wasm_bindgen_func_elem_3288_145: (a: number, b: number, c: number, d: number) => void;
|
|
444
444
|
readonly __wbindgen_export: (a: number, b: number) => number;
|
|
445
445
|
readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
446
446
|
readonly __wbindgen_export3: (a: number) => void;
|