@keyhive/keyhive 0.0.0-alpha.54c → 0.0.0-alpha.54d

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keyhive/keyhive",
3
- "version": "0.0.0-alpha.54c",
3
+ "version": "0.0.0-alpha.54d",
4
4
  "description": "",
5
5
  "main": "pkg/keyhive_wasm.js",
6
6
  "keywords": [],
@@ -17,7 +17,8 @@ export class Agent {
17
17
  toString(): string;
18
18
  isIndividual(): boolean;
19
19
  /**
20
- * Returns prekey operations for this agent as a Map of hash -> Event
20
+ * Returns prekey operations for this agent as serialized bytes.
21
+ * Returns a Map<Uint8Array, Uint8Array> where keys are event hashes and values are serialized event bytes.
21
22
  */
22
23
  keyOps(): Promise<Map<any, any>>;
23
24
  isGroup(): boolean;
@@ -516,7 +516,8 @@ export class Agent {
516
516
  return Identifier.__wrap(ret);
517
517
  }
518
518
  /**
519
- * Returns prekey operations for this agent as a Map of hash -> Event
519
+ * Returns prekey operations for this agent as serialized bytes.
520
+ * Returns a Map<Uint8Array, Uint8Array> where keys are event hashes and values are serialized event bytes.
520
521
  * @returns {Promise<Map<any, any>>}
521
522
  */
522
523
  keyOps() {
Binary file
@@ -17,7 +17,8 @@ export class Agent {
17
17
  toString(): string;
18
18
  isIndividual(): boolean;
19
19
  /**
20
- * Returns prekey operations for this agent as a Map of hash -> Event
20
+ * Returns prekey operations for this agent as serialized bytes.
21
+ * Returns a Map<Uint8Array, Uint8Array> where keys are event hashes and values are serialized event bytes.
21
22
  */
22
23
  keyOps(): Promise<Map<any, any>>;
23
24
  isGroup(): boolean;
@@ -508,7 +508,8 @@ class Agent {
508
508
  return Identifier.__wrap(ret);
509
509
  }
510
510
  /**
511
- * Returns prekey operations for this agent as a Map of hash -> Event
511
+ * Returns prekey operations for this agent as serialized bytes.
512
+ * Returns a Map<Uint8Array, Uint8Array> where keys are event hashes and values are serialized event bytes.
512
513
  * @returns {Promise<Map<any, any>>}
513
514
  */
514
515
  keyOps() {
Binary file
@@ -17,7 +17,8 @@ export class Agent {
17
17
  toString(): string;
18
18
  isIndividual(): boolean;
19
19
  /**
20
- * Returns prekey operations for this agent as a Map of hash -> Event
20
+ * Returns prekey operations for this agent as serialized bytes.
21
+ * Returns a Map<Uint8Array, Uint8Array> where keys are event hashes and values are serialized event bytes.
21
22
  */
22
23
  keyOps(): Promise<Map<any, any>>;
23
24
  isGroup(): boolean;
@@ -513,7 +513,8 @@ export class Agent {
513
513
  return Identifier.__wrap(ret);
514
514
  }
515
515
  /**
516
- * Returns prekey operations for this agent as a Map of hash -> Event
516
+ * Returns prekey operations for this agent as serialized bytes.
517
+ * Returns a Map<Uint8Array, Uint8Array> where keys are event hashes and values are serialized event bytes.
517
518
  * @returns {Promise<Map<any, any>>}
518
519
  */
519
520
  keyOps() {
Binary file