@interncom/diplomatic 0.12.8 → 0.12.9

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.
@@ -4,14 +4,13 @@ import type { ISeedStore, SetSeedOpts } from "../../types";
4
4
  import { type PrfSeedMeta, PrfSeedStore, type PrfSeedStoreOpts } from "../../passkey/prf-store";
5
5
  export declare class IDBSeedStore implements ISeedStore {
6
6
  #private;
7
- enclave?: Enclave;
8
7
  db: IDBDatabase;
9
8
  constructor(db: IDBDatabase, crypto: ICrypto);
10
9
  /**
11
10
  * Hold enclave in memory only. Durable identity is sealed meta
12
11
  * ({@link openPrfStore} / {@link persistPrfMeta}), never plain seed.
13
12
  * Pins identity (nonce+hash) on first save; later saves must match
14
- * (largeBlob / hex / PRF unlock cannot switch masters under this DB).
13
+ * (largeBlob / PRF unlock cannot switch masters under this DB).
15
14
  * `opts.persist` is ignored (kept for API compatibility).
16
15
  *
17
16
  * TODO(passphrase): when PRF is missing, `persist: true` (or a dedicated
@@ -21,8 +20,8 @@ export declare class IDBSeedStore implements ISeedStore {
21
20
  save(enclave: Enclave, _opts?: SetSeedOpts): Promise<Enclave>;
22
21
  load(): Promise<Enclave | undefined>;
23
22
  /**
24
- * Drop in-memory enclave and any leftover legacy hex. Keeps {@link K_PRF_META}
25
- * and {@link K_ID_PIN} so unlock / largeBlob restore still match this device.
23
+ * Drop in-memory enclave. Keeps {@link K_PRF_META} and {@link K_ID_PIN}
24
+ * so unlock / largeBlob restore still match this device.
26
25
  */
27
26
  clearSession(): Promise<void>;
28
27
  wipe(): Promise<void>;
@@ -4,7 +4,6 @@ import type { ISeedStore, SetSeedOpts } from "../../types";
4
4
  import { type IdPin } from "../identityPin";
5
5
  export declare class MemorySeedStore implements ISeedStore {
6
6
  #private;
7
- enclave?: Enclave;
8
7
  constructor(crypto: ICrypto);
9
8
  save(enclave: Enclave, _opts?: SetSeedOpts): Promise<Enclave>;
10
9
  load(): Promise<Enclave | undefined>;