@layers/amba-core 1.0.4 → 1.1.0
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 +9 -9
- package/pkg/amba_core_bg.wasm +0 -0
- package/pkg/amba_core_bg.wasm.d.ts +3 -3
- package/pkg-rn/amba_core_bg.js +9 -9
- package/pkg-rn/amba_core_bg.wasm.d.ts +3 -3
- package/pkg-rn/amba_core_bg.wasm.js +28273 -27997
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@layers/amba-core",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
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
|
@@ -255,9 +255,9 @@ export interface InitOutput {
|
|
|
255
255
|
readonly ambacorewasm_xpClaim: (a: number, b: number, c: number) => number;
|
|
256
256
|
readonly ambacorewasm_xpGetBalance: (a: number) => number;
|
|
257
257
|
readonly ambacorewasm_xpGetHistory: (a: number, b: number) => number;
|
|
258
|
-
readonly
|
|
259
|
-
readonly
|
|
260
|
-
readonly
|
|
258
|
+
readonly __wasm_bindgen_func_elem_2398: (a: number, b: number, c: number, d: number) => void;
|
|
259
|
+
readonly __wasm_bindgen_func_elem_2394: (a: number, b: number, c: number, d: number) => void;
|
|
260
|
+
readonly __wasm_bindgen_func_elem_2398_98: (a: number, b: number, c: number, d: number) => void;
|
|
261
261
|
readonly __wbindgen_export: (a: number, b: number) => number;
|
|
262
262
|
readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
263
263
|
readonly __wbindgen_export3: (a: number) => void;
|
package/pkg/amba_core.js
CHANGED
|
@@ -1154,7 +1154,7 @@ function __wbg_get_imports() {
|
|
|
1154
1154
|
const a = state0.a;
|
|
1155
1155
|
state0.a = 0;
|
|
1156
1156
|
try {
|
|
1157
|
-
return
|
|
1157
|
+
return __wasm_bindgen_func_elem_2398_98(a, state0.b, arg0, arg1);
|
|
1158
1158
|
} finally {
|
|
1159
1159
|
state0.a = a;
|
|
1160
1160
|
}
|
|
@@ -1226,12 +1226,12 @@ function __wbg_get_imports() {
|
|
|
1226
1226
|
},
|
|
1227
1227
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
1228
1228
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref, Externref], shim_idx: 593, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1229
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1229
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_2398);
|
|
1230
1230
|
return addHeapObject(ret);
|
|
1231
1231
|
},
|
|
1232
1232
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
1233
1233
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 588, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1234
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1234
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_2394);
|
|
1235
1235
|
return addHeapObject(ret);
|
|
1236
1236
|
},
|
|
1237
1237
|
__wbindgen_cast_0000000000000003: function(arg0) {
|
|
@@ -1268,14 +1268,14 @@ function __wbg_get_imports() {
|
|
|
1268
1268
|
};
|
|
1269
1269
|
}
|
|
1270
1270
|
|
|
1271
|
-
function
|
|
1272
|
-
wasm.
|
|
1271
|
+
function __wasm_bindgen_func_elem_2398(arg0, arg1, arg2, arg3) {
|
|
1272
|
+
wasm.__wasm_bindgen_func_elem_2398(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
1273
1273
|
}
|
|
1274
1274
|
|
|
1275
|
-
function
|
|
1275
|
+
function __wasm_bindgen_func_elem_2394(arg0, arg1, arg2) {
|
|
1276
1276
|
try {
|
|
1277
1277
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
1278
|
-
wasm.
|
|
1278
|
+
wasm.__wasm_bindgen_func_elem_2394(retptr, arg0, arg1, addHeapObject(arg2));
|
|
1279
1279
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
1280
1280
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
1281
1281
|
if (r1) {
|
|
@@ -1286,8 +1286,8 @@ function __wasm_bindgen_func_elem_2392(arg0, arg1, arg2) {
|
|
|
1286
1286
|
}
|
|
1287
1287
|
}
|
|
1288
1288
|
|
|
1289
|
-
function
|
|
1290
|
-
wasm.
|
|
1289
|
+
function __wasm_bindgen_func_elem_2398_98(arg0, arg1, arg2, arg3) {
|
|
1290
|
+
wasm.__wasm_bindgen_func_elem_2398_98(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
1291
1291
|
}
|
|
1292
1292
|
|
|
1293
1293
|
const AmbaCoreWasmFinalization = (typeof FinalizationRegistry === 'undefined')
|
package/pkg/amba_core_bg.wasm
CHANGED
|
Binary file
|
|
@@ -98,9 +98,9 @@ export const ambacorewasm_track: (a: number, b: number, c: number, d: number, e:
|
|
|
98
98
|
export const ambacorewasm_xpClaim: (a: number, b: number, c: number) => number;
|
|
99
99
|
export const ambacorewasm_xpGetBalance: (a: number) => number;
|
|
100
100
|
export const ambacorewasm_xpGetHistory: (a: number, b: number) => number;
|
|
101
|
-
export const
|
|
102
|
-
export const
|
|
103
|
-
export const
|
|
101
|
+
export const __wasm_bindgen_func_elem_2398: (a: number, b: number, c: number, d: number) => void;
|
|
102
|
+
export const __wasm_bindgen_func_elem_2394: (a: number, b: number, c: number, d: number) => void;
|
|
103
|
+
export const __wasm_bindgen_func_elem_2398_98: (a: number, b: number, c: number, d: number) => void;
|
|
104
104
|
export const __wbindgen_export: (a: number, b: number) => number;
|
|
105
105
|
export const __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
106
106
|
export const __wbindgen_export3: (a: number) => void;
|
package/pkg-rn/amba_core_bg.js
CHANGED
|
@@ -1215,7 +1215,7 @@ export function __wbg_new_typed_c072c4ce9a2a0cdf(arg0, arg1) {
|
|
|
1215
1215
|
const a = state0.a;
|
|
1216
1216
|
state0.a = 0;
|
|
1217
1217
|
try {
|
|
1218
|
-
return
|
|
1218
|
+
return __wasm_bindgen_func_elem_2398_98(a, state0.b, arg0, arg1);
|
|
1219
1219
|
} finally {
|
|
1220
1220
|
state0.a = a;
|
|
1221
1221
|
}
|
|
@@ -1287,12 +1287,12 @@ export function __wbg_then_bd927500e8905df2(arg0, arg1, arg2) {
|
|
|
1287
1287
|
}
|
|
1288
1288
|
export function __wbindgen_cast_0000000000000001(arg0, arg1) {
|
|
1289
1289
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref, Externref], shim_idx: 593, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1290
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1290
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_2398);
|
|
1291
1291
|
return addHeapObject(ret);
|
|
1292
1292
|
}
|
|
1293
1293
|
export function __wbindgen_cast_0000000000000002(arg0, arg1) {
|
|
1294
1294
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 588, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1295
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1295
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_2394);
|
|
1296
1296
|
return addHeapObject(ret);
|
|
1297
1297
|
}
|
|
1298
1298
|
export function __wbindgen_cast_0000000000000003(arg0) {
|
|
@@ -1322,14 +1322,14 @@ export function __wbindgen_object_clone_ref(arg0) {
|
|
|
1322
1322
|
export function __wbindgen_object_drop_ref(arg0) {
|
|
1323
1323
|
takeObject(arg0);
|
|
1324
1324
|
}
|
|
1325
|
-
function
|
|
1326
|
-
wasm.
|
|
1325
|
+
function __wasm_bindgen_func_elem_2398(arg0, arg1, arg2, arg3) {
|
|
1326
|
+
wasm.__wasm_bindgen_func_elem_2398(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
1327
1327
|
}
|
|
1328
1328
|
|
|
1329
|
-
function
|
|
1329
|
+
function __wasm_bindgen_func_elem_2394(arg0, arg1, arg2) {
|
|
1330
1330
|
try {
|
|
1331
1331
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
1332
|
-
wasm.
|
|
1332
|
+
wasm.__wasm_bindgen_func_elem_2394(retptr, arg0, arg1, addHeapObject(arg2));
|
|
1333
1333
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
1334
1334
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
1335
1335
|
if (r1) {
|
|
@@ -1340,8 +1340,8 @@ function __wasm_bindgen_func_elem_2392(arg0, arg1, arg2) {
|
|
|
1340
1340
|
}
|
|
1341
1341
|
}
|
|
1342
1342
|
|
|
1343
|
-
function
|
|
1344
|
-
wasm.
|
|
1343
|
+
function __wasm_bindgen_func_elem_2398_98(arg0, arg1, arg2, arg3) {
|
|
1344
|
+
wasm.__wasm_bindgen_func_elem_2398_98(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
1345
1345
|
}
|
|
1346
1346
|
|
|
1347
1347
|
const AmbaCoreWasmFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
@@ -98,9 +98,9 @@ export const ambacorewasm_track: (a: number, b: number, c: number, d: number, e:
|
|
|
98
98
|
export const ambacorewasm_xpClaim: (a: number, b: number, c: number) => number;
|
|
99
99
|
export const ambacorewasm_xpGetBalance: (a: number) => number;
|
|
100
100
|
export const ambacorewasm_xpGetHistory: (a: number, b: number) => number;
|
|
101
|
-
export const
|
|
102
|
-
export const
|
|
103
|
-
export const
|
|
101
|
+
export const __wasm_bindgen_func_elem_2398: (a: number, b: number, c: number, d: number) => void;
|
|
102
|
+
export const __wasm_bindgen_func_elem_2394: (a: number, b: number, c: number, d: number) => void;
|
|
103
|
+
export const __wasm_bindgen_func_elem_2398_98: (a: number, b: number, c: number, d: number) => void;
|
|
104
104
|
export const __wbindgen_export: (a: number, b: number) => number;
|
|
105
105
|
export const __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
106
106
|
export const __wbindgen_export3: (a: number) => void;
|