@interncom/diplomatic 0.22.0 → 0.24.0
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/dist/cli/bun/src/crypto.d.ts +2 -3
- package/dist/cli/index.mjs +4 -5
- package/dist/cli/shared/api/peek.d.ts +9 -1
- package/dist/cli/shared/api/pull.d.ts +9 -1
- package/dist/cli/shared/api/push.d.ts +3 -1
- package/dist/cli/shared/api/user.d.ts +1 -1
- package/dist/cli/shared/auth.d.ts +2 -2
- package/dist/cli/shared/bag.d.ts +11 -6
- package/dist/cli/shared/client.d.ts +18 -9
- package/dist/cli/shared/codec.d.ts +4 -0
- package/dist/cli/shared/codecs/kdm.d.ts +7 -0
- package/dist/cli/shared/codecs/notifItem.d.ts +2 -0
- package/dist/cli/shared/crypto/bagman.d.ts +19 -0
- package/dist/cli/shared/crypto/binary.d.ts +1 -0
- package/dist/cli/shared/crypto/derivation.d.ts +45 -0
- package/dist/cli/shared/crypto/enclave.d.ts +31 -102
- package/dist/cli/shared/crypto/largeBlob.d.ts +8 -0
- package/dist/cli/shared/crypto/noble.d.ts +15 -22
- package/dist/cli/shared/crypto/pairing.d.ts +19 -2
- package/dist/cli/shared/crypto/prf.d.ts +52 -0
- package/dist/cli/shared/crypto/realms.d.ts +7 -0
- package/dist/cli/shared/endpoint.d.ts +4 -5
- package/dist/cli/shared/http.d.ts +12 -12
- package/dist/cli/shared/sync.d.ts +3 -3
- package/dist/cli/shared/types.d.ts +24 -16
- package/dist/cli/shared/webauthn/prf.d.ts +8 -0
- package/dist/cli/src/index.d.ts +6 -5
- package/dist/web/client.d.ts +18 -7
- package/dist/web/crypto.d.ts +2 -3
- package/dist/web/entdb/cached.d.ts +4 -0
- package/dist/web/entdb/entdb.d.ts +3 -0
- package/dist/web/entdb/idb.d.ts +8 -5
- package/dist/web/index.d.ts +11 -5
- package/dist/web/index.mjs +1 -1
- package/dist/web/objEq.d.ts +1 -0
- package/dist/web/passkey/prf-store.d.ts +26 -10
- package/dist/web/passkey/seed.d.ts +12 -6
- package/dist/web/shared/api/peek.d.ts +9 -1
- package/dist/web/shared/api/pull.d.ts +9 -1
- package/dist/web/shared/api/push.d.ts +3 -1
- package/dist/web/shared/api/user.d.ts +1 -1
- package/dist/web/shared/auth.d.ts +2 -2
- package/dist/web/shared/bag.d.ts +11 -6
- package/dist/web/shared/blobs.d.ts +25 -0
- package/dist/web/shared/client.d.ts +18 -9
- package/dist/web/shared/codec.d.ts +4 -0
- package/dist/web/shared/codecs/ent.d.ts +5 -0
- package/dist/web/shared/codecs/kdm.d.ts +7 -0
- package/dist/web/shared/codecs/notifItem.d.ts +2 -0
- package/dist/web/shared/crypto/bagman.d.ts +19 -0
- package/dist/web/shared/crypto/binary.d.ts +1 -0
- package/dist/web/shared/crypto/derivation.d.ts +45 -0
- package/dist/web/shared/crypto/enclave.d.ts +31 -102
- package/dist/web/shared/crypto/largeBlob.d.ts +8 -0
- package/dist/web/shared/crypto/noble.d.ts +15 -22
- package/dist/web/shared/crypto/pairing.d.ts +19 -2
- package/dist/web/shared/crypto/prf.d.ts +52 -0
- package/dist/web/shared/crypto/realms.d.ts +7 -0
- package/dist/web/shared/crypto/tty.d.ts +3 -0
- package/dist/web/shared/endpoint.d.ts +4 -5
- package/dist/web/shared/exim.d.ts +5 -5
- package/dist/web/shared/http.d.ts +12 -12
- package/dist/web/shared/storage/memory.d.ts +2 -2
- package/dist/web/shared/sync.d.ts +3 -3
- package/dist/web/shared/types.d.ts +24 -16
- package/dist/web/shared/webauthn/prf.d.ts +8 -0
- package/dist/web/state.d.ts +1 -2
- package/dist/web/stores/cursor.d.ts +30 -0
- package/dist/web/stores/idb/account.d.ts +58 -0
- package/dist/web/stores/idb/catalog.d.ts +1 -0
- package/dist/web/stores/idb/dnlds.d.ts +3 -2
- package/dist/web/stores/idb/hosts.d.ts +8 -7
- package/dist/web/stores/idb/idbutil.d.ts +2 -0
- package/dist/web/stores/idb/migrate.d.ts +2 -0
- package/dist/web/stores/idb/msgs.d.ts +1 -1
- package/dist/web/stores/idb/names.d.ts +13 -0
- package/dist/web/stores/idb/realms.d.ts +11 -0
- package/dist/web/stores/idb/store.d.ts +26 -19
- package/dist/web/stores/idb/uplds.d.ts +1 -1
- package/dist/web/stores/keyTag.d.ts +14 -0
- package/dist/web/stores/label.d.ts +3 -0
- package/dist/web/stores/memory/account.d.ts +14 -0
- package/dist/web/stores/memory/dnlds.d.ts +4 -2
- package/dist/web/stores/memory/hosts.d.ts +8 -6
- package/dist/web/stores/memory/realms.d.ts +10 -0
- package/dist/web/stores/memory/store.d.ts +6 -2
- package/dist/web/stores/realm.d.ts +35 -0
- package/dist/web/sync.d.ts +18 -16
- package/dist/web/types.d.ts +59 -18
- package/dist/web/worker/client.d.ts +7 -3
- package/dist/web/worker/protocol.d.ts +6 -0
- package/dist/web/worker/runtime.d.ts +4 -2
- package/dist/web/worker.mjs +1 -1
- package/package.json +1 -2
- package/dist/cli/bun/src/codec.d.ts +0 -3
- package/dist/web/stores/idb/seed.d.ts +0 -32
- package/dist/web/stores/identityPin.d.ts +0 -19
- package/dist/web/stores/memory/seed.d.ts +0 -13
package/dist/cli/src/index.d.ts
CHANGED
|
@@ -3,11 +3,13 @@ import { IClock } from "../shared/clock.ts";
|
|
|
3
3
|
import type { IBagPeekItem } from "../shared/codecs/peekItem.ts";
|
|
4
4
|
import { IBagPullItem } from "../shared/codecs/pullItem.ts";
|
|
5
5
|
import { IBagPushItem } from "../shared/codecs/pushItem.ts";
|
|
6
|
+
import type { IKDM } from "../shared/codecs/kdm.ts";
|
|
6
7
|
import { Status } from "../shared/consts.ts";
|
|
7
8
|
import { Enclave } from "../shared/crypto/enclave.ts";
|
|
8
9
|
import { HostHandle, IHostConnectionInfo, IMessage, ITransport } from "../shared/types.ts";
|
|
9
10
|
import { ValStat } from "../shared/valstat.ts";
|
|
10
11
|
export declare class CLIClient<Handle extends HostHandle> {
|
|
12
|
+
#private;
|
|
11
13
|
private enclave;
|
|
12
14
|
private conn?;
|
|
13
15
|
private clock;
|
|
@@ -16,10 +18,10 @@ export declare class CLIClient<Handle extends HostHandle> {
|
|
|
16
18
|
clock?: IClock;
|
|
17
19
|
});
|
|
18
20
|
connect(host: IHostConnectionInfo<Handle>, transport: ITransport): Promise<Status>;
|
|
19
|
-
push(msgs: IMessage[]): Promise<ValStat<IBagPushItem[]>>;
|
|
20
|
-
peek(lastSeq: number): Promise<ValStat<IBagPeekItem[]>>;
|
|
21
|
-
pull(seqs: number[]): Promise<ValStat<IBagPullItem[]>>;
|
|
22
|
-
open(peekItem: IBagPeekItem, pullItem: IBagPullItem): Promise<ValStat<IOpenBag>>;
|
|
21
|
+
push(msgs: IMessage[], realm?: IKDM): Promise<ValStat<IBagPushItem[]>>;
|
|
22
|
+
peek(lastSeq: number, realm?: IKDM): Promise<ValStat<IBagPeekItem[]>>;
|
|
23
|
+
pull(seqs: number[], realm?: IKDM): Promise<ValStat<IBagPullItem[]>>;
|
|
24
|
+
open(peekItem: IBagPeekItem, pullItem: IBagPullItem, realm?: IKDM): Promise<ValStat<IOpenBag>>;
|
|
23
25
|
upsertSingletonSync(type: string, body: Uint8Array): Promise<Status>;
|
|
24
26
|
listen(onNotification: (bytes: Uint8Array) => Promise<Status>, onDisconnect?: () => void, onConnect?: () => void): Promise<Status>;
|
|
25
27
|
isConnected(): boolean;
|
|
@@ -37,7 +39,6 @@ export declare function initCLIOrPanic<Handle extends URL>({ enclave, host, tran
|
|
|
37
39
|
/** Load master seed hex from env and construct an Enclave immediately. */
|
|
38
40
|
export declare function loadEnclaveOrPanic(envVar: string): Enclave;
|
|
39
41
|
export declare function loadHostOrPanic(envVar: string): IHostConnectionInfo<URL>;
|
|
40
|
-
export { default as msgpack } from "../bun/src/codec.ts";
|
|
41
42
|
export { Decoder } from "../shared/codec.ts";
|
|
42
43
|
export { notifItemCodec } from "../shared/codecs/notifItem.ts";
|
|
43
44
|
export type { IBagNotifItem } from "../shared/codecs/notifItem.ts";
|
package/dist/web/client.d.ts
CHANGED
|
@@ -5,8 +5,10 @@ import { EncodedMessage } from "./shared/message";
|
|
|
5
5
|
import type { Enclave } from "./shared/crypto/enclave";
|
|
6
6
|
import { EntityID, Hash, HostHandle, ICrypto, IDeleteParams, IEntRev, IHostConnectionInfo, IInsertParams, IMessageHead, IStateManager, ITransport, IUpdateParams } from "./shared/types";
|
|
7
7
|
import { ValStat } from "./shared/valstat";
|
|
8
|
-
import {
|
|
8
|
+
import { type IBlobUpdate, type IBlobWrite } from "./shared/blobs";
|
|
9
|
+
import { ApldState, IClient, IDiplomaticClientState, IDiplomaticClientXferState, IHostRow, IStateEmitter, IStore, IStoredMessage, ListMsgsOpts, OpenAccount, ReconcileOpts, ReconcileReport, SetSeedOpts, WipeOpts } from "./types";
|
|
9
10
|
export declare class SyncClient<Handle extends HostHandle> implements IClient<Handle> {
|
|
11
|
+
#private;
|
|
10
12
|
private clock;
|
|
11
13
|
private state;
|
|
12
14
|
private store;
|
|
@@ -56,7 +58,10 @@ export declare class SyncClient<Handle extends HostHandle> implements IClient<Ha
|
|
|
56
58
|
onScheduleSync?: (() => void) | undefined);
|
|
57
59
|
/** Record phase progress and notify xferState listeners. */
|
|
58
60
|
private emitProgress;
|
|
59
|
-
|
|
61
|
+
/** Account this client is operating as, if one is open. */
|
|
62
|
+
selected(): OpenAccount<Handle> | undefined;
|
|
63
|
+
setSeed(enclave: Enclave, opts?: SetSeedOpts): Promise<Status>;
|
|
64
|
+
adopt(enclave: Enclave, label?: string): Promise<Status>;
|
|
60
65
|
private getClientState;
|
|
61
66
|
private getXferState;
|
|
62
67
|
/**
|
|
@@ -121,13 +126,18 @@ export declare class SyncClient<Handle extends HostHandle> implements IClient<Ha
|
|
|
121
126
|
*/
|
|
122
127
|
private updateWithSkew;
|
|
123
128
|
updateRaw(prior: IEntRev, bod: EncodedMessage | undefined, force?: boolean, typ?: string): Promise<ValStat<IMessageHead>>;
|
|
124
|
-
insert
|
|
125
|
-
update
|
|
129
|
+
insert(op: IInsertParams<Uint8Array>): Promise<ValStat<IMessageHead>>;
|
|
130
|
+
update(op: IUpdateParams<Uint8Array>): Promise<ValStat<IMessageHead>>;
|
|
126
131
|
/**
|
|
127
132
|
* Delete by `{ prior }` (preferred) or `{ eid }` (archive lookup).
|
|
128
133
|
* `force` defaults to true (skew recovery on delete).
|
|
129
134
|
*/
|
|
130
135
|
delete(op: IDeleteParams): Promise<ValStat<IMessageHead>>;
|
|
136
|
+
insertBlob(mime: string, bytes: Uint8Array, opts?: IBlobWrite): Promise<ValStat<IMessageHead>>;
|
|
137
|
+
updateBlob(eid: EntityID, bytes: Uint8Array, opts?: IBlobUpdate): Promise<ValStat<IMessageHead>>;
|
|
138
|
+
deleteBlob(eid: EntityID): Promise<ValStat<IMessageHead>>;
|
|
139
|
+
readBlob(eid: EntityID): Promise<ValStat<Uint8Array>>;
|
|
140
|
+
private lastMsg;
|
|
131
141
|
/**
|
|
132
142
|
* Latest rev for eid from the message archive.
|
|
133
143
|
* If none, returns ctr -1 so the next write uses ctr 0.
|
|
@@ -168,9 +178,10 @@ export declare class SyncClient<Handle extends HostHandle> implements IClient<Ha
|
|
|
168
178
|
/** Count archive rows; optional apld filter. Prefer over list+length. */
|
|
169
179
|
countMsgs(apld?: ApldState): Promise<number>;
|
|
170
180
|
/**
|
|
171
|
-
* Full inventory of one host (peek seq 0)
|
|
172
|
-
* enqueues pull/push. Waits out in-flight {@link sync} first
|
|
173
|
-
* {@link rebuild}). By default drains via {@link sync}, then
|
|
181
|
+
* Full inventory of one host (peek seq 0 per realm). Sets each cursor and
|
|
182
|
+
* optionally enqueues pull/push. Waits out in-flight {@link sync} first
|
|
183
|
+
* (same as {@link rebuild}). By default drains via {@link sync}, then
|
|
184
|
+
* re-inventories.
|
|
174
185
|
* Returns ephemeral {@link ReconcileReport} (msgcheck, numBags, numDupes) —
|
|
175
186
|
* bag tallies are not persisted.
|
|
176
187
|
*/
|
package/dist/web/crypto.d.ts
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
export default crypto;
|
|
1
|
+
import { noble } from "./shared/crypto/noble";
|
|
2
|
+
export default noble;
|
|
@@ -25,6 +25,10 @@ export type OpenEntDBOptions = {
|
|
|
25
25
|
* Process-wide; also accepted on openDiplomaticClient / useClient.
|
|
26
26
|
*/
|
|
27
27
|
verbose?: boolean;
|
|
28
|
+
/** Account whose EntDB to open. Default is the unlabeled account. */
|
|
29
|
+
label?: string;
|
|
30
|
+
/** Database name. The worker passes this and does not open the catalog. */
|
|
31
|
+
name?: string;
|
|
28
32
|
};
|
|
29
33
|
export type CachedEntDBOptions = {
|
|
30
34
|
/** Secondary mem indexes (default true). See {@link OpenEntDBOptions.indexes}. */
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { EntRlm } from "../stores/realm";
|
|
1
2
|
import { Status } from "../shared/consts";
|
|
2
3
|
import { ValStat } from "../shared/valstat";
|
|
3
4
|
import { EntityID, Hash, ICrypto, IEntRev, IMessageHead, IMsgEntBody, IOp } from "../shared/types";
|
|
@@ -9,6 +10,8 @@ export interface IEntity<T = unknown> extends Omit<IMsgEntBody<T>, "body"> {
|
|
|
9
10
|
createdAt: Date;
|
|
10
11
|
ctr: number;
|
|
11
12
|
body: T;
|
|
13
|
+
/** Realm label. Omitted for the default realm. */
|
|
14
|
+
rlm?: EntRlm;
|
|
12
15
|
}
|
|
13
16
|
/**
|
|
14
17
|
* Deleted eid's LWW frontier: eid + updatedAt + ctr only (no type/body/…).
|
package/dist/web/entdb/idb.d.ts
CHANGED
|
@@ -8,15 +8,18 @@ export declare const typeUpdatedAtIndexName = "entity_type_updated_at";
|
|
|
8
8
|
export declare const typeParentIndexName = "entity_type_parent_id";
|
|
9
9
|
/** multiEntry index on tgs[]; query by tag then filter by type. */
|
|
10
10
|
export declare const tagsIndexName = "entity_tags";
|
|
11
|
-
/**
|
|
12
|
-
export declare const
|
|
13
|
-
/**
|
|
14
|
-
export declare const ENT_IDB_VERSION =
|
|
11
|
+
/** Realm label. Rows in the default realm omit rlm and are not in this index. */
|
|
12
|
+
export declare const realmIndexName = "entity_rlm";
|
|
13
|
+
/** Current EntDB schema. Default-realm rows omit rlm. */
|
|
14
|
+
export declare const ENT_IDB_VERSION = 15;
|
|
15
15
|
export declare class EntIDB implements IEntDB {
|
|
16
|
+
private name;
|
|
16
17
|
db: IDBDatabase | undefined;
|
|
17
18
|
/** In-flight open; coalesces concurrent ensureDb / peer upgrade reopen. */
|
|
18
19
|
private opening;
|
|
20
|
+
constructor(name: string);
|
|
19
21
|
init(): Promise<void>;
|
|
22
|
+
close(): void;
|
|
20
23
|
/**
|
|
21
24
|
* Open (or reopen) the shared EntDB IDB connection.
|
|
22
25
|
* Main + worker both hold connections; on versionchange we must close so the
|
|
@@ -43,4 +46,4 @@ export declare class EntIDB implements IEntDB {
|
|
|
43
46
|
checksum(crypto: ICrypto): Promise<ValStat<Hash>>;
|
|
44
47
|
}
|
|
45
48
|
/** Durable IndexedDB EntDB. Internal-only. Apps use {@link openEntDB} instead. */
|
|
46
|
-
export declare function openEntIDB(): Promise<EntIDB>;
|
|
49
|
+
export declare function openEntIDB(name: string): Promise<EntIDB>;
|
package/dist/web/index.d.ts
CHANGED
|
@@ -11,19 +11,24 @@ import { b64tob, b64urltob, btob64, btob64url, btoh, htob } from "./shared/binar
|
|
|
11
11
|
import { Clock } from "./shared/clock";
|
|
12
12
|
import { Decoder, Encoder } from "./shared/codec";
|
|
13
13
|
import { eidCodec, genSingletonEID } from "./shared/codecs/eid";
|
|
14
|
+
import { encodeEnt, entCodec } from "./shared/codecs/ent";
|
|
14
15
|
import { Status } from "./shared/consts";
|
|
15
16
|
import { hostHTTPTransport, HTTPTransport } from "./shared/http";
|
|
16
17
|
import { TypedEventEmitter } from "./shared/events";
|
|
17
18
|
import { asSealedMasterKey, MASTER_SEED_LEN, SEALED_MASTER_KEY_LEN, type SealedMasterKey } from "./shared/seed";
|
|
18
19
|
import { EntityID, HostHandle, ICrypto, IDeleteParams, IEntRev, IHostConnectionInfo, IMessage, IMutateOp, type IOp, IStateManager, ITransport, IUpdateParams } from "./shared/types";
|
|
19
20
|
import { Enclave } from "./shared/crypto/enclave";
|
|
20
|
-
import type {
|
|
21
|
+
import type { BagManager } from "./shared/crypto/bagman";
|
|
22
|
+
import { asChildKey, asHostRlm, type ChildKey, type HostRlm, nullKDM, Purpose } from "./shared/crypto/derivation";
|
|
23
|
+
import type { PairRequest } from "./shared/crypto/pairing";
|
|
24
|
+
import type { BindPrior, PrfBound } from "./shared/crypto/prf";
|
|
21
25
|
import { nullStateManager, StateManager } from "./state";
|
|
22
|
-
import {
|
|
26
|
+
import type { EntRlm, IRealm } from "./stores/realm";
|
|
27
|
+
import { IDBAccountStore } from "./stores/idb/account";
|
|
23
28
|
import { IDBStore, openIDBStore } from "./stores/idb/store";
|
|
24
29
|
import { MemoryStore } from "./stores/memory/store";
|
|
25
30
|
import { SingletonStateManager } from "./shared/singleton";
|
|
26
|
-
import type { ApldState, Applier,
|
|
31
|
+
import type { ApldState, Applier, HostSeqsUpdate, IClient, IDiplomaticClientState, IHostRow, IStore, IStoredMessage, IStoredMessageData, IStoredMessageWrite, ListMsgsOpts, OpenAccount, ReconcileOpts, ReconcileReport, SetSeedOpts } from "./types";
|
|
27
32
|
import { APLD_APPLIED, APLD_ERROR, APLD_PENDING, apldFromStored, isApldState, isPendingApply, isTerminalApplyFailure, setApld } from "./types";
|
|
28
33
|
import type { SyncProgressEvent } from "./progress";
|
|
29
34
|
import { defaultPeekProgressEvery, idleProgress, shouldEmitItemProgress } from "./progress";
|
|
@@ -34,6 +39,7 @@ import { KEYRING_MAX, keyringCredIds, keyringKind, keyringLabel, PrfSeedStore }
|
|
|
34
39
|
import type { Keyring, KeyringEntry, KeyringRow, PersistKeyring, PrfSeedStoreOpts } from "./passkey/prf-store";
|
|
35
40
|
import type { PasskeySeedStoreOpts } from "./passkey/seed";
|
|
36
41
|
import { type BundleHost } from "./shared/codecs/bundleHost";
|
|
42
|
+
import { type IKDM } from "./shared/codecs/kdm";
|
|
37
43
|
import { asDHKEReq, asDHKEResp } from "./shared/crypto/pairing";
|
|
38
44
|
import type { DHKEReq, DHKEResp } from "./shared/crypto/pairing";
|
|
39
45
|
import { checksumEntRevs, checksumSet, cmpBytes, encodeEntRev } from "./shared/checksum";
|
|
@@ -44,5 +50,5 @@ import type { WipeOpts } from "./types";
|
|
|
44
50
|
/** Platform advertises largeBlob (not a guarantee the binding key has it). */
|
|
45
51
|
export { largeBlobCapable } from "./shared/webauthn/largeBlob";
|
|
46
52
|
export { webAuthnLastError } from "./shared/webauthn/common";
|
|
47
|
-
export { APLD_APPLIED, APLD_ERROR, APLD_PENDING, apldFromStored, asDHKEReq, asDHKEResp, asSealedMasterKey, b64tob, b64urltob, btob64, btob64url, btoh, CachedEntDB, checksumEntRevs, checksumSet, Clock, cmpBytes, crypto, Decoder, DEFAULT_PRF_SALT, defaultPeekProgressEvery, defaultWebAuthnRpId, eidCodec, Enclave, encodeEntRev, Encoder, EntDBMemory, EntIDB, EntitiesQuery, EntityID, entStateManager, genSingletonEID, hostHTTPTransport, htob, HTTPTransport,
|
|
48
|
-
export type { ApldState, Applier, BundleHost, CachedEntDBOptions, DateSpec, DHKEReq, DHKEResp, EntDBMemoryOptions, HostHandle,
|
|
53
|
+
export { APLD_APPLIED, APLD_ERROR, APLD_PENDING, apldFromStored, asChildKey, asDHKEReq, asDHKEResp, asHostRlm, asSealedMasterKey, b64tob, b64urltob, btob64, btob64url, btoh, CachedEntDB, checksumEntRevs, checksumSet, Clock, cmpBytes, crypto, Decoder, DEFAULT_PRF_SALT, defaultPeekProgressEvery, defaultWebAuthnRpId, eidCodec, Enclave, encodeEnt, encodeEntRev, Encoder, entCodec, EntDBMemory, EntIDB, EntitiesQuery, EntityID, entStateManager, genSingletonEID, hostHTTPTransport, htob, HTTPTransport, IDBAccountStore, IDBStore, idleProgress, IEntDB, IEntity, isApldState, isLiveEnt, isPendingApply, isTerminalApplyFailure, isTombstone, IStore, KEYRING_MAX, keyringCredIds, keyringKind, keyringLabel, MASTER_SEED_LEN, MemoryStore, normalizeTags, nullEntDB, nullKDM, nullStateManager, openDiplomaticClient, openEntDB, openIDBStore, PasskeySeedStore, prfCapable, PrfSeedStore, Purpose, revFromEntity, revFromHead, SEALED_MASTER_KEY_LEN, setApld, shouldEmitItemProgress, SingletonStateManager, StateManager, Status, SyncClient, TypedEventEmitter, useClient, useClientState, useClientXferState, useStateWatcher, useStateWatcherSuspense, useSyncOnResume, WorkerClient, };
|
|
54
|
+
export type { ApldState, Applier, BagManager, BindPrior, BundleHost, CachedEntDBOptions, ChildKey, DateSpec, DHKEReq, DHKEResp, EntDBMemoryOptions, EntRlm, HostHandle, HostRlm, HostSeqsUpdate, IClient, ICrypto, IDateRange, IDeleteParams, IDiplomaticClientState, IEntRev, IEntRow, IHostConnectionInfo, IHostRow, IKDM, IMessage, IMutateOp, IOp, IRealm, IStateManager, IStoredMessage, IStoredMessageData, IStoredMessageWrite, ITagRange, ITombstone, ITransport, IUpdateParams, Keyring, KeyringEntry, KeyringRow, ListMsgsOpts, OpenAccount, OpenDiplomaticClientMainOptions, OpenDiplomaticClientOptions, OpenDiplomaticClientWorkerOptions, OpenedDiplomaticClient, OpenEntDBOptions, PairRequest, PasskeySeedStoreOpts, PersistKeyring, PrfBound, PrfRp, PrfSeedStoreOpts, ReconcileOpts, ReconcileReport, SealedMasterKey, SetSeedOpts, SyncProgressEvent, TagSpec, WipeOpts, WorkerClientOptions, };
|