ahqstore-types 3.2.2 → 3.2.5
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/README.md +5 -5
- package/ahqstore_types_bg.js +45 -44
- package/ahqstore_types_bg.wasm +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
# ahqstore-types
|
|
2
|
-
|
|
3
|
-
Types used by AHQ Store app
|
|
4
|
-
|
|
5
|
-
**NOTE:** This crate is used internally by AHQ Store Organisation projects for sharing the unified app schema and protocol signatures
|
|
1
|
+
# ahqstore-types
|
|
2
|
+
|
|
3
|
+
Types used by AHQ Store app
|
|
4
|
+
|
|
5
|
+
**NOTE:** This crate is used internally by AHQ Store Organisation projects for sharing the unified app schema and protocol signatures
|
package/ahqstore_types_bg.js
CHANGED
|
@@ -225,35 +225,9 @@ function makeMutClosure(arg0, arg1, dtor, f) {
|
|
|
225
225
|
return real;
|
|
226
226
|
}
|
|
227
227
|
function __wbg_adapter_36(arg0, arg1, arg2) {
|
|
228
|
-
wasm.
|
|
228
|
+
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h651ddc0f00f40bd1(arg0, arg1, addHeapObject(arg2));
|
|
229
229
|
}
|
|
230
230
|
|
|
231
|
-
function _assertClass(instance, klass) {
|
|
232
|
-
if (!(instance instanceof klass)) {
|
|
233
|
-
throw new Error(`expected instance of ${klass.name}`);
|
|
234
|
-
}
|
|
235
|
-
return instance.ptr;
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
function getArrayJsValueFromWasm0(ptr, len) {
|
|
239
|
-
ptr = ptr >>> 0;
|
|
240
|
-
const mem = getDataViewMemory0();
|
|
241
|
-
const result = [];
|
|
242
|
-
for (let i = ptr; i < ptr + 4 * len; i += 4) {
|
|
243
|
-
result.push(takeObject(mem.getUint32(i, true)));
|
|
244
|
-
}
|
|
245
|
-
return result;
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
function passArrayJsValueToWasm0(array, malloc) {
|
|
249
|
-
const ptr = malloc(array.length * 4, 4) >>> 0;
|
|
250
|
-
const mem = getDataViewMemory0();
|
|
251
|
-
for (let i = 0; i < array.length; i++) {
|
|
252
|
-
mem.setUint32(ptr + 4 * i, addHeapObject(array[i]), true);
|
|
253
|
-
}
|
|
254
|
-
WASM_VECTOR_LEN = array.length;
|
|
255
|
-
return ptr;
|
|
256
|
-
}
|
|
257
231
|
/**
|
|
258
232
|
* @param {string | undefined} [token]
|
|
259
233
|
* @returns {Promise<string | undefined>}
|
|
@@ -363,6 +337,33 @@ export function get_app(commit, app_id) {
|
|
|
363
337
|
return takeObject(ret);
|
|
364
338
|
}
|
|
365
339
|
|
|
340
|
+
function _assertClass(instance, klass) {
|
|
341
|
+
if (!(instance instanceof klass)) {
|
|
342
|
+
throw new Error(`expected instance of ${klass.name}`);
|
|
343
|
+
}
|
|
344
|
+
return instance.ptr;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
function getArrayJsValueFromWasm0(ptr, len) {
|
|
348
|
+
ptr = ptr >>> 0;
|
|
349
|
+
const mem = getDataViewMemory0();
|
|
350
|
+
const result = [];
|
|
351
|
+
for (let i = ptr; i < ptr + 4 * len; i += 4) {
|
|
352
|
+
result.push(takeObject(mem.getUint32(i, true)));
|
|
353
|
+
}
|
|
354
|
+
return result;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
function passArrayJsValueToWasm0(array, malloc) {
|
|
358
|
+
const ptr = malloc(array.length * 4, 4) >>> 0;
|
|
359
|
+
const mem = getDataViewMemory0();
|
|
360
|
+
for (let i = 0; i < array.length; i++) {
|
|
361
|
+
mem.setUint32(ptr + 4 * i, addHeapObject(array[i]), true);
|
|
362
|
+
}
|
|
363
|
+
WASM_VECTOR_LEN = array.length;
|
|
364
|
+
return ptr;
|
|
365
|
+
}
|
|
366
|
+
|
|
366
367
|
function handleError(f, args) {
|
|
367
368
|
try {
|
|
368
369
|
return f.apply(this, args);
|
|
@@ -371,7 +372,7 @@ function handleError(f, args) {
|
|
|
371
372
|
}
|
|
372
373
|
}
|
|
373
374
|
function __wbg_adapter_185(arg0, arg1, arg2, arg3) {
|
|
374
|
-
wasm.
|
|
375
|
+
wasm.wasm_bindgen__convert__closures__invoke2_mut__h78f92727beb8cfbb(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
375
376
|
}
|
|
376
377
|
|
|
377
378
|
/**
|
|
@@ -1553,8 +1554,8 @@ export function __wbindgen_object_clone_ref(arg0) {
|
|
|
1553
1554
|
return addHeapObject(ret);
|
|
1554
1555
|
};
|
|
1555
1556
|
|
|
1556
|
-
export function
|
|
1557
|
-
const ret =
|
|
1557
|
+
export function __wbindgen_string_new(arg0, arg1) {
|
|
1558
|
+
const ret = getStringFromWasm0(arg0, arg1);
|
|
1558
1559
|
return addHeapObject(ret);
|
|
1559
1560
|
};
|
|
1560
1561
|
|
|
@@ -1563,8 +1564,13 @@ export function __wbindgen_number_new(arg0) {
|
|
|
1563
1564
|
return addHeapObject(ret);
|
|
1564
1565
|
};
|
|
1565
1566
|
|
|
1566
|
-
export function
|
|
1567
|
-
const ret =
|
|
1567
|
+
export function __wbg_devdata_new(arg0) {
|
|
1568
|
+
const ret = DevData.__wrap(arg0);
|
|
1569
|
+
return addHeapObject(ret);
|
|
1570
|
+
};
|
|
1571
|
+
|
|
1572
|
+
export function __wbindgen_error_new(arg0, arg1) {
|
|
1573
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
1568
1574
|
return addHeapObject(ret);
|
|
1569
1575
|
};
|
|
1570
1576
|
|
|
@@ -1597,11 +1603,6 @@ export function __wbindgen_is_string(arg0) {
|
|
|
1597
1603
|
return ret;
|
|
1598
1604
|
};
|
|
1599
1605
|
|
|
1600
|
-
export function __wbindgen_error_new(arg0, arg1) {
|
|
1601
|
-
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
1602
|
-
return addHeapObject(ret);
|
|
1603
|
-
};
|
|
1604
|
-
|
|
1605
1606
|
export function __wbindgen_is_undefined(arg0) {
|
|
1606
1607
|
const ret = getObject(arg0) === undefined;
|
|
1607
1608
|
return ret;
|
|
@@ -1659,11 +1660,6 @@ export function __wbg_append_f3a4426bb50622c5() { return handleError(function (a
|
|
|
1659
1660
|
getObject(arg0).append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
1660
1661
|
}, arguments) };
|
|
1661
1662
|
|
|
1662
|
-
export function __wbg_newwithstrandinit_a31c69e4cc337183() { return handleError(function (arg0, arg1, arg2) {
|
|
1663
|
-
const ret = new Request(getStringFromWasm0(arg0, arg1), getObject(arg2));
|
|
1664
|
-
return addHeapObject(ret);
|
|
1665
|
-
}, arguments) };
|
|
1666
|
-
|
|
1667
1663
|
export function __wbg_instanceof_Response_e91b7eb7c611a9ae(arg0) {
|
|
1668
1664
|
let result;
|
|
1669
1665
|
try {
|
|
@@ -1698,6 +1694,11 @@ export function __wbg_arrayBuffer_a5fbad63cc7e663b() { return handleError(functi
|
|
|
1698
1694
|
return addHeapObject(ret);
|
|
1699
1695
|
}, arguments) };
|
|
1700
1696
|
|
|
1697
|
+
export function __wbg_newwithstrandinit_a31c69e4cc337183() { return handleError(function (arg0, arg1, arg2) {
|
|
1698
|
+
const ret = new Request(getStringFromWasm0(arg0, arg1), getObject(arg2));
|
|
1699
|
+
return addHeapObject(ret);
|
|
1700
|
+
}, arguments) };
|
|
1701
|
+
|
|
1701
1702
|
export function __wbg_setbody_734cb3d7ee8e6e96(arg0, arg1) {
|
|
1702
1703
|
getObject(arg0).body = getObject(arg1);
|
|
1703
1704
|
};
|
|
@@ -1922,8 +1923,8 @@ export function __wbindgen_uint8_array_new(arg0, arg1) {
|
|
|
1922
1923
|
return addHeapObject(ret);
|
|
1923
1924
|
};
|
|
1924
1925
|
|
|
1925
|
-
export function
|
|
1926
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1926
|
+
export function __wbindgen_closure_wrapper715(arg0, arg1, arg2) {
|
|
1927
|
+
const ret = makeMutClosure(arg0, arg1, 157, __wbg_adapter_36);
|
|
1927
1928
|
return addHeapObject(ret);
|
|
1928
1929
|
};
|
|
1929
1930
|
|
package/ahqstore_types_bg.wasm
CHANGED
|
Binary file
|