ahqstore-types 3.2.4 → 3.2.6

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.
@@ -1,53 +1,6 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * @param {string | undefined} [token]
5
- * @returns {Promise<string | undefined>}
6
- */
7
- export function get_commit(token?: string): Promise<string | undefined>;
8
- /**
9
- * @param {string} commit
10
- * @returns {Promise<number | undefined>}
11
- */
12
- export function get_total_maps(commit: string): Promise<number | undefined>;
13
- /**
14
- * @param {string} commit
15
- * @param {string} id
16
- * @returns {Promise<(SearchEntry)[] | undefined>}
17
- */
18
- export function get_search(commit: string, id: string): Promise<(SearchEntry)[] | undefined>;
19
- /**
20
- * @param {string} commit
21
- * @param {string} id
22
- * @returns {Promise<any | undefined>}
23
- */
24
- export function get_map(commit: string, id: string): Promise<any | undefined>;
25
- /**
26
- * @param {string} commit
27
- * @param {string} id
28
- * @returns {Promise<(string)[] | undefined>}
29
- */
30
- export function get_devs_apps(commit: string, id: string): Promise<(string)[] | undefined>;
31
- /**
32
- * @param {string} commit
33
- * @param {string} id
34
- * @returns {Promise<DevData | undefined>}
35
- */
36
- export function get_dev_data(commit: string, id: string): Promise<DevData | undefined>;
37
- /**
38
- * @param {string} commit
39
- * @param {string} app_id
40
- * @param {string} asset
41
- * @returns {Promise<Uint8Array | undefined>}
42
- */
43
- export function get_app_asset(commit: string, app_id: string, asset: string): Promise<Uint8Array | undefined>;
44
- /**
45
- * @param {string} commit
46
- * @param {string} app_id
47
- * @returns {Promise<AHQStoreApplication | undefined>}
48
- */
49
- export function get_app(commit: string, app_id: string): Promise<AHQStoreApplication | undefined>;
50
- /**
51
4
  */
