@keyhive/keyhive 0.0.0-alpha.50j → 0.0.0-alpha.50l
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_bg.js +14 -9
- package/pkg/keyhive_wasm_bg.wasm +0 -0
- package/pkg/keyhive_wasm_bg.wasm.d.ts +133 -133
- package/pkg-node/keyhive_wasm.js +14 -9
- package/pkg-node/keyhive_wasm_bg.wasm +0 -0
- package/pkg-node/keyhive_wasm_bg.wasm.d.ts +133 -133
- package/pkg-slim/keyhive_wasm.d.ts +133 -133
- package/pkg-slim/keyhive_wasm.js +12 -8
- 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 +133 -133
package/package.json
CHANGED
package/pkg/keyhive_wasm_bg.js
CHANGED
|
@@ -1397,7 +1397,7 @@ export class Group {
|
|
|
1397
1397
|
* @returns {Identifier}
|
|
1398
1398
|
*/
|
|
1399
1399
|
get id() {
|
|
1400
|
-
const ret = wasm.
|
|
1400
|
+
const ret = wasm.document_doc_id(this.__wbg_ptr);
|
|
1401
1401
|
return Identifier.__wrap(ret);
|
|
1402
1402
|
}
|
|
1403
1403
|
/**
|
|
@@ -1418,7 +1418,7 @@ export class Group {
|
|
|
1418
1418
|
* @returns {GroupId}
|
|
1419
1419
|
*/
|
|
1420
1420
|
get groupId() {
|
|
1421
|
-
const ret = wasm.
|
|
1421
|
+
const ret = wasm.document_doc_id(this.__wbg_ptr);
|
|
1422
1422
|
return GroupId.__wrap(ret);
|
|
1423
1423
|
}
|
|
1424
1424
|
/**
|
|
@@ -2127,7 +2127,7 @@ export class Peer {
|
|
|
2127
2127
|
* @returns {Identifier}
|
|
2128
2128
|
*/
|
|
2129
2129
|
get id() {
|
|
2130
|
-
const ret = wasm.
|
|
2130
|
+
const ret = wasm.peer_id(this.__wbg_ptr);
|
|
2131
2131
|
return Identifier.__wrap(ret);
|
|
2132
2132
|
}
|
|
2133
2133
|
/**
|
|
@@ -3263,6 +3263,11 @@ export function __wbg_signer_new(arg0) {
|
|
|
3263
3263
|
return ret;
|
|
3264
3264
|
};
|
|
3265
3265
|
|
|
3266
|
+
export function __wbg_size_aeb57b993c620133(arg0) {
|
|
3267
|
+
const ret = arg0.size;
|
|
3268
|
+
return ret;
|
|
3269
|
+
};
|
|
3270
|
+
|
|
3266
3271
|
export function __wbg_stack_0ed75d68575b0f3c(arg0, arg1) {
|
|
3267
3272
|
const ret = arg1.stack;
|
|
3268
3273
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -3364,12 +3369,6 @@ export function __wbindgen_cast_25a0a844437d0e92(arg0, arg1) {
|
|
|
3364
3369
|
return ret;
|
|
3365
3370
|
};
|
|
3366
3371
|
|
|
3367
|
-
export function __wbindgen_cast_3bf4b741a108bc57(arg0, arg1) {
|
|
3368
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 472, function: Function { arguments: [Externref], shim_idx: 473, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3369
|
-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h56c1987c5374a416, wasm_bindgen__convert__closures_____invoke__hb8b6941fceac7069);
|
|
3370
|
-
return ret;
|
|
3371
|
-
};
|
|
3372
|
-
|
|
3373
3372
|
export function __wbindgen_cast_6300122139088863(arg0, arg1) {
|
|
3374
3373
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
3375
3374
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
@@ -3418,6 +3417,12 @@ export function __wbindgen_cast_ae91babfc5c19b28(arg0, arg1) {
|
|
|
3418
3417
|
return ret;
|
|
3419
3418
|
};
|
|
3420
3419
|
|
|
3420
|
+
export function __wbindgen_cast_c4bd6c1dc507cff7(arg0, arg1) {
|
|
3421
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 471, function: Function { arguments: [Externref], shim_idx: 472, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3422
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h56c1987c5374a416, wasm_bindgen__convert__closures_____invoke__hb8b6941fceac7069);
|
|
3423
|
+
return ret;
|
|
3424
|
+
};
|
|
3425
|
+
|
|
3421
3426
|
export function __wbindgen_cast_cb9088102bce6b30(arg0, arg1) {
|
|
3422
3427
|
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
3423
3428
|
const ret = getArrayU8FromWasm0(arg0, arg1);
|
package/pkg/keyhive_wasm_bg.wasm
CHANGED
|
Binary file
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
-
export const
|
|
4
|
+
export const __wbg_agent_free: (a: number, b: number) => void;
|
|
5
5
|
export const __wbg_contactcard_free: (a: number, b: number) => void;
|
|
6
|
-
export const __wbg_encrypted_free: (a: number, b: number) => void;
|
|
7
|
-
export const __wbg_encryptedcontentwithupdate_free: (a: number, b: number) => void;
|
|
8
6
|
export const __wbg_signed_free: (a: number, b: number) => void;
|
|
9
|
-
export const __wbg_signedcgkaoperation_free: (a: number, b: number) => void;
|
|
10
7
|
export const __wbg_signeddelegation_free: (a: number, b: number) => void;
|
|
11
|
-
export const
|
|
12
|
-
export const
|
|
8
|
+
export const agent_id: (a: number) => number;
|
|
9
|
+
export const agent_isDocument: (a: number) => number;
|
|
10
|
+
export const agent_isGroup: (a: number) => number;
|
|
11
|
+
export const agent_isIndividual: (a: number) => number;
|
|
12
|
+
export const agent_toString: (a: number) => [number, number];
|
|
13
13
|
export const contactcard_fromJson: (a: number, b: number) => [number, number, number];
|
|
14
14
|
export const contactcard_id: (a: number) => number;
|
|
15
15
|
export const contactcard_op: (a: number) => number;
|
|
@@ -17,57 +17,103 @@ export const contactcard_shareKey: (a: number) => number;
|
|
|
17
17
|
export const contactcard_signature: (a: number) => [number, number];
|
|
18
18
|
export const contactcard_toAgent: (a: number) => number;
|
|
19
19
|
export const contactcard_toJson: (a: number) => [number, number, number, number];
|
|
20
|
-
export const encrypted_ciphertext: (a: number) => [number, number];
|
|
21
|
-
export const encrypted_content_ref: (a: number) => [number, number];
|
|
22
|
-
export const encrypted_nonce: (a: number) => [number, number];
|
|
23
|
-
export const encrypted_pcs_key_hash: (a: number) => [number, number];
|
|
24
|
-
export const encrypted_pred_refs: (a: number) => [number, number];
|
|
25
|
-
export const encryptedcontentwithupdate_encrypted_content: (a: number) => number;
|
|
26
|
-
export const encryptedcontentwithupdate_update_op: (a: number) => number;
|
|
27
20
|
export const signed_fromBytes: (a: number, b: number) => [number, number, number];
|
|
28
21
|
export const signed_payload: (a: number) => [number, number];
|
|
29
22
|
export const signed_signature: (a: number) => [number, number];
|
|
30
23
|
export const signed_toBytes: (a: number) => [number, number, number, number];
|
|
31
24
|
export const signed_verify: (a: number) => number;
|
|
32
25
|
export const signed_verifyingKey: (a: number) => [number, number];
|
|
33
|
-
export const signedcgkaoperation_delegation: (a: number) => number;
|
|
34
|
-
export const signedcgkaoperation_signature: (a: number) => [number, number];
|
|
35
|
-
export const signedcgkaoperation_verify: (a: number) => number;
|
|
36
|
-
export const signedcgkaoperation_verifyingKey: (a: number) => [number, number];
|
|
37
26
|
export const signeddelegation_delegation: (a: number) => number;
|
|
38
27
|
export const signeddelegation_signature: (a: number) => [number, number];
|
|
39
28
|
export const signeddelegation_verify: (a: number) => number;
|
|
40
29
|
export const signeddelegation_verifyingKey: (a: number) => [number, number];
|
|
41
|
-
export const encrypted_toBytes: (a: number) => [number, number];
|
|
42
30
|
export const contactcard_individualId: (a: number) => number;
|
|
43
|
-
export const
|
|
44
|
-
export const
|
|
45
|
-
export const
|
|
31
|
+
export const __wbg_encrypted_free: (a: number, b: number) => void;
|
|
32
|
+
export const __wbg_keyhive_free: (a: number, b: number) => void;
|
|
33
|
+
export const encrypted_ciphertext: (a: number) => [number, number];
|
|
34
|
+
export const encrypted_content_ref: (a: number) => [number, number];
|
|
35
|
+
export const encrypted_nonce: (a: number) => [number, number];
|
|
36
|
+
export const encrypted_pcs_key_hash: (a: number) => [number, number];
|
|
37
|
+
export const encrypted_pred_refs: (a: number) => [number, number];
|
|
38
|
+
export const keyhive_accessForDoc: (a: number, b: number, c: number) => any;
|
|
39
|
+
export const keyhive_addMember: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
40
|
+
export const keyhive_contactCard: (a: number) => any;
|
|
41
|
+
export const keyhive_docMemberCapabilities: (a: number, b: number) => any;
|
|
42
|
+
export const keyhive_eventsForAgent: (a: number, b: number) => any;
|
|
43
|
+
export const keyhive_expandPrekeys: (a: number) => any;
|
|
44
|
+
export const keyhive_forcePcsUpdate: (a: number, b: number) => any;
|
|
45
|
+
export const keyhive_generateDocument: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
46
|
+
export const keyhive_generateGroup: (a: number, b: number, c: number) => any;
|
|
47
|
+
export const keyhive_getAgent: (a: number, b: number) => any;
|
|
48
|
+
export const keyhive_getDocument: (a: number, b: number) => any;
|
|
49
|
+
export const keyhive_getGroup: (a: number, b: number) => any;
|
|
50
|
+
export const keyhive_getIndividual: (a: number, b: number) => any;
|
|
51
|
+
export const keyhive_id: (a: number) => number;
|
|
52
|
+
export const keyhive_idString: (a: number) => [number, number];
|
|
53
|
+
export const keyhive_individual: (a: number) => any;
|
|
54
|
+
export const keyhive_ingestArchive: (a: number, b: number) => any;
|
|
55
|
+
export const keyhive_ingestEventsBytes: (a: number, b: any) => any;
|
|
56
|
+
export const keyhive_init: (a: number, b: number, c: any) => any;
|
|
57
|
+
export const keyhive_intoArchive: (a: number) => any;
|
|
58
|
+
export const keyhive_membershipOpsForAgent: (a: number, b: number) => any;
|
|
59
|
+
export const keyhive_pendingEventHashes: (a: number) => any;
|
|
60
|
+
export const keyhive_reachableDocs: (a: number) => any;
|
|
61
|
+
export const keyhive_receiveContactCard: (a: number, b: number) => any;
|
|
62
|
+
export const keyhive_revokeMember: (a: number, b: number, c: number, d: number) => any;
|
|
63
|
+
export const keyhive_rotatePrekey: (a: number, b: number) => any;
|
|
64
|
+
export const keyhive_stats: (a: number) => any;
|
|
65
|
+
export const keyhive_toArchive: (a: number) => any;
|
|
66
|
+
export const keyhive_tryDecrypt: (a: number, b: number, c: number) => any;
|
|
67
|
+
export const keyhive_tryEncrypt: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => any;
|
|
68
|
+
export const keyhive_tryEncryptArchive: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => any;
|
|
69
|
+
export const keyhive_trySign: (a: number, b: number, c: number) => any;
|
|
70
|
+
export const encrypted_toBytes: (a: number) => [number, number];
|
|
71
|
+
export const keyhive_whoami: (a: number) => number;
|
|
46
72
|
export const __wbg_changeid_free: (a: number, b: number) => void;
|
|
47
|
-
export const
|
|
48
|
-
export const
|
|
49
|
-
export const __wbg_signedinvocation_free: (a: number, b: number) => void;
|
|
73
|
+
export const __wbg_invocation_free: (a: number, b: number) => void;
|
|
74
|
+
export const __wbg_membered_free: (a: number, b: number) => void;
|
|
50
75
|
export const __wbg_summary_free: (a: number, b: number) => void;
|
|
51
|
-
export const access_toString: (a: number) => [number, number];
|
|
52
|
-
export const access_tryFromString: (a: number, b: number) => number;
|
|
53
|
-
export const archive_toBytes: (a: number) => [number, number, number, number];
|
|
54
|
-
export const archive_tryToKeyhive: (a: number, b: number, c: number, d: any) => any;
|
|
55
|
-
export const archive_try_from_bytes: (a: number, b: number) => [number, number, number];
|
|
56
76
|
export const changeid___wasm_refgen_toChangeId: (a: number) => number;
|
|
57
77
|
export const changeid_bytes: (a: number) => [number, number];
|
|
58
78
|
export const changeid_new: (a: number, b: number) => number;
|
|
59
|
-
export const event_isDelegated: (a: number) => number;
|
|
60
|
-
export const event_isRevoked: (a: number) => number;
|
|
61
|
-
export const event_toBytes: (a: number) => [number, number, number, number];
|
|
62
|
-
export const event_tryIntoSignedDelegation: (a: number) => number;
|
|
63
|
-
export const event_tryIntoSignedRevocation: (a: number) => number;
|
|
64
|
-
export const event_variant: (a: number) => [number, number];
|
|
65
|
-
export const revocation_after: (a: number) => number;
|
|
66
|
-
export const revocation_proof: (a: number) => number;
|
|
67
|
-
export const revocation_revoked: (a: number) => number;
|
|
68
|
-
export const revocation_subject_id: (a: number) => number;
|
|
69
79
|
export const summary_access: (a: number) => number;
|
|
70
80
|
export const summary_doc: (a: number) => number;
|
|
81
|
+
export const __wbg_capability_free: (a: number, b: number) => void;
|
|
82
|
+
export const __wbg_ciphertextstore_free: (a: number, b: number) => void;
|
|
83
|
+
export const __wbg_delegation_free: (a: number, b: number) => void;
|
|
84
|
+
export const __wbg_document_free: (a: number, b: number) => void;
|
|
85
|
+
export const __wbg_group_free: (a: number, b: number) => void;
|
|
86
|
+
export const __wbg_individual_free: (a: number, b: number) => void;
|
|
87
|
+
export const __wbg_membership_free: (a: number, b: number) => void;
|
|
88
|
+
export const capability_can: (a: number) => number;
|
|
89
|
+
export const capability_proof: (a: number) => number;
|
|
90
|
+
export const capability_who: (a: number) => number;
|
|
91
|
+
export const ciphertextstore_newFromWebStorage: (a: any) => number;
|
|
92
|
+
export const ciphertextstore_newInMemory: () => number;
|
|
93
|
+
export const delegation_after: (a: number) => number;
|
|
94
|
+
export const delegation_can: (a: number) => number;
|
|
95
|
+
export const delegation_delegate: (a: number) => number;
|
|
96
|
+
export const delegation_proof: (a: number) => number;
|
|
97
|
+
export const document___wasm_refgen_toDocument: (a: number) => number;
|
|
98
|
+
export const document_doc_id: (a: number) => number;
|
|
99
|
+
export const document_toAgent: (a: number) => number;
|
|
100
|
+
export const document_toMembered: (a: number) => number;
|
|
101
|
+
export const document_toPeer: (a: number) => number;
|
|
102
|
+
export const group___wasm_refgen_toGroup: (a: number) => number;
|
|
103
|
+
export const group_members: (a: number) => any;
|
|
104
|
+
export const group_toAgent: (a: number) => number;
|
|
105
|
+
export const group_toMembered: (a: number) => number;
|
|
106
|
+
export const group_toPeer: (a: number) => number;
|
|
107
|
+
export const individual_pickPrekey: (a: number, b: number) => any;
|
|
108
|
+
export const individual_toAgent: (a: number) => number;
|
|
109
|
+
export const individual_toPeer: (a: number) => number;
|
|
110
|
+
export const membership_can: (a: number) => number;
|
|
111
|
+
export const membership_who: (a: number) => number;
|
|
112
|
+
export const document_id: (a: number) => number;
|
|
113
|
+
export const group_groupId: (a: number) => number;
|
|
114
|
+
export const group_id: (a: number) => number;
|
|
115
|
+
export const individual_id: (a: number) => number;
|
|
116
|
+
export const individual_individualId: (a: number) => number;
|
|
71
117
|
export const __wbg_cannotparseed25519signingkey_free: (a: number, b: number) => void;
|
|
72
118
|
export const __wbg_cannotparseidentifier_free: (a: number, b: number) => void;
|
|
73
119
|
export const __wbg_cgkaoperation_free: (a: number, b: number) => void;
|
|
@@ -75,11 +121,9 @@ export const __wbg_doccontentrefs_free: (a: number, b: number) => void;
|
|
|
75
121
|
export const __wbg_documentid_free: (a: number, b: number) => void;
|
|
76
122
|
export const __wbg_generatewebcryptoerror_free: (a: number, b: number) => void;
|
|
77
123
|
export const __wbg_groupid_free: (a: number, b: number) => void;
|
|
78
|
-
export const __wbg_history_free: (a: number, b: number) => void;
|
|
79
124
|
export const __wbg_identifier_free: (a: number, b: number) => void;
|
|
80
|
-
export const
|
|
81
|
-
export const
|
|
82
|
-
export const __wbg_signedrevocation_free: (a: number, b: number) => void;
|
|
125
|
+
export const __wbg_individualid_free: (a: number, b: number) => void;
|
|
126
|
+
export const __wbg_peer_free: (a: number, b: number) => void;
|
|
83
127
|
export const __wbg_signer_free: (a: number, b: number) => void;
|
|
84
128
|
export const __wbg_stats_free: (a: number, b: number) => void;
|
|
85
129
|
export const cgkaoperation_variant: (a: number) => [number, number];
|
|
@@ -93,15 +137,15 @@ export const documentid_toJsValue: (a: number) => any;
|
|
|
93
137
|
export const documentid_toString: (a: number) => [number, number];
|
|
94
138
|
export const generatewebcryptoerror_message: (a: number) => [number, number];
|
|
95
139
|
export const groupid_toString: (a: number) => [number, number];
|
|
96
|
-
export const history_contentRefs: (a: number) => [number, number];
|
|
97
|
-
export const history_delegations: (a: number) => [number, number];
|
|
98
|
-
export const history_revocations: (a: number) => [number, number];
|
|
99
140
|
export const identifier_new: (a: number, b: number) => [number, number, number];
|
|
100
141
|
export const identifier_toBytes: (a: number) => [number, number];
|
|
101
|
-
export const
|
|
102
|
-
export const
|
|
103
|
-
export const
|
|
104
|
-
export const
|
|
142
|
+
export const individualid_bytes: (a: number) => [number, number];
|
|
143
|
+
export const peer___wasm_refgen_toPeer: (a: number) => number;
|
|
144
|
+
export const peer_id: (a: number) => number;
|
|
145
|
+
export const peer_isDocument: (a: number) => number;
|
|
146
|
+
export const peer_isGroup: (a: number) => number;
|
|
147
|
+
export const peer_isIndividual: (a: number) => number;
|
|
148
|
+
export const peer_toString: (a: number) => [number, number];
|
|
105
149
|
export const signer_clone: (a: number) => number;
|
|
106
150
|
export const signer_generate: () => any;
|
|
107
151
|
export const signer_generateMemory: () => number;
|
|
@@ -132,89 +176,45 @@ export const stats_prekeysExpanded: (a: number) => bigint;
|
|
|
132
176
|
export const stats_revocations: (a: number) => bigint;
|
|
133
177
|
export const stats_totalOps: (a: number) => bigint;
|
|
134
178
|
export const stats_totalPendingOps: (a: number) => bigint;
|
|
135
|
-
export const
|
|
136
|
-
export const
|
|
137
|
-
export const
|
|
138
|
-
export const
|
|
139
|
-
export const
|
|
140
|
-
export const
|
|
141
|
-
export const
|
|
142
|
-
export const
|
|
143
|
-
export const
|
|
144
|
-
export const
|
|
145
|
-
export const
|
|
146
|
-
export const
|
|
147
|
-
export const
|
|
148
|
-
export const
|
|
149
|
-
export const
|
|
150
|
-
export const
|
|
151
|
-
export const
|
|
152
|
-
export const
|
|
153
|
-
export const
|
|
154
|
-
export const
|
|
155
|
-
export const
|
|
156
|
-
export const
|
|
157
|
-
export const
|
|
158
|
-
export const
|
|
159
|
-
export const
|
|
160
|
-
export const
|
|
161
|
-
export const
|
|
162
|
-
export const
|
|
163
|
-
export const
|
|
164
|
-
export const
|
|
165
|
-
export const
|
|
166
|
-
export const
|
|
167
|
-
export const
|
|
168
|
-
export const
|
|
169
|
-
export const
|
|
170
|
-
export const
|
|
171
|
-
export const
|
|
172
|
-
export const
|
|
173
|
-
export const
|
|
174
|
-
export const keyhive_receiveContactCard: (a: number, b: number) => any;
|
|
175
|
-
export const keyhive_revokeMember: (a: number, b: number, c: number, d: number) => any;
|
|
176
|
-
export const keyhive_rotatePrekey: (a: number, b: number) => any;
|
|
177
|
-
export const keyhive_stats: (a: number) => any;
|
|
178
|
-
export const keyhive_toArchive: (a: number) => any;
|
|
179
|
-
export const keyhive_tryDecrypt: (a: number, b: number, c: number) => any;
|
|
180
|
-
export const keyhive_tryEncrypt: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => any;
|
|
181
|
-
export const keyhive_tryEncryptArchive: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => any;
|
|
182
|
-
export const keyhive_trySign: (a: number, b: number, c: number) => any;
|
|
183
|
-
export const peer___wasm_refgen_toPeer: (a: number) => number;
|
|
184
|
-
export const peer_isDocument: (a: number) => number;
|
|
185
|
-
export const peer_isGroup: (a: number) => number;
|
|
186
|
-
export const peer_isIndividual: (a: number) => number;
|
|
187
|
-
export const peer_toString: (a: number) => [number, number];
|
|
188
|
-
export const group_id: (a: number) => number;
|
|
189
|
-
export const peer_id: (a: number) => number;
|
|
190
|
-
export const keyhive_whoami: (a: number) => number;
|
|
191
|
-
export const __wbg_capability_free: (a: number, b: number) => void;
|
|
192
|
-
export const __wbg_delegation_free: (a: number, b: number) => void;
|
|
193
|
-
export const __wbg_document_free: (a: number, b: number) => void;
|
|
194
|
-
export const __wbg_individual_free: (a: number, b: number) => void;
|
|
195
|
-
export const __wbg_individualid_free: (a: number, b: number) => void;
|
|
196
|
-
export const __wbg_membership_free: (a: number, b: number) => void;
|
|
197
|
-
export const capability_can: (a: number) => number;
|
|
198
|
-
export const capability_proof: (a: number) => number;
|
|
199
|
-
export const capability_who: (a: number) => number;
|
|
200
|
-
export const delegation_after: (a: number) => number;
|
|
201
|
-
export const delegation_can: (a: number) => number;
|
|
202
|
-
export const delegation_delegate: (a: number) => number;
|
|
203
|
-
export const delegation_proof: (a: number) => number;
|
|
204
|
-
export const document___wasm_refgen_toDocument: (a: number) => number;
|
|
205
|
-
export const document_doc_id: (a: number) => number;
|
|
206
|
-
export const document_toAgent: (a: number) => number;
|
|
207
|
-
export const document_toMembered: (a: number) => number;
|
|
208
|
-
export const document_toPeer: (a: number) => number;
|
|
209
|
-
export const individual_pickPrekey: (a: number, b: number) => any;
|
|
210
|
-
export const individual_toAgent: (a: number) => number;
|
|
211
|
-
export const individual_toPeer: (a: number) => number;
|
|
212
|
-
export const individualid_bytes: (a: number) => [number, number];
|
|
213
|
-
export const membership_can: (a: number) => number;
|
|
214
|
-
export const membership_who: (a: number) => number;
|
|
215
|
-
export const document_id: (a: number) => number;
|
|
216
|
-
export const individual_id: (a: number) => number;
|
|
217
|
-
export const individual_individualId: (a: number) => number;
|
|
179
|
+
export const setPanicHook: () => void;
|
|
180
|
+
export const __wbg_signedcgkaoperation_free: (a: number, b: number) => void;
|
|
181
|
+
export const __wbg_signedrevocation_free: (a: number, b: number) => void;
|
|
182
|
+
export const signedcgkaoperation_delegation: (a: number) => number;
|
|
183
|
+
export const signedcgkaoperation_signature: (a: number) => [number, number];
|
|
184
|
+
export const signedcgkaoperation_verify: (a: number) => number;
|
|
185
|
+
export const signedcgkaoperation_verifyingKey: (a: number) => [number, number];
|
|
186
|
+
export const signedrevocation_delegation: (a: number) => number;
|
|
187
|
+
export const signedrevocation_signature: (a: number) => [number, number];
|
|
188
|
+
export const signedrevocation_verify: (a: number) => number;
|
|
189
|
+
export const signedrevocation_verifyingKey: (a: number) => [number, number];
|
|
190
|
+
export const __wbg_access_free: (a: number, b: number) => void;
|
|
191
|
+
export const __wbg_archive_free: (a: number, b: number) => void;
|
|
192
|
+
export const __wbg_encryptedcontentwithupdate_free: (a: number, b: number) => void;
|
|
193
|
+
export const __wbg_event_free: (a: number, b: number) => void;
|
|
194
|
+
export const __wbg_history_free: (a: number, b: number) => void;
|
|
195
|
+
export const __wbg_revocation_free: (a: number, b: number) => void;
|
|
196
|
+
export const __wbg_sharekey_free: (a: number, b: number) => void;
|
|
197
|
+
export const __wbg_signedinvocation_free: (a: number, b: number) => void;
|
|
198
|
+
export const access_toString: (a: number) => [number, number];
|
|
199
|
+
export const access_tryFromString: (a: number, b: number) => number;
|
|
200
|
+
export const archive_toBytes: (a: number) => [number, number, number, number];
|
|
201
|
+
export const archive_tryToKeyhive: (a: number, b: number, c: number, d: any) => any;
|
|
202
|
+
export const archive_try_from_bytes: (a: number, b: number) => [number, number, number];
|
|
203
|
+
export const encryptedcontentwithupdate_encrypted_content: (a: number) => number;
|
|
204
|
+
export const encryptedcontentwithupdate_update_op: (a: number) => number;
|
|
205
|
+
export const event_isDelegated: (a: number) => number;
|
|
206
|
+
export const event_isRevoked: (a: number) => number;
|
|
207
|
+
export const event_toBytes: (a: number) => [number, number, number, number];
|
|
208
|
+
export const event_tryIntoSignedDelegation: (a: number) => number;
|
|
209
|
+
export const event_tryIntoSignedRevocation: (a: number) => number;
|
|
210
|
+
export const event_variant: (a: number) => [number, number];
|
|
211
|
+
export const history_contentRefs: (a: number) => [number, number];
|
|
212
|
+
export const history_delegations: (a: number) => [number, number];
|
|
213
|
+
export const history_revocations: (a: number) => [number, number];
|
|
214
|
+
export const revocation_after: (a: number) => number;
|
|
215
|
+
export const revocation_proof: (a: number) => number;
|
|
216
|
+
export const revocation_revoked: (a: number) => number;
|
|
217
|
+
export const revocation_subject_id: (a: number) => number;
|
|
218
218
|
export const wasm_bindgen__convert__closures_____invoke__hb8b6941fceac7069: (a: number, b: number, c: any) => void;
|
|
219
219
|
export const wasm_bindgen__closure__destroy__h56c1987c5374a416: (a: number, b: number) => void;
|
|
220
220
|
export const wasm_bindgen__convert__closures_____invoke__h0e2a667a85375385: (a: number, b: number, c: any, d: any) => void;
|
package/pkg-node/keyhive_wasm.js
CHANGED
|
@@ -1406,7 +1406,7 @@ class Group {
|
|
|
1406
1406
|
* @returns {Identifier}
|
|
1407
1407
|
*/
|
|
1408
1408
|
get id() {
|
|
1409
|
-
const ret = wasm.
|
|
1409
|
+
const ret = wasm.document_doc_id(this.__wbg_ptr);
|
|
1410
1410
|
return Identifier.__wrap(ret);
|
|
1411
1411
|
}
|
|
1412
1412
|
/**
|
|
@@ -1427,7 +1427,7 @@ class Group {
|
|
|
1427
1427
|
* @returns {GroupId}
|
|
1428
1428
|
*/
|
|
1429
1429
|
get groupId() {
|
|
1430
|
-
const ret = wasm.
|
|
1430
|
+
const ret = wasm.document_doc_id(this.__wbg_ptr);
|
|
1431
1431
|
return GroupId.__wrap(ret);
|
|
1432
1432
|
}
|
|
1433
1433
|
/**
|
|
@@ -2146,7 +2146,7 @@ class Peer {
|
|
|
2146
2146
|
* @returns {Identifier}
|
|
2147
2147
|
*/
|
|
2148
2148
|
get id() {
|
|
2149
|
-
const ret = wasm.
|
|
2149
|
+
const ret = wasm.peer_id(this.__wbg_ptr);
|
|
2150
2150
|
return Identifier.__wrap(ret);
|
|
2151
2151
|
}
|
|
2152
2152
|
/**
|
|
@@ -3294,6 +3294,11 @@ exports.__wbg_signer_new = function(arg0) {
|
|
|
3294
3294
|
return ret;
|
|
3295
3295
|
};
|
|
3296
3296
|
|
|
3297
|
+
exports.__wbg_size_aeb57b993c620133 = function(arg0) {
|
|
3298
|
+
const ret = arg0.size;
|
|
3299
|
+
return ret;
|
|
3300
|
+
};
|
|
3301
|
+
|
|
3297
3302
|
exports.__wbg_stack_0ed75d68575b0f3c = function(arg0, arg1) {
|
|
3298
3303
|
const ret = arg1.stack;
|
|
3299
3304
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -3395,12 +3400,6 @@ exports.__wbindgen_cast_25a0a844437d0e92 = function(arg0, arg1) {
|
|
|
3395
3400
|
return ret;
|
|
3396
3401
|
};
|
|
3397
3402
|
|
|
3398
|
-
exports.__wbindgen_cast_3bf4b741a108bc57 = function(arg0, arg1) {
|
|
3399
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 472, function: Function { arguments: [Externref], shim_idx: 473, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3400
|
-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h56c1987c5374a416, wasm_bindgen__convert__closures_____invoke__hb8b6941fceac7069);
|
|
3401
|
-
return ret;
|
|
3402
|
-
};
|
|
3403
|
-
|
|
3404
3403
|
exports.__wbindgen_cast_6300122139088863 = function(arg0, arg1) {
|
|
3405
3404
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
3406
3405
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
@@ -3449,6 +3448,12 @@ exports.__wbindgen_cast_ae91babfc5c19b28 = function(arg0, arg1) {
|
|
|
3449
3448
|
return ret;
|
|
3450
3449
|
};
|
|
3451
3450
|
|
|
3451
|
+
exports.__wbindgen_cast_c4bd6c1dc507cff7 = function(arg0, arg1) {
|
|
3452
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 471, function: Function { arguments: [Externref], shim_idx: 472, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3453
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h56c1987c5374a416, wasm_bindgen__convert__closures_____invoke__hb8b6941fceac7069);
|
|
3454
|
+
return ret;
|
|
3455
|
+
};
|
|
3456
|
+
|
|
3452
3457
|
exports.__wbindgen_cast_cb9088102bce6b30 = function(arg0, arg1) {
|
|
3453
3458
|
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
3454
3459
|
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
Binary file
|