bulk-keychain-wasm 0.1.26 → 0.1.27
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/bulk_keychain_wasm.d.ts +11 -11
- package/bulk_keychain_wasm.js +94 -94
- package/bulk_keychain_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/bulk_keychain_wasm.d.ts
CHANGED
|
@@ -47,16 +47,16 @@ export class WasmPreparedMessage {
|
|
|
47
47
|
private constructor();
|
|
48
48
|
free(): void;
|
|
49
49
|
[Symbol.dispose](): void;
|
|
50
|
+
/**
|
|
51
|
+
* Finalize with signature bytes (Uint8Array)
|
|
52
|
+
*/
|
|
53
|
+
finalizeBytes(signature: Uint8Array): any;
|
|
50
54
|
/**
|
|
51
55
|
* Finalize with a signature (base58 string)
|
|
52
56
|
*
|
|
53
57
|
* Call this after your wallet signs the messageBytes.
|
|
54
58
|
*/
|
|
55
59
|
finalize(signature: string): any;
|
|
56
|
-
/**
|
|
57
|
-
* Finalize with signature bytes (Uint8Array)
|
|
58
|
-
*/
|
|
59
|
-
finalizeBytes(signature: Uint8Array): any;
|
|
60
60
|
/**
|
|
61
61
|
* Get the account public key (base58)
|
|
62
62
|
*/
|
|
@@ -129,10 +129,6 @@ export class WasmSigner {
|
|
|
129
129
|
* Enable/disable single-order ID computation.
|
|
130
130
|
*/
|
|
131
131
|
setComputeOrderId(enabled: boolean): void;
|
|
132
|
-
/**
|
|
133
|
-
* Sign a single order/cancel/cancelAll
|
|
134
|
-
*/
|
|
135
|
-
sign(order: any, nonce?: string | null): any;
|
|
136
132
|
/**
|
|
137
133
|
* Sign agent wallet creation/deletion
|
|
138
134
|
*/
|
|
@@ -261,6 +257,10 @@ export class WasmSigner {
|
|
|
261
257
|
* Sign whitelist/un-whitelist faucet access (`whitelistFaucet`)
|
|
262
258
|
*/
|
|
263
259
|
signWhitelistFaucet(target_pubkey: string, whitelist: boolean, nonce?: string | null): any;
|
|
260
|
+
/**
|
|
261
|
+
* Sign a single order/cancel/cancelAll
|
|
262
|
+
*/
|
|
263
|
+
sign(order: any, nonce?: string | null): any;
|
|
264
264
|
/**
|
|
265
265
|
* Create a signer with nonce management
|
|
266
266
|
*/
|
|
@@ -514,9 +514,11 @@ export interface InitOutput {
|
|
|
514
514
|
readonly computeOrderId: (a: number, b: number) => [number, number];
|
|
515
515
|
readonly currentTimestamp: () => [number, number];
|
|
516
516
|
readonly finalizeTransaction: (a: any, b: number, c: number) => [number, number, number];
|
|
517
|
+
readonly init: () => void;
|
|
517
518
|
readonly prepareAgentWallet: (a: number, b: number, c: number, d: any) => [number, number, number];
|
|
518
519
|
readonly prepareAll: (a: any, b: any) => [number, number, number, number];
|
|
519
520
|
readonly prepareApproveBuilderCode: (a: number, b: number, c: number, d: any) => [number, number, number];
|
|
521
|
+
readonly prepareApproveCommissionFee: (a: number, b: number, c: number, d: any) => [number, number, number];
|
|
520
522
|
readonly prepareCreateMultisig: (a: any, b: number, c: any) => [number, number, number];
|
|
521
523
|
readonly prepareCreateSubAccount: (a: number, b: number, c: any) => [number, number, number];
|
|
522
524
|
readonly prepareFaucet: (a: any) => [number, number, number];
|
|
@@ -530,6 +532,7 @@ export interface InitOutput {
|
|
|
530
532
|
readonly prepareRemoveSubAccount: (a: number, b: number, c: any) => [number, number, number];
|
|
531
533
|
readonly prepareRenameSubAccount: (a: number, b: number, c: number, d: number, e: any) => [number, number, number];
|
|
532
534
|
readonly prepareRevokeBuilderCode: (a: number, b: number, c: any) => [number, number, number];
|
|
535
|
+
readonly prepareRevokeCommissionFee: (a: number, b: number, c: any) => [number, number, number];
|
|
533
536
|
readonly prepareTransfer: (a: number, b: number, c: number, d: number, e: number, f: any) => [number, number, number];
|
|
534
537
|
readonly prepareUpdateLiquidatorConfig: (a: any, b: any) => [number, number, number];
|
|
535
538
|
readonly prepareUpdateMultisigPolicy: (a: number, b: number, c: any, d: number, e: any) => [number, number, number];
|
|
@@ -595,9 +598,6 @@ export interface InitOutput {
|
|
|
595
598
|
readonly wasmsigner_signUserSettings: (a: number, b: any, c: number, d: number) => [number, number, number];
|
|
596
599
|
readonly wasmsigner_signWhitelistFaucet: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number];
|
|
597
600
|
readonly wasmsigner_withNonceManager: (a: number, b: number, c: number, d: number, e: number) => [number, number, number];
|
|
598
|
-
readonly init: () => void;
|
|
599
|
-
readonly prepareApproveCommissionFee: (a: number, b: number, c: number, d: any) => [number, number, number];
|
|
600
|
-
readonly prepareRevokeCommissionFee: (a: number, b: number, c: any) => [number, number, number];
|
|
601
601
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
602
602
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
603
603
|
readonly __wbindgen_exn_store: (a: number) => void;
|
package/bulk_keychain_wasm.js
CHANGED
|
@@ -159,6 +159,17 @@ export class WasmPreparedMessage {
|
|
|
159
159
|
const ret = wasm.wasmpreparedmessage_actions(this.__wbg_ptr);
|
|
160
160
|
return ret;
|
|
161
161
|
}
|
|
162
|
+
/**
|
|
163
|
+
* Finalize with signature bytes (Uint8Array)
|
|
164
|
+
* @param {Uint8Array} signature
|
|
165
|
+
* @returns {any}
|
|
166
|
+
*/
|
|
167
|
+
finalizeBytes(signature) {
|
|
168
|
+
const ptr0 = passArray8ToWasm0(signature, wasm.__wbindgen_malloc);
|
|
169
|
+
const len0 = WASM_VECTOR_LEN;
|
|
170
|
+
const ret = wasm.wasmpreparedmessage_finalizeBytes(this.__wbg_ptr, ptr0, len0);
|
|
171
|
+
return ret;
|
|
172
|
+
}
|
|
162
173
|
/**
|
|
163
174
|
* Finalize with a signature (base58 string)
|
|
164
175
|
*
|
|
@@ -172,17 +183,6 @@ export class WasmPreparedMessage {
|
|
|
172
183
|
const ret = wasm.wasmpreparedmessage_finalize(this.__wbg_ptr, ptr0, len0);
|
|
173
184
|
return ret;
|
|
174
185
|
}
|
|
175
|
-
/**
|
|
176
|
-
* Finalize with signature bytes (Uint8Array)
|
|
177
|
-
* @param {Uint8Array} signature
|
|
178
|
-
* @returns {any}
|
|
179
|
-
*/
|
|
180
|
-
finalizeBytes(signature) {
|
|
181
|
-
const ptr0 = passArray8ToWasm0(signature, wasm.__wbindgen_malloc);
|
|
182
|
-
const len0 = WASM_VECTOR_LEN;
|
|
183
|
-
const ret = wasm.wasmpreparedmessage_finalizeBytes(this.__wbg_ptr, ptr0, len0);
|
|
184
|
-
return ret;
|
|
185
|
-
}
|
|
186
186
|
/**
|
|
187
187
|
* Get message as base58 string
|
|
188
188
|
* @returns {string}
|
|
@@ -402,21 +402,6 @@ export class WasmSigner {
|
|
|
402
402
|
setComputeOrderId(enabled) {
|
|
403
403
|
wasm.wasmsigner_setComputeOrderId(this.__wbg_ptr, enabled);
|
|
404
404
|
}
|
|
405
|
-
/**
|
|
406
|
-
* Sign a single order/cancel/cancelAll
|
|
407
|
-
* @param {any} order
|
|
408
|
-
* @param {string | null} [nonce]
|
|
409
|
-
* @returns {any}
|
|
410
|
-
*/
|
|
411
|
-
sign(order, nonce) {
|
|
412
|
-
var ptr0 = isLikeNone(nonce) ? 0 : passStringToWasm0(nonce, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
413
|
-
var len0 = WASM_VECTOR_LEN;
|
|
414
|
-
const ret = wasm.wasmsigner_sign(this.__wbg_ptr, order, ptr0, len0);
|
|
415
|
-
if (ret[2]) {
|
|
416
|
-
throw takeFromExternrefTable0(ret[1]);
|
|
417
|
-
}
|
|
418
|
-
return takeFromExternrefTable0(ret[0]);
|
|
419
|
-
}
|
|
420
405
|
/**
|
|
421
406
|
* Sign agent wallet creation/deletion
|
|
422
407
|
* @param {string} agent_pubkey
|
|
@@ -913,6 +898,21 @@ export class WasmSigner {
|
|
|
913
898
|
}
|
|
914
899
|
return takeFromExternrefTable0(ret[0]);
|
|
915
900
|
}
|
|
901
|
+
/**
|
|
902
|
+
* Sign a single order/cancel/cancelAll
|
|
903
|
+
* @param {any} order
|
|
904
|
+
* @param {string | null} [nonce]
|
|
905
|
+
* @returns {any}
|
|
906
|
+
*/
|
|
907
|
+
sign(order, nonce) {
|
|
908
|
+
var ptr0 = isLikeNone(nonce) ? 0 : passStringToWasm0(nonce, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
909
|
+
var len0 = WASM_VECTOR_LEN;
|
|
910
|
+
const ret = wasm.wasmsigner_sign(this.__wbg_ptr, order, ptr0, len0);
|
|
911
|
+
if (ret[2]) {
|
|
912
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
913
|
+
}
|
|
914
|
+
return takeFromExternrefTable0(ret[0]);
|
|
915
|
+
}
|
|
916
916
|
/**
|
|
917
917
|
* Create a signer with nonce management
|
|
918
918
|
* @param {WasmKeypair} keypair
|
|
@@ -1518,11 +1518,11 @@ export function validatePubkey(s) {
|
|
|
1518
1518
|
function __wbg_get_imports() {
|
|
1519
1519
|
const import0 = {
|
|
1520
1520
|
__proto__: null,
|
|
1521
|
-
|
|
1521
|
+
__wbg_Error_67e7344beaa85059: function(arg0, arg1) {
|
|
1522
1522
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
1523
1523
|
return ret;
|
|
1524
1524
|
},
|
|
1525
|
-
|
|
1525
|
+
__wbg_Number_c54e7112a3fa7e3e: function(arg0) {
|
|
1526
1526
|
const ret = Number(arg0);
|
|
1527
1527
|
return ret;
|
|
1528
1528
|
},
|
|
@@ -1533,64 +1533,64 @@ function __wbg_get_imports() {
|
|
|
1533
1533
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1534
1534
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1535
1535
|
},
|
|
1536
|
-
|
|
1536
|
+
__wbg___wbindgen_bigint_get_as_i64_b482365c149396c8: function(arg0, arg1) {
|
|
1537
1537
|
const v = arg1;
|
|
1538
1538
|
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
1539
1539
|
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
1540
1540
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
1541
1541
|
},
|
|
1542
|
-
|
|
1542
|
+
__wbg___wbindgen_boolean_get_7a12af2b3f899c5a: function(arg0) {
|
|
1543
1543
|
const v = arg0;
|
|
1544
1544
|
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
1545
1545
|
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
1546
1546
|
},
|
|
1547
|
-
|
|
1547
|
+
__wbg___wbindgen_debug_string_0e68cf47c9cbd9b0: function(arg0, arg1) {
|
|
1548
1548
|
const ret = debugString(arg1);
|
|
1549
1549
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1550
1550
|
const len1 = WASM_VECTOR_LEN;
|
|
1551
1551
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1552
1552
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1553
1553
|
},
|
|
1554
|
-
|
|
1554
|
+
__wbg___wbindgen_in_50072d4d6e45c193: function(arg0, arg1) {
|
|
1555
1555
|
const ret = arg0 in arg1;
|
|
1556
1556
|
return ret;
|
|
1557
1557
|
},
|
|
1558
|
-
|
|
1558
|
+
__wbg___wbindgen_is_bigint_60fc0336cb14f5d7: function(arg0) {
|
|
1559
1559
|
const ret = typeof(arg0) === 'bigint';
|
|
1560
1560
|
return ret;
|
|
1561
1561
|
},
|
|
1562
|
-
|
|
1562
|
+
__wbg___wbindgen_is_function_fcda5e3902d732fe: function(arg0) {
|
|
1563
1563
|
const ret = typeof(arg0) === 'function';
|
|
1564
1564
|
return ret;
|
|
1565
1565
|
},
|
|
1566
|
-
|
|
1566
|
+
__wbg___wbindgen_is_object_edb6b15aa3afe12e: function(arg0) {
|
|
1567
1567
|
const val = arg0;
|
|
1568
1568
|
const ret = typeof(val) === 'object' && val !== null;
|
|
1569
1569
|
return ret;
|
|
1570
1570
|
},
|
|
1571
|
-
|
|
1571
|
+
__wbg___wbindgen_is_string_c4f7cb494a2a21f1: function(arg0) {
|
|
1572
1572
|
const ret = typeof(arg0) === 'string';
|
|
1573
1573
|
return ret;
|
|
1574
1574
|
},
|
|
1575
|
-
|
|
1575
|
+
__wbg___wbindgen_is_undefined_8c687d0b90d5b524: function(arg0) {
|
|
1576
1576
|
const ret = arg0 === undefined;
|
|
1577
1577
|
return ret;
|
|
1578
1578
|
},
|
|
1579
|
-
|
|
1579
|
+
__wbg___wbindgen_jsval_eq_9fdcd3c0a860dd3b: function(arg0, arg1) {
|
|
1580
1580
|
const ret = arg0 === arg1;
|
|
1581
1581
|
return ret;
|
|
1582
1582
|
},
|
|
1583
|
-
|
|
1583
|
+
__wbg___wbindgen_jsval_loose_eq_3c30021c243b64cd: function(arg0, arg1) {
|
|
1584
1584
|
const ret = arg0 == arg1;
|
|
1585
1585
|
return ret;
|
|
1586
1586
|
},
|
|
1587
|
-
|
|
1587
|
+
__wbg___wbindgen_number_get_1dc732b810cb937c: function(arg0, arg1) {
|
|
1588
1588
|
const obj = arg1;
|
|
1589
1589
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
1590
1590
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
1591
1591
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
1592
1592
|
},
|
|
1593
|
-
|
|
1593
|
+
__wbg___wbindgen_string_get_92ab86bb19cbc12f: function(arg0, arg1) {
|
|
1594
1594
|
const obj = arg1;
|
|
1595
1595
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
1596
1596
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -1598,14 +1598,14 @@ function __wbg_get_imports() {
|
|
|
1598
1598
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1599
1599
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1600
1600
|
},
|
|
1601
|
-
|
|
1601
|
+
__wbg___wbindgen_throw_5d9e815e6fdf150f: function(arg0, arg1) {
|
|
1602
1602
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
1603
1603
|
},
|
|
1604
|
-
|
|
1604
|
+
__wbg_call_269c5566fbede3eb: function() { return handleError(function (arg0, arg1) {
|
|
1605
1605
|
const ret = arg0.call(arg1);
|
|
1606
1606
|
return ret;
|
|
1607
1607
|
}, arguments); },
|
|
1608
|
-
|
|
1608
|
+
__wbg_call_6bcf8d3e20937e46: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1609
1609
|
const ret = arg0.call(arg1, arg2);
|
|
1610
1610
|
return ret;
|
|
1611
1611
|
}, arguments); },
|
|
@@ -1613,11 +1613,11 @@ function __wbg_get_imports() {
|
|
|
1613
1613
|
const ret = arg0.crypto;
|
|
1614
1614
|
return ret;
|
|
1615
1615
|
},
|
|
1616
|
-
|
|
1616
|
+
__wbg_done_cffed884d87aa22e: function(arg0) {
|
|
1617
1617
|
const ret = arg0.done;
|
|
1618
1618
|
return ret;
|
|
1619
1619
|
},
|
|
1620
|
-
|
|
1620
|
+
__wbg_entries_972a87586902cf87: function(arg0) {
|
|
1621
1621
|
const ret = Object.entries(arg0);
|
|
1622
1622
|
return ret;
|
|
1623
1623
|
},
|
|
@@ -1635,15 +1635,15 @@ function __wbg_get_imports() {
|
|
|
1635
1635
|
__wbg_getRandomValues_c44a50d8cfdaebeb: function() { return handleError(function (arg0, arg1) {
|
|
1636
1636
|
arg0.getRandomValues(arg1);
|
|
1637
1637
|
}, arguments); },
|
|
1638
|
-
|
|
1639
|
-
const ret = arg0[arg1 >>> 0];
|
|
1640
|
-
return ret;
|
|
1641
|
-
},
|
|
1642
|
-
__wbg_get_d173c0308df22d37: function() { return handleError(function (arg0, arg1) {
|
|
1638
|
+
__wbg_get_6cf5a4d4d8ad3c5a: function() { return handleError(function (arg0, arg1) {
|
|
1643
1639
|
const ret = Reflect.get(arg0, arg1);
|
|
1644
1640
|
return ret;
|
|
1645
1641
|
}, arguments); },
|
|
1646
|
-
|
|
1642
|
+
__wbg_get_b1f0ab13c737f856: function(arg0, arg1) {
|
|
1643
|
+
const ret = arg0[arg1 >>> 0];
|
|
1644
|
+
return ret;
|
|
1645
|
+
},
|
|
1646
|
+
__wbg_get_unchecked_363572bdd397d473: function(arg0, arg1) {
|
|
1647
1647
|
const ret = arg0[arg1 >>> 0];
|
|
1648
1648
|
return ret;
|
|
1649
1649
|
},
|
|
@@ -1651,7 +1651,7 @@ function __wbg_get_imports() {
|
|
|
1651
1651
|
const ret = arg0[arg1];
|
|
1652
1652
|
return ret;
|
|
1653
1653
|
},
|
|
1654
|
-
|
|
1654
|
+
__wbg_instanceof_ArrayBuffer_d4ff01f8247925ae: function(arg0) {
|
|
1655
1655
|
let result;
|
|
1656
1656
|
try {
|
|
1657
1657
|
result = arg0 instanceof ArrayBuffer;
|
|
@@ -1661,7 +1661,7 @@ function __wbg_get_imports() {
|
|
|
1661
1661
|
const ret = result;
|
|
1662
1662
|
return ret;
|
|
1663
1663
|
},
|
|
1664
|
-
|
|
1664
|
+
__wbg_instanceof_Map_1ff6a2b54c899f0d: function(arg0) {
|
|
1665
1665
|
let result;
|
|
1666
1666
|
try {
|
|
1667
1667
|
result = arg0 instanceof Map;
|
|
@@ -1671,7 +1671,7 @@ function __wbg_get_imports() {
|
|
|
1671
1671
|
const ret = result;
|
|
1672
1672
|
return ret;
|
|
1673
1673
|
},
|
|
1674
|
-
|
|
1674
|
+
__wbg_instanceof_Uint8Array_598adc0fef426aa8: function(arg0) {
|
|
1675
1675
|
let result;
|
|
1676
1676
|
try {
|
|
1677
1677
|
result = arg0 instanceof Uint8Array;
|
|
@@ -1681,23 +1681,23 @@ function __wbg_get_imports() {
|
|
|
1681
1681
|
const ret = result;
|
|
1682
1682
|
return ret;
|
|
1683
1683
|
},
|
|
1684
|
-
|
|
1684
|
+
__wbg_isArray_5674713bb7b79043: function(arg0) {
|
|
1685
1685
|
const ret = Array.isArray(arg0);
|
|
1686
1686
|
return ret;
|
|
1687
1687
|
},
|
|
1688
|
-
|
|
1688
|
+
__wbg_isSafeInteger_8f51c743827d1ec5: function(arg0) {
|
|
1689
1689
|
const ret = Number.isSafeInteger(arg0);
|
|
1690
1690
|
return ret;
|
|
1691
1691
|
},
|
|
1692
|
-
|
|
1692
|
+
__wbg_iterator_22ddeb808cf55a6f: function() {
|
|
1693
1693
|
const ret = Symbol.iterator;
|
|
1694
1694
|
return ret;
|
|
1695
1695
|
},
|
|
1696
|
-
|
|
1696
|
+
__wbg_length_31bdaf014f5fbde2: function(arg0) {
|
|
1697
1697
|
const ret = arg0.length;
|
|
1698
1698
|
return ret;
|
|
1699
1699
|
},
|
|
1700
|
-
|
|
1700
|
+
__wbg_length_4e1adc0d42e23620: function(arg0) {
|
|
1701
1701
|
const ret = arg0.length;
|
|
1702
1702
|
return ret;
|
|
1703
1703
|
},
|
|
@@ -1705,43 +1705,43 @@ function __wbg_get_imports() {
|
|
|
1705
1705
|
const ret = arg0.msCrypto;
|
|
1706
1706
|
return ret;
|
|
1707
1707
|
},
|
|
1708
|
-
|
|
1709
|
-
const ret = new
|
|
1708
|
+
__wbg_new_1da3429bc3c4541c: function(arg0) {
|
|
1709
|
+
const ret = new Uint8Array(arg0);
|
|
1710
1710
|
return ret;
|
|
1711
1711
|
},
|
|
1712
1712
|
__wbg_new_227d7c05414eb861: function() {
|
|
1713
1713
|
const ret = new Error();
|
|
1714
1714
|
return ret;
|
|
1715
1715
|
},
|
|
1716
|
-
|
|
1717
|
-
const ret = new Uint8Array(arg0);
|
|
1718
|
-
return ret;
|
|
1719
|
-
},
|
|
1720
|
-
__wbg_new_cdf041679ded4c5f: function() {
|
|
1716
|
+
__wbg_new_8d36e20aa758e411: function() {
|
|
1721
1717
|
const ret = new Map();
|
|
1722
1718
|
return ret;
|
|
1723
1719
|
},
|
|
1724
|
-
|
|
1720
|
+
__wbg_new_bebc3f4757acf305: function() {
|
|
1725
1721
|
const ret = new Object();
|
|
1726
1722
|
return ret;
|
|
1727
1723
|
},
|
|
1728
|
-
|
|
1729
|
-
const ret = new
|
|
1724
|
+
__wbg_new_ffa92086ea89f79c: function() {
|
|
1725
|
+
const ret = new Array();
|
|
1730
1726
|
return ret;
|
|
1731
1727
|
},
|
|
1732
|
-
|
|
1733
|
-
const ret = arg0
|
|
1728
|
+
__wbg_new_with_length_5ffeddb9d9fbb96f: function(arg0) {
|
|
1729
|
+
const ret = new Uint8Array(arg0 >>> 0);
|
|
1734
1730
|
return ret;
|
|
1735
|
-
},
|
|
1736
|
-
|
|
1731
|
+
},
|
|
1732
|
+
__wbg_next_95053e306b1c3aed: function(arg0) {
|
|
1737
1733
|
const ret = arg0.next;
|
|
1738
1734
|
return ret;
|
|
1739
1735
|
},
|
|
1736
|
+
__wbg_next_f31ecb8646d2c605: function() { return handleError(function (arg0) {
|
|
1737
|
+
const ret = arg0.next();
|
|
1738
|
+
return ret;
|
|
1739
|
+
}, arguments); },
|
|
1740
1740
|
__wbg_node_84ea875411254db1: function(arg0) {
|
|
1741
1741
|
const ret = arg0.node;
|
|
1742
1742
|
return ret;
|
|
1743
1743
|
},
|
|
1744
|
-
|
|
1744
|
+
__wbg_now_d1fb6650485d7f3e: function() {
|
|
1745
1745
|
const ret = Date.now();
|
|
1746
1746
|
return ret;
|
|
1747
1747
|
},
|
|
@@ -1749,7 +1749,7 @@ function __wbg_get_imports() {
|
|
|
1749
1749
|
const ret = arg0.process;
|
|
1750
1750
|
return ret;
|
|
1751
1751
|
},
|
|
1752
|
-
|
|
1752
|
+
__wbg_prototypesetcall_ae9f5e7459250748: function(arg0, arg1, arg2) {
|
|
1753
1753
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
1754
1754
|
},
|
|
1755
1755
|
__wbg_randomFillSync_6c25eac9869eb53c: function() { return handleError(function (arg0, arg1) {
|
|
@@ -1759,15 +1759,15 @@ function __wbg_get_imports() {
|
|
|
1759
1759
|
const ret = module.require;
|
|
1760
1760
|
return ret;
|
|
1761
1761
|
}, arguments); },
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
return ret;
|
|
1762
|
+
__wbg_set_13d25b81ab403f5e: function(arg0, arg1, arg2) {
|
|
1763
|
+
arg0[arg1 >>> 0] = arg2;
|
|
1765
1764
|
},
|
|
1766
1765
|
__wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
|
|
1767
1766
|
arg0[arg1] = arg2;
|
|
1768
1767
|
},
|
|
1769
|
-
|
|
1770
|
-
|
|
1768
|
+
__wbg_set_bf6dde4923b9b059: function(arg0, arg1, arg2) {
|
|
1769
|
+
const ret = arg0.set(arg1, arg2);
|
|
1770
|
+
return ret;
|
|
1771
1771
|
},
|
|
1772
1772
|
__wbg_stack_3b0d974bbf31e44f: function(arg0, arg1) {
|
|
1773
1773
|
const ret = arg1.stack;
|
|
@@ -1776,27 +1776,27 @@ function __wbg_get_imports() {
|
|
|
1776
1776
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1777
1777
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1778
1778
|
},
|
|
1779
|
-
|
|
1780
|
-
const ret = typeof
|
|
1779
|
+
__wbg_static_accessor_GLOBAL_8eb4cd83130a11a0: function() {
|
|
1780
|
+
const ret = typeof global === 'undefined' ? null : global;
|
|
1781
1781
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1782
1782
|
},
|
|
1783
|
-
|
|
1784
|
-
const ret = typeof
|
|
1783
|
+
__wbg_static_accessor_GLOBAL_THIS_1e7044f654e934db: function() {
|
|
1784
|
+
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
1785
1785
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1786
1786
|
},
|
|
1787
|
-
|
|
1787
|
+
__wbg_static_accessor_SELF_d8b50611246a6d92: function() {
|
|
1788
1788
|
const ret = typeof self === 'undefined' ? null : self;
|
|
1789
1789
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1790
1790
|
},
|
|
1791
|
-
|
|
1791
|
+
__wbg_static_accessor_WINDOW_fd0bc376bf0f8b42: function() {
|
|
1792
1792
|
const ret = typeof window === 'undefined' ? null : window;
|
|
1793
1793
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1794
1794
|
},
|
|
1795
|
-
|
|
1795
|
+
__wbg_subarray_1daff70dde20c145: function(arg0, arg1, arg2) {
|
|
1796
1796
|
const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
|
|
1797
1797
|
return ret;
|
|
1798
1798
|
},
|
|
1799
|
-
|
|
1799
|
+
__wbg_value_c227f843d21da141: function(arg0) {
|
|
1800
1800
|
const ret = arg0.value;
|
|
1801
1801
|
return ret;
|
|
1802
1802
|
},
|
|
@@ -1808,27 +1808,27 @@ function __wbg_get_imports() {
|
|
|
1808
1808
|
const ret = WasmPreparedMessage.__wrap(arg0);
|
|
1809
1809
|
return ret;
|
|
1810
1810
|
},
|
|
1811
|
-
|
|
1811
|
+
__wbindgen_generic_0000000000000001: function(arg0) {
|
|
1812
1812
|
// Cast intrinsic for `F64 -> Externref`.
|
|
1813
1813
|
const ret = arg0;
|
|
1814
1814
|
return ret;
|
|
1815
1815
|
},
|
|
1816
|
-
|
|
1816
|
+
__wbindgen_generic_0000000000000002: function(arg0) {
|
|
1817
1817
|
// Cast intrinsic for `I64 -> Externref`.
|
|
1818
1818
|
const ret = arg0;
|
|
1819
1819
|
return ret;
|
|
1820
1820
|
},
|
|
1821
|
-
|
|
1821
|
+
__wbindgen_generic_0000000000000003: function(arg0, arg1) {
|
|
1822
1822
|
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
1823
1823
|
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
1824
1824
|
return ret;
|
|
1825
1825
|
},
|
|
1826
|
-
|
|
1826
|
+
__wbindgen_generic_0000000000000004: function(arg0, arg1) {
|
|
1827
1827
|
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
1828
1828
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
1829
1829
|
return ret;
|
|
1830
1830
|
},
|
|
1831
|
-
|
|
1831
|
+
__wbindgen_generic_0000000000000005: function(arg0) {
|
|
1832
1832
|
// Cast intrinsic for `U64 -> Externref`.
|
|
1833
1833
|
const ret = BigInt.asUintN(64, arg0);
|
|
1834
1834
|
return ret;
|
|
Binary file
|
package/package.json
CHANGED