@keyhive/keyhive 0.0.0-alpha.56 → 0.0.0-alpha.56b
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/pkg/keyhive_wasm.d.ts +1 -0
- package/pkg/keyhive_wasm_bg.js +68 -61
- package/pkg/keyhive_wasm_bg.wasm +0 -0
- package/pkg/keyhive_wasm_bg.wasm.d.ts +109 -108
- package/pkg-node/keyhive_wasm.d.ts +1 -0
- package/pkg-node/keyhive_wasm.js +68 -61
- package/pkg-node/keyhive_wasm_bg.wasm +0 -0
- package/pkg-node/keyhive_wasm_bg.wasm.d.ts +109 -108
- package/pkg-slim/keyhive_wasm.d.ts +110 -108
- package/pkg-slim/keyhive_wasm.js +68 -61
- package/pkg-slim/keyhive_wasm_bg.wasm +0 -0
- package/pkg-slim/keyhive_wasm_bg.wasm.base64.js +1 -1
- package/pkg-slim/keyhive_wasm_bg.wasm.d.ts +109 -108
|
@@ -142,6 +142,7 @@ export class Document {
|
|
|
142
142
|
* Upcasts; to the JS-import type for [`JsDocument`].
|
|
143
143
|
*/
|
|
144
144
|
__wasm_refgen_toJsDocument(): Document;
|
|
145
|
+
members(): Promise<Capability[]>;
|
|
145
146
|
toAgent(): Agent;
|
|
146
147
|
toMembered(): Membered;
|
|
147
148
|
toPeer(): Peer;
|
|
@@ -476,50 +477,24 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
476
477
|
|
|
477
478
|
export interface InitOutput {
|
|
478
479
|
readonly memory: WebAssembly.Memory;
|
|
479
|
-
readonly __wbg_capability_free: (a: number, b: number) => void;
|
|
480
480
|
readonly __wbg_document_free: (a: number, b: number) => void;
|
|
481
|
-
readonly __wbg_membered_free: (a: number, b: number) => void;
|
|
482
|
-
readonly __wbg_summary_free: (a: number, b: number) => void;
|
|
483
|
-
readonly capability_can: (a: number) => number;
|
|
484
|
-
readonly capability_proof: (a: number) => number;
|
|
485
|
-
readonly capability_who: (a: number) => number;
|
|
486
481
|
readonly document___wasm_refgen_toJsDocument: (a: number) => number;
|
|
487
482
|
readonly document_doc_id: (a: number) => number;
|
|
483
|
+
readonly document_members: (a: number) => any;
|
|
488
484
|
readonly document_toAgent: (a: number) => number;
|
|
489
485
|
readonly document_toMembered: (a: number) => number;
|
|
490
486
|
readonly document_toPeer: (a: number) => number;
|
|
491
|
-
readonly
|
|
492
|
-
readonly summary_doc: (a: number) => number;
|
|
487
|
+
readonly setPanicHook: () => void;
|
|
493
488
|
readonly document_id: (a: number) => number;
|
|
494
|
-
readonly __wbg_changeid_free: (a: number, b: number) => void;
|
|
495
|
-
readonly __wbg_delegation_free: (a: number, b: number) => void;
|
|
496
|
-
readonly __wbg_encryptedcontentwithupdate_free: (a: number, b: number) => void;
|
|
497
|
-
readonly __wbg_membership_free: (a: number, b: number) => void;
|
|
498
|
-
readonly __wbg_revocation_free: (a: number, b: number) => void;
|
|
499
|
-
readonly __wbg_signedinvocation_free: (a: number, b: number) => void;
|
|
500
|
-
readonly changeid___wasm_refgen_toJsChangeId: (a: number) => number;
|
|
501
|
-
readonly changeid_bytes: (a: number) => [number, number];
|
|
502
|
-
readonly changeid_new: (a: number, b: number) => number;
|
|
503
|
-
readonly delegation_after: (a: number) => number;
|
|
504
|
-
readonly delegation_can: (a: number) => number;
|
|
505
|
-
readonly delegation_delegate: (a: number) => number;
|
|
506
|
-
readonly delegation_proof: (a: number) => number;
|
|
507
|
-
readonly encryptedcontentwithupdate_encrypted_content: (a: number) => number;
|
|
508
|
-
readonly encryptedcontentwithupdate_update_op: (a: number) => number;
|
|
509
|
-
readonly membership_can: (a: number) => number;
|
|
510
|
-
readonly membership_who: (a: number) => number;
|
|
511
|
-
readonly revocation_after: (a: number) => number;
|
|
512
|
-
readonly revocation_proof: (a: number) => number;
|
|
513
|
-
readonly revocation_revoked: (a: number) => number;
|
|
514
|
-
readonly revocation_subject_id: (a: number) => number;
|
|
515
489
|
readonly __wbg_access_free: (a: number, b: number) => void;
|
|
516
490
|
readonly __wbg_archive_free: (a: number, b: number) => void;
|
|
491
|
+
readonly __wbg_cannotparseidentifier_free: (a: number, b: number) => void;
|
|
517
492
|
readonly __wbg_contactcard_free: (a: number, b: number) => void;
|
|
518
|
-
readonly __wbg_doccontentrefs_free: (a: number, b: number) => void;
|
|
519
493
|
readonly __wbg_groupid_free: (a: number, b: number) => void;
|
|
520
|
-
readonly
|
|
494
|
+
readonly __wbg_identifier_free: (a: number, b: number) => void;
|
|
495
|
+
readonly __wbg_membership_free: (a: number, b: number) => void;
|
|
521
496
|
readonly __wbg_signed_free: (a: number, b: number) => void;
|
|
522
|
-
readonly
|
|
497
|
+
readonly __wbg_stats_free: (a: number, b: number) => void;
|
|
523
498
|
readonly access_toString: (a: number) => [number, number];
|
|
524
499
|
readonly access_tryFromString: (a: number, b: number) => number;
|
|
525
500
|
readonly archive_toBytes: (a: number) => [number, number, number, number];
|
|
@@ -532,27 +507,43 @@ export interface InitOutput {
|
|
|
532
507
|
readonly contactcard_shareKey: (a: number) => number;
|
|
533
508
|
readonly contactcard_signature: (a: number) => [number, number];
|
|
534
509
|
readonly contactcard_toJson: (a: number) => [number, number, number, number];
|
|
535
|
-
readonly doccontentrefs_addChangeId: (a: number, b: number) => any;
|
|
536
|
-
readonly doccontentrefs_change_hashes: (a: number) => any;
|
|
537
|
-
readonly doccontentrefs_docId: (a: number) => number;
|
|
538
|
-
readonly doccontentrefs_new: (a: number, b: number, c: number) => [number, number, number];
|
|
539
510
|
readonly groupid_toString: (a: number) => [number, number];
|
|
540
|
-
readonly
|
|
511
|
+
readonly identifier_new: (a: number, b: number) => [number, number, number];
|
|
512
|
+
readonly identifier_publicId: () => number;
|
|
513
|
+
readonly identifier_toBytes: (a: number) => [number, number];
|
|
514
|
+
readonly membership_can: (a: number) => number;
|
|
515
|
+
readonly membership_who: (a: number) => number;
|
|
541
516
|
readonly signed_fromBytes: (a: number, b: number) => [number, number, number];
|
|
542
517
|
readonly signed_payload: (a: number) => [number, number];
|
|
543
518
|
readonly signed_signature: (a: number) => [number, number];
|
|
544
519
|
readonly signed_toBytes: (a: number) => [number, number, number, number];
|
|
545
520
|
readonly signed_verify: (a: number) => number;
|
|
546
521
|
readonly signed_verifyingKey: (a: number) => [number, number];
|
|
547
|
-
readonly
|
|
548
|
-
readonly
|
|
549
|
-
readonly
|
|
550
|
-
readonly
|
|
522
|
+
readonly stats_activePrekeyCount: (a: number) => bigint;
|
|
523
|
+
readonly stats_cgkaOperations: (a: number) => bigint;
|
|
524
|
+
readonly stats_delegations: (a: number) => bigint;
|
|
525
|
+
readonly stats_docs: (a: number) => bigint;
|
|
526
|
+
readonly stats_groups: (a: number) => bigint;
|
|
527
|
+
readonly stats_individuals: (a: number) => bigint;
|
|
528
|
+
readonly stats_pendingCgkaOperation: (a: number) => bigint;
|
|
529
|
+
readonly stats_pendingCgkaOperationByActive: (a: number) => bigint;
|
|
530
|
+
readonly stats_pendingDelegated: (a: number) => bigint;
|
|
531
|
+
readonly stats_pendingDelegatedByActive: (a: number) => bigint;
|
|
532
|
+
readonly stats_pendingPrekeyRotated: (a: number) => bigint;
|
|
533
|
+
readonly stats_pendingPrekeyRotatedByActive: (a: number) => bigint;
|
|
534
|
+
readonly stats_pendingPrekeysExpanded: (a: number) => bigint;
|
|
535
|
+
readonly stats_pendingPrekeysExpandedByActive: (a: number) => bigint;
|
|
536
|
+
readonly stats_pendingRevoked: (a: number) => bigint;
|
|
537
|
+
readonly stats_pendingRevokedByActive: (a: number) => bigint;
|
|
538
|
+
readonly stats_prekeyRotations: (a: number) => bigint;
|
|
539
|
+
readonly stats_prekeysExpanded: (a: number) => bigint;
|
|
540
|
+
readonly stats_revocations: (a: number) => bigint;
|
|
541
|
+
readonly stats_totalOps: (a: number) => bigint;
|
|
542
|
+
readonly stats_totalPendingOps: (a: number) => bigint;
|
|
551
543
|
readonly __wbg_agent_free: (a: number, b: number) => void;
|
|
552
544
|
readonly __wbg_allagentevents_free: (a: number, b: number) => void;
|
|
553
545
|
readonly __wbg_ciphertextstore_free: (a: number, b: number) => void;
|
|
554
|
-
readonly
|
|
555
|
-
readonly __wbg_history_free: (a: number, b: number) => void;
|
|
546
|
+
readonly __wbg_individual_free: (a: number, b: number) => void;
|
|
556
547
|
readonly __wbg_invocation_free: (a: number, b: number) => void;
|
|
557
548
|
readonly __wbg_keyhive_free: (a: number, b: number) => void;
|
|
558
549
|
readonly __wbg_peer_free: (a: number, b: number) => void;
|
|
@@ -572,15 +563,10 @@ export interface InitOutput {
|
|
|
572
563
|
readonly allagentevents_prekeySources: (a: number) => any;
|
|
573
564
|
readonly ciphertextstore_newFromWebStorage: (a: any) => number;
|
|
574
565
|
readonly ciphertextstore_newInMemory: () => number;
|
|
575
|
-
readonly
|
|
576
|
-
readonly
|
|
577
|
-
readonly
|
|
578
|
-
readonly
|
|
579
|
-
readonly group_toMembered: (a: number) => number;
|
|
580
|
-
readonly group_toPeer: (a: number) => number;
|
|
581
|
-
readonly history_contentRefs: (a: number) => [number, number];
|
|
582
|
-
readonly history_delegations: (a: number) => [number, number];
|
|
583
|
-
readonly history_revocations: (a: number) => [number, number];
|
|
566
|
+
readonly individual_id: (a: number) => number;
|
|
567
|
+
readonly individual_pickPrekey: (a: number, b: number) => any;
|
|
568
|
+
readonly individual_toAgent: (a: number) => number;
|
|
569
|
+
readonly individual_toPeer: (a: number) => number;
|
|
584
570
|
readonly keyhive_accessForDoc: (a: number, b: number, c: number) => any;
|
|
585
571
|
readonly keyhive_addMember: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
586
572
|
readonly keyhive_allAgentEvents: (a: number) => any;
|
|
@@ -625,66 +611,13 @@ export interface InitOutput {
|
|
|
625
611
|
readonly peer_isGroup: (a: number) => number;
|
|
626
612
|
readonly peer_isIndividual: (a: number) => number;
|
|
627
613
|
readonly peer_toString: (a: number) => [number, number];
|
|
628
|
-
readonly setPanicHook: () => void;
|
|
629
|
-
readonly group_id: (a: number) => number;
|
|
630
|
-
readonly peer_id: (a: number) => number;
|
|
631
|
-
readonly __wbg_cannotparseidentifier_free: (a: number, b: number) => void;
|
|
632
|
-
readonly __wbg_encrypted_free: (a: number, b: number) => void;
|
|
633
|
-
readonly __wbg_identifier_free: (a: number, b: number) => void;
|
|
634
|
-
readonly __wbg_individual_free: (a: number, b: number) => void;
|
|
635
|
-
readonly __wbg_signeddelegation_free: (a: number, b: number) => void;
|
|
636
|
-
readonly __wbg_stats_free: (a: number, b: number) => void;
|
|
637
|
-
readonly encrypted_ciphertext: (a: number) => [number, number];
|
|
638
|
-
readonly encrypted_content_ref: (a: number) => [number, number];
|
|
639
|
-
readonly encrypted_nonce: (a: number) => [number, number];
|
|
640
|
-
readonly encrypted_pcs_key_hash: (a: number) => [number, number];
|
|
641
|
-
readonly encrypted_pred_refs: (a: number) => [number, number];
|
|
642
|
-
readonly identifier_new: (a: number, b: number) => [number, number, number];
|
|
643
|
-
readonly identifier_publicId: () => number;
|
|
644
|
-
readonly identifier_toBytes: (a: number) => [number, number];
|
|
645
|
-
readonly individual_id: (a: number) => number;
|
|
646
614
|
readonly individual_individualId: (a: number) => number;
|
|
647
|
-
readonly
|
|
648
|
-
readonly individual_toAgent: (a: number) => number;
|
|
649
|
-
readonly individual_toPeer: (a: number) => number;
|
|
650
|
-
readonly signeddelegation_delegation: (a: number) => number;
|
|
651
|
-
readonly signeddelegation_signature: (a: number) => [number, number];
|
|
652
|
-
readonly signeddelegation_subjectId: (a: number) => number;
|
|
653
|
-
readonly signeddelegation_verify: (a: number) => number;
|
|
654
|
-
readonly signeddelegation_verifyingKey: (a: number) => [number, number];
|
|
655
|
-
readonly stats_activePrekeyCount: (a: number) => bigint;
|
|
656
|
-
readonly stats_cgkaOperations: (a: number) => bigint;
|
|
657
|
-
readonly stats_delegations: (a: number) => bigint;
|
|
658
|
-
readonly stats_docs: (a: number) => bigint;
|
|
659
|
-
readonly stats_groups: (a: number) => bigint;
|
|
660
|
-
readonly stats_individuals: (a: number) => bigint;
|
|
661
|
-
readonly stats_pendingCgkaOperation: (a: number) => bigint;
|
|
662
|
-
readonly stats_pendingCgkaOperationByActive: (a: number) => bigint;
|
|
663
|
-
readonly stats_pendingDelegated: (a: number) => bigint;
|
|
664
|
-
readonly stats_pendingDelegatedByActive: (a: number) => bigint;
|
|
665
|
-
readonly stats_pendingPrekeyRotated: (a: number) => bigint;
|
|
666
|
-
readonly stats_pendingPrekeyRotatedByActive: (a: number) => bigint;
|
|
667
|
-
readonly stats_pendingPrekeysExpanded: (a: number) => bigint;
|
|
668
|
-
readonly stats_pendingPrekeysExpandedByActive: (a: number) => bigint;
|
|
669
|
-
readonly stats_pendingRevoked: (a: number) => bigint;
|
|
670
|
-
readonly stats_pendingRevokedByActive: (a: number) => bigint;
|
|
671
|
-
readonly stats_prekeyRotations: (a: number) => bigint;
|
|
672
|
-
readonly stats_prekeysExpanded: (a: number) => bigint;
|
|
673
|
-
readonly stats_revocations: (a: number) => bigint;
|
|
674
|
-
readonly stats_totalOps: (a: number) => bigint;
|
|
675
|
-
readonly stats_totalPendingOps: (a: number) => bigint;
|
|
676
|
-
readonly encrypted_toBytes: (a: number) => [number, number];
|
|
677
|
-
readonly __wbg_signedcgkaoperation_free: (a: number, b: number) => void;
|
|
678
|
-
readonly signedcgkaoperation_delegation: (a: number) => number;
|
|
679
|
-
readonly signedcgkaoperation_signature: (a: number) => [number, number];
|
|
680
|
-
readonly signedcgkaoperation_verify: (a: number) => number;
|
|
681
|
-
readonly signedcgkaoperation_verifyingKey: (a: number) => [number, number];
|
|
615
|
+
readonly peer_id: (a: number) => number;
|
|
682
616
|
readonly __wbg_cannotparseed25519signingkey_free: (a: number, b: number) => void;
|
|
683
617
|
readonly __wbg_cgkaoperation_free: (a: number, b: number) => void;
|
|
684
618
|
readonly __wbg_documentid_free: (a: number, b: number) => void;
|
|
685
619
|
readonly __wbg_event_free: (a: number, b: number) => void;
|
|
686
620
|
readonly __wbg_generatewebcryptoerror_free: (a: number, b: number) => void;
|
|
687
|
-
readonly __wbg_sharekey_free: (a: number, b: number) => void;
|
|
688
621
|
readonly __wbg_signer_free: (a: number, b: number) => void;
|
|
689
622
|
readonly cgkaoperation_variant: (a: number) => [number, number];
|
|
690
623
|
readonly documentid_new: (a: number, b: number) => [number, number, number];
|
|
@@ -707,8 +640,77 @@ export interface InitOutput {
|
|
|
707
640
|
readonly signer_variant: (a: number) => [number, number];
|
|
708
641
|
readonly signer_verifyingKey: (a: number) => [number, number];
|
|
709
642
|
readonly signer_webCryptoSigner: (a: any) => any;
|
|
710
|
-
readonly
|
|
711
|
-
readonly
|
|
643
|
+
readonly __wbg_signedcgkaoperation_free: (a: number, b: number) => void;
|
|
644
|
+
readonly signedcgkaoperation_delegation: (a: number) => number;
|
|
645
|
+
readonly signedcgkaoperation_signature: (a: number) => [number, number];
|
|
646
|
+
readonly signedcgkaoperation_verify: (a: number) => number;
|
|
647
|
+
readonly signedcgkaoperation_verifyingKey: (a: number) => [number, number];
|
|
648
|
+
readonly __wbg_capability_free: (a: number, b: number) => void;
|
|
649
|
+
readonly __wbg_group_free: (a: number, b: number) => void;
|
|
650
|
+
readonly __wbg_membered_free: (a: number, b: number) => void;
|
|
651
|
+
readonly __wbg_revocation_free: (a: number, b: number) => void;
|
|
652
|
+
readonly capability_can: (a: number) => number;
|
|
653
|
+
readonly capability_proof: (a: number) => number;
|
|
654
|
+
readonly capability_who: (a: number) => number;
|
|
655
|
+
readonly group___wasm_refgen_toJsGroup: (a: number) => number;
|
|
656
|
+
readonly group_groupId: (a: number) => number;
|
|
657
|
+
readonly group_members: (a: number) => any;
|
|
658
|
+
readonly group_toAgent: (a: number) => number;
|
|
659
|
+
readonly group_toMembered: (a: number) => number;
|
|
660
|
+
readonly group_toPeer: (a: number) => number;
|
|
661
|
+
readonly revocation_after: (a: number) => number;
|
|
662
|
+
readonly revocation_proof: (a: number) => number;
|
|
663
|
+
readonly revocation_revoked: (a: number) => number;
|
|
664
|
+
readonly revocation_subject_id: (a: number) => number;
|
|
665
|
+
readonly group_id: (a: number) => number;
|
|
666
|
+
readonly __wbg_doccontentrefs_free: (a: number, b: number) => void;
|
|
667
|
+
readonly __wbg_encrypted_free: (a: number, b: number) => void;
|
|
668
|
+
readonly __wbg_individualid_free: (a: number, b: number) => void;
|
|
669
|
+
readonly __wbg_signeddelegation_free: (a: number, b: number) => void;
|
|
670
|
+
readonly __wbg_signedrevocation_free: (a: number, b: number) => void;
|
|
671
|
+
readonly doccontentrefs_addChangeId: (a: number, b: number) => any;
|
|
672
|
+
readonly doccontentrefs_change_hashes: (a: number) => any;
|
|
673
|
+
readonly doccontentrefs_docId: (a: number) => number;
|
|
674
|
+
readonly doccontentrefs_new: (a: number, b: number, c: number) => [number, number, number];
|
|
675
|
+
readonly encrypted_ciphertext: (a: number) => [number, number];
|
|
676
|
+
readonly encrypted_content_ref: (a: number) => [number, number];
|
|
677
|
+
readonly encrypted_nonce: (a: number) => [number, number];
|
|
678
|
+
readonly encrypted_pcs_key_hash: (a: number) => [number, number];
|
|
679
|
+
readonly encrypted_pred_refs: (a: number) => [number, number];
|
|
680
|
+
readonly individualid_bytes: (a: number) => [number, number];
|
|
681
|
+
readonly signeddelegation_delegation: (a: number) => number;
|
|
682
|
+
readonly signeddelegation_signature: (a: number) => [number, number];
|
|
683
|
+
readonly signeddelegation_subjectId: (a: number) => number;
|
|
684
|
+
readonly signeddelegation_verify: (a: number) => number;
|
|
685
|
+
readonly signeddelegation_verifyingKey: (a: number) => [number, number];
|
|
686
|
+
readonly signedrevocation_delegation: (a: number) => number;
|
|
687
|
+
readonly signedrevocation_signature: (a: number) => [number, number];
|
|
688
|
+
readonly signedrevocation_verify: (a: number) => number;
|
|
689
|
+
readonly signedrevocation_verifyingKey: (a: number) => [number, number];
|
|
690
|
+
readonly encrypted_toBytes: (a: number) => [number, number];
|
|
691
|
+
readonly __wbg_changeid_free: (a: number, b: number) => void;
|
|
692
|
+
readonly __wbg_delegation_free: (a: number, b: number) => void;
|
|
693
|
+
readonly __wbg_encryptedcontentwithupdate_free: (a: number, b: number) => void;
|
|
694
|
+
readonly __wbg_sharekey_free: (a: number, b: number) => void;
|
|
695
|
+
readonly __wbg_signedinvocation_free: (a: number, b: number) => void;
|
|
696
|
+
readonly __wbg_summary_free: (a: number, b: number) => void;
|
|
697
|
+
readonly changeid___wasm_refgen_toJsChangeId: (a: number) => number;
|
|
698
|
+
readonly changeid_bytes: (a: number) => [number, number];
|
|
699
|
+
readonly changeid_new: (a: number, b: number) => number;
|
|
700
|
+
readonly delegation_after: (a: number) => number;
|
|
701
|
+
readonly delegation_can: (a: number) => number;
|
|
702
|
+
readonly delegation_delegate: (a: number) => number;
|
|
703
|
+
readonly delegation_proof: (a: number) => number;
|
|
704
|
+
readonly encryptedcontentwithupdate_encrypted_content: (a: number) => number;
|
|
705
|
+
readonly encryptedcontentwithupdate_update_op: (a: number) => number;
|
|
706
|
+
readonly summary_access: (a: number) => number;
|
|
707
|
+
readonly summary_doc: (a: number) => number;
|
|
708
|
+
readonly __wbg_history_free: (a: number, b: number) => void;
|
|
709
|
+
readonly history_contentRefs: (a: number) => [number, number];
|
|
710
|
+
readonly history_delegations: (a: number) => [number, number];
|
|
711
|
+
readonly history_revocations: (a: number) => [number, number];
|
|
712
|
+
readonly wasm_bindgen__convert__closures_____invoke__h3280982d348b8ce7: (a: number, b: number, c: any) => [number, number];
|
|
713
|
+
readonly wasm_bindgen__convert__closures_____invoke__hed1b57a71ca47f43: (a: number, b: number, c: any, d: any) => void;
|
|
712
714
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
713
715
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
714
716
|
readonly __wbindgen_exn_store: (a: number) => void;
|
package/pkg-slim/keyhive_wasm.js
CHANGED
|
@@ -716,6 +716,13 @@ export class Document {
|
|
|
716
716
|
const ret = wasm.document_id(this.__wbg_ptr);
|
|
717
717
|
return Identifier.__wrap(ret);
|
|
718
718
|
}
|
|
719
|
+
/**
|
|
720
|
+
* @returns {Promise<Capability[]>}
|
|
721
|
+
*/
|
|
722
|
+
members() {
|
|
723
|
+
const ret = wasm.document_members(this.__wbg_ptr);
|
|
724
|
+
return ret;
|
|
725
|
+
}
|
|
719
726
|
/**
|
|
720
727
|
* @returns {Agent}
|
|
721
728
|
*/
|
|
@@ -2520,7 +2527,7 @@ export function setPanicHook() {
|
|
|
2520
2527
|
function __wbg_get_imports() {
|
|
2521
2528
|
const import0 = {
|
|
2522
2529
|
__proto__: null,
|
|
2523
|
-
|
|
2530
|
+
__wbg_Error_2e59b1b37a9a34c3: function(arg0, arg1) {
|
|
2524
2531
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
2525
2532
|
return ret;
|
|
2526
2533
|
},
|
|
@@ -2542,41 +2549,41 @@ function __wbg_get_imports() {
|
|
|
2542
2549
|
var ptr1 = ret.__destroy_into_raw();
|
|
2543
2550
|
return ptr1;
|
|
2544
2551
|
},
|
|
2545
|
-
|
|
2552
|
+
__wbg___wbindgen_debug_string_dd5d2d07ce9e6c57: function(arg0, arg1) {
|
|
2546
2553
|
const ret = debugString(arg1);
|
|
2547
2554
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2548
2555
|
const len1 = WASM_VECTOR_LEN;
|
|
2549
2556
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
2550
2557
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
2551
2558
|
},
|
|
2552
|
-
|
|
2559
|
+
__wbg___wbindgen_is_function_49868bde5eb1e745: function(arg0) {
|
|
2553
2560
|
const ret = typeof(arg0) === 'function';
|
|
2554
2561
|
return ret;
|
|
2555
2562
|
},
|
|
2556
|
-
|
|
2563
|
+
__wbg___wbindgen_is_object_40c5a80572e8f9d3: function(arg0) {
|
|
2557
2564
|
const val = arg0;
|
|
2558
2565
|
const ret = typeof(val) === 'object' && val !== null;
|
|
2559
2566
|
return ret;
|
|
2560
2567
|
},
|
|
2561
|
-
|
|
2568
|
+
__wbg___wbindgen_is_string_b29b5c5a8065ba1a: function(arg0) {
|
|
2562
2569
|
const ret = typeof(arg0) === 'string';
|
|
2563
2570
|
return ret;
|
|
2564
2571
|
},
|
|
2565
|
-
|
|
2572
|
+
__wbg___wbindgen_is_undefined_c0cca72b82b86f4d: function(arg0) {
|
|
2566
2573
|
const ret = arg0 === undefined;
|
|
2567
2574
|
return ret;
|
|
2568
2575
|
},
|
|
2569
|
-
|
|
2576
|
+
__wbg___wbindgen_throw_81fc77679af83bc6: function(arg0, arg1) {
|
|
2570
2577
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
2571
2578
|
},
|
|
2572
|
-
|
|
2579
|
+
__wbg__wbg_cb_unref_3c3b4f651835fbcb: function(arg0) {
|
|
2573
2580
|
arg0._wbg_cb_unref();
|
|
2574
2581
|
},
|
|
2575
2582
|
__wbg_access_new: function(arg0) {
|
|
2576
2583
|
const ret = Access.__wrap(arg0);
|
|
2577
2584
|
return ret;
|
|
2578
2585
|
},
|
|
2579
|
-
|
|
2586
|
+
__wbg_add_f56ec7ea7f056912: function(arg0, arg1) {
|
|
2580
2587
|
const ret = arg0.add(arg1);
|
|
2581
2588
|
return ret;
|
|
2582
2589
|
},
|
|
@@ -2592,7 +2599,7 @@ function __wbg_get_imports() {
|
|
|
2592
2599
|
const ret = Archive.__wrap(arg0);
|
|
2593
2600
|
return ret;
|
|
2594
2601
|
},
|
|
2595
|
-
|
|
2602
|
+
__wbg_call_d578befcc3145dee: function() { return handleError(function (arg0, arg1, arg2) {
|
|
2596
2603
|
const ret = arg0.call(arg1, arg2);
|
|
2597
2604
|
return ret;
|
|
2598
2605
|
}, arguments); },
|
|
@@ -2695,11 +2702,11 @@ function __wbg_get_imports() {
|
|
|
2695
2702
|
const ret = Event.__wrap(arg0);
|
|
2696
2703
|
return ret;
|
|
2697
2704
|
},
|
|
2698
|
-
|
|
2705
|
+
__wbg_exportKey_99bb9b98984e3a4e: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
2699
2706
|
const ret = arg0.exportKey(getStringFromWasm0(arg1, arg2), arg3);
|
|
2700
2707
|
return ret;
|
|
2701
2708
|
}, arguments); },
|
|
2702
|
-
|
|
2709
|
+
__wbg_generateKey_2d4760a0496c6109: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
2703
2710
|
const ret = arg0.generateKey(getStringFromWasm0(arg1, arg2), arg3 !== 0, arg4);
|
|
2704
2711
|
return ret;
|
|
2705
2712
|
}, arguments); },
|
|
@@ -2710,19 +2717,19 @@ function __wbg_get_imports() {
|
|
|
2710
2717
|
__wbg_getRandomValues_c44a50d8cfdaebeb: function() { return handleError(function (arg0, arg1) {
|
|
2711
2718
|
arg0.getRandomValues(arg1);
|
|
2712
2719
|
}, arguments); },
|
|
2713
|
-
|
|
2720
|
+
__wbg_get_4848e350b40afc16: function(arg0, arg1) {
|
|
2714
2721
|
const ret = arg0[arg1 >>> 0];
|
|
2715
2722
|
return ret;
|
|
2716
2723
|
},
|
|
2717
|
-
|
|
2724
|
+
__wbg_get_f96702c6245e4ef9: function() { return handleError(function (arg0, arg1) {
|
|
2718
2725
|
const ret = Reflect.get(arg0, arg1);
|
|
2719
2726
|
return ret;
|
|
2720
2727
|
}, arguments); },
|
|
2721
|
-
|
|
2728
|
+
__wbg_get_private_key_eba5c3b94a6582ab: function(arg0) {
|
|
2722
2729
|
const ret = arg0.privateKey;
|
|
2723
2730
|
return ret;
|
|
2724
2731
|
},
|
|
2725
|
-
|
|
2732
|
+
__wbg_get_public_key_cce0ab3bb2aaaec4: function(arg0) {
|
|
2726
2733
|
const ret = arg0.publicKey;
|
|
2727
2734
|
return ret;
|
|
2728
2735
|
},
|
|
@@ -2734,7 +2741,7 @@ function __wbg_get_imports() {
|
|
|
2734
2741
|
const ret = Individual.__wrap(arg0);
|
|
2735
2742
|
return ret;
|
|
2736
2743
|
},
|
|
2737
|
-
|
|
2744
|
+
__wbg_instanceof_Crypto_f4b23f832118da8c: function(arg0) {
|
|
2738
2745
|
let result;
|
|
2739
2746
|
try {
|
|
2740
2747
|
result = arg0 instanceof Crypto;
|
|
@@ -2748,11 +2755,11 @@ function __wbg_get_imports() {
|
|
|
2748
2755
|
const ret = Keyhive.__wrap(arg0);
|
|
2749
2756
|
return ret;
|
|
2750
2757
|
},
|
|
2751
|
-
|
|
2758
|
+
__wbg_length_0c32cb8543c8e4c8: function(arg0) {
|
|
2752
2759
|
const ret = arg0.length;
|
|
2753
2760
|
return ret;
|
|
2754
2761
|
},
|
|
2755
|
-
|
|
2762
|
+
__wbg_length_6e821edde497a532: function(arg0) {
|
|
2756
2763
|
const ret = arg0.length;
|
|
2757
2764
|
return ret;
|
|
2758
2765
|
},
|
|
@@ -2809,38 +2816,38 @@ function __wbg_get_imports() {
|
|
|
2809
2816
|
const ret = new Error();
|
|
2810
2817
|
return ret;
|
|
2811
2818
|
},
|
|
2812
|
-
|
|
2813
|
-
const ret = new
|
|
2819
|
+
__wbg_new_44794e13e79fc463: function(arg0) {
|
|
2820
|
+
const ret = new Set(arg0);
|
|
2814
2821
|
return ret;
|
|
2815
2822
|
},
|
|
2816
|
-
|
|
2817
|
-
const ret = new
|
|
2823
|
+
__wbg_new_99cabae501c0a8a0: function() {
|
|
2824
|
+
const ret = new Map();
|
|
2818
2825
|
return ret;
|
|
2819
2826
|
},
|
|
2820
|
-
|
|
2821
|
-
const ret = new
|
|
2827
|
+
__wbg_new_a560378ea1240b14: function(arg0) {
|
|
2828
|
+
const ret = new Uint8Array(arg0);
|
|
2822
2829
|
return ret;
|
|
2823
2830
|
},
|
|
2824
|
-
|
|
2825
|
-
const ret = new
|
|
2831
|
+
__wbg_new_e3b04b4d53d1b593: function(arg0, arg1) {
|
|
2832
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
2826
2833
|
return ret;
|
|
2827
2834
|
},
|
|
2828
|
-
|
|
2829
|
-
const ret = new
|
|
2835
|
+
__wbg_new_f3c9df4f38f3f798: function() {
|
|
2836
|
+
const ret = new Array();
|
|
2830
2837
|
return ret;
|
|
2831
2838
|
},
|
|
2832
|
-
|
|
2839
|
+
__wbg_new_from_slice_2580ff33d0d10520: function(arg0, arg1) {
|
|
2833
2840
|
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
2834
2841
|
return ret;
|
|
2835
2842
|
},
|
|
2836
|
-
|
|
2843
|
+
__wbg_new_typed_14d7cc391ce53d2c: function(arg0, arg1) {
|
|
2837
2844
|
try {
|
|
2838
2845
|
var state0 = {a: arg0, b: arg1};
|
|
2839
2846
|
var cb0 = (arg0, arg1) => {
|
|
2840
2847
|
const a = state0.a;
|
|
2841
2848
|
state0.a = 0;
|
|
2842
2849
|
try {
|
|
2843
|
-
return
|
|
2850
|
+
return wasm_bindgen__convert__closures_____invoke__hed1b57a71ca47f43(a, state0.b, arg0, arg1);
|
|
2844
2851
|
} finally {
|
|
2845
2852
|
state0.a = a;
|
|
2846
2853
|
}
|
|
@@ -2851,7 +2858,7 @@ function __wbg_get_imports() {
|
|
|
2851
2858
|
state0.a = 0;
|
|
2852
2859
|
}
|
|
2853
2860
|
},
|
|
2854
|
-
|
|
2861
|
+
__wbg_new_with_length_9cedd08484b73942: function(arg0) {
|
|
2855
2862
|
const ret = new Uint8Array(arg0 >>> 0);
|
|
2856
2863
|
return ret;
|
|
2857
2864
|
},
|
|
@@ -2863,20 +2870,20 @@ function __wbg_get_imports() {
|
|
|
2863
2870
|
const ret = arg0.process;
|
|
2864
2871
|
return ret;
|
|
2865
2872
|
},
|
|
2866
|
-
|
|
2873
|
+
__wbg_prototypesetcall_3e05eb9545565046: function(arg0, arg1, arg2) {
|
|
2867
2874
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
2868
2875
|
},
|
|
2869
|
-
|
|
2876
|
+
__wbg_push_6bdbc990be5ac37b: function(arg0, arg1) {
|
|
2870
2877
|
const ret = arg0.push(arg1);
|
|
2871
2878
|
return ret;
|
|
2872
2879
|
},
|
|
2873
|
-
|
|
2874
|
-
queueMicrotask(arg0);
|
|
2875
|
-
},
|
|
2876
|
-
__wbg_queueMicrotask_805204511f79bee8: function(arg0) {
|
|
2880
|
+
__wbg_queueMicrotask_abaf92f0bd4e80a4: function(arg0) {
|
|
2877
2881
|
const ret = arg0.queueMicrotask;
|
|
2878
2882
|
return ret;
|
|
2879
2883
|
},
|
|
2884
|
+
__wbg_queueMicrotask_df5a6dac26d818f3: function(arg0) {
|
|
2885
|
+
queueMicrotask(arg0);
|
|
2886
|
+
},
|
|
2880
2887
|
__wbg_randomFillSync_6c25eac9869eb53c: function() { return handleError(function (arg0, arg1) {
|
|
2881
2888
|
arg0.randomFillSync(arg1);
|
|
2882
2889
|
}, arguments); },
|
|
@@ -2884,22 +2891,22 @@ function __wbg_get_imports() {
|
|
|
2884
2891
|
const ret = module.require;
|
|
2885
2892
|
return ret;
|
|
2886
2893
|
}, arguments); },
|
|
2887
|
-
|
|
2894
|
+
__wbg_resolve_0a79de24e9d2267b: function(arg0) {
|
|
2888
2895
|
const ret = Promise.resolve(arg0);
|
|
2889
2896
|
return ret;
|
|
2890
2897
|
},
|
|
2891
|
-
|
|
2898
|
+
__wbg_set_08463b1df38a7e29: function(arg0, arg1, arg2) {
|
|
2892
2899
|
const ret = arg0.set(arg1, arg2);
|
|
2893
2900
|
return ret;
|
|
2894
2901
|
},
|
|
2895
|
-
|
|
2902
|
+
__wbg_set_name_ab9c98596fd7310a: function(arg0, arg1, arg2) {
|
|
2896
2903
|
arg0.name = getStringFromWasm0(arg1, arg2);
|
|
2897
2904
|
},
|
|
2898
2905
|
__wbg_sharekey_new: function(arg0) {
|
|
2899
2906
|
const ret = ShareKey.__wrap(arg0);
|
|
2900
2907
|
return ret;
|
|
2901
2908
|
},
|
|
2902
|
-
|
|
2909
|
+
__wbg_sign_f4e7637ee82f1e2b: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
2903
2910
|
const ret = arg0.sign(arg1, arg2, getArrayU8FromWasm0(arg3, arg4));
|
|
2904
2911
|
return ret;
|
|
2905
2912
|
}, arguments); },
|
|
@@ -2926,19 +2933,19 @@ function __wbg_get_imports() {
|
|
|
2926
2933
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
2927
2934
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
2928
2935
|
},
|
|
2929
|
-
|
|
2930
|
-
const ret = typeof
|
|
2936
|
+
__wbg_static_accessor_GLOBAL_THIS_a1248013d790bf5f: function() {
|
|
2937
|
+
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
2931
2938
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2932
2939
|
},
|
|
2933
|
-
|
|
2934
|
-
const ret = typeof
|
|
2940
|
+
__wbg_static_accessor_GLOBAL_f2e0f995a21329ff: function() {
|
|
2941
|
+
const ret = typeof global === 'undefined' ? null : global;
|
|
2935
2942
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2936
2943
|
},
|
|
2937
|
-
|
|
2944
|
+
__wbg_static_accessor_SELF_24f78b6d23f286ea: function() {
|
|
2938
2945
|
const ret = typeof self === 'undefined' ? null : self;
|
|
2939
2946
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2940
2947
|
},
|
|
2941
|
-
|
|
2948
|
+
__wbg_static_accessor_WINDOW_59fd959c540fe405: function() {
|
|
2942
2949
|
const ret = typeof window === 'undefined' ? null : window;
|
|
2943
2950
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2944
2951
|
},
|
|
@@ -2946,11 +2953,11 @@ function __wbg_get_imports() {
|
|
|
2946
2953
|
const ret = Stats.__wrap(arg0);
|
|
2947
2954
|
return ret;
|
|
2948
2955
|
},
|
|
2949
|
-
|
|
2956
|
+
__wbg_subarray_0f98d3fb634508ad: function(arg0, arg1, arg2) {
|
|
2950
2957
|
const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
|
|
2951
2958
|
return ret;
|
|
2952
2959
|
},
|
|
2953
|
-
|
|
2960
|
+
__wbg_subtle_6b7d3b117f3b8d57: function(arg0) {
|
|
2954
2961
|
const ret = arg0.subtle;
|
|
2955
2962
|
return ret;
|
|
2956
2963
|
},
|
|
@@ -2958,12 +2965,12 @@ function __wbg_get_imports() {
|
|
|
2958
2965
|
const ret = Summary.__wrap(arg0);
|
|
2959
2966
|
return ret;
|
|
2960
2967
|
},
|
|
2961
|
-
|
|
2962
|
-
const ret = arg0.then(arg1);
|
|
2968
|
+
__wbg_then_00eed3ac0b8e82cb: function(arg0, arg1, arg2) {
|
|
2969
|
+
const ret = arg0.then(arg1, arg2);
|
|
2963
2970
|
return ret;
|
|
2964
2971
|
},
|
|
2965
|
-
|
|
2966
|
-
const ret = arg0.then(arg1
|
|
2972
|
+
__wbg_then_a0c8db0381c8994c: function(arg0, arg1) {
|
|
2973
|
+
const ret = arg0.then(arg1);
|
|
2967
2974
|
return ret;
|
|
2968
2975
|
},
|
|
2969
2976
|
__wbg_versions_276b2795b1c6a219: function(arg0) {
|
|
@@ -2993,8 +3000,8 @@ function __wbg_get_imports() {
|
|
|
2993
3000
|
}
|
|
2994
3001
|
},
|
|
2995
3002
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
2996
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
2997
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3003
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 704, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
3004
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h3280982d348b8ce7);
|
|
2998
3005
|
return ret;
|
|
2999
3006
|
},
|
|
3000
3007
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
@@ -3079,15 +3086,15 @@ function __wbg_get_imports() {
|
|
|
3079
3086
|
};
|
|
3080
3087
|
}
|
|
3081
3088
|
|
|
3082
|
-
function
|
|
3083
|
-
const ret = wasm.
|
|
3089
|
+
function wasm_bindgen__convert__closures_____invoke__h3280982d348b8ce7(arg0, arg1, arg2) {
|
|
3090
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__h3280982d348b8ce7(arg0, arg1, arg2);
|
|
3084
3091
|
if (ret[1]) {
|
|
3085
3092
|
throw takeFromExternrefTable0(ret[0]);
|
|
3086
3093
|
}
|
|
3087
3094
|
}
|
|
3088
3095
|
|
|
3089
|
-
function
|
|
3090
|
-
wasm.
|
|
3096
|
+
function wasm_bindgen__convert__closures_____invoke__hed1b57a71ca47f43(arg0, arg1, arg2, arg3) {
|
|
3097
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hed1b57a71ca47f43(arg0, arg1, arg2, arg3);
|
|
3091
3098
|
}
|
|
3092
3099
|
|
|
3093
3100
|
const CannotParseEd25519SigningKeyFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
Binary file
|