@keyhive/keyhive 0.0.0-alpha.21 → 0.0.0-alpha.22
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 +12 -12
- package/pkg/keyhive_wasm_bg.wasm +0 -0
- package/pkg/keyhive_wasm_bg.wasm.d.ts +121 -121
- package/pkg-node/keyhive_wasm.js +12 -12
- package/pkg-node/keyhive_wasm_bg.wasm +0 -0
- package/pkg-node/keyhive_wasm_bg.wasm.d.ts +121 -121
- package/pkg-slim/keyhive_wasm.d.ts +121 -121
- package/pkg-slim/keyhive_wasm.js +12 -12
- 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 +121 -121
package/package.json
CHANGED
package/pkg/keyhive_wasm_bg.js
CHANGED
|
@@ -247,18 +247,18 @@ function passArrayJsValueToWasm0(array, malloc) {
|
|
|
247
247
|
return ptr;
|
|
248
248
|
}
|
|
249
249
|
|
|
250
|
+
function takeFromExternrefTable0(idx) {
|
|
251
|
+
const value = wasm.__wbindgen_export_2.get(idx);
|
|
252
|
+
wasm.__externref_table_dealloc(idx);
|
|
253
|
+
return value;
|
|
254
|
+
}
|
|
255
|
+
|
|
250
256
|
function passArray8ToWasm0(arg, malloc) {
|
|
251
257
|
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
252
258
|
getUint8ArrayMemory0().set(arg, ptr / 1);
|
|
253
259
|
WASM_VECTOR_LEN = arg.length;
|
|
254
260
|
return ptr;
|
|
255
261
|
}
|
|
256
|
-
|
|
257
|
-
function takeFromExternrefTable0(idx) {
|
|
258
|
-
const value = wasm.__wbindgen_export_2.get(idx);
|
|
259
|
-
wasm.__externref_table_dealloc(idx);
|
|
260
|
-
return value;
|
|
261
|
-
}
|
|
262
262
|
/**
|
|
263
263
|
* Panic hook lets us get better error messages if our Rust code ever panics.
|
|
264
264
|
*
|
|
@@ -269,12 +269,12 @@ export function setPanicHook() {
|
|
|
269
269
|
wasm.setPanicHook();
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
function
|
|
273
|
-
wasm.
|
|
272
|
+
function __wbg_adapter_10(arg0, arg1, arg2) {
|
|
273
|
+
wasm.closure497_externref_shim(arg0, arg1, arg2);
|
|
274
274
|
}
|
|
275
275
|
|
|
276
276
|
function __wbg_adapter_269(arg0, arg1, arg2, arg3) {
|
|
277
|
-
wasm.
|
|
277
|
+
wasm.closure654_externref_shim(arg0, arg1, arg2, arg3);
|
|
278
278
|
}
|
|
279
279
|
|
|
280
280
|
const AccessFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
@@ -3463,9 +3463,9 @@ export function __wbindgen_cast_25a0a844437d0e92(arg0, arg1) {
|
|
|
3463
3463
|
return ret;
|
|
3464
3464
|
};
|
|
3465
3465
|
|
|
3466
|
-
export function
|
|
3467
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3468
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3466
|
+
export function __wbindgen_cast_821aeed1a5f992b8(arg0, arg1) {
|
|
3467
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 496, function: Function { arguments: [Externref], shim_idx: 497, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3468
|
+
const ret = makeMutClosure(arg0, arg1, 496, __wbg_adapter_10);
|
|
3469
3469
|
return ret;
|
|
3470
3470
|
};
|
|
3471
3471
|
|
package/pkg/keyhive_wasm_bg.wasm
CHANGED
|
Binary file
|
|
@@ -1,100 +1,19 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
-
export const
|
|
5
|
-
export const
|
|
6
|
-
export const
|
|
7
|
-
export const
|
|
8
|
-
export const
|
|
9
|
-
export const
|
|
10
|
-
export const
|
|
11
|
-
export const
|
|
12
|
-
export const
|
|
13
|
-
export const
|
|
14
|
-
export const
|
|
15
|
-
export const
|
|
16
|
-
export const
|
|
17
|
-
export const keyhive_reachableDocs: (a: number) => [number, number];
|
|
18
|
-
export const keyhive_forcePcsUpdate: (a: number, b: number) => any;
|
|
19
|
-
export const keyhive_rotatePrekey: (a: number, b: number) => any;
|
|
20
|
-
export const keyhive_expandPrekeys: (a: number) => any;
|
|
21
|
-
export const keyhive_contactCard: (a: number) => any;
|
|
22
|
-
export const keyhive_receiveContactCard: (a: number, b: number) => [number, number, number];
|
|
23
|
-
export const keyhive_getAgent: (a: number, b: number) => number;
|
|
24
|
-
export const keyhive_getGroup: (a: number, b: number) => number;
|
|
25
|
-
export const keyhive_getDocument: (a: number, b: number) => number;
|
|
26
|
-
export const keyhive_docMemberCapabilities: (a: number, b: number) => [number, number];
|
|
27
|
-
export const keyhive_accessForDoc: (a: number, b: number, c: number) => number;
|
|
28
|
-
export const keyhive_intoArchive: (a: number) => number;
|
|
29
|
-
export const keyhive_toArchive: (a: number) => number;
|
|
30
|
-
export const keyhive_ingestArchive: (a: number, b: number) => any;
|
|
31
|
-
export const __wbg_jsreceiveprekeyoperror_free: (a: number, b: number) => void;
|
|
32
|
-
export const __wbg_jsencrypterror_free: (a: number, b: number) => void;
|
|
33
|
-
export const __wbg_jsdecrypterror_free: (a: number, b: number) => void;
|
|
34
|
-
export const __wbg_jsreceivestaticeventerror_free: (a: number, b: number) => void;
|
|
35
|
-
export const keyhive_whoami: (a: number) => number;
|
|
36
|
-
export const __wbg_addmembererror_free: (a: number, b: number) => void;
|
|
37
|
-
export const addmembererror_message: (a: number) => [number, number];
|
|
38
|
-
export const __wbg_agent_free: (a: number, b: number) => void;
|
|
39
|
-
export const agent_toString: (a: number) => [number, number];
|
|
40
|
-
export const agent_isIndividual: (a: number) => number;
|
|
41
|
-
export const agent_isGroup: (a: number) => number;
|
|
42
|
-
export const agent_isDocument: (a: number) => number;
|
|
43
|
-
export const agent_id: (a: number) => number;
|
|
44
|
-
export const __wbg_changeref_free: (a: number, b: number) => void;
|
|
45
|
-
export const changeref_new: (a: number, b: number) => number;
|
|
46
|
-
export const changeref_bytes: (a: number) => [number, number];
|
|
47
|
-
export const __wbg_delegation_free: (a: number, b: number) => void;
|
|
48
|
-
export const delegation_delegate: (a: number) => number;
|
|
49
|
-
export const delegation_can: (a: number) => number;
|
|
50
|
-
export const delegation_proof: (a: number) => number;
|
|
51
|
-
export const delegation_after: (a: number) => number;
|
|
52
|
-
export const __wbg_delegationerror_free: (a: number, b: number) => void;
|
|
53
|
-
export const __wbg_encryptedcontentwithupdate_free: (a: number, b: number) => void;
|
|
54
|
-
export const encryptedcontentwithupdate_encrypted_content: (a: number) => number;
|
|
55
|
-
export const encryptedcontentwithupdate_update_op: (a: number) => number;
|
|
56
|
-
export const __wbg_event_free: (a: number, b: number) => void;
|
|
57
|
-
export const event_variant: (a: number) => [number, number];
|
|
58
|
-
export const event_isDelegated: (a: number) => number;
|
|
59
|
-
export const event_isRevoked: (a: number) => number;
|
|
60
|
-
export const event_tryIntoSignedDelegation: (a: number) => number;
|
|
61
|
-
export const event_tryIntoSignedRevocation: (a: number) => number;
|
|
62
|
-
export const __wbg_generatedocerror_free: (a: number, b: number) => void;
|
|
63
|
-
export const generatedocerror_message: (a: number) => [number, number];
|
|
64
|
-
export const __wbg_identifier_free: (a: number, b: number) => void;
|
|
65
|
-
export const identifier_new: (a: number, b: number) => [number, number, number];
|
|
66
|
-
export const identifier_toBytes: (a: number) => [number, number];
|
|
67
|
-
export const __wbg_cannotparseidentifier_free: (a: number, b: number) => void;
|
|
68
|
-
export const __wbg_peer_free: (a: number, b: number) => void;
|
|
69
|
-
export const peer_toString: (a: number) => [number, number];
|
|
70
|
-
export const peer_isIndividual: (a: number) => number;
|
|
71
|
-
export const peer_isGroup: (a: number) => number;
|
|
72
|
-
export const peer_isDocument: (a: number) => number;
|
|
73
|
-
export const __wbg_signed_free: (a: number, b: number) => void;
|
|
74
|
-
export const signed_fromBytes: (a: number, b: number) => number;
|
|
75
|
-
export const signed_toBytes: (a: number) => [number, number];
|
|
76
|
-
export const signed_verify: (a: number) => number;
|
|
77
|
-
export const signed_payload: (a: number) => [number, number];
|
|
78
|
-
export const signed_verifyingKey: (a: number) => [number, number];
|
|
79
|
-
export const signed_signature: (a: number) => [number, number];
|
|
80
|
-
export const __wbg_signedcgkaoperation_free: (a: number, b: number) => void;
|
|
81
|
-
export const signedcgkaoperation_verify: (a: number) => number;
|
|
82
|
-
export const signedcgkaoperation_delegation: (a: number) => number;
|
|
83
|
-
export const signedcgkaoperation_verifyingKey: (a: number) => [number, number];
|
|
84
|
-
export const signedcgkaoperation_signature: (a: number) => [number, number];
|
|
85
|
-
export const __wbg_signeddelegation_free: (a: number, b: number) => void;
|
|
86
|
-
export const signeddelegation_verify: (a: number) => number;
|
|
87
|
-
export const signeddelegation_delegation: (a: number) => number;
|
|
88
|
-
export const signeddelegation_verifyingKey: (a: number) => [number, number];
|
|
89
|
-
export const signeddelegation_signature: (a: number) => [number, number];
|
|
90
|
-
export const __wbg_signedrevocation_free: (a: number, b: number) => void;
|
|
91
|
-
export const signedrevocation_verify: (a: number) => number;
|
|
92
|
-
export const signedrevocation_delegation: (a: number) => number;
|
|
93
|
-
export const signedrevocation_verifyingKey: (a: number) => [number, number];
|
|
94
|
-
export const signedrevocation_signature: (a: number) => [number, number];
|
|
95
|
-
export const __wbg_summary_free: (a: number, b: number) => void;
|
|
96
|
-
export const summary_doc: (a: number) => number;
|
|
97
|
-
export const summary_access: (a: number) => number;
|
|
4
|
+
export const __wbg_invocation_free: (a: number, b: number) => void;
|
|
5
|
+
export const __wbg_membered_free: (a: number, b: number) => void;
|
|
6
|
+
export const __wbg_revocation_free: (a: number, b: number) => void;
|
|
7
|
+
export const revocation_subject_id: (a: number) => number;
|
|
8
|
+
export const revocation_revoked: (a: number) => number;
|
|
9
|
+
export const revocation_proof: (a: number) => number;
|
|
10
|
+
export const revocation_after: (a: number) => number;
|
|
11
|
+
export const __wbg_signedinvocation_free: (a: number, b: number) => void;
|
|
12
|
+
export const __wbg_doccontentrefs_free: (a: number, b: number) => void;
|
|
13
|
+
export const doccontentrefs_new: (a: number, b: number, c: number) => [number, number, number];
|
|
14
|
+
export const doccontentrefs_addChangeRef: (a: number, b: number) => void;
|
|
15
|
+
export const doccontentrefs_docId: (a: number) => number;
|
|
16
|
+
export const doccontentrefs_change_hashes: (a: number) => [number, number];
|
|
98
17
|
export const __wbg_access_free: (a: number, b: number) => void;
|
|
99
18
|
export const access_tryFromString: (a: number, b: number) => number;
|
|
100
19
|
export const access_toString: (a: number) => [number, number];
|
|
@@ -118,11 +37,6 @@ export const contactcard_shareKey: (a: number) => number;
|
|
|
118
37
|
export const contactcard_signature: (a: number) => [number, number];
|
|
119
38
|
export const contactcard_fromJson: (a: number, b: number) => [number, number, number];
|
|
120
39
|
export const contactcard_toJson: (a: number) => [number, number, number, number];
|
|
121
|
-
export const __wbg_doccontentrefs_free: (a: number, b: number) => void;
|
|
122
|
-
export const doccontentrefs_new: (a: number, b: number, c: number) => [number, number, number];
|
|
123
|
-
export const doccontentrefs_addChangeRef: (a: number, b: number) => void;
|
|
124
|
-
export const doccontentrefs_docId: (a: number) => number;
|
|
125
|
-
export const doccontentrefs_change_hashes: (a: number) => [number, number];
|
|
126
40
|
export const __wbg_documentid_free: (a: number, b: number) => void;
|
|
127
41
|
export const documentid_new: (a: number, b: number) => [number, number, number];
|
|
128
42
|
export const documentid_toString: (a: number) => [number, number];
|
|
@@ -172,32 +86,118 @@ export const group_members: (a: number) => [number, number];
|
|
|
172
86
|
export const group_toPeer: (a: number) => number;
|
|
173
87
|
export const group_toAgent: (a: number) => number;
|
|
174
88
|
export const group_toMembered: (a: number) => number;
|
|
175
|
-
export const
|
|
176
|
-
export const
|
|
177
|
-
export const
|
|
178
|
-
export const
|
|
179
|
-
export const
|
|
180
|
-
export const
|
|
181
|
-
export const
|
|
89
|
+
export const __wbg_individualid_free: (a: number, b: number) => void;
|
|
90
|
+
export const individualid_bytes: (a: number) => [number, number];
|
|
91
|
+
export const __wbg_addmembererror_free: (a: number, b: number) => void;
|
|
92
|
+
export const addmembererror_message: (a: number) => [number, number];
|
|
93
|
+
export const __wbg_agent_free: (a: number, b: number) => void;
|
|
94
|
+
export const agent_toString: (a: number) => [number, number];
|
|
95
|
+
export const agent_isIndividual: (a: number) => number;
|
|
96
|
+
export const agent_isGroup: (a: number) => number;
|
|
97
|
+
export const agent_isDocument: (a: number) => number;
|
|
98
|
+
export const agent_id: (a: number) => number;
|
|
99
|
+
export const __wbg_changeref_free: (a: number, b: number) => void;
|
|
100
|
+
export const changeref_new: (a: number, b: number) => number;
|
|
101
|
+
export const changeref_bytes: (a: number) => [number, number];
|
|
102
|
+
export const __wbg_delegation_free: (a: number, b: number) => void;
|
|
103
|
+
export const delegation_delegate: (a: number) => number;
|
|
104
|
+
export const delegation_can: (a: number) => number;
|
|
105
|
+
export const delegation_proof: (a: number) => number;
|
|
106
|
+
export const delegation_after: (a: number) => number;
|
|
107
|
+
export const __wbg_delegationerror_free: (a: number, b: number) => void;
|
|
108
|
+
export const __wbg_encryptedcontentwithupdate_free: (a: number, b: number) => void;
|
|
109
|
+
export const encryptedcontentwithupdate_encrypted_content: (a: number) => number;
|
|
110
|
+
export const encryptedcontentwithupdate_update_op: (a: number) => number;
|
|
111
|
+
export const __wbg_event_free: (a: number, b: number) => void;
|
|
112
|
+
export const event_variant: (a: number) => [number, number];
|
|
113
|
+
export const event_isDelegated: (a: number) => number;
|
|
114
|
+
export const event_isRevoked: (a: number) => number;
|
|
115
|
+
export const event_tryIntoSignedDelegation: (a: number) => number;
|
|
116
|
+
export const event_tryIntoSignedRevocation: (a: number) => number;
|
|
117
|
+
export const __wbg_generatedocerror_free: (a: number, b: number) => void;
|
|
118
|
+
export const generatedocerror_message: (a: number) => [number, number];
|
|
119
|
+
export const __wbg_history_free: (a: number, b: number) => void;
|
|
120
|
+
export const history_delegations: (a: number) => [number, number];
|
|
121
|
+
export const history_revocations: (a: number) => [number, number];
|
|
122
|
+
export const history_contentRefs: (a: number) => [number, number];
|
|
123
|
+
export const __wbg_identifier_free: (a: number, b: number) => void;
|
|
124
|
+
export const identifier_new: (a: number, b: number) => [number, number, number];
|
|
125
|
+
export const identifier_toBytes: (a: number) => [number, number];
|
|
126
|
+
export const __wbg_cannotparseidentifier_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;
|
|
182
132
|
export const __wbg_sharekey_free: (a: number, b: number) => void;
|
|
133
|
+
export const __wbg_signed_free: (a: number, b: number) => void;
|
|
134
|
+
export const signed_fromBytes: (a: number, b: number) => number;
|
|
135
|
+
export const signed_toBytes: (a: number) => [number, number];
|
|
136
|
+
export const signed_verify: (a: number) => number;
|
|
137
|
+
export const signed_payload: (a: number) => [number, number];
|
|
138
|
+
export const signed_verifyingKey: (a: number) => [number, number];
|
|
139
|
+
export const signed_signature: (a: number) => [number, number];
|
|
140
|
+
export const __wbg_signedcgkaoperation_free: (a: number, b: number) => void;
|
|
141
|
+
export const signedcgkaoperation_verify: (a: number) => number;
|
|
142
|
+
export const signedcgkaoperation_delegation: (a: number) => number;
|
|
143
|
+
export const signedcgkaoperation_verifyingKey: (a: number) => [number, number];
|
|
144
|
+
export const signedcgkaoperation_signature: (a: number) => [number, number];
|
|
145
|
+
export const __wbg_signeddelegation_free: (a: number, b: number) => void;
|
|
146
|
+
export const signeddelegation_verify: (a: number) => number;
|
|
147
|
+
export const signeddelegation_delegation: (a: number) => number;
|
|
148
|
+
export const signeddelegation_verifyingKey: (a: number) => [number, number];
|
|
149
|
+
export const signeddelegation_signature: (a: number) => [number, number];
|
|
150
|
+
export const __wbg_signedrevocation_free: (a: number, b: number) => void;
|
|
151
|
+
export const signedrevocation_verify: (a: number) => number;
|
|
152
|
+
export const signedrevocation_delegation: (a: number) => number;
|
|
153
|
+
export const signedrevocation_verifyingKey: (a: number) => [number, number];
|
|
154
|
+
export const signedrevocation_signature: (a: number) => [number, number];
|
|
155
|
+
export const __wbg_summary_free: (a: number, b: number) => void;
|
|
156
|
+
export const summary_doc: (a: number) => number;
|
|
157
|
+
export const summary_access: (a: number) => number;
|
|
158
|
+
export const __wbg_keyhive_free: (a: number, b: number) => void;
|
|
159
|
+
export const keyhive_init: (a: number, b: number, c: any) => any;
|
|
160
|
+
export const keyhive_id: (a: number) => number;
|
|
161
|
+
export const keyhive_individual: (a: number) => number;
|
|
162
|
+
export const keyhive_idString: (a: number) => [number, number];
|
|
163
|
+
export const keyhive_generateGroup: (a: number, b: number, c: number) => any;
|
|
164
|
+
export const keyhive_generateDocument: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
165
|
+
export const keyhive_trySign: (a: number, b: number, c: number) => any;
|
|
166
|
+
export const keyhive_tryEncrypt: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => any;
|
|
167
|
+
export const keyhive_tryEncryptArchive: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => any;
|
|
168
|
+
export const keyhive_tryDecrypt: (a: number, b: number, c: number) => [number, number, number, number];
|
|
169
|
+
export const keyhive_addMember: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
170
|
+
export const keyhive_revokeMember: (a: number, b: number, c: number, d: number) => any;
|
|
171
|
+
export const keyhive_reachableDocs: (a: number) => [number, number];
|
|
172
|
+
export const keyhive_forcePcsUpdate: (a: number, b: number) => any;
|
|
173
|
+
export const keyhive_rotatePrekey: (a: number, b: number) => any;
|
|
174
|
+
export const keyhive_expandPrekeys: (a: number) => any;
|
|
175
|
+
export const keyhive_contactCard: (a: number) => any;
|
|
176
|
+
export const keyhive_receiveContactCard: (a: number, b: number) => [number, number, number];
|
|
177
|
+
export const keyhive_getAgent: (a: number, b: number) => number;
|
|
178
|
+
export const keyhive_getGroup: (a: number, b: number) => number;
|
|
179
|
+
export const keyhive_getDocument: (a: number, b: number) => number;
|
|
180
|
+
export const keyhive_docMemberCapabilities: (a: number, b: number) => [number, number];
|
|
181
|
+
export const keyhive_accessForDoc: (a: number, b: number, c: number) => number;
|
|
182
|
+
export const keyhive_intoArchive: (a: number) => number;
|
|
183
|
+
export const keyhive_toArchive: (a: number) => number;
|
|
184
|
+
export const keyhive_ingestArchive: (a: number, b: number) => any;
|
|
185
|
+
export const __wbg_jsreceiveprekeyoperror_free: (a: number, b: number) => void;
|
|
186
|
+
export const __wbg_jsencrypterror_free: (a: number, b: number) => void;
|
|
187
|
+
export const __wbg_jsdecrypterror_free: (a: number, b: number) => void;
|
|
188
|
+
export const __wbg_jsreceivestaticeventerror_free: (a: number, b: number) => void;
|
|
183
189
|
export const setPanicHook: () => void;
|
|
190
|
+
export const keyhive_whoami: (a: number) => number;
|
|
184
191
|
export const __wbg_cgkaoperation_free: (a: number, b: number) => void;
|
|
185
192
|
export const cgkaoperation_variant: (a: number) => [number, number];
|
|
186
193
|
export const __wbg_groupid_free: (a: number, b: number) => void;
|
|
187
194
|
export const groupid_toString: (a: number) => [number, number];
|
|
188
|
-
export const
|
|
189
|
-
export const
|
|
190
|
-
export const
|
|
191
|
-
export const
|
|
192
|
-
export const
|
|
193
|
-
export const
|
|
194
|
-
export const __wbg_invocation_free: (a: number, b: number) => void;
|
|
195
|
-
export const __wbg_revocation_free: (a: number, b: number) => void;
|
|
196
|
-
export const revocation_subject_id: (a: number) => number;
|
|
197
|
-
export const revocation_revoked: (a: number) => number;
|
|
198
|
-
export const revocation_proof: (a: number) => number;
|
|
199
|
-
export const revocation_after: (a: number) => number;
|
|
200
|
-
export const __wbg_membered_free: (a: number, b: number) => void;
|
|
195
|
+
export const __wbg_individual_free: (a: number, b: number) => void;
|
|
196
|
+
export const individual_toPeer: (a: number) => number;
|
|
197
|
+
export const individual_toAgent: (a: number) => number;
|
|
198
|
+
export const individual_id: (a: number) => number;
|
|
199
|
+
export const individual_individualId: (a: number) => number;
|
|
200
|
+
export const individual_pickPrekey: (a: number, b: number) => number;
|
|
201
201
|
export const __wbindgen_exn_store: (a: number) => void;
|
|
202
202
|
export const __externref_table_alloc: () => number;
|
|
203
203
|
export const __wbindgen_export_2: WebAssembly.Table;
|
|
@@ -207,6 +207,6 @@ export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) =>
|
|
|
207
207
|
export const __externref_drop_slice: (a: number, b: number) => void;
|
|
208
208
|
export const __wbindgen_export_7: WebAssembly.Table;
|
|
209
209
|
export const __externref_table_dealloc: (a: number) => void;
|
|
210
|
-
export const
|
|
211
|
-
export const
|
|
210
|
+
export const closure497_externref_shim: (a: number, b: number, c: any) => void;
|
|
211
|
+
export const closure654_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
212
212
|
export const __wbindgen_start: () => void;
|
package/pkg-node/keyhive_wasm.js
CHANGED
|
@@ -237,18 +237,18 @@ function passArrayJsValueToWasm0(array, malloc) {
|
|
|
237
237
|
return ptr;
|
|
238
238
|
}
|
|
239
239
|
|
|
240
|
+
function takeFromExternrefTable0(idx) {
|
|
241
|
+
const value = wasm.__wbindgen_export_2.get(idx);
|
|
242
|
+
wasm.__externref_table_dealloc(idx);
|
|
243
|
+
return value;
|
|
244
|
+
}
|
|
245
|
+
|
|
240
246
|
function passArray8ToWasm0(arg, malloc) {
|
|
241
247
|
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
242
248
|
getUint8ArrayMemory0().set(arg, ptr / 1);
|
|
243
249
|
WASM_VECTOR_LEN = arg.length;
|
|
244
250
|
return ptr;
|
|
245
251
|
}
|
|
246
|
-
|
|
247
|
-
function takeFromExternrefTable0(idx) {
|
|
248
|
-
const value = wasm.__wbindgen_export_2.get(idx);
|
|
249
|
-
wasm.__externref_table_dealloc(idx);
|
|
250
|
-
return value;
|
|
251
|
-
}
|
|
252
252
|
/**
|
|
253
253
|
* Panic hook lets us get better error messages if our Rust code ever panics.
|
|
254
254
|
*
|
|
@@ -259,12 +259,12 @@ exports.setPanicHook = function() {
|
|
|
259
259
|
wasm.setPanicHook();
|
|
260
260
|
};
|
|
261
261
|
|
|
262
|
-
function
|
|
263
|
-
wasm.
|
|
262
|
+
function __wbg_adapter_14(arg0, arg1, arg2) {
|
|
263
|
+
wasm.closure497_externref_shim(arg0, arg1, arg2);
|
|
264
264
|
}
|
|
265
265
|
|
|
266
266
|
function __wbg_adapter_269(arg0, arg1, arg2, arg3) {
|
|
267
|
-
wasm.
|
|
267
|
+
wasm.closure654_externref_shim(arg0, arg1, arg2, arg3);
|
|
268
268
|
}
|
|
269
269
|
|
|
270
270
|
const AccessFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
@@ -3555,9 +3555,9 @@ exports.__wbindgen_cast_25a0a844437d0e92 = function(arg0, arg1) {
|
|
|
3555
3555
|
return ret;
|
|
3556
3556
|
};
|
|
3557
3557
|
|
|
3558
|
-
exports.
|
|
3559
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3560
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3558
|
+
exports.__wbindgen_cast_821aeed1a5f992b8 = function(arg0, arg1) {
|
|
3559
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 496, function: Function { arguments: [Externref], shim_idx: 497, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3560
|
+
const ret = makeMutClosure(arg0, arg1, 496, __wbg_adapter_14);
|
|
3561
3561
|
return ret;
|
|
3562
3562
|
};
|
|
3563
3563
|
|
|
Binary file
|