@keyhive/keyhive 0.0.0-alpha.0 → 0.0.0-alpha.2
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 +16 -5
- package/pkg/keyhive_wasm.d.ts +52 -0
- package/pkg/keyhive_wasm_bg.js +148 -82
- package/pkg/keyhive_wasm_bg.wasm +0 -0
- package/pkg/keyhive_wasm_bg.wasm.d.ts +96 -95
- package/pkg-node/keyhive_wasm.d.ts +52 -0
- package/pkg-node/keyhive_wasm.js +299 -183
- package/pkg-node/keyhive_wasm_bg.wasm +0 -0
- package/pkg-node/keyhive_wasm_bg.wasm.d.ts +96 -95
- package/pkg-slim/.gitignore +1 -0
- package/pkg-slim/README.md +34 -0
- package/pkg-slim/index.d.ts +2 -0
- package/pkg-slim/index.js +12 -0
- package/pkg-slim/index.ts +15 -0
- package/pkg-slim/keyhive_wasm.d.ts +634 -0
- package/pkg-slim/keyhive_wasm.js +3535 -0
- package/pkg-slim/keyhive_wasm_bg.wasm +0 -0
- package/pkg-slim/keyhive_wasm_bg.wasm.base64.d.ts +4 -0
- package/pkg-slim/keyhive_wasm_bg.wasm.base64.js +2 -0
- package/pkg-slim/keyhive_wasm_bg.wasm.d.ts +209 -0
- package/pkg-slim/package.json +26 -0
package/pkg/keyhive_wasm_bg.js
CHANGED
|
@@ -13,9 +13,7 @@ function getUint8ArrayMemory0() {
|
|
|
13
13
|
return cachedUint8ArrayMemory0;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
16
|
+
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
19
17
|
|
|
20
18
|
cachedTextDecoder.decode();
|
|
21
19
|
|
|
@@ -24,7 +22,7 @@ let numBytesDecoded = 0;
|
|
|
24
22
|
function decodeText(ptr, len) {
|
|
25
23
|
numBytesDecoded += len;
|
|
26
24
|
if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {
|
|
27
|
-
cachedTextDecoder = new
|
|
25
|
+
cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
28
26
|
cachedTextDecoder.decode();
|
|
29
27
|
numBytesDecoded = len;
|
|
30
28
|
}
|
|
@@ -58,22 +56,18 @@ function getArrayU8FromWasm0(ptr, len) {
|
|
|
58
56
|
|
|
59
57
|
let WASM_VECTOR_LEN = 0;
|
|
60
58
|
|
|
61
|
-
const
|
|
62
|
-
|
|
63
|
-
const cachedTextEncoder = new lTextEncoder('utf-8');
|
|
59
|
+
const cachedTextEncoder = new TextEncoder();
|
|
64
60
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
61
|
+
if (!('encodeInto' in cachedTextEncoder)) {
|
|
62
|
+
cachedTextEncoder.encodeInto = function (arg, view) {
|
|
63
|
+
const buf = cachedTextEncoder.encode(arg);
|
|
64
|
+
view.set(buf);
|
|
65
|
+
return {
|
|
66
|
+
read: arg.length,
|
|
67
|
+
written: buf.length
|
|
68
|
+
};
|
|
69
|
+
}
|
|
68
70
|
}
|
|
69
|
-
: function (arg, view) {
|
|
70
|
-
const buf = cachedTextEncoder.encode(arg);
|
|
71
|
-
view.set(buf);
|
|
72
|
-
return {
|
|
73
|
-
read: arg.length,
|
|
74
|
-
written: buf.length
|
|
75
|
-
};
|
|
76
|
-
});
|
|
77
71
|
|
|
78
72
|
function passStringToWasm0(arg, malloc, realloc) {
|
|
79
73
|
|
|
@@ -104,7 +98,7 @@ function passStringToWasm0(arg, malloc, realloc) {
|
|
|
104
98
|
}
|
|
105
99
|
ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
|
|
106
100
|
const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
|
|
107
|
-
const ret =
|
|
101
|
+
const ret = cachedTextEncoder.encodeInto(arg, view);
|
|
108
102
|
|
|
109
103
|
offset += ret.written;
|
|
110
104
|
ptr = realloc(ptr, len, offset, 1) >>> 0;
|
|
@@ -255,16 +249,6 @@ function _assertClass(instance, klass) {
|
|
|
255
249
|
throw new Error(`expected instance of ${klass.name}`);
|
|
256
250
|
}
|
|
257
251
|
}
|
|
258
|
-
|
|
259
|
-
function passArrayJsValueToWasm0(array, malloc) {
|
|
260
|
-
const ptr = malloc(array.length * 4, 4) >>> 0;
|
|
261
|
-
for (let i = 0; i < array.length; i++) {
|
|
262
|
-
const add = addToExternrefTable0(array[i]);
|
|
263
|
-
getDataViewMemory0().setUint32(ptr + 4 * i, add, true);
|
|
264
|
-
}
|
|
265
|
-
WASM_VECTOR_LEN = array.length;
|
|
266
|
-
return ptr;
|
|
267
|
-
}
|
|
268
252
|
/**
|
|
269
253
|
* Panic hook lets us get better error messages if our Rust code ever panics.
|
|
270
254
|
*
|
|
@@ -275,12 +259,21 @@ export function setPanicHook() {
|
|
|
275
259
|
wasm.setPanicHook();
|
|
276
260
|
}
|
|
277
261
|
|
|
262
|
+
function passArrayJsValueToWasm0(array, malloc) {
|
|
263
|
+
const ptr = malloc(array.length * 4, 4) >>> 0;
|
|
264
|
+
for (let i = 0; i < array.length; i++) {
|
|
265
|
+
const add = addToExternrefTable0(array[i]);
|
|
266
|
+
getDataViewMemory0().setUint32(ptr + 4 * i, add, true);
|
|
267
|
+
}
|
|
268
|
+
WASM_VECTOR_LEN = array.length;
|
|
269
|
+
return ptr;
|
|
270
|
+
}
|
|
278
271
|
function __wbg_adapter_12(arg0, arg1, arg2) {
|
|
279
|
-
wasm.
|
|
272
|
+
wasm.closure423_externref_shim(arg0, arg1, arg2);
|
|
280
273
|
}
|
|
281
274
|
|
|
282
|
-
function
|
|
283
|
-
wasm.
|
|
275
|
+
function __wbg_adapter_272(arg0, arg1, arg2, arg3) {
|
|
276
|
+
wasm.closure571_externref_shim(arg0, arg1, arg2, arg3);
|
|
284
277
|
}
|
|
285
278
|
|
|
286
279
|
const AccessFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
@@ -334,6 +327,7 @@ export class Access {
|
|
|
334
327
|
}
|
|
335
328
|
}
|
|
336
329
|
}
|
|
330
|
+
if (Symbol.dispose) Access.prototype[Symbol.dispose] = Access.prototype.free;
|
|
337
331
|
|
|
338
332
|
const AddMemberErrorFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
339
333
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -376,6 +370,7 @@ export class AddMemberError {
|
|
|
376
370
|
}
|
|
377
371
|
}
|
|
378
372
|
}
|
|
373
|
+
if (Symbol.dispose) AddMemberError.prototype[Symbol.dispose] = AddMemberError.prototype.free;
|
|
379
374
|
|
|
380
375
|
const AgentFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
381
376
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -446,6 +441,7 @@ export class Agent {
|
|
|
446
441
|
return Identifier.__wrap(ret);
|
|
447
442
|
}
|
|
448
443
|
}
|
|
444
|
+
if (Symbol.dispose) Agent.prototype[Symbol.dispose] = Agent.prototype.free;
|
|
449
445
|
|
|
450
446
|
const ArchiveFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
451
447
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -515,6 +511,7 @@ export class Archive {
|
|
|
515
511
|
return Keyhive.__wrap(ret[0]);
|
|
516
512
|
}
|
|
517
513
|
}
|
|
514
|
+
if (Symbol.dispose) Archive.prototype[Symbol.dispose] = Archive.prototype.free;
|
|
518
515
|
|
|
519
516
|
const CannotParseEd25519SigningKeyFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
520
517
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -542,6 +539,7 @@ export class CannotParseEd25519SigningKey {
|
|
|
542
539
|
wasm.__wbg_cannotparseed25519signingkey_free(ptr, 0);
|
|
543
540
|
}
|
|
544
541
|
}
|
|
542
|
+
if (Symbol.dispose) CannotParseEd25519SigningKey.prototype[Symbol.dispose] = CannotParseEd25519SigningKey.prototype.free;
|
|
545
543
|
|
|
546
544
|
const CannotParseIdentifierFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
547
545
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -569,6 +567,7 @@ export class CannotParseIdentifier {
|
|
|
569
567
|
wasm.__wbg_cannotparseidentifier_free(ptr, 0);
|
|
570
568
|
}
|
|
571
569
|
}
|
|
570
|
+
if (Symbol.dispose) CannotParseIdentifier.prototype[Symbol.dispose] = CannotParseIdentifier.prototype.free;
|
|
572
571
|
|
|
573
572
|
const CapabilityFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
574
573
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -617,6 +616,7 @@ export class Capability {
|
|
|
617
616
|
return SignedDelegation.__wrap(ret);
|
|
618
617
|
}
|
|
619
618
|
}
|
|
619
|
+
if (Symbol.dispose) Capability.prototype[Symbol.dispose] = Capability.prototype.free;
|
|
620
620
|
|
|
621
621
|
const CgkaOperationFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
622
622
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -659,6 +659,7 @@ export class CgkaOperation {
|
|
|
659
659
|
}
|
|
660
660
|
}
|
|
661
661
|
}
|
|
662
|
+
if (Symbol.dispose) CgkaOperation.prototype[Symbol.dispose] = CgkaOperation.prototype.free;
|
|
662
663
|
|
|
663
664
|
const ChangeRefFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
664
665
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -713,6 +714,7 @@ export class ChangeRef {
|
|
|
713
714
|
return v1;
|
|
714
715
|
}
|
|
715
716
|
}
|
|
717
|
+
if (Symbol.dispose) ChangeRef.prototype[Symbol.dispose] = ChangeRef.prototype.free;
|
|
716
718
|
|
|
717
719
|
const CiphertextStoreFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
718
720
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -755,6 +757,7 @@ export class CiphertextStore {
|
|
|
755
757
|
return CiphertextStore.__wrap(ret);
|
|
756
758
|
}
|
|
757
759
|
}
|
|
760
|
+
if (Symbol.dispose) CiphertextStore.prototype[Symbol.dispose] = CiphertextStore.prototype.free;
|
|
758
761
|
|
|
759
762
|
const ContactCardFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
760
763
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -839,6 +842,7 @@ export class ContactCard {
|
|
|
839
842
|
}
|
|
840
843
|
}
|
|
841
844
|
}
|
|
845
|
+
if (Symbol.dispose) ContactCard.prototype[Symbol.dispose] = ContactCard.prototype.free;
|
|
842
846
|
|
|
843
847
|
const DelegationFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
844
848
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -894,6 +898,7 @@ export class Delegation {
|
|
|
894
898
|
return History.__wrap(ret);
|
|
895
899
|
}
|
|
896
900
|
}
|
|
901
|
+
if (Symbol.dispose) Delegation.prototype[Symbol.dispose] = Delegation.prototype.free;
|
|
897
902
|
|
|
898
903
|
const DelegationErrorFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
899
904
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -913,6 +918,7 @@ export class DelegationError {
|
|
|
913
918
|
wasm.__wbg_delegationerror_free(ptr, 0);
|
|
914
919
|
}
|
|
915
920
|
}
|
|
921
|
+
if (Symbol.dispose) DelegationError.prototype[Symbol.dispose] = DelegationError.prototype.free;
|
|
916
922
|
|
|
917
923
|
const DocContentRefsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
918
924
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -981,6 +987,7 @@ export class DocContentRefs {
|
|
|
981
987
|
return v1;
|
|
982
988
|
}
|
|
983
989
|
}
|
|
990
|
+
if (Symbol.dispose) DocContentRefs.prototype[Symbol.dispose] = DocContentRefs.prototype.free;
|
|
984
991
|
|
|
985
992
|
const DocumentFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
986
993
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -1043,6 +1050,7 @@ export class Document {
|
|
|
1043
1050
|
return Agent.__wrap(ret);
|
|
1044
1051
|
}
|
|
1045
1052
|
}
|
|
1053
|
+
if (Symbol.dispose) Document.prototype[Symbol.dispose] = Document.prototype.free;
|
|
1046
1054
|
|
|
1047
1055
|
const DocumentIdFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1048
1056
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -1115,6 +1123,7 @@ export class DocumentId {
|
|
|
1115
1123
|
return v1;
|
|
1116
1124
|
}
|
|
1117
1125
|
}
|
|
1126
|
+
if (Symbol.dispose) DocumentId.prototype[Symbol.dispose] = DocumentId.prototype.free;
|
|
1118
1127
|
|
|
1119
1128
|
const EncryptedFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1120
1129
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -1196,6 +1205,7 @@ export class Encrypted {
|
|
|
1196
1205
|
return v1;
|
|
1197
1206
|
}
|
|
1198
1207
|
}
|
|
1208
|
+
if (Symbol.dispose) Encrypted.prototype[Symbol.dispose] = Encrypted.prototype.free;
|
|
1199
1209
|
|
|
1200
1210
|
const EncryptedContentWithUpdateFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1201
1211
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -1237,6 +1247,7 @@ export class EncryptedContentWithUpdate {
|
|
|
1237
1247
|
return ret === 0 ? undefined : SignedCgkaOperation.__wrap(ret);
|
|
1238
1248
|
}
|
|
1239
1249
|
}
|
|
1250
|
+
if (Symbol.dispose) EncryptedContentWithUpdate.prototype[Symbol.dispose] = EncryptedContentWithUpdate.prototype.free;
|
|
1240
1251
|
|
|
1241
1252
|
const EventFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1242
1253
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -1307,6 +1318,7 @@ export class Event {
|
|
|
1307
1318
|
return ret === 0 ? undefined : SignedRevocation.__wrap(ret);
|
|
1308
1319
|
}
|
|
1309
1320
|
}
|
|
1321
|
+
if (Symbol.dispose) Event.prototype[Symbol.dispose] = Event.prototype.free;
|
|
1310
1322
|
|
|
1311
1323
|
const GenerateDocErrorFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1312
1324
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -1349,6 +1361,7 @@ export class GenerateDocError {
|
|
|
1349
1361
|
}
|
|
1350
1362
|
}
|
|
1351
1363
|
}
|
|
1364
|
+
if (Symbol.dispose) GenerateDocError.prototype[Symbol.dispose] = GenerateDocError.prototype.free;
|
|
1352
1365
|
|
|
1353
1366
|
const GenerateWebCryptoErrorFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1354
1367
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -1391,6 +1404,7 @@ export class GenerateWebCryptoError {
|
|
|
1391
1404
|
}
|
|
1392
1405
|
}
|
|
1393
1406
|
}
|
|
1407
|
+
if (Symbol.dispose) GenerateWebCryptoError.prototype[Symbol.dispose] = GenerateWebCryptoError.prototype.free;
|
|
1394
1408
|
|
|
1395
1409
|
const GetCiphertextErrorFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1396
1410
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -1425,6 +1439,7 @@ export class GetCiphertextError {
|
|
|
1425
1439
|
}
|
|
1426
1440
|
}
|
|
1427
1441
|
}
|
|
1442
|
+
if (Symbol.dispose) GetCiphertextError.prototype[Symbol.dispose] = GetCiphertextError.prototype.free;
|
|
1428
1443
|
|
|
1429
1444
|
const GroupFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1430
1445
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -1496,6 +1511,7 @@ export class Group {
|
|
|
1496
1511
|
return Membered.__wrap(ret);
|
|
1497
1512
|
}
|
|
1498
1513
|
}
|
|
1514
|
+
if (Symbol.dispose) Group.prototype[Symbol.dispose] = Group.prototype.free;
|
|
1499
1515
|
|
|
1500
1516
|
const GroupIdFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1501
1517
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -1538,6 +1554,7 @@ export class GroupId {
|
|
|
1538
1554
|
}
|
|
1539
1555
|
}
|
|
1540
1556
|
}
|
|
1557
|
+
if (Symbol.dispose) GroupId.prototype[Symbol.dispose] = GroupId.prototype.free;
|
|
1541
1558
|
|
|
1542
1559
|
const HistoryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1543
1560
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -1592,6 +1609,7 @@ export class History {
|
|
|
1592
1609
|
return v1;
|
|
1593
1610
|
}
|
|
1594
1611
|
}
|
|
1612
|
+
if (Symbol.dispose) History.prototype[Symbol.dispose] = History.prototype.free;
|
|
1595
1613
|
|
|
1596
1614
|
const IdentifierFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1597
1615
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -1642,6 +1660,7 @@ export class Identifier {
|
|
|
1642
1660
|
return v1;
|
|
1643
1661
|
}
|
|
1644
1662
|
}
|
|
1663
|
+
if (Symbol.dispose) Identifier.prototype[Symbol.dispose] = Identifier.prototype.free;
|
|
1645
1664
|
|
|
1646
1665
|
const IndividualFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1647
1666
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -1707,6 +1726,7 @@ export class Individual {
|
|
|
1707
1726
|
return ShareKey.__wrap(ret);
|
|
1708
1727
|
}
|
|
1709
1728
|
}
|
|
1729
|
+
if (Symbol.dispose) Individual.prototype[Symbol.dispose] = Individual.prototype.free;
|
|
1710
1730
|
|
|
1711
1731
|
const IndividualIdFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1712
1732
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -1743,6 +1763,7 @@ export class IndividualId {
|
|
|
1743
1763
|
return v1;
|
|
1744
1764
|
}
|
|
1745
1765
|
}
|
|
1766
|
+
if (Symbol.dispose) IndividualId.prototype[Symbol.dispose] = IndividualId.prototype.free;
|
|
1746
1767
|
|
|
1747
1768
|
const InvocationFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1748
1769
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -1762,6 +1783,7 @@ export class Invocation {
|
|
|
1762
1783
|
wasm.__wbg_invocation_free(ptr, 0);
|
|
1763
1784
|
}
|
|
1764
1785
|
}
|
|
1786
|
+
if (Symbol.dispose) Invocation.prototype[Symbol.dispose] = Invocation.prototype.free;
|
|
1765
1787
|
|
|
1766
1788
|
const JsDecryptErrorFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1767
1789
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -1789,6 +1811,7 @@ export class JsDecryptError {
|
|
|
1789
1811
|
wasm.__wbg_jsdecrypterror_free(ptr, 0);
|
|
1790
1812
|
}
|
|
1791
1813
|
}
|
|
1814
|
+
if (Symbol.dispose) JsDecryptError.prototype[Symbol.dispose] = JsDecryptError.prototype.free;
|
|
1792
1815
|
|
|
1793
1816
|
const JsEncryptErrorFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1794
1817
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -1816,6 +1839,7 @@ export class JsEncryptError {
|
|
|
1816
1839
|
wasm.__wbg_jsencrypterror_free(ptr, 0);
|
|
1817
1840
|
}
|
|
1818
1841
|
}
|
|
1842
|
+
if (Symbol.dispose) JsEncryptError.prototype[Symbol.dispose] = JsEncryptError.prototype.free;
|
|
1819
1843
|
|
|
1820
1844
|
const JsReceivePreKeyOpErrorFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1821
1845
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -1843,6 +1867,7 @@ export class JsReceivePreKeyOpError {
|
|
|
1843
1867
|
wasm.__wbg_jsreceiveprekeyoperror_free(ptr, 0);
|
|
1844
1868
|
}
|
|
1845
1869
|
}
|
|
1870
|
+
if (Symbol.dispose) JsReceivePreKeyOpError.prototype[Symbol.dispose] = JsReceivePreKeyOpError.prototype.free;
|
|
1846
1871
|
|
|
1847
1872
|
const JsReceiveStaticEventErrorFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1848
1873
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -1850,6 +1875,14 @@ const JsReceiveStaticEventErrorFinalization = (typeof FinalizationRegistry === '
|
|
|
1850
1875
|
|
|
1851
1876
|
export class JsReceiveStaticEventError {
|
|
1852
1877
|
|
|
1878
|
+
static __wrap(ptr) {
|
|
1879
|
+
ptr = ptr >>> 0;
|
|
1880
|
+
const obj = Object.create(JsReceiveStaticEventError.prototype);
|
|
1881
|
+
obj.__wbg_ptr = ptr;
|
|
1882
|
+
JsReceiveStaticEventErrorFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
1883
|
+
return obj;
|
|
1884
|
+
}
|
|
1885
|
+
|
|
1853
1886
|
__destroy_into_raw() {
|
|
1854
1887
|
const ptr = this.__wbg_ptr;
|
|
1855
1888
|
this.__wbg_ptr = 0;
|
|
@@ -1862,6 +1895,7 @@ export class JsReceiveStaticEventError {
|
|
|
1862
1895
|
wasm.__wbg_jsreceivestaticeventerror_free(ptr, 0);
|
|
1863
1896
|
}
|
|
1864
1897
|
}
|
|
1898
|
+
if (Symbol.dispose) JsReceiveStaticEventError.prototype[Symbol.dispose] = JsReceiveStaticEventError.prototype.free;
|
|
1865
1899
|
|
|
1866
1900
|
const KeyhiveFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1867
1901
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -2161,7 +2195,17 @@ export class Keyhive {
|
|
|
2161
2195
|
const ret = wasm.keyhive_toArchive(this.__wbg_ptr);
|
|
2162
2196
|
return Archive.__wrap(ret);
|
|
2163
2197
|
}
|
|
2198
|
+
/**
|
|
2199
|
+
* @param {Archive} archive
|
|
2200
|
+
* @returns {Promise<void>}
|
|
2201
|
+
*/
|
|
2202
|
+
ingestArchive(archive) {
|
|
2203
|
+
_assertClass(archive, Archive);
|
|
2204
|
+
const ret = wasm.keyhive_ingestArchive(this.__wbg_ptr, archive.__wbg_ptr);
|
|
2205
|
+
return ret;
|
|
2206
|
+
}
|
|
2164
2207
|
}
|
|
2208
|
+
if (Symbol.dispose) Keyhive.prototype[Symbol.dispose] = Keyhive.prototype.free;
|
|
2165
2209
|
|
|
2166
2210
|
const MemberedFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2167
2211
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -2189,6 +2233,7 @@ export class Membered {
|
|
|
2189
2233
|
wasm.__wbg_membered_free(ptr, 0);
|
|
2190
2234
|
}
|
|
2191
2235
|
}
|
|
2236
|
+
if (Symbol.dispose) Membered.prototype[Symbol.dispose] = Membered.prototype.free;
|
|
2192
2237
|
|
|
2193
2238
|
const PeerFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2194
2239
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -2259,6 +2304,7 @@ export class Peer {
|
|
|
2259
2304
|
return ret !== 0;
|
|
2260
2305
|
}
|
|
2261
2306
|
}
|
|
2307
|
+
if (Symbol.dispose) Peer.prototype[Symbol.dispose] = Peer.prototype.free;
|
|
2262
2308
|
|
|
2263
2309
|
const RemoveCiphertextErrorFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2264
2310
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -2278,6 +2324,7 @@ export class RemoveCiphertextError {
|
|
|
2278
2324
|
wasm.__wbg_removeciphertexterror_free(ptr, 0);
|
|
2279
2325
|
}
|
|
2280
2326
|
}
|
|
2327
|
+
if (Symbol.dispose) RemoveCiphertextError.prototype[Symbol.dispose] = RemoveCiphertextError.prototype.free;
|
|
2281
2328
|
|
|
2282
2329
|
const RevocationFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2283
2330
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -2333,6 +2380,7 @@ export class Revocation {
|
|
|
2333
2380
|
return History.__wrap(ret);
|
|
2334
2381
|
}
|
|
2335
2382
|
}
|
|
2383
|
+
if (Symbol.dispose) Revocation.prototype[Symbol.dispose] = Revocation.prototype.free;
|
|
2336
2384
|
|
|
2337
2385
|
const RevokeMemberErrorFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2338
2386
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -2375,6 +2423,7 @@ export class RevokeMemberError {
|
|
|
2375
2423
|
}
|
|
2376
2424
|
}
|
|
2377
2425
|
}
|
|
2426
|
+
if (Symbol.dispose) RevokeMemberError.prototype[Symbol.dispose] = RevokeMemberError.prototype.free;
|
|
2378
2427
|
|
|
2379
2428
|
const SerializationErrorFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2380
2429
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -2410,6 +2459,7 @@ export class SerializationError {
|
|
|
2410
2459
|
return ret;
|
|
2411
2460
|
}
|
|
2412
2461
|
}
|
|
2462
|
+
if (Symbol.dispose) SerializationError.prototype[Symbol.dispose] = SerializationError.prototype.free;
|
|
2413
2463
|
|
|
2414
2464
|
const ShareKeyFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2415
2465
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -2437,6 +2487,7 @@ export class ShareKey {
|
|
|
2437
2487
|
wasm.__wbg_sharekey_free(ptr, 0);
|
|
2438
2488
|
}
|
|
2439
2489
|
}
|
|
2490
|
+
if (Symbol.dispose) ShareKey.prototype[Symbol.dispose] = ShareKey.prototype.free;
|
|
2440
2491
|
|
|
2441
2492
|
const SignedFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2442
2493
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -2517,6 +2568,7 @@ export class Signed {
|
|
|
2517
2568
|
return v1;
|
|
2518
2569
|
}
|
|
2519
2570
|
}
|
|
2571
|
+
if (Symbol.dispose) Signed.prototype[Symbol.dispose] = Signed.prototype.free;
|
|
2520
2572
|
|
|
2521
2573
|
const SignedCgkaOperationFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2522
2574
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -2576,6 +2628,7 @@ export class SignedCgkaOperation {
|
|
|
2576
2628
|
return v1;
|
|
2577
2629
|
}
|
|
2578
2630
|
}
|
|
2631
|
+
if (Symbol.dispose) SignedCgkaOperation.prototype[Symbol.dispose] = SignedCgkaOperation.prototype.free;
|
|
2579
2632
|
|
|
2580
2633
|
const SignedDelegationFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2581
2634
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -2635,6 +2688,7 @@ export class SignedDelegation {
|
|
|
2635
2688
|
return v1;
|
|
2636
2689
|
}
|
|
2637
2690
|
}
|
|
2691
|
+
if (Symbol.dispose) SignedDelegation.prototype[Symbol.dispose] = SignedDelegation.prototype.free;
|
|
2638
2692
|
|
|
2639
2693
|
const SignedInvocationFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2640
2694
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -2654,6 +2708,7 @@ export class SignedInvocation {
|
|
|
2654
2708
|
wasm.__wbg_signedinvocation_free(ptr, 0);
|
|
2655
2709
|
}
|
|
2656
2710
|
}
|
|
2711
|
+
if (Symbol.dispose) SignedInvocation.prototype[Symbol.dispose] = SignedInvocation.prototype.free;
|
|
2657
2712
|
|
|
2658
2713
|
const SignedRevocationFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2659
2714
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -2713,6 +2768,7 @@ export class SignedRevocation {
|
|
|
2713
2768
|
return v1;
|
|
2714
2769
|
}
|
|
2715
2770
|
}
|
|
2771
|
+
if (Symbol.dispose) SignedRevocation.prototype[Symbol.dispose] = SignedRevocation.prototype.free;
|
|
2716
2772
|
|
|
2717
2773
|
const SignerFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2718
2774
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -2823,6 +2879,7 @@ export class Signer {
|
|
|
2823
2879
|
return Signer.__wrap(ret);
|
|
2824
2880
|
}
|
|
2825
2881
|
}
|
|
2882
|
+
if (Symbol.dispose) Signer.prototype[Symbol.dispose] = Signer.prototype.free;
|
|
2826
2883
|
|
|
2827
2884
|
const SigningErrorFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2828
2885
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -2865,6 +2922,7 @@ export class SigningError {
|
|
|
2865
2922
|
}
|
|
2866
2923
|
}
|
|
2867
2924
|
}
|
|
2925
|
+
if (Symbol.dispose) SigningError.prototype[Symbol.dispose] = SigningError.prototype.free;
|
|
2868
2926
|
|
|
2869
2927
|
const SimpleCapabilityFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2870
2928
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -2906,6 +2964,7 @@ export class SimpleCapability {
|
|
|
2906
2964
|
return Access.__wrap(ret);
|
|
2907
2965
|
}
|
|
2908
2966
|
}
|
|
2967
|
+
if (Symbol.dispose) SimpleCapability.prototype[Symbol.dispose] = SimpleCapability.prototype.free;
|
|
2909
2968
|
|
|
2910
2969
|
const SummaryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2911
2970
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -2947,6 +3006,7 @@ export class Summary {
|
|
|
2947
3006
|
return Access.__wrap(ret);
|
|
2948
3007
|
}
|
|
2949
3008
|
}
|
|
3009
|
+
if (Symbol.dispose) Summary.prototype[Symbol.dispose] = Summary.prototype.free;
|
|
2950
3010
|
|
|
2951
3011
|
const TryFromArchiveErrorFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2952
3012
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -2982,8 +3042,9 @@ export class TryFromArchiveError {
|
|
|
2982
3042
|
return ret;
|
|
2983
3043
|
}
|
|
2984
3044
|
}
|
|
3045
|
+
if (Symbol.dispose) TryFromArchiveError.prototype[Symbol.dispose] = TryFromArchiveError.prototype.free;
|
|
2985
3046
|
|
|
2986
|
-
export function
|
|
3047
|
+
export function __wbg_Error_e17e777aac105295(arg0, arg1) {
|
|
2987
3048
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
2988
3049
|
return ret;
|
|
2989
3050
|
};
|
|
@@ -2993,12 +3054,12 @@ export function __wbg_addmembererror_new(arg0) {
|
|
|
2993
3054
|
return ret;
|
|
2994
3055
|
};
|
|
2995
3056
|
|
|
2996
|
-
export function
|
|
3057
|
+
export function __wbg_call_13410aac570ffff7() { return handleError(function (arg0, arg1) {
|
|
2997
3058
|
const ret = arg0.call(arg1);
|
|
2998
3059
|
return ret;
|
|
2999
3060
|
}, arguments) };
|
|
3000
3061
|
|
|
3001
|
-
export function
|
|
3062
|
+
export function __wbg_call_a5400b25a865cfd8() { return handleError(function (arg0, arg1, arg2) {
|
|
3002
3063
|
const ret = arg0.call(arg1, arg2);
|
|
3003
3064
|
return ret;
|
|
3004
3065
|
}, arguments) };
|
|
@@ -3038,7 +3099,7 @@ export function __wbg_crypto_574e78ad8b13b65f(arg0) {
|
|
|
3038
3099
|
return ret;
|
|
3039
3100
|
};
|
|
3040
3101
|
|
|
3041
|
-
export function
|
|
3102
|
+
export function __wbg_crypto_92ce5ebc02988b17() { return handleError(function (arg0) {
|
|
3042
3103
|
const ret = arg0.crypto;
|
|
3043
3104
|
return ret;
|
|
3044
3105
|
}, arguments) };
|
|
@@ -3080,12 +3141,12 @@ export function __wbg_event_new(arg0) {
|
|
|
3080
3141
|
return ret;
|
|
3081
3142
|
};
|
|
3082
3143
|
|
|
3083
|
-
export function
|
|
3144
|
+
export function __wbg_exportKey_4a1163511775473d() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
3084
3145
|
const ret = arg0.exportKey(getStringFromWasm0(arg1, arg2), arg3);
|
|
3085
3146
|
return ret;
|
|
3086
3147
|
}, arguments) };
|
|
3087
3148
|
|
|
3088
|
-
export function
|
|
3149
|
+
export function __wbg_generateKey_b8902ccb0e50ff4e() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
3089
3150
|
const ret = arg0.generateKey(getStringFromWasm0(arg1, arg2), arg3 !== 0, arg4);
|
|
3090
3151
|
return ret;
|
|
3091
3152
|
}, arguments) };
|
|
@@ -3104,12 +3165,12 @@ export function __wbg_getRandomValues_b8f5dbd5f3995a9e() { return handleError(fu
|
|
|
3104
3165
|
arg0.getRandomValues(arg1);
|
|
3105
3166
|
}, arguments) };
|
|
3106
3167
|
|
|
3107
|
-
export function
|
|
3168
|
+
export function __wbg_getprivatekey_2b060a8a8c19d828(arg0) {
|
|
3108
3169
|
const ret = arg0.privateKey;
|
|
3109
3170
|
return ret;
|
|
3110
3171
|
};
|
|
3111
3172
|
|
|
3112
|
-
export function
|
|
3173
|
+
export function __wbg_getpublickey_ad4c2474164b2d9a(arg0) {
|
|
3113
3174
|
const ret = arg0.publicKey;
|
|
3114
3175
|
return ret;
|
|
3115
3176
|
};
|
|
@@ -3119,7 +3180,7 @@ export function __wbg_group_new(arg0) {
|
|
|
3119
3180
|
return ret;
|
|
3120
3181
|
};
|
|
3121
3182
|
|
|
3122
|
-
export function
|
|
3183
|
+
export function __wbg_instanceof_Window_12d20d558ef92592(arg0) {
|
|
3123
3184
|
let result;
|
|
3124
3185
|
try {
|
|
3125
3186
|
result = arg0 instanceof Window;
|
|
@@ -3145,12 +3206,17 @@ export function __wbg_jsreceiveprekeyoperror_new(arg0) {
|
|
|
3145
3206
|
return ret;
|
|
3146
3207
|
};
|
|
3147
3208
|
|
|
3209
|
+
export function __wbg_jsreceivestaticeventerror_new(arg0) {
|
|
3210
|
+
const ret = JsReceiveStaticEventError.__wrap(arg0);
|
|
3211
|
+
return ret;
|
|
3212
|
+
};
|
|
3213
|
+
|
|
3148
3214
|
export function __wbg_keyhive_new(arg0) {
|
|
3149
3215
|
const ret = Keyhive.__wrap(arg0);
|
|
3150
3216
|
return ret;
|
|
3151
3217
|
};
|
|
3152
3218
|
|
|
3153
|
-
export function
|
|
3219
|
+
export function __wbg_length_6bb7e81f9d7713e4(arg0) {
|
|
3154
3220
|
const ret = arg0.length;
|
|
3155
3221
|
return ret;
|
|
3156
3222
|
};
|
|
@@ -3160,24 +3226,14 @@ export function __wbg_msCrypto_a61aeb35a24c1329(arg0) {
|
|
|
3160
3226
|
return ret;
|
|
3161
3227
|
};
|
|
3162
3228
|
|
|
3163
|
-
export function
|
|
3164
|
-
const ret = new Error();
|
|
3165
|
-
return ret;
|
|
3166
|
-
};
|
|
3167
|
-
|
|
3168
|
-
export function __wbg_new_9190433fb67ed635(arg0) {
|
|
3169
|
-
const ret = new Uint8Array(arg0);
|
|
3170
|
-
return ret;
|
|
3171
|
-
};
|
|
3172
|
-
|
|
3173
|
-
export function __wbg_new_d5e3800b120e37e1(arg0, arg1) {
|
|
3229
|
+
export function __wbg_new_2e3c58a15f39f5f9(arg0, arg1) {
|
|
3174
3230
|
try {
|
|
3175
3231
|
var state0 = {a: arg0, b: arg1};
|
|
3176
3232
|
var cb0 = (arg0, arg1) => {
|
|
3177
3233
|
const a = state0.a;
|
|
3178
3234
|
state0.a = 0;
|
|
3179
3235
|
try {
|
|
3180
|
-
return
|
|
3236
|
+
return __wbg_adapter_272(a, state0.b, arg0, arg1);
|
|
3181
3237
|
} finally {
|
|
3182
3238
|
state0.a = a;
|
|
3183
3239
|
}
|
|
@@ -3189,12 +3245,22 @@ export function __wbg_new_d5e3800b120e37e1(arg0, arg1) {
|
|
|
3189
3245
|
}
|
|
3190
3246
|
};
|
|
3191
3247
|
|
|
3192
|
-
export function
|
|
3248
|
+
export function __wbg_new_638ebfaedbf32a5e(arg0) {
|
|
3249
|
+
const ret = new Uint8Array(arg0);
|
|
3250
|
+
return ret;
|
|
3251
|
+
};
|
|
3252
|
+
|
|
3253
|
+
export function __wbg_new_8a6f238a6ece86ea() {
|
|
3254
|
+
const ret = new Error();
|
|
3255
|
+
return ret;
|
|
3256
|
+
};
|
|
3257
|
+
|
|
3258
|
+
export function __wbg_newnoargs_254190557c45b4ec(arg0, arg1) {
|
|
3193
3259
|
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
3194
3260
|
return ret;
|
|
3195
3261
|
};
|
|
3196
3262
|
|
|
3197
|
-
export function
|
|
3263
|
+
export function __wbg_newwithlength_a167dcc7aaa3ba77(arg0) {
|
|
3198
3264
|
const ret = new Uint8Array(arg0 >>> 0);
|
|
3199
3265
|
return ret;
|
|
3200
3266
|
};
|
|
@@ -3214,17 +3280,17 @@ export function __wbg_process_dc0fbacc7c1c06f7(arg0) {
|
|
|
3214
3280
|
return ret;
|
|
3215
3281
|
};
|
|
3216
3282
|
|
|
3217
|
-
export function
|
|
3283
|
+
export function __wbg_prototypesetcall_3d4a26c1ed734349(arg0, arg1, arg2) {
|
|
3218
3284
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
3219
3285
|
};
|
|
3220
3286
|
|
|
3221
|
-
export function
|
|
3222
|
-
|
|
3223
|
-
return ret;
|
|
3287
|
+
export function __wbg_queueMicrotask_25d0739ac89e8c88(arg0) {
|
|
3288
|
+
queueMicrotask(arg0);
|
|
3224
3289
|
};
|
|
3225
3290
|
|
|
3226
|
-
export function
|
|
3227
|
-
queueMicrotask
|
|
3291
|
+
export function __wbg_queueMicrotask_4488407636f5bf24(arg0) {
|
|
3292
|
+
const ret = arg0.queueMicrotask;
|
|
3293
|
+
return ret;
|
|
3228
3294
|
};
|
|
3229
3295
|
|
|
3230
3296
|
export function __wbg_randomFillSync_ac0988aba3254290() { return handleError(function (arg0, arg1) {
|
|
@@ -3236,7 +3302,7 @@ export function __wbg_require_60cc747a6bc5215a() { return handleError(function (
|
|
|
3236
3302
|
return ret;
|
|
3237
3303
|
}, arguments) };
|
|
3238
3304
|
|
|
3239
|
-
export function
|
|
3305
|
+
export function __wbg_resolve_4055c623acdd6a1b(arg0) {
|
|
3240
3306
|
const ret = Promise.resolve(arg0);
|
|
3241
3307
|
return ret;
|
|
3242
3308
|
};
|
|
@@ -3256,7 +3322,7 @@ export function __wbg_sharekey_new(arg0) {
|
|
|
3256
3322
|
return ret;
|
|
3257
3323
|
};
|
|
3258
3324
|
|
|
3259
|
-
export function
|
|
3325
|
+
export function __wbg_sign_8891059f121b31b5() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
3260
3326
|
const ret = arg0.sign(arg1, arg2, getArrayU8FromWasm0(arg3, arg4));
|
|
3261
3327
|
return ret;
|
|
3262
3328
|
}, arguments) };
|
|
@@ -3299,32 +3365,32 @@ export function __wbg_stack_0ed75d68575b0f3c(arg0, arg1) {
|
|
|
3299
3365
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3300
3366
|
};
|
|
3301
3367
|
|
|
3302
|
-
export function
|
|
3368
|
+
export function __wbg_static_accessor_GLOBAL_8921f820c2ce3f12() {
|
|
3303
3369
|
const ret = typeof global === 'undefined' ? null : global;
|
|
3304
3370
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3305
3371
|
};
|
|
3306
3372
|
|
|
3307
|
-
export function
|
|
3373
|
+
export function __wbg_static_accessor_GLOBAL_THIS_f0a4409105898184() {
|
|
3308
3374
|
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
3309
3375
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3310
3376
|
};
|
|
3311
3377
|
|
|
3312
|
-
export function
|
|
3378
|
+
export function __wbg_static_accessor_SELF_995b214ae681ff99() {
|
|
3313
3379
|
const ret = typeof self === 'undefined' ? null : self;
|
|
3314
3380
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3315
3381
|
};
|
|
3316
3382
|
|
|
3317
|
-
export function
|
|
3383
|
+
export function __wbg_static_accessor_WINDOW_cde3890479c675ea() {
|
|
3318
3384
|
const ret = typeof window === 'undefined' ? null : window;
|
|
3319
3385
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3320
3386
|
};
|
|
3321
3387
|
|
|
3322
|
-
export function
|
|
3388
|
+
export function __wbg_subarray_70fd07feefe14294(arg0, arg1, arg2) {
|
|
3323
3389
|
const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
|
|
3324
3390
|
return ret;
|
|
3325
3391
|
};
|
|
3326
3392
|
|
|
3327
|
-
export function
|
|
3393
|
+
export function __wbg_subtle_dd66747d3e9a93d4(arg0) {
|
|
3328
3394
|
const ret = arg0.subtle;
|
|
3329
3395
|
return ret;
|
|
3330
3396
|
};
|
|
@@ -3334,12 +3400,12 @@ export function __wbg_summary_new(arg0) {
|
|
|
3334
3400
|
return ret;
|
|
3335
3401
|
};
|
|
3336
3402
|
|
|
3337
|
-
export function
|
|
3403
|
+
export function __wbg_then_b33a773d723afa3e(arg0, arg1, arg2) {
|
|
3338
3404
|
const ret = arg0.then(arg1, arg2);
|
|
3339
3405
|
return ret;
|
|
3340
3406
|
};
|
|
3341
3407
|
|
|
3342
|
-
export function
|
|
3408
|
+
export function __wbg_then_e22500defe16819f(arg0, arg1) {
|
|
3343
3409
|
const ret = arg0.then(arg1);
|
|
3344
3410
|
return ret;
|
|
3345
3411
|
};
|
|
@@ -3354,7 +3420,7 @@ export function __wbg_versions_c01dfd4722a88165(arg0) {
|
|
|
3354
3420
|
return ret;
|
|
3355
3421
|
};
|
|
3356
3422
|
|
|
3357
|
-
export function
|
|
3423
|
+
export function __wbg_wbindgencbdrop_eb10308566512b88(arg0) {
|
|
3358
3424
|
const obj = arg0.original;
|
|
3359
3425
|
if (obj.cnt-- == 1) {
|
|
3360
3426
|
obj.a = 0;
|
|
@@ -3364,7 +3430,7 @@ export function __wbg_wbindgencbdrop_a85ed476c6a370b9(arg0) {
|
|
|
3364
3430
|
return ret;
|
|
3365
3431
|
};
|
|
3366
3432
|
|
|
3367
|
-
export function
|
|
3433
|
+
export function __wbg_wbindgendebugstring_99ef257a3ddda34d(arg0, arg1) {
|
|
3368
3434
|
const ret = debugString(arg1);
|
|
3369
3435
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3370
3436
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -3372,34 +3438,34 @@ export function __wbg_wbindgendebugstring_bb652b1bc2061b6d(arg0, arg1) {
|
|
|
3372
3438
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3373
3439
|
};
|
|
3374
3440
|
|
|
3375
|
-
export function
|
|
3441
|
+
export function __wbg_wbindgenisfunction_8cee7dce3725ae74(arg0) {
|
|
3376
3442
|
const ret = typeof(arg0) === 'function';
|
|
3377
3443
|
return ret;
|
|
3378
3444
|
};
|
|
3379
3445
|
|
|
3380
|
-
export function
|
|
3446
|
+
export function __wbg_wbindgenisobject_307a53c6bd97fbf8(arg0) {
|
|
3381
3447
|
const val = arg0;
|
|
3382
3448
|
const ret = typeof(val) === 'object' && val !== null;
|
|
3383
3449
|
return ret;
|
|
3384
3450
|
};
|
|
3385
3451
|
|
|
3386
|
-
export function
|
|
3452
|
+
export function __wbg_wbindgenisstring_d4fa939789f003b0(arg0) {
|
|
3387
3453
|
const ret = typeof(arg0) === 'string';
|
|
3388
3454
|
return ret;
|
|
3389
3455
|
};
|
|
3390
3456
|
|
|
3391
|
-
export function
|
|
3457
|
+
export function __wbg_wbindgenisundefined_c4b71d073b92f3c5(arg0) {
|
|
3392
3458
|
const ret = arg0 === undefined;
|
|
3393
3459
|
return ret;
|
|
3394
3460
|
};
|
|
3395
3461
|
|
|
3396
|
-
export function
|
|
3462
|
+
export function __wbg_wbindgenthrow_451ec1a8469d7eb6(arg0, arg1) {
|
|
3397
3463
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
3398
3464
|
};
|
|
3399
3465
|
|
|
3400
|
-
export function
|
|
3401
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3402
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3466
|
+
export function __wbindgen_cast_133053e9d0cd85aa(arg0, arg1) {
|
|
3467
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 422, function: Function { arguments: [Externref], shim_idx: 423, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3468
|
+
const ret = makeMutClosure(arg0, arg1, 422, __wbg_adapter_12);
|
|
3403
3469
|
return ret;
|
|
3404
3470
|
};
|
|
3405
3471
|
|