@keyhive/keyhive 0.0.0-alpha.50e → 0.0.0-alpha.50g
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 +5 -0
- package/pkg/keyhive_wasm_bg.js +41 -6
- package/pkg/keyhive_wasm_bg.wasm +0 -0
- package/pkg/keyhive_wasm_bg.wasm.d.ts +9 -4
- package/pkg-node/keyhive_wasm.d.ts +5 -0
- package/pkg-node/keyhive_wasm.js +41 -6
- package/pkg-node/keyhive_wasm_bg.wasm +0 -0
- package/pkg-node/keyhive_wasm_bg.wasm.d.ts +9 -4
- package/pkg-slim/keyhive_wasm.d.ts +14 -4
- package/pkg-slim/keyhive_wasm.js +40 -5
- 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 +9 -4
package/package.json
CHANGED
package/pkg/keyhive_wasm.d.ts
CHANGED
|
@@ -392,8 +392,12 @@ export class Stats {
|
|
|
392
392
|
readonly delegations: bigint;
|
|
393
393
|
readonly individuals: bigint;
|
|
394
394
|
readonly revocations: bigint;
|
|
395
|
+
readonly cgkaOperations: bigint;
|
|
395
396
|
readonly pendingRevoked: bigint;
|
|
397
|
+
readonly prekeyRotations: bigint;
|
|
398
|
+
readonly prekeysExpanded: bigint;
|
|
396
399
|
readonly pendingDelegated: bigint;
|
|
400
|
+
readonly totalPendingOps: bigint;
|
|
397
401
|
readonly activePrekeyCount: bigint;
|
|
398
402
|
readonly pendingCgkaOperation: bigint;
|
|
399
403
|
readonly pendingPrekeyRotated: bigint;
|
|
@@ -405,6 +409,7 @@ export class Stats {
|
|
|
405
409
|
readonly pendingPrekeysExpandedByActive: bigint;
|
|
406
410
|
readonly docs: bigint;
|
|
407
411
|
readonly groups: bigint;
|
|
412
|
+
readonly totalOps: bigint;
|
|
408
413
|
}
|
|
409
414
|
|
|
410
415
|
export class Summary {
|
package/pkg/keyhive_wasm_bg.js
CHANGED
|
@@ -2606,6 +2606,13 @@ export class Stats {
|
|
|
2606
2606
|
const ret = wasm.stats_revocations(this.__wbg_ptr);
|
|
2607
2607
|
return BigInt.asUintN(64, ret);
|
|
2608
2608
|
}
|
|
2609
|
+
/**
|
|
2610
|
+
* @returns {bigint}
|
|
2611
|
+
*/
|
|
2612
|
+
get cgkaOperations() {
|
|
2613
|
+
const ret = wasm.stats_cgkaOperations(this.__wbg_ptr);
|
|
2614
|
+
return BigInt.asUintN(64, ret);
|
|
2615
|
+
}
|
|
2609
2616
|
/**
|
|
2610
2617
|
* @returns {bigint}
|
|
2611
2618
|
*/
|
|
@@ -2613,6 +2620,20 @@ export class Stats {
|
|
|
2613
2620
|
const ret = wasm.stats_pendingRevoked(this.__wbg_ptr);
|
|
2614
2621
|
return BigInt.asUintN(64, ret);
|
|
2615
2622
|
}
|
|
2623
|
+
/**
|
|
2624
|
+
* @returns {bigint}
|
|
2625
|
+
*/
|
|
2626
|
+
get prekeyRotations() {
|
|
2627
|
+
const ret = wasm.stats_prekeyRotations(this.__wbg_ptr);
|
|
2628
|
+
return BigInt.asUintN(64, ret);
|
|
2629
|
+
}
|
|
2630
|
+
/**
|
|
2631
|
+
* @returns {bigint}
|
|
2632
|
+
*/
|
|
2633
|
+
get prekeysExpanded() {
|
|
2634
|
+
const ret = wasm.stats_prekeysExpanded(this.__wbg_ptr);
|
|
2635
|
+
return BigInt.asUintN(64, ret);
|
|
2636
|
+
}
|
|
2616
2637
|
/**
|
|
2617
2638
|
* @returns {bigint}
|
|
2618
2639
|
*/
|
|
@@ -2620,6 +2641,13 @@ export class Stats {
|
|
|
2620
2641
|
const ret = wasm.stats_pendingDelegated(this.__wbg_ptr);
|
|
2621
2642
|
return BigInt.asUintN(64, ret);
|
|
2622
2643
|
}
|
|
2644
|
+
/**
|
|
2645
|
+
* @returns {bigint}
|
|
2646
|
+
*/
|
|
2647
|
+
get totalPendingOps() {
|
|
2648
|
+
const ret = wasm.stats_totalPendingOps(this.__wbg_ptr);
|
|
2649
|
+
return BigInt.asUintN(64, ret);
|
|
2650
|
+
}
|
|
2623
2651
|
/**
|
|
2624
2652
|
* @returns {bigint}
|
|
2625
2653
|
*/
|
|
@@ -2697,6 +2725,13 @@ export class Stats {
|
|
|
2697
2725
|
const ret = wasm.stats_groups(this.__wbg_ptr);
|
|
2698
2726
|
return BigInt.asUintN(64, ret);
|
|
2699
2727
|
}
|
|
2728
|
+
/**
|
|
2729
|
+
* @returns {bigint}
|
|
2730
|
+
*/
|
|
2731
|
+
get totalOps() {
|
|
2732
|
+
const ret = wasm.stats_totalOps(this.__wbg_ptr);
|
|
2733
|
+
return BigInt.asUintN(64, ret);
|
|
2734
|
+
}
|
|
2700
2735
|
}
|
|
2701
2736
|
if (Symbol.dispose) Stats.prototype[Symbol.dispose] = Stats.prototype.free;
|
|
2702
2737
|
|
|
@@ -3353,6 +3388,12 @@ export function __wbindgen_cast_6e33e4871eebdb43(arg0, arg1) {
|
|
|
3353
3388
|
return ret;
|
|
3354
3389
|
};
|
|
3355
3390
|
|
|
3391
|
+
export function __wbindgen_cast_70a820cad56b6aa4(arg0, arg1) {
|
|
3392
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 467, function: Function { arguments: [Externref], shim_idx: 468, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3393
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h56c1987c5374a416, wasm_bindgen__convert__closures_____invoke__hb8b6941fceac7069);
|
|
3394
|
+
return ret;
|
|
3395
|
+
};
|
|
3396
|
+
|
|
3356
3397
|
export function __wbindgen_cast_77bc3e92745e9a35(arg0, arg1) {
|
|
3357
3398
|
var v0 = getArrayU8FromWasm0(arg0, arg1).slice();
|
|
3358
3399
|
wasm.__wbindgen_free(arg0, arg1 * 1, 1);
|
|
@@ -3377,12 +3418,6 @@ export function __wbindgen_cast_ae91babfc5c19b28(arg0, arg1) {
|
|
|
3377
3418
|
return ret;
|
|
3378
3419
|
};
|
|
3379
3420
|
|
|
3380
|
-
export function __wbindgen_cast_c105e0f4e08916b2(arg0, arg1) {
|
|
3381
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 475, function: Function { arguments: [Externref], shim_idx: 476, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3382
|
-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h56c1987c5374a416, wasm_bindgen__convert__closures_____invoke__hb8b6941fceac7069);
|
|
3383
|
-
return ret;
|
|
3384
|
-
};
|
|
3385
|
-
|
|
3386
3421
|
export function __wbindgen_cast_cb9088102bce6b30(arg0, arg1) {
|
|
3387
3422
|
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
3388
3423
|
const ret = getArrayU8FromWasm0(arg0, arg1);
|
package/pkg/keyhive_wasm_bg.wasm
CHANGED
|
Binary file
|
|
@@ -46,8 +46,8 @@ export const __wbg_archive_free: (a: number, b: number) => void;
|
|
|
46
46
|
export const __wbg_changeid_free: (a: number, b: number) => void;
|
|
47
47
|
export const __wbg_event_free: (a: number, b: number) => void;
|
|
48
48
|
export const __wbg_revocation_free: (a: number, b: number) => void;
|
|
49
|
-
export const __wbg_sharekey_free: (a: number, b: number) => void;
|
|
50
49
|
export const __wbg_signedinvocation_free: (a: number, b: number) => void;
|
|
50
|
+
export const __wbg_summary_free: (a: number, b: number) => void;
|
|
51
51
|
export const access_toString: (a: number) => [number, number];
|
|
52
52
|
export const access_tryFromString: (a: number, b: number) => number;
|
|
53
53
|
export const archive_toBytes: (a: number) => [number, number, number, number];
|
|
@@ -66,6 +66,8 @@ export const revocation_after: (a: number) => number;
|
|
|
66
66
|
export const revocation_proof: (a: number) => number;
|
|
67
67
|
export const revocation_revoked: (a: number) => number;
|
|
68
68
|
export const revocation_subject_id: (a: number) => number;
|
|
69
|
+
export const summary_access: (a: number) => number;
|
|
70
|
+
export const summary_doc: (a: number) => number;
|
|
69
71
|
export const __wbg_cannotparseed25519signingkey_free: (a: number, b: number) => void;
|
|
70
72
|
export const __wbg_cannotparseidentifier_free: (a: number, b: number) => void;
|
|
71
73
|
export const __wbg_cgkaoperation_free: (a: number, b: number) => void;
|
|
@@ -76,10 +78,10 @@ export const __wbg_groupid_free: (a: number, b: number) => void;
|
|
|
76
78
|
export const __wbg_history_free: (a: number, b: number) => void;
|
|
77
79
|
export const __wbg_identifier_free: (a: number, b: number) => void;
|
|
78
80
|
export const __wbg_invocation_free: (a: number, b: number) => void;
|
|
81
|
+
export const __wbg_sharekey_free: (a: number, b: number) => void;
|
|
79
82
|
export const __wbg_signedrevocation_free: (a: number, b: number) => void;
|
|
80
83
|
export const __wbg_signer_free: (a: number, b: number) => void;
|
|
81
84
|
export const __wbg_stats_free: (a: number, b: number) => void;
|
|
82
|
-
export const __wbg_summary_free: (a: number, b: number) => void;
|
|
83
85
|
export const cgkaoperation_variant: (a: number) => [number, number];
|
|
84
86
|
export const doccontentrefs_addChangeId: (a: number, b: number) => any;
|
|
85
87
|
export const doccontentrefs_change_hashes: (a: number) => any;
|
|
@@ -110,6 +112,7 @@ export const signer_variant: (a: number) => [number, number];
|
|
|
110
112
|
export const signer_verifyingKey: (a: number) => [number, number];
|
|
111
113
|
export const signer_webCryptoSigner: (a: any) => any;
|
|
112
114
|
export const stats_activePrekeyCount: (a: number) => bigint;
|
|
115
|
+
export const stats_cgkaOperations: (a: number) => bigint;
|
|
113
116
|
export const stats_delegations: (a: number) => bigint;
|
|
114
117
|
export const stats_docs: (a: number) => bigint;
|
|
115
118
|
export const stats_groups: (a: number) => bigint;
|
|
@@ -124,9 +127,11 @@ export const stats_pendingPrekeysExpanded: (a: number) => bigint;
|
|
|
124
127
|
export const stats_pendingPrekeysExpandedByActive: (a: number) => bigint;
|
|
125
128
|
export const stats_pendingRevoked: (a: number) => bigint;
|
|
126
129
|
export const stats_pendingRevokedByActive: (a: number) => bigint;
|
|
130
|
+
export const stats_prekeyRotations: (a: number) => bigint;
|
|
131
|
+
export const stats_prekeysExpanded: (a: number) => bigint;
|
|
127
132
|
export const stats_revocations: (a: number) => bigint;
|
|
128
|
-
export const
|
|
129
|
-
export const
|
|
133
|
+
export const stats_totalOps: (a: number) => bigint;
|
|
134
|
+
export const stats_totalPendingOps: (a: number) => bigint;
|
|
130
135
|
export const __wbg_agent_free: (a: number, b: number) => void;
|
|
131
136
|
export const __wbg_group_free: (a: number, b: number) => void;
|
|
132
137
|
export const __wbg_keyhive_free: (a: number, b: number) => void;
|
|
@@ -392,8 +392,12 @@ export class Stats {
|
|
|
392
392
|
readonly delegations: bigint;
|
|
393
393
|
readonly individuals: bigint;
|
|
394
394
|
readonly revocations: bigint;
|
|
395
|
+
readonly cgkaOperations: bigint;
|
|
395
396
|
readonly pendingRevoked: bigint;
|
|
397
|
+
readonly prekeyRotations: bigint;
|
|
398
|
+
readonly prekeysExpanded: bigint;
|
|
396
399
|
readonly pendingDelegated: bigint;
|
|
400
|
+
readonly totalPendingOps: bigint;
|
|
397
401
|
readonly activePrekeyCount: bigint;
|
|
398
402
|
readonly pendingCgkaOperation: bigint;
|
|
399
403
|
readonly pendingPrekeyRotated: bigint;
|
|
@@ -405,6 +409,7 @@ export class Stats {
|
|
|
405
409
|
readonly pendingPrekeysExpandedByActive: bigint;
|
|
406
410
|
readonly docs: bigint;
|
|
407
411
|
readonly groups: bigint;
|
|
412
|
+
readonly totalOps: bigint;
|
|
408
413
|
}
|
|
409
414
|
|
|
410
415
|
export class Summary {
|
package/pkg-node/keyhive_wasm.js
CHANGED
|
@@ -2634,6 +2634,13 @@ class Stats {
|
|
|
2634
2634
|
const ret = wasm.stats_revocations(this.__wbg_ptr);
|
|
2635
2635
|
return BigInt.asUintN(64, ret);
|
|
2636
2636
|
}
|
|
2637
|
+
/**
|
|
2638
|
+
* @returns {bigint}
|
|
2639
|
+
*/
|
|
2640
|
+
get cgkaOperations() {
|
|
2641
|
+
const ret = wasm.stats_cgkaOperations(this.__wbg_ptr);
|
|
2642
|
+
return BigInt.asUintN(64, ret);
|
|
2643
|
+
}
|
|
2637
2644
|
/**
|
|
2638
2645
|
* @returns {bigint}
|
|
2639
2646
|
*/
|
|
@@ -2641,6 +2648,20 @@ class Stats {
|
|
|
2641
2648
|
const ret = wasm.stats_pendingRevoked(this.__wbg_ptr);
|
|
2642
2649
|
return BigInt.asUintN(64, ret);
|
|
2643
2650
|
}
|
|
2651
|
+
/**
|
|
2652
|
+
* @returns {bigint}
|
|
2653
|
+
*/
|
|
2654
|
+
get prekeyRotations() {
|
|
2655
|
+
const ret = wasm.stats_prekeyRotations(this.__wbg_ptr);
|
|
2656
|
+
return BigInt.asUintN(64, ret);
|
|
2657
|
+
}
|
|
2658
|
+
/**
|
|
2659
|
+
* @returns {bigint}
|
|
2660
|
+
*/
|
|
2661
|
+
get prekeysExpanded() {
|
|
2662
|
+
const ret = wasm.stats_prekeysExpanded(this.__wbg_ptr);
|
|
2663
|
+
return BigInt.asUintN(64, ret);
|
|
2664
|
+
}
|
|
2644
2665
|
/**
|
|
2645
2666
|
* @returns {bigint}
|
|
2646
2667
|
*/
|
|
@@ -2648,6 +2669,13 @@ class Stats {
|
|
|
2648
2669
|
const ret = wasm.stats_pendingDelegated(this.__wbg_ptr);
|
|
2649
2670
|
return BigInt.asUintN(64, ret);
|
|
2650
2671
|
}
|
|
2672
|
+
/**
|
|
2673
|
+
* @returns {bigint}
|
|
2674
|
+
*/
|
|
2675
|
+
get totalPendingOps() {
|
|
2676
|
+
const ret = wasm.stats_totalPendingOps(this.__wbg_ptr);
|
|
2677
|
+
return BigInt.asUintN(64, ret);
|
|
2678
|
+
}
|
|
2651
2679
|
/**
|
|
2652
2680
|
* @returns {bigint}
|
|
2653
2681
|
*/
|
|
@@ -2725,6 +2753,13 @@ class Stats {
|
|
|
2725
2753
|
const ret = wasm.stats_groups(this.__wbg_ptr);
|
|
2726
2754
|
return BigInt.asUintN(64, ret);
|
|
2727
2755
|
}
|
|
2756
|
+
/**
|
|
2757
|
+
* @returns {bigint}
|
|
2758
|
+
*/
|
|
2759
|
+
get totalOps() {
|
|
2760
|
+
const ret = wasm.stats_totalOps(this.__wbg_ptr);
|
|
2761
|
+
return BigInt.asUintN(64, ret);
|
|
2762
|
+
}
|
|
2728
2763
|
}
|
|
2729
2764
|
if (Symbol.dispose) Stats.prototype[Symbol.dispose] = Stats.prototype.free;
|
|
2730
2765
|
exports.Stats = Stats;
|
|
@@ -3384,6 +3419,12 @@ exports.__wbindgen_cast_6e33e4871eebdb43 = function(arg0, arg1) {
|
|
|
3384
3419
|
return ret;
|
|
3385
3420
|
};
|
|
3386
3421
|
|
|
3422
|
+
exports.__wbindgen_cast_70a820cad56b6aa4 = function(arg0, arg1) {
|
|
3423
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 467, function: Function { arguments: [Externref], shim_idx: 468, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3424
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h56c1987c5374a416, wasm_bindgen__convert__closures_____invoke__hb8b6941fceac7069);
|
|
3425
|
+
return ret;
|
|
3426
|
+
};
|
|
3427
|
+
|
|
3387
3428
|
exports.__wbindgen_cast_77bc3e92745e9a35 = function(arg0, arg1) {
|
|
3388
3429
|
var v0 = getArrayU8FromWasm0(arg0, arg1).slice();
|
|
3389
3430
|
wasm.__wbindgen_free(arg0, arg1 * 1, 1);
|
|
@@ -3408,12 +3449,6 @@ exports.__wbindgen_cast_ae91babfc5c19b28 = function(arg0, arg1) {
|
|
|
3408
3449
|
return ret;
|
|
3409
3450
|
};
|
|
3410
3451
|
|
|
3411
|
-
exports.__wbindgen_cast_c105e0f4e08916b2 = function(arg0, arg1) {
|
|
3412
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 475, function: Function { arguments: [Externref], shim_idx: 476, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3413
|
-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h56c1987c5374a416, wasm_bindgen__convert__closures_____invoke__hb8b6941fceac7069);
|
|
3414
|
-
return ret;
|
|
3415
|
-
};
|
|
3416
|
-
|
|
3417
3452
|
exports.__wbindgen_cast_cb9088102bce6b30 = function(arg0, arg1) {
|
|
3418
3453
|
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
3419
3454
|
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
Binary file
|
|
@@ -46,8 +46,8 @@ export const __wbg_archive_free: (a: number, b: number) => void;
|
|
|
46
46
|
export const __wbg_changeid_free: (a: number, b: number) => void;
|
|
47
47
|
export const __wbg_event_free: (a: number, b: number) => void;
|
|
48
48
|
export const __wbg_revocation_free: (a: number, b: number) => void;
|
|
49
|
-
export const __wbg_sharekey_free: (a: number, b: number) => void;
|
|
50
49
|
export const __wbg_signedinvocation_free: (a: number, b: number) => void;
|
|
50
|
+
export const __wbg_summary_free: (a: number, b: number) => void;
|
|
51
51
|
export const access_toString: (a: number) => [number, number];
|
|
52
52
|
export const access_tryFromString: (a: number, b: number) => number;
|
|
53
53
|
export const archive_toBytes: (a: number) => [number, number, number, number];
|
|
@@ -66,6 +66,8 @@ export const revocation_after: (a: number) => number;
|
|
|
66
66
|
export const revocation_proof: (a: number) => number;
|
|
67
67
|
export const revocation_revoked: (a: number) => number;
|
|
68
68
|
export const revocation_subject_id: (a: number) => number;
|
|
69
|
+
export const summary_access: (a: number) => number;
|
|
70
|
+
export const summary_doc: (a: number) => number;
|
|
69
71
|
export const __wbg_cannotparseed25519signingkey_free: (a: number, b: number) => void;
|
|
70
72
|
export const __wbg_cannotparseidentifier_free: (a: number, b: number) => void;
|
|
71
73
|
export const __wbg_cgkaoperation_free: (a: number, b: number) => void;
|
|
@@ -76,10 +78,10 @@ export const __wbg_groupid_free: (a: number, b: number) => void;
|
|
|
76
78
|
export const __wbg_history_free: (a: number, b: number) => void;
|
|
77
79
|
export const __wbg_identifier_free: (a: number, b: number) => void;
|
|
78
80
|
export const __wbg_invocation_free: (a: number, b: number) => void;
|
|
81
|
+
export const __wbg_sharekey_free: (a: number, b: number) => void;
|
|
79
82
|
export const __wbg_signedrevocation_free: (a: number, b: number) => void;
|
|
80
83
|
export const __wbg_signer_free: (a: number, b: number) => void;
|
|
81
84
|
export const __wbg_stats_free: (a: number, b: number) => void;
|
|
82
|
-
export const __wbg_summary_free: (a: number, b: number) => void;
|
|
83
85
|
export const cgkaoperation_variant: (a: number) => [number, number];
|
|
84
86
|
export const doccontentrefs_addChangeId: (a: number, b: number) => any;
|
|
85
87
|
export const doccontentrefs_change_hashes: (a: number) => any;
|
|
@@ -110,6 +112,7 @@ export const signer_variant: (a: number) => [number, number];
|
|
|
110
112
|
export const signer_verifyingKey: (a: number) => [number, number];
|
|
111
113
|
export const signer_webCryptoSigner: (a: any) => any;
|
|
112
114
|
export const stats_activePrekeyCount: (a: number) => bigint;
|
|
115
|
+
export const stats_cgkaOperations: (a: number) => bigint;
|
|
113
116
|
export const stats_delegations: (a: number) => bigint;
|
|
114
117
|
export const stats_docs: (a: number) => bigint;
|
|
115
118
|
export const stats_groups: (a: number) => bigint;
|
|
@@ -124,9 +127,11 @@ export const stats_pendingPrekeysExpanded: (a: number) => bigint;
|
|
|
124
127
|
export const stats_pendingPrekeysExpandedByActive: (a: number) => bigint;
|
|
125
128
|
export const stats_pendingRevoked: (a: number) => bigint;
|
|
126
129
|
export const stats_pendingRevokedByActive: (a: number) => bigint;
|
|
130
|
+
export const stats_prekeyRotations: (a: number) => bigint;
|
|
131
|
+
export const stats_prekeysExpanded: (a: number) => bigint;
|
|
127
132
|
export const stats_revocations: (a: number) => bigint;
|
|
128
|
-
export const
|
|
129
|
-
export const
|
|
133
|
+
export const stats_totalOps: (a: number) => bigint;
|
|
134
|
+
export const stats_totalPendingOps: (a: number) => bigint;
|
|
130
135
|
export const __wbg_agent_free: (a: number, b: number) => void;
|
|
131
136
|
export const __wbg_group_free: (a: number, b: number) => void;
|
|
132
137
|
export const __wbg_keyhive_free: (a: number, b: number) => void;
|
|
@@ -392,8 +392,12 @@ export class Stats {
|
|
|
392
392
|
readonly delegations: bigint;
|
|
393
393
|
readonly individuals: bigint;
|
|
394
394
|
readonly revocations: bigint;
|
|
395
|
+
readonly cgkaOperations: bigint;
|
|
395
396
|
readonly pendingRevoked: bigint;
|
|
397
|
+
readonly prekeyRotations: bigint;
|
|
398
|
+
readonly prekeysExpanded: bigint;
|
|
396
399
|
readonly pendingDelegated: bigint;
|
|
400
|
+
readonly totalPendingOps: bigint;
|
|
397
401
|
readonly activePrekeyCount: bigint;
|
|
398
402
|
readonly pendingCgkaOperation: bigint;
|
|
399
403
|
readonly pendingPrekeyRotated: bigint;
|
|
@@ -405,6 +409,7 @@ export class Stats {
|
|
|
405
409
|
readonly pendingPrekeysExpandedByActive: bigint;
|
|
406
410
|
readonly docs: bigint;
|
|
407
411
|
readonly groups: bigint;
|
|
412
|
+
readonly totalOps: bigint;
|
|
408
413
|
}
|
|
409
414
|
|
|
410
415
|
export class Summary {
|
|
@@ -472,8 +477,8 @@ export interface InitOutput {
|
|
|
472
477
|
readonly __wbg_changeid_free: (a: number, b: number) => void;
|
|
473
478
|
readonly __wbg_event_free: (a: number, b: number) => void;
|
|
474
479
|
readonly __wbg_revocation_free: (a: number, b: number) => void;
|
|
475
|
-
readonly __wbg_sharekey_free: (a: number, b: number) => void;
|
|
476
480
|
readonly __wbg_signedinvocation_free: (a: number, b: number) => void;
|
|
481
|
+
readonly __wbg_summary_free: (a: number, b: number) => void;
|
|
477
482
|
readonly access_toString: (a: number) => [number, number];
|
|
478
483
|
readonly access_tryFromString: (a: number, b: number) => number;
|
|
479
484
|
readonly archive_toBytes: (a: number) => [number, number, number, number];
|
|
@@ -492,6 +497,8 @@ export interface InitOutput {
|
|
|
492
497
|
readonly revocation_proof: (a: number) => number;
|
|
493
498
|
readonly revocation_revoked: (a: number) => number;
|
|
494
499
|
readonly revocation_subject_id: (a: number) => number;
|
|
500
|
+
readonly summary_access: (a: number) => number;
|
|
501
|
+
readonly summary_doc: (a: number) => number;
|
|
495
502
|
readonly __wbg_cannotparseed25519signingkey_free: (a: number, b: number) => void;
|
|
496
503
|
readonly __wbg_cannotparseidentifier_free: (a: number, b: number) => void;
|
|
497
504
|
readonly __wbg_cgkaoperation_free: (a: number, b: number) => void;
|
|
@@ -502,10 +509,10 @@ export interface InitOutput {
|
|
|
502
509
|
readonly __wbg_history_free: (a: number, b: number) => void;
|
|
503
510
|
readonly __wbg_identifier_free: (a: number, b: number) => void;
|
|
504
511
|
readonly __wbg_invocation_free: (a: number, b: number) => void;
|
|
512
|
+
readonly __wbg_sharekey_free: (a: number, b: number) => void;
|
|
505
513
|
readonly __wbg_signedrevocation_free: (a: number, b: number) => void;
|
|
506
514
|
readonly __wbg_signer_free: (a: number, b: number) => void;
|
|
507
515
|
readonly __wbg_stats_free: (a: number, b: number) => void;
|
|
508
|
-
readonly __wbg_summary_free: (a: number, b: number) => void;
|
|
509
516
|
readonly cgkaoperation_variant: (a: number) => [number, number];
|
|
510
517
|
readonly doccontentrefs_addChangeId: (a: number, b: number) => any;
|
|
511
518
|
readonly doccontentrefs_change_hashes: (a: number) => any;
|
|
@@ -536,6 +543,7 @@ export interface InitOutput {
|
|
|
536
543
|
readonly signer_verifyingKey: (a: number) => [number, number];
|
|
537
544
|
readonly signer_webCryptoSigner: (a: any) => any;
|
|
538
545
|
readonly stats_activePrekeyCount: (a: number) => bigint;
|
|
546
|
+
readonly stats_cgkaOperations: (a: number) => bigint;
|
|
539
547
|
readonly stats_delegations: (a: number) => bigint;
|
|
540
548
|
readonly stats_docs: (a: number) => bigint;
|
|
541
549
|
readonly stats_groups: (a: number) => bigint;
|
|
@@ -550,9 +558,11 @@ export interface InitOutput {
|
|
|
550
558
|
readonly stats_pendingPrekeysExpandedByActive: (a: number) => bigint;
|
|
551
559
|
readonly stats_pendingRevoked: (a: number) => bigint;
|
|
552
560
|
readonly stats_pendingRevokedByActive: (a: number) => bigint;
|
|
561
|
+
readonly stats_prekeyRotations: (a: number) => bigint;
|
|
562
|
+
readonly stats_prekeysExpanded: (a: number) => bigint;
|
|
553
563
|
readonly stats_revocations: (a: number) => bigint;
|
|
554
|
-
readonly
|
|
555
|
-
readonly
|
|
564
|
+
readonly stats_totalOps: (a: number) => bigint;
|
|
565
|
+
readonly stats_totalPendingOps: (a: number) => bigint;
|
|
556
566
|
readonly __wbg_agent_free: (a: number, b: number) => void;
|
|
557
567
|
readonly __wbg_group_free: (a: number, b: number) => void;
|
|
558
568
|
readonly __wbg_keyhive_free: (a: number, b: number) => void;
|
package/pkg-slim/keyhive_wasm.js
CHANGED
|
@@ -2603,6 +2603,13 @@ export class Stats {
|
|
|
2603
2603
|
const ret = wasm.stats_revocations(this.__wbg_ptr);
|
|
2604
2604
|
return BigInt.asUintN(64, ret);
|
|
2605
2605
|
}
|
|
2606
|
+
/**
|
|
2607
|
+
* @returns {bigint}
|
|
2608
|
+
*/
|
|
2609
|
+
get cgkaOperations() {
|
|
2610
|
+
const ret = wasm.stats_cgkaOperations(this.__wbg_ptr);
|
|
2611
|
+
return BigInt.asUintN(64, ret);
|
|
2612
|
+
}
|
|
2606
2613
|
/**
|
|
2607
2614
|
* @returns {bigint}
|
|
2608
2615
|
*/
|
|
@@ -2610,6 +2617,20 @@ export class Stats {
|
|
|
2610
2617
|
const ret = wasm.stats_pendingRevoked(this.__wbg_ptr);
|
|
2611
2618
|
return BigInt.asUintN(64, ret);
|
|
2612
2619
|
}
|
|
2620
|
+
/**
|
|
2621
|
+
* @returns {bigint}
|
|
2622
|
+
*/
|
|
2623
|
+
get prekeyRotations() {
|
|
2624
|
+
const ret = wasm.stats_prekeyRotations(this.__wbg_ptr);
|
|
2625
|
+
return BigInt.asUintN(64, ret);
|
|
2626
|
+
}
|
|
2627
|
+
/**
|
|
2628
|
+
* @returns {bigint}
|
|
2629
|
+
*/
|
|
2630
|
+
get prekeysExpanded() {
|
|
2631
|
+
const ret = wasm.stats_prekeysExpanded(this.__wbg_ptr);
|
|
2632
|
+
return BigInt.asUintN(64, ret);
|
|
2633
|
+
}
|
|
2613
2634
|
/**
|
|
2614
2635
|
* @returns {bigint}
|
|
2615
2636
|
*/
|
|
@@ -2617,6 +2638,13 @@ export class Stats {
|
|
|
2617
2638
|
const ret = wasm.stats_pendingDelegated(this.__wbg_ptr);
|
|
2618
2639
|
return BigInt.asUintN(64, ret);
|
|
2619
2640
|
}
|
|
2641
|
+
/**
|
|
2642
|
+
* @returns {bigint}
|
|
2643
|
+
*/
|
|
2644
|
+
get totalPendingOps() {
|
|
2645
|
+
const ret = wasm.stats_totalPendingOps(this.__wbg_ptr);
|
|
2646
|
+
return BigInt.asUintN(64, ret);
|
|
2647
|
+
}
|
|
2620
2648
|
/**
|
|
2621
2649
|
* @returns {bigint}
|
|
2622
2650
|
*/
|
|
@@ -2694,6 +2722,13 @@ export class Stats {
|
|
|
2694
2722
|
const ret = wasm.stats_groups(this.__wbg_ptr);
|
|
2695
2723
|
return BigInt.asUintN(64, ret);
|
|
2696
2724
|
}
|
|
2725
|
+
/**
|
|
2726
|
+
* @returns {bigint}
|
|
2727
|
+
*/
|
|
2728
|
+
get totalOps() {
|
|
2729
|
+
const ret = wasm.stats_totalOps(this.__wbg_ptr);
|
|
2730
|
+
return BigInt.asUintN(64, ret);
|
|
2731
|
+
}
|
|
2697
2732
|
}
|
|
2698
2733
|
if (Symbol.dispose) Stats.prototype[Symbol.dispose] = Stats.prototype.free;
|
|
2699
2734
|
|
|
@@ -3286,6 +3321,11 @@ function __wbg_get_imports() {
|
|
|
3286
3321
|
const ret = v0;
|
|
3287
3322
|
return ret;
|
|
3288
3323
|
};
|
|
3324
|
+
imports.wbg.__wbindgen_cast_70a820cad56b6aa4 = function(arg0, arg1) {
|
|
3325
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 467, function: Function { arguments: [Externref], shim_idx: 468, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3326
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h56c1987c5374a416, wasm_bindgen__convert__closures_____invoke__hb8b6941fceac7069);
|
|
3327
|
+
return ret;
|
|
3328
|
+
};
|
|
3289
3329
|
imports.wbg.__wbindgen_cast_77bc3e92745e9a35 = function(arg0, arg1) {
|
|
3290
3330
|
var v0 = getArrayU8FromWasm0(arg0, arg1).slice();
|
|
3291
3331
|
wasm.__wbindgen_free(arg0, arg1 * 1, 1);
|
|
@@ -3307,11 +3347,6 @@ function __wbg_get_imports() {
|
|
|
3307
3347
|
const ret = v0;
|
|
3308
3348
|
return ret;
|
|
3309
3349
|
};
|
|
3310
|
-
imports.wbg.__wbindgen_cast_c105e0f4e08916b2 = function(arg0, arg1) {
|
|
3311
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 475, function: Function { arguments: [Externref], shim_idx: 476, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3312
|
-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h56c1987c5374a416, wasm_bindgen__convert__closures_____invoke__hb8b6941fceac7069);
|
|
3313
|
-
return ret;
|
|
3314
|
-
};
|
|
3315
3350
|
imports.wbg.__wbindgen_cast_cb9088102bce6b30 = function(arg0, arg1) {
|
|
3316
3351
|
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
3317
3352
|
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
Binary file
|