@layers/amba-core 4.0.7 → 4.0.8
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 +11 -11
- package/pkg-rn/amba_core_bg.wasm.d.ts +3 -3
- package/pkg-rn/amba_core_bg.wasm.js +40501 -36642
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@layers/amba-core",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.8",
|
|
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
|
@@ -429,9 +429,9 @@ export interface InitOutput {
|
|
|
429
429
|
readonly ambacorewasm_xpClaim: (a: number, b: number, c: number) => number;
|
|
430
430
|
readonly ambacorewasm_xpGetBalance: (a: number) => number;
|
|
431
431
|
readonly ambacorewasm_xpGetHistory: (a: number, b: number) => number;
|
|
432
|
-
readonly
|
|
433
|
-
readonly
|
|
434
|
-
readonly
|
|
432
|
+
readonly __wasm_bindgen_func_elem_3271: (a: number, b: number, c: number, d: number) => void;
|
|
433
|
+
readonly __wasm_bindgen_func_elem_3252: (a: number, b: number, c: number, d: number) => void;
|
|
434
|
+
readonly __wasm_bindgen_func_elem_3271_144: (a: number, b: number, c: number, d: number) => void;
|
|
435
435
|
readonly __wbindgen_export: (a: number, b: number) => number;
|
|
436
436
|
readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
437
437
|
readonly __wbindgen_export3: (a: number) => void;
|
package/pkg/amba_core.js
CHANGED
|
@@ -1689,7 +1689,7 @@ function __wbg_get_imports() {
|
|
|
1689
1689
|
const a = state0.a;
|
|
1690
1690
|
state0.a = 0;
|
|
1691
1691
|
try {
|
|
1692
|
-
return
|
|
1692
|
+
return __wasm_bindgen_func_elem_3271_144(a, state0.b, arg0, arg1);
|
|
1693
1693
|
} finally {
|
|
1694
1694
|
state0.a = a;
|
|
1695
1695
|
}
|
|
@@ -1760,13 +1760,13 @@ function __wbg_get_imports() {
|
|
|
1760
1760
|
return addHeapObject(ret);
|
|
1761
1761
|
},
|
|
1762
1762
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
1763
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref, Externref], shim_idx:
|
|
1764
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1763
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref, Externref], shim_idx: 830, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1764
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_3271);
|
|
1765
1765
|
return addHeapObject(ret);
|
|
1766
1766
|
},
|
|
1767
1767
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
1768
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
1769
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1768
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 819, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1769
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_3252);
|
|
1770
1770
|
return addHeapObject(ret);
|
|
1771
1771
|
},
|
|
1772
1772
|
__wbindgen_cast_0000000000000003: function(arg0) {
|
|
@@ -1803,14 +1803,14 @@ function __wbg_get_imports() {
|
|
|
1803
1803
|
};
|
|
1804
1804
|
}
|
|
1805
1805
|
|
|
1806
|
-
function
|
|
1807
|
-
wasm.
|
|
1806
|
+
function __wasm_bindgen_func_elem_3271(arg0, arg1, arg2, arg3) {
|
|
1807
|
+
wasm.__wasm_bindgen_func_elem_3271(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
1808
1808
|
}
|
|
1809
1809
|
|
|
1810
|
-
function
|
|
1810
|
+
function __wasm_bindgen_func_elem_3252(arg0, arg1, arg2) {
|
|
1811
1811
|
try {
|
|
1812
1812
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
1813
|
-
wasm.
|
|
1813
|
+
wasm.__wasm_bindgen_func_elem_3252(retptr, arg0, arg1, addHeapObject(arg2));
|
|
1814
1814
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
1815
1815
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
1816
1816
|
if (r1) {
|
|
@@ -1821,8 +1821,8 @@ function __wasm_bindgen_func_elem_3228(arg0, arg1, arg2) {
|
|
|
1821
1821
|
}
|
|
1822
1822
|
}
|
|
1823
1823
|
|
|
1824
|
-
function
|
|
1825
|
-
wasm.
|
|
1824
|
+
function __wasm_bindgen_func_elem_3271_144(arg0, arg1, arg2, arg3) {
|
|
1825
|
+
wasm.__wasm_bindgen_func_elem_3271_144(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
1826
1826
|
}
|
|
1827
1827
|
|
|
1828
1828
|
const AmbaCoreWasmFinalization = (typeof FinalizationRegistry === 'undefined')
|
package/pkg/amba_core_bg.wasm
CHANGED
|
Binary file
|
|
@@ -144,9 +144,9 @@ export const ambacorewasm_verifySmsOtp: (a: number, b: number, c: number, d: num
|
|
|
144
144
|
export const ambacorewasm_xpClaim: (a: number, b: number, c: number) => number;
|
|
145
145
|
export const ambacorewasm_xpGetBalance: (a: number) => number;
|
|
146
146
|
export const ambacorewasm_xpGetHistory: (a: number, b: number) => number;
|
|
147
|
-
export const
|
|
148
|
-
export const
|
|
149
|
-
export const
|
|
147
|
+
export const __wasm_bindgen_func_elem_3271: (a: number, b: number, c: number, d: number) => void;
|
|
148
|
+
export const __wasm_bindgen_func_elem_3252: (a: number, b: number, c: number, d: number) => void;
|
|
149
|
+
export const __wasm_bindgen_func_elem_3271_144: (a: number, b: number, c: number, d: number) => void;
|
|
150
150
|
export const __wbindgen_export: (a: number, b: number) => number;
|
|
151
151
|
export const __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
152
152
|
export const __wbindgen_export3: (a: number) => void;
|
|
@@ -429,9 +429,9 @@ export interface InitOutput {
|
|
|
429
429
|
readonly ambacorewasm_xpClaim: (a: number, b: number, c: number) => number;
|
|
430
430
|
readonly ambacorewasm_xpGetBalance: (a: number) => number;
|
|
431
431
|
readonly ambacorewasm_xpGetHistory: (a: number, b: number) => number;
|
|
432
|
-
readonly
|
|
433
|
-
readonly
|
|
434
|
-
readonly
|
|
432
|
+
readonly __wasm_bindgen_func_elem_3271: (a: number, b: number, c: number, d: number) => void;
|
|
433
|
+
readonly __wasm_bindgen_func_elem_3252: (a: number, b: number, c: number, d: number) => void;
|
|
434
|
+
readonly __wasm_bindgen_func_elem_3271_144: (a: number, b: number, c: number, d: number) => void;
|
|
435
435
|
readonly __wbindgen_export: (a: number, b: number) => number;
|
|
436
436
|
readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
437
437
|
readonly __wbindgen_export3: (a: number) => void;
|