52
5
  export enum InstallerFormat {
53
6
  /**
@@ -33,11 +33,7 @@ function addHeapObject(obj) {
33
33
  return idx;
34
34
  }
35
35
 
36
- const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder;
37
-
38
- let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true });
39
-
40
- cachedTextDecoder.decode();
36
+ let WASM_VECTOR_LEN = 0;
41
37
 
42
38
  let cachedUint8ArrayMemory0 = null;
43
39
 
@@ -48,13 +44,6 @@ function getUint8ArrayMemory0() {
48
44
  return cachedUint8ArrayMemory0;
49
45
  }
50
46
 
51
- function getStringFromWasm0(ptr, len) {
52
- ptr = ptr >>> 0;
53
- return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
54
- }
55
-
56
- let WASM_VECTOR_LEN = 0;
57
-
58
47
  const lTextEncoder = typeof TextEncoder === 'undefined' ? (0, module.require)('util').TextEncoder : TextEncoder;
59
48
 
60
49
  let cachedTextEncoder = new lTextEncoder('utf-8');
@@ -124,217 +113,20 @@ function getDataViewMemory0() {
124
113
  return cachedDataViewMemory0;
125
114
  }
126
115
 
127
- function debugString(val) {
128
- // primitive types
129
- const type = typeof val;
130
- if (type == 'number' || type == 'boolean' || val == null) {
131
- return `${val}`;
132
- }
133
- if (type == 'string') {
134
- return `"${val}"`;
135
- }
136
- if (type == 'symbol') {
137
- const description = val.description;
138
- if (description == null) {
139
- return 'Symbol';
140
- } else {
141
- return `Symbol(${description})`;
142
- }
143
- }
144
- if (type == 'function') {
145
- const name = val.name;
146
- if (typeof name == 'string' && name.length > 0) {
147
- return `Function(${name})`;
148
- } else {
149
- return 'Function';
150
- }
151
- }
152
- // objects
153
- if (Array.isArray(val)) {
154
- const length = val.length;
155
- let debug = '[';
156
- if (length > 0) {
157
- debug += debugString(val[0]);
158
- }
159
- for(let i = 1; i < length; i++) {
160
- debug += ', ' + debugString(val[i]);
161
- }
162
- debug += ']';
163
- return debug;
164
- }
165
- // Test for built-in
166
- const builtInMatches = /\[object ([^\]]+)\]/.exec(toString.call(val));
167
- let className;
168
- if (builtInMatches.length > 1) {
169
- className = builtInMatches[1];
170
- } else {
171
- // Failed to match the standard '[object ClassName]'
172
- return toString.call(val);
173
- }
174
- if (className == 'Object') {
175
- // we're a user defined class or Object
176
- // JSON.stringify avoids problems with cycles, and is generally much
177
- // easier than looping through ownProperties of `val`.
178
- try {
179
- return 'Object(' + JSON.stringify(val) + ')';
180
- } catch (_) {
181
- return 'Object';
182
- }
183
- }
184
- // errors
185
- if (val instanceof Error) {
186
- return `${val.name}: ${val.message}\n${val.stack}`;
187
- }
188
- // TODO we could test for more things here, like `Set`s and `Map`s.
189
- return className;
190
- }
191
-
192
- function getArrayU8FromWasm0(ptr, len) {
193
- ptr = ptr >>> 0;
194
- return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
195
- }
196
-
197
- const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
198
- ? { register: () => {}, unregister: () => {} }
199
- : new FinalizationRegistry(state => {
200
- wasm.__wbindgen_export_3.get(state.dtor)(state.a, state.b)
201
- });
202
-
203
- function makeMutClosure(arg0, arg1, dtor, f) {
204
- const state = { a: arg0, b: arg1, cnt: 1, dtor };
205
- const real = (...args) => {
206
- // First up with a closure we increment the internal reference
207
- // count. This ensures that the Rust closure environment won't
208
- // be deallocated while we're invoking it.
209
- state.cnt++;
210
- const a = state.a;
211
- state.a = 0;
212
- try {
213
- return f(a, state.b, ...args);
214
- } finally {
215
- if (--state.cnt === 0) {
216
- wasm.__wbindgen_export_3.get(state.dtor)(a, state.b);
217
- CLOSURE_DTORS.unregister(state);
218
- } else {
219
- state.a = a;
220
- }
221
- }
222
- };
223
- real.original = state;
224
- CLOSURE_DTORS.register(real, state, state);
225
- return real;
226
- }
227
- function __wbg_adapter_36(arg0, arg1, arg2) {
228
- wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h651ddc0f00f40bd1(arg0, arg1, addHeapObject(arg2));
229
- }
230
-
231
- /**
232
- * @param {string | undefined} [token]
233
- * @returns {Promise<string | undefined>}
234
- */
235
- export function get_commit(token) {
236
- var ptr0 = isLikeNone(token) ? 0 : passStringToWasm0(token, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
237
- var len0 = WASM_VECTOR_LEN;
238
- const ret = wasm.get_commit(ptr0, len0);
239
- return takeObject(ret);
240
- }
241
-
242
- /**
243
- * @param {string} commit
244
- * @returns {Promise<number | undefined>}
245
- */
246
- export function get_total_maps(commit) {
247
- const ptr0 = passStringToWasm0(commit, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
248
- const len0 = WASM_VECTOR_LEN;
249
- const ret = wasm.get_total_maps(ptr0, len0);
250
- return takeObject(ret);
251
- }
252
-
253
- /**
254
- * @param {string} commit
255
- * @param {string} id
256
- * @returns {Promise<(SearchEntry)[] | undefined>}
257
- */
258
- export function get_search(commit, id) {
259
- const ptr0 = passStringToWasm0(commit, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
260
- const len0 = WASM_VECTOR_LEN;
261
- const ptr1 = passStringToWasm0(id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
262
- const len1 = WASM_VECTOR_LEN;
263
- const ret = wasm.get_search(ptr0, len0, ptr1, len1);
264
- return takeObject(ret);
265
- }
266
-
267
- /**
268
- * @param {string} commit
269
- * @param {string} id
270
- * @returns {Promise<any | undefined>}
271
- */
272
- export function get_map(commit, id) {
273
- const ptr0 = passStringToWasm0(commit, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
274
- const len0 = WASM_VECTOR_LEN;
275
- const ptr1 = passStringToWasm0(id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
276
- const len1 = WASM_VECTOR_LEN;
277
- const ret = wasm.get_map(ptr0, len0, ptr1, len1);
278
- return takeObject(ret);
279
- }
116
+ const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder;
280
117
 
281
- /**
282
- * @param {string} commit
283
- * @param {string} id
284
- * @returns {Promise<(string)[] | undefined>}
285
- */
286
- export function get_devs_apps(commit, id) {
287
- const ptr0 = passStringToWasm0(commit, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
288
- const len0 = WASM_VECTOR_LEN;
289
- const ptr1 = passStringToWasm0(id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
290
- const len1 = WASM_VECTOR_LEN;
291
- const ret = wasm.get_devs_apps(ptr0, len0, ptr1, len1);
292
- return takeObject(ret);
293
- }
118
+ let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true });
294
119
 
295
- /**
296
- * @param {string} commit
297
- * @param {string} id
298
- * @returns {Promise<DevData | undefined>}
299
- */
300
- export function get_dev_data(commit, id) {
301
- const ptr0 = passStringToWasm0(commit, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
302
- const len0 = WASM_VECTOR_LEN;
303
- const ptr1 = passStringToWasm0(id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
304
- const len1 = WASM_VECTOR_LEN;
305
- const ret = wasm.get_dev_data(ptr0, len0, ptr1, len1);
306
- return takeObject(ret);
307
- }
120
+ cachedTextDecoder.decode();
308
121
 
309
- /**
310
- * @param {string} commit
311
- * @param {string} app_id
312
- * @param {string} asset
313
- * @returns {Promise<Uint8Array | undefined>}
314
- */
315
- export function get_app_asset(commit, app_id, asset) {
316
- const ptr0 = passStringToWasm0(commit, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
317
- const len0 = WASM_VECTOR_LEN;
318
- const ptr1 = passStringToWasm0(app_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
319
- const len1 = WASM_VECTOR_LEN;
320
- const ptr2 = passStringToWasm0(asset, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
321
- const len2 = WASM_VECTOR_LEN;
322
- const ret = wasm.get_app_asset(ptr0, len0, ptr1, len1, ptr2, len2);
323
- return takeObject(ret);
122
+ function getStringFromWasm0(ptr, len) {
123
+ ptr = ptr >>> 0;
124
+ return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
324
125
  }
325
126
 
326
- /**
327
- * @param {string} commit
328
- * @param {string} app_id
329
- * @returns {Promise<AHQStoreApplication | undefined>}
330
- */
331
- export function get_app(commit, app_id) {
332
- const ptr0 = passStringToWasm0(commit, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
333
- const len0 = WASM_VECTOR_LEN;
334
- const ptr1 = passStringToWasm0(app_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
335
- const len1 = WASM_VECTOR_LEN;
336
- const ret = wasm.get_app(ptr0, len0, ptr1, len1);
337
- return takeObject(ret);
127
+ function getArrayU8FromWasm0(ptr, len) {
128
+ ptr = ptr >>> 0;
129
+ return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
338
130
  }
339
131
 
340
132
  function _assertClass(instance, klass) {
@@ -371,10 +163,6 @@ function handleError(f, args) {
371
163
  wasm.__wbindgen_exn_store(addHeapObject(e));
372
164
  }
373
165
  }
374
- function __wbg_adapter_185(arg0, arg1, arg2, arg3) {
375
- wasm.wasm_bindgen__convert__closures__invoke2_mut__h78f92727beb8cfbb(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
376
- }
377
-
378
166
  /**
379
167
  */
380
168
  export const InstallerFormat = Object.freeze({
@@ -585,14 +373,6 @@ const DevDataFinalization = (typeof FinalizationRegistry === 'undefined')
585
373
  */
586
374
  export class DevData {
587
375
 
588
- static __wrap(ptr) {
589
- ptr = ptr >>> 0;
590
- const obj = Object.create(DevData.prototype);
591
- obj.__wbg_ptr = ptr;
592
- DevDataFinalization.register(obj, obj.__wbg_ptr, obj);
593
- return obj;
594
- }
595
-
596
376
  __destroy_into_raw() {
597
377
  const ptr = this.__wbg_ptr;
598
378
  this.__wbg_ptr = 0;
@@ -1383,14 +1163,6 @@ const SearchEntryFinalization = (typeof FinalizationRegistry === 'undefined')
1383
1163
  */
1384
1164
  export class SearchEntry {
1385
1165
 
1386
- static __wrap(ptr) {
1387
- ptr = ptr >>> 0;
1388
- const obj = Object.create(SearchEntry.prototype);
1389
- obj.__wbg_ptr = ptr;
1390
- SearchEntryFinalization.register(obj, obj.__wbg_ptr, obj);
1391
- return obj;
1392
- }
1393
-
1394
1166
  __destroy_into_raw() {
1395
1167
  const ptr = this.__wbg_ptr;
1396
1168
  this.__wbg_ptr = 0;
@@ -1554,66 +1326,11 @@ export function __wbindgen_object_clone_ref(arg0) {
1554
1326
  return addHeapObject(ret);
1555
1327
  };
1556
1328
 
1557
- export function __wbindgen_string_new(arg0, arg1) {
1558
- const ret = getStringFromWasm0(arg0, arg1);
1559
- return addHeapObject(ret);
1560
- };
1561
-
1562
- export function __wbg_devdata_new(arg0) {
1563
- const ret = DevData.__wrap(arg0);
1564
- return addHeapObject(ret);
1565
- };
1566
-
1567
- export function __wbindgen_number_new(arg0) {
1568
- const ret = arg0;
1569
- return addHeapObject(ret);
1570
- };
1571
-
1572
- export function __wbindgen_error_new(arg0, arg1) {
1573
- const ret = new Error(getStringFromWasm0(arg0, arg1));
1574
- return addHeapObject(ret);
1575
- };
1576
-
1577
- export function __wbindgen_array_new() {
1578
- const ret = [];
1579
- return addHeapObject(ret);
1580
- };
1581
-
1582
- export function __wbindgen_array_push(arg0, arg1) {
1583
- getObject(arg0).push(takeObject(arg1));
1584
- };
1585
-
1586
- export function __wbg_searchentry_new(arg0) {
1587
- const ret = SearchEntry.__wrap(arg0);
1588
- return addHeapObject(ret);
1589
- };
1590
-
1591
- export function __wbindgen_cb_drop(arg0) {
1592
- const obj = takeObject(arg0).original;
1593
- if (obj.cnt-- == 1) {
1594
- obj.a = 0;
1595
- return true;
1596
- }
1597
- const ret = false;
1598
- return ret;
1599
- };
1600
-
1601
- export function __wbindgen_is_string(arg0) {
1602
- const ret = typeof(getObject(arg0)) === 'string';
1603
- return ret;
1604
- };
1605
-
1606
1329
  export function __wbindgen_is_undefined(arg0) {
1607
1330
  const ret = getObject(arg0) === undefined;
1608
1331
  return ret;
1609
1332
  };
1610
1333
 
1611
- export function __wbindgen_is_object(arg0) {
1612
- const val = getObject(arg0);
1613
- const ret = typeof(val) === 'object' && val !== null;
1614
- return ret;
1615
- };
1616
-
1617
1334
  export function __wbindgen_string_get(arg0, arg1) {
1618
1335
  const obj = getObject(arg1);
1619
1336
  const ret = typeof(obj) === 'string' ? obj : undefined;
@@ -1623,267 +1340,11 @@ export function __wbindgen_string_get(arg0, arg1) {
1623
1340
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1624
1341
  };
1625
1342
 
1626
- export function __wbg_set_f975102236d3c502(arg0, arg1, arg2) {
1627
- getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
1628
- };
1629
-
1630
- export function __wbg_fetch_25e3a297f7b04639(arg0) {
1631
- const ret = fetch(getObject(arg0));
1632
- return addHeapObject(ret);
1633
- };
1634
-
1635
- export function __wbg_queueMicrotask_48421b3cc9052b68(arg0) {
1636
- const ret = getObject(arg0).queueMicrotask;
1637
- return addHeapObject(ret);
1638
- };
1639
-
1640
- export function __wbindgen_is_function(arg0) {
1641
- const ret = typeof(getObject(arg0)) === 'function';
1642
- return ret;
1643
- };
1644
-
1645
- export function __wbg_queueMicrotask_12a30234db4045d3(arg0) {
1646
- queueMicrotask(getObject(arg0));
1647
- };
1648
-
1649
- export function __wbg_fetch_ba7fe179e527d942(arg0, arg1) {
1650
- const ret = getObject(arg0).fetch(getObject(arg1));
1651
- return addHeapObject(ret);
1652
- };
1653
-
1654
- export function __wbg_new_e27c93803e1acc42() { return handleError(function () {
1655
- const ret = new Headers();
1656
- return addHeapObject(ret);
1657
- }, arguments) };
1658
-
1659
- export function __wbg_append_f3a4426bb50622c5() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
1660
- getObject(arg0).append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
1661
- }, arguments) };
1662
-
1663
- export function __wbg_instanceof_Response_e91b7eb7c611a9ae(arg0) {
1664
- let result;
1665
- try {
1666
- result = getObject(arg0) instanceof Response;
1667
- } catch (_) {
1668
- result = false;
1669
- }
1670
- const ret = result;
1671
- return ret;
1672
- };
1673
-
1674
- export function __wbg_url_1bf85c8abeb8c92d(arg0, arg1) {
1675
- const ret = getObject(arg1).url;
1676
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1677
- const len1 = WASM_VECTOR_LEN;
1678
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1679
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1680
- };
1681
-
1682
- export function __wbg_status_ae8de515694c5c7c(arg0) {
1683
- const ret = getObject(arg0).status;
1684
- return ret;
1685
- };
1686
-
1687
- export function __wbg_headers_5e283e8345689121(arg0) {
1688
- const ret = getObject(arg0).headers;
1689
- return addHeapObject(ret);
1690
- };
1691
-
1692
- export function __wbg_arrayBuffer_a5fbad63cc7e663b() { return handleError(function (arg0) {
1693
- const ret = getObject(arg0).arrayBuffer();
1694
- return addHeapObject(ret);
1695
- }, arguments) };
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
-
1702
- export function __wbg_setbody_734cb3d7ee8e6e96(arg0, arg1) {
1703
- getObject(arg0).body = getObject(arg1);
1704
- };
1705
-
1706
- export function __wbg_setcredentials_2b67800db3f7b621(arg0, arg1) {
1707
- getObject(arg0).credentials = ["omit","same-origin","include",][arg1];
1708
- };
1709
-
1710
- export function __wbg_setheaders_be10a5ab566fd06f(arg0, arg1) {
1711
- getObject(arg0).headers = getObject(arg1);
1712
- };
1713
-
1714
- export function __wbg_setmethod_dc68a742c2db5c6a(arg0, arg1, arg2) {
1715
- getObject(arg0).method = getStringFromWasm0(arg1, arg2);
1716
- };
1717
-
1718
- export function __wbg_setmode_a781aae2bd3df202(arg0, arg1) {
1719
- getObject(arg0).mode = ["same-origin","no-cors","cors","navigate",][arg1];
1720
- };
1721
-
1722
- export function __wbg_setsignal_91c4e8ebd04eb935(arg0, arg1) {
1723
- getObject(arg0).signal = getObject(arg1);
1724
- };
1725
-
1726
- export function __wbg_signal_41e46ccad44bb5e2(arg0) {
1727
- const ret = getObject(arg0).signal;
1728
- return addHeapObject(ret);
1729
- };
1730
-
1731
- export function __wbg_new_ebf2727385ee825c() { return handleError(function () {
1732
- const ret = new AbortController();
1733
- return addHeapObject(ret);
1734
- }, arguments) };
1735
-
1736
- export function __wbg_abort_8659d889a7877ae3(arg0) {
1737
- getObject(arg0).abort();
1738
- };
1739
-
1740
- export function __wbg_new_a220cf903aa02ca2() {
1741
- const ret = new Array();
1742
- return addHeapObject(ret);
1743
- };
1744
-
1745
- export function __wbg_newnoargs_76313bd6ff35d0f2(arg0, arg1) {
1746
- const ret = new Function(getStringFromWasm0(arg0, arg1));
1747
- return addHeapObject(ret);
1748
- };
1749
-
1750
- export function __wbg_new_8608a2b51a5f6737() {
1751
- const ret = new Map();
1752
- return addHeapObject(ret);
1753
- };
1754
-
1755
- export function __wbg_next_de3e9db4440638b2(arg0) {
1756
- const ret = getObject(arg0).next;
1757
- return addHeapObject(ret);
1758
- };
1759
-
1760
- export function __wbg_next_f9cb570345655b9a() { return handleError(function (arg0) {
1761
- const ret = getObject(arg0).next();
1762
- return addHeapObject(ret);
1763
- }, arguments) };
1764
-
1765
- export function __wbg_done_bfda7aa8f252b39f(arg0) {
1766
- const ret = getObject(arg0).done;
1767
- return ret;
1768
- };
1769
-
1770
- export function __wbg_value_6d39332ab4788d86(arg0) {
1771
- const ret = getObject(arg0).value;
1772
- return addHeapObject(ret);
1773
- };
1774
-
1775
- export function __wbg_iterator_888179a48810a9fe() {
1776
- const ret = Symbol.iterator;
1777
- return addHeapObject(ret);
1778
- };
1779
-
1780
- export function __wbg_get_224d16597dbbfd96() { return handleError(function (arg0, arg1) {
1781
- const ret = Reflect.get(getObject(arg0), getObject(arg1));
1782
- return addHeapObject(ret);
1783
- }, arguments) };
1784
-
1785
- export function __wbg_call_1084a111329e68ce() { return handleError(function (arg0, arg1) {
1786
- const ret = getObject(arg0).call(getObject(arg1));
1787
- return addHeapObject(ret);
1788
- }, arguments) };
1789
-
1790
- export function __wbg_new_525245e2b9901204() {
1791
- const ret = new Object();
1792
- return addHeapObject(ret);
1793
- };
1794
-
1795
- export function __wbg_self_3093d5d1f7bcb682() { return handleError(function () {
1796
- const ret = self.self;
1797
- return addHeapObject(ret);
1798
- }, arguments) };
1799
-
1800
- export function __wbg_window_3bcfc4d31bc012f8() { return handleError(function () {
1801
- const ret = window.window;
1802
- return addHeapObject(ret);
1803
- }, arguments) };
1804
-
1805
- export function __wbg_globalThis_86b222e13bdf32ed() { return handleError(function () {
1806
- const ret = globalThis.globalThis;
1807
- return addHeapObject(ret);
1808
- }, arguments) };
1809
-
1810
- export function __wbg_global_e5a3fe56f8be9485() { return handleError(function () {
1811
- const ret = global.global;
1812
- return addHeapObject(ret);
1813
- }, arguments) };
1814
-
1815
- export function __wbg_set_673dda6c73d19609(arg0, arg1, arg2) {
1816
- getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
1817
- };
1818
-
1819
- export function __wbg_call_89af060b4e1523f2() { return handleError(function (arg0, arg1, arg2) {
1820
- const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
1821
- return addHeapObject(ret);
1822
- }, arguments) };
1823
-
1824
- export function __wbg_set_49185437f0ab06f8(arg0, arg1, arg2) {
1825
- const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
1826
- return addHeapObject(ret);
1827
- };
1828
-
1829
- export function __wbg_new_b85e72ed1bfd57f9(arg0, arg1) {
1830
- try {
1831
- var state0 = {a: arg0, b: arg1};
1832
- var cb0 = (arg0, arg1) => {
1833
- const a = state0.a;
1834
- state0.a = 0;
1835
- try {
1836
- return __wbg_adapter_185(a, state0.b, arg0, arg1);
1837
- } finally {
1838
- state0.a = a;
1839
- }
1840
- };
1841
- const ret = new Promise(cb0);
1842
- return addHeapObject(ret);
1843
- } finally {
1844
- state0.a = state0.b = 0;
1845
- }
1846
- };
1847
-
1848
- export function __wbg_resolve_570458cb99d56a43(arg0) {
1849
- const ret = Promise.resolve(getObject(arg0));
1850
- return addHeapObject(ret);
1851
- };
1852
-
1853
- export function __wbg_then_95e6edc0f89b73b1(arg0, arg1) {
1854
- const ret = getObject(arg0).then(getObject(arg1));
1855
- return addHeapObject(ret);
1856
- };
1857
-
1858
- export function __wbg_then_876bb3c633745cc6(arg0, arg1, arg2) {
1859
- const ret = getObject(arg0).then(getObject(arg1), getObject(arg2));
1860
- return addHeapObject(ret);
1861
- };
1862
-
1863
- export function __wbg_buffer_b7b08af79b0b0974(arg0) {
1864
- const ret = getObject(arg0).buffer;
1865
- return addHeapObject(ret);
1866
- };
1867
-
1868
- export function __wbg_newwithbyteoffsetandlength_8a2cb9ca96b27ec9(arg0, arg1, arg2) {
1869
- const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
1870
- return addHeapObject(ret);
1871
- };
1872
-
1873
- export function __wbg_new_ea1883e1e5e86686(arg0) {
1874
- const ret = new Uint8Array(getObject(arg0));
1343
+ export function __wbindgen_string_new(arg0, arg1) {
1344
+ const ret = getStringFromWasm0(arg0, arg1);
1875
1345
  return addHeapObject(ret);
1876
1346
  };
1877
1347
 
1878
- export function __wbg_set_d1e79e2388520f18(arg0, arg1, arg2) {
1879
- getObject(arg0).set(getObject(arg1), arg2 >>> 0);
1880
- };
1881
-
1882
- export function __wbg_length_8339fcf5d8ecd12e(arg0) {
1883
- const ret = getObject(arg0).length;
1884
- return ret;
1885
- };
1886
-
1887
1348
  export function __wbg_parse_52202f117ec9ecfa() { return handleError(function (arg0, arg1) {
1888
1349
  const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
1889
1350
  return addHeapObject(ret);
@@ -1894,37 +1355,7 @@ export function __wbg_stringify_bbf45426c92a6bf5() { return handleError(function
1894
1355
  return addHeapObject(ret);
1895
1356
  }, arguments) };
1896
1357
 
1897
- export function __wbg_has_4bfbc01db38743f7() { return handleError(function (arg0, arg1) {
1898
- const ret = Reflect.has(getObject(arg0), getObject(arg1));
1899
- return ret;
1900
- }, arguments) };
1901
-
1902
- export function __wbindgen_debug_string(arg0, arg1) {
1903
- const ret = debugString(getObject(arg1));
1904
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1905
- const len1 = WASM_VECTOR_LEN;
1906
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1907
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1908
- };
1909
-
1910
1358
  export function __wbindgen_throw(arg0, arg1) {
1911
1359
  throw new Error(getStringFromWasm0(arg0, arg1));
1912
1360
  };
1913
1361
 
1914
- export function __wbindgen_memory() {
1915
- const ret = wasm.memory;
1916
- return addHeapObject(ret);
1917
- };
1918
-
1919
- export function __wbindgen_uint8_array_new(arg0, arg1) {
1920
- var v0 = getArrayU8FromWasm0(arg0, arg1).slice();
1921
- wasm.__wbindgen_free(arg0, arg1 * 1, 1);
1922
- const ret = v0;
1923
- return addHeapObject(ret);
1924
- };
1925
-
1926
- export function __wbindgen_closure_wrapper715(arg0, arg1, arg2) {
1927
- const ret = makeMutClosure(arg0, arg1, 157, __wbg_adapter_36);
1928
- return addHeapObject(ret);
1929
- };
1930
-
Binary file
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "ahqstore-types",
3
3
  "type": "module",
4
4
  "description": "Standard types used by AHQ Store",
5
- "version": "3.2.4",
5
+ "version": "3.2.6",
6
6
  "license": "SEE LICENSE IN ../LICENSE.md",
7
7
  "repository": {
8
8
  "type": "git",