@keyhive/keyhive 0.0.0-alpha.0

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.
Binary file
@@ -0,0 +1,208 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ export const memory: WebAssembly.Memory;
4
+ export const __wbg_signedinvocation_free: (a: number, b: number) => void;
5
+ export const __wbg_invocation_free: (a: number, b: number) => void;
6
+ export const __wbg_archive_free: (a: number, b: number) => void;
7
+ export const archive_try_from_bytes: (a: number, b: number) => [number, number, number];
8
+ export const archive_toBytes: (a: number) => [number, number, number, number];
9
+ export const archive_tryToKeyhive: (a: number, b: number, c: number, d: any) => [number, number, number];
10
+ export const __wbg_tryfromarchiveerror_free: (a: number, b: number) => void;
11
+ export const tryfromarchiveerror_toError: (a: number) => any;
12
+ export const __wbg_serializationerror_free: (a: number, b: number) => void;
13
+ export const serializationerror_toError: (a: number) => any;
14
+ export const __wbg_signed_free: (a: number, b: number) => void;
15
+ export const signed_fromBytes: (a: number, b: number) => number;
16
+ export const signed_toBytes: (a: number) => [number, number];
17
+ export const signed_verify: (a: number) => number;
18
+ export const signed_payload: (a: number) => [number, number];
19
+ export const signed_verifyingKey: (a: number) => [number, number];
20
+ export const signed_signature: (a: number) => [number, number];
21
+ export const __wbg_document_free: (a: number, b: number) => void;
22
+ export const document_id: (a: number) => number;
23
+ export const document_doc_id: (a: number) => number;
24
+ export const document_toPeer: (a: number) => number;
25
+ export const document_toAgent: (a: number) => number;
26
+ export const __wbg_individual_free: (a: number, b: number) => void;
27
+ export const individual_toPeer: (a: number) => number;
28
+ export const individual_toAgent: (a: number) => number;
29
+ export const individual_id: (a: number) => number;
30
+ export const individual_individualId: (a: number) => number;
31
+ export const individual_pickPrekey: (a: number, b: number) => number;
32
+ export const __wbg_addmembererror_free: (a: number, b: number) => void;
33
+ export const addmembererror_message: (a: number) => [number, number];
34
+ export const __wbg_changeref_free: (a: number, b: number) => void;
35
+ export const changeref_new: (a: number, b: number) => number;
36
+ export const changeref_bytes: (a: number) => [number, number];
37
+ export const __wbg_ciphertextstore_free: (a: number, b: number) => void;
38
+ export const ciphertextstore_newInMemory: () => number;
39
+ export const ciphertextstore_newFromWebStorage: (a: any) => number;
40
+ export const __wbg_removeciphertexterror_free: (a: number, b: number) => void;
41
+ export const __wbg_getciphertexterror_free: (a: number, b: number) => void;
42
+ export const getciphertexterror_message: (a: number) => [number, number];
43
+ export const __wbg_contactcard_free: (a: number, b: number) => void;
44
+ export const contactcard_id: (a: number) => number;
45
+ export const contactcard_shareKey: (a: number) => number;
46
+ export const contactcard_signature: (a: number) => [number, number];
47
+ export const contactcard_fromJson: (a: number, b: number) => [number, number, number];
48
+ export const contactcard_toJson: (a: number) => [number, number, number, number];
49
+ export const __wbg_doccontentrefs_free: (a: number, b: number) => void;
50
+ export const doccontentrefs_new: (a: number, b: number, c: number) => [number, number, number];
51
+ export const doccontentrefs_addChangeRef: (a: number, b: number) => void;
52
+ export const doccontentrefs_docId: (a: number) => number;
53
+ export const doccontentrefs_change_hashes: (a: number) => [number, number];
54
+ export const __wbg_documentid_free: (a: number, b: number) => void;
55
+ export const documentid_new: (a: number, b: number) => [number, number, number];
56
+ export const documentid_fromString: (a: number) => [number, number];
57
+ export const documentid_toJsValue: (a: number) => any;
58
+ export const documentid_toBytes: (a: number) => [number, number];
59
+ export const __wbg_encrypted_free: (a: number, b: number) => void;
60
+ export const encrypted_ciphertext: (a: number) => [number, number];
61
+ export const encrypted_nonce: (a: number) => [number, number];
62
+ export const encrypted_pcs_key_hash: (a: number) => [number, number];
63
+ export const encrypted_content_ref: (a: number) => [number, number];
64
+ export const encrypted_pred_refs: (a: number) => [number, number];
65
+ export const __wbg_history_free: (a: number, b: number) => void;
66
+ export const history_delegations: (a: number) => [number, number];
67
+ export const history_revocations: (a: number) => [number, number];
68
+ export const history_contentRefs: (a: number) => [number, number];
69
+ export const __wbg_revokemembererror_free: (a: number, b: number) => void;
70
+ export const revokemembererror_message: (a: number) => [number, number];
71
+ export const __wbg_signer_free: (a: number, b: number) => void;
72
+ export const signer_generate: () => any;
73
+ export const signer_generateMemory: () => number;
74
+ export const signer_generateWebCrypto: () => any;
75
+ export const signer_memorySignerFromBytes: (a: number, b: number) => [number, number, number];
76
+ export const signer_webCryptoSigner: (a: any) => any;
77
+ export const signer_variant: (a: number) => [number, number];
78
+ export const signer_trySign: (a: number, b: number, c: number) => any;
79
+ export const signer_verifyingKey: (a: number) => [number, number];
80
+ export const signer_clone: (a: number) => number;
81
+ export const __wbg_cannotparseed25519signingkey_free: (a: number, b: number) => void;
82
+ export const __wbg_generatewebcryptoerror_free: (a: number, b: number) => void;
83
+ export const generatewebcryptoerror_message: (a: number) => [number, number];
84
+ export const __wbg_signingerror_free: (a: number, b: number) => void;
85
+ export const signingerror_message: (a: number) => [number, number];
86
+ export const encrypted_toBytes: (a: number) => [number, number];
87
+ export const __wbg_access_free: (a: number, b: number) => void;
88
+ export const access_tryFromString: (a: number, b: number) => number;
89
+ export const access_toString: (a: number) => [number, number];
90
+ export const __wbg_agent_free: (a: number, b: number) => void;
91
+ export const agent_toString: (a: number) => [number, number];
92
+ export const agent_isIndividual: (a: number) => number;
93
+ export const agent_isGroup: (a: number) => number;
94
+ export const agent_isDocument: (a: number) => number;
95
+ export const agent_id: (a: number) => number;
96
+ export const __wbg_capability_free: (a: number, b: number) => void;
97
+ export const capability_who: (a: number) => number;
98
+ export const capability_can: (a: number) => number;
99
+ export const capability_proof: (a: number) => number;
100
+ export const __wbg_simplecapability_free: (a: number, b: number) => void;
101
+ export const simplecapability_who: (a: number) => number;
102
+ export const simplecapability_can: (a: number) => number;
103
+ export const __wbg_cgkaoperation_free: (a: number, b: number) => void;
104
+ export const cgkaoperation_variant: (a: number) => [number, number];
105
+ export const __wbg_delegation_free: (a: number, b: number) => void;
106
+ export const delegation_delegate: (a: number) => number;
107
+ export const delegation_can: (a: number) => number;
108
+ export const delegation_proof: (a: number) => number;
109
+ export const delegation_after: (a: number) => number;
110
+ export const __wbg_delegationerror_free: (a: number, b: number) => void;
111
+ export const __wbg_encryptedcontentwithupdate_free: (a: number, b: number) => void;
112
+ export const encryptedcontentwithupdate_encrypted_content: (a: number) => number;
113
+ export const encryptedcontentwithupdate_update_op: (a: number) => number;
114
+ export const __wbg_event_free: (a: number, b: number) => void;
115
+ export const event_variant: (a: number) => [number, number];
116
+ export const event_isDelegated: (a: number) => number;
117
+ export const event_isRevoked: (a: number) => number;
118
+ export const event_tryIntoSignedDelegation: (a: number) => number;
119
+ export const event_tryIntoSignedRevocation: (a: number) => number;
120
+ export const __wbg_generatedocerror_free: (a: number, b: number) => void;
121
+ export const generatedocerror_message: (a: number) => [number, number];
122
+ export const __wbg_groupid_free: (a: number, b: number) => void;
123
+ export const groupid_toString: (a: number) => [number, number];
124
+ export const __wbg_individualid_free: (a: number, b: number) => void;
125
+ export const individualid_bytes: (a: number) => [number, number];
126
+ export const __wbg_membered_free: (a: number, b: number) => void;
127
+ export const __wbg_peer_free: (a: number, b: number) => void;
128
+ export const peer_toString: (a: number) => [number, number];
129
+ export const peer_isIndividual: (a: number) => number;
130
+ export const peer_isGroup: (a: number) => number;
131
+ export const peer_isDocument: (a: number) => number;
132
+ export const __wbg_revocation_free: (a: number, b: number) => void;
133
+ export const revocation_subject_id: (a: number) => number;
134
+ export const revocation_revoked: (a: number) => number;
135
+ export const revocation_proof: (a: number) => number;
136
+ export const revocation_after: (a: number) => number;
137
+ export const __wbg_signedcgkaoperation_free: (a: number, b: number) => void;
138
+ export const signedcgkaoperation_verify: (a: number) => number;
139
+ export const signedcgkaoperation_delegation: (a: number) => number;
140
+ export const signedcgkaoperation_verifyingKey: (a: number) => [number, number];
141
+ export const signedcgkaoperation_signature: (a: number) => [number, number];
142
+ export const __wbg_signeddelegation_free: (a: number, b: number) => void;
143
+ export const signeddelegation_verify: (a: number) => number;
144
+ export const signeddelegation_delegation: (a: number) => number;
145
+ export const signeddelegation_verifyingKey: (a: number) => [number, number];
146
+ export const signeddelegation_signature: (a: number) => [number, number];
147
+ export const __wbg_signedrevocation_free: (a: number, b: number) => void;
148
+ export const signedrevocation_verify: (a: number) => number;
149
+ export const signedrevocation_delegation: (a: number) => number;
150
+ export const signedrevocation_verifyingKey: (a: number) => [number, number];
151
+ export const signedrevocation_signature: (a: number) => [number, number];
152
+ export const __wbg_summary_free: (a: number, b: number) => void;
153
+ export const summary_doc: (a: number) => number;
154
+ export const summary_access: (a: number) => number;
155
+ export const __wbg_group_free: (a: number, b: number) => void;
156
+ export const group_id: (a: number) => number;
157
+ export const group_groupId: (a: number) => number;
158
+ export const group_members: (a: number) => [number, number];
159
+ export const group_toPeer: (a: number) => number;
160
+ export const group_toAgent: (a: number) => number;
161
+ export const group_toMembered: (a: number) => number;
162
+ export const __wbg_identifier_free: (a: number, b: number) => void;
163
+ export const identifier_new: (a: number, b: number) => [number, number, number];
164
+ export const identifier_toBytes: (a: number) => [number, number];
165
+ export const __wbg_cannotparseidentifier_free: (a: number, b: number) => void;
166
+ export const __wbg_keyhive_free: (a: number, b: number) => void;
167
+ export const keyhive_init: (a: number, b: number, c: any) => any;
168
+ export const keyhive_id: (a: number) => number;
169
+ export const keyhive_idString: (a: number) => [number, number];
170
+ export const keyhive_generateGroup: (a: number, b: number, c: number) => any;
171
+ export const keyhive_generateDocument: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
172
+ export const keyhive_trySign: (a: number, b: number, c: number) => any;
173
+ export const keyhive_tryEncrypt: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => any;
174
+ export const keyhive_tryEncryptArchive: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => any;
175
+ export const keyhive_tryDecrypt: (a: number, b: number, c: number) => [number, number, number, number];
176
+ export const keyhive_addMember: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
177
+ export const keyhive_revokeMember: (a: number, b: number, c: number, d: number) => any;
178
+ export const keyhive_reachableDocs: (a: number) => [number, number];
179
+ export const keyhive_forcePcsUpdate: (a: number, b: number) => any;
180
+ export const keyhive_rotatePrekey: (a: number, b: number) => any;
181
+ export const keyhive_expandPrekeys: (a: number) => any;
182
+ export const keyhive_contactCard: (a: number) => any;
183
+ export const keyhive_receiveContactCard: (a: number, b: number) => [number, number, number];
184
+ export const keyhive_getAgent: (a: number, b: number) => number;
185
+ export const keyhive_getGroup: (a: number, b: number) => number;
186
+ export const keyhive_docMemberCapabilities: (a: number, b: number) => [number, number];
187
+ export const keyhive_accessForDoc: (a: number, b: number, c: number) => number;
188
+ export const keyhive_intoArchive: (a: number) => number;
189
+ export const keyhive_toArchive: (a: number) => number;
190
+ export const __wbg_jsreceiveprekeyoperror_free: (a: number, b: number) => void;
191
+ export const __wbg_jsencrypterror_free: (a: number, b: number) => void;
192
+ export const __wbg_jsdecrypterror_free: (a: number, b: number) => void;
193
+ export const __wbg_jsreceivestaticeventerror_free: (a: number, b: number) => void;
194
+ export const keyhive_whoami: (a: number) => number;
195
+ export const __wbg_sharekey_free: (a: number, b: number) => void;
196
+ export const setPanicHook: () => void;
197
+ export const __wbindgen_exn_store: (a: number) => void;
198
+ export const __externref_table_alloc: () => number;
199
+ export const __wbindgen_export_2: WebAssembly.Table;
200
+ export const __wbindgen_free: (a: number, b: number, c: number) => void;
201
+ export const __wbindgen_malloc: (a: number, b: number) => number;
202
+ export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
203
+ export const __wbindgen_export_6: WebAssembly.Table;
204
+ export const __externref_drop_slice: (a: number, b: number) => void;
205
+ export const __externref_table_dealloc: (a: number) => void;
206
+ export const closure388_externref_shim: (a: number, b: number, c: any) => void;
207
+ export const closure525_externref_shim: (a: number, b: number, c: any, d: any) => void;
208
+ export const __wbindgen_start: () => void;
@@ -0,0 +1,22 @@
1
+ {
2
+ "name": "keyhive_wasm",
3
+ "collaborators": [
4
+ "Alex Good <alex@memoryandthought.me>",
5
+ "John Mumm",
6
+ "Brooklyn Zelenka <hello@brooklynzelenka.com>"
7
+ ],
8
+ "description": "WebAssembly wrappers for beehive_core",
9
+ "version": "0.1.0",
10
+ "license": "Apache-2.0",
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/inkandswitch/keyhive"
14
+ },
15
+ "files": [
16
+ "keyhive_wasm_bg.wasm",
17
+ "keyhive_wasm.js",
18
+ "keyhive_wasm.d.ts"
19
+ ],
20
+ "main": "keyhive_wasm.js",
21
+ "types": "keyhive_wasm.d.ts"
22
+ }