@keyhive/keyhive 0.0.0-alpha.55 → 0.0.0-alpha.55c
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 +4 -2
- package/pkg/keyhive_wasm_bg.js +17 -3
- package/pkg/keyhive_wasm_bg.wasm +0 -0
- package/pkg/keyhive_wasm_bg.wasm.d.ts +117 -115
- package/pkg-node/keyhive_wasm.d.ts +4 -2
- package/pkg-node/keyhive_wasm.js +17 -3
- package/pkg-node/keyhive_wasm_bg.wasm +0 -0
- package/pkg-node/keyhive_wasm_bg.wasm.d.ts +117 -115
- package/pkg-slim/keyhive_wasm.d.ts +121 -117
- package/pkg-slim/keyhive_wasm.js +17 -3
- 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 +117 -115
package/pkg-slim/keyhive_wasm.js
CHANGED
|
@@ -128,7 +128,7 @@ if (Symbol.dispose) Agent.prototype[Symbol.dispose] = Agent.prototype.free;
|
|
|
128
128
|
|
|
129
129
|
/**
|
|
130
130
|
* Result of [`JsKeyhive::all_agent_events`], containing all events for all agents
|
|
131
|
-
* with deduplicated storage and two-tier indirection for
|
|
131
|
+
* with deduplicated storage and two-tier indirection for membership, prekey, and CGKA ops.
|
|
132
132
|
*
|
|
133
133
|
* The consumer follows: agent -> source IDs -> hashes -> event bytes.
|
|
134
134
|
*/
|
|
@@ -150,6 +150,13 @@ export class AllAgentEvents {
|
|
|
150
150
|
const ptr = this.__destroy_into_raw();
|
|
151
151
|
wasm.__wbg_allagentevents_free(ptr, 0);
|
|
152
152
|
}
|
|
153
|
+
/**
|
|
154
|
+
* @returns {Map<any, any>}
|
|
155
|
+
*/
|
|
156
|
+
get agentCgkaSources() {
|
|
157
|
+
const ret = wasm.allagentevents_agentCgkaSources(this.__wbg_ptr);
|
|
158
|
+
return ret;
|
|
159
|
+
}
|
|
153
160
|
/**
|
|
154
161
|
* @returns {Map<any, any>}
|
|
155
162
|
*/
|
|
@@ -164,6 +171,13 @@ export class AllAgentEvents {
|
|
|
164
171
|
const ret = wasm.allagentevents_agentPrekeySources(this.__wbg_ptr);
|
|
165
172
|
return ret;
|
|
166
173
|
}
|
|
174
|
+
/**
|
|
175
|
+
* @returns {Map<any, any>}
|
|
176
|
+
*/
|
|
177
|
+
get cgkaSources() {
|
|
178
|
+
const ret = wasm.allagentevents_cgkaSources(this.__wbg_ptr);
|
|
179
|
+
return ret;
|
|
180
|
+
}
|
|
167
181
|
/**
|
|
168
182
|
* @returns {Map<any, any>}
|
|
169
183
|
*/
|
|
@@ -1373,7 +1387,7 @@ export class Keyhive {
|
|
|
1373
1387
|
}
|
|
1374
1388
|
/**
|
|
1375
1389
|
* Returns all agent events with deduplicated storage and two-tier indirection
|
|
1376
|
-
* for
|
|
1390
|
+
* for membership, prekey, and CGKA ops.
|
|
1377
1391
|
* @returns {Promise<AllAgentEvents>}
|
|
1378
1392
|
*/
|
|
1379
1393
|
allAgentEvents() {
|
|
@@ -2963,7 +2977,7 @@ function __wbg_get_imports() {
|
|
|
2963
2977
|
}
|
|
2964
2978
|
},
|
|
2965
2979
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
2966
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
2980
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 487, function: Function { arguments: [Externref], shim_idx: 488, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
2967
2981
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h056ce8b8b10a09c1, wasm_bindgen__convert__closures_____invoke__h8e854b3d10a3dc35);
|
|
2968
2982
|
return ret;
|
|
2969
2983
|
},
|
|
Binary file
|