@econ-v1/ports 6.7.0 → 6.11.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/app-data.d.ts +39 -0
- package/dist/app-data.d.ts.map +1 -0
- package/dist/client-ui-preference.d.ts +23 -0
- package/dist/client-ui-preference.d.ts.map +1 -0
- package/dist/clipboard.d.ts +41 -0
- package/dist/clipboard.d.ts.map +1 -0
- package/dist/clock.d.ts +8 -8
- package/dist/clock.d.ts.map +1 -1
- package/dist/credential-handoff.d.ts +57 -0
- package/dist/credential-handoff.d.ts.map +1 -0
- package/dist/crypto.d.ts +4 -4
- package/dist/crypto.d.ts.map +1 -1
- package/dist/id.d.ts +2 -2
- package/dist/id.d.ts.map +1 -1
- package/dist/identity.d.ts +31 -25
- package/dist/identity.d.ts.map +1 -1
- package/dist/index.d.ts +226 -30
- package/dist/index.d.ts.map +1 -1
- package/dist/install-environment.d.ts +22 -32
- package/dist/install-environment.d.ts.map +1 -1
- package/dist/lcd-tree-source.d.ts +54 -0
- package/dist/lcd-tree-source.d.ts.map +1 -0
- package/dist/legacy-credential.d.ts +30 -0
- package/dist/legacy-credential.d.ts.map +1 -0
- package/dist/media-preferences.d.ts +2 -44
- package/dist/media-preferences.d.ts.map +1 -1
- package/dist/network/certificate-trust.d.ts +31 -0
- package/dist/network/certificate-trust.d.ts.map +1 -0
- package/dist/network/client-node-origin.d.ts +3 -15
- package/dist/network/client-node-origin.d.ts.map +1 -1
- package/dist/network/home-node-candidate-store.d.ts +4 -32
- package/dist/network/home-node-candidate-store.d.ts.map +1 -1
- package/dist/network/home-node-candidate.d.ts +9 -7
- package/dist/network/home-node-candidate.d.ts.map +1 -1
- package/dist/network/l402-payment.d.ts +11 -28
- package/dist/network/l402-payment.d.ts.map +1 -1
- package/dist/network/node-discovery.d.ts +5 -16
- package/dist/network/node-discovery.d.ts.map +1 -1
- package/dist/network/webrtc-signaling.d.ts +36 -52
- package/dist/network/webrtc-signaling.d.ts.map +1 -1
- package/dist/network.d.ts +65 -40
- package/dist/network.d.ts.map +1 -1
- package/dist/offline-readiness.d.ts +122 -0
- package/dist/offline-readiness.d.ts.map +1 -0
- package/dist/onboarding-access-code.d.ts +30 -0
- package/dist/onboarding-access-code.d.ts.map +1 -0
- package/dist/onboarding-checkpoint.d.ts +26 -0
- package/dist/onboarding-checkpoint.d.ts.map +1 -0
- package/dist/onboarding-presence.d.ts +12 -0
- package/dist/onboarding-presence.d.ts.map +1 -0
- package/dist/owner-claim-session.d.ts +60 -0
- package/dist/owner-claim-session.d.ts.map +1 -0
- package/dist/owner-claim.d.ts +22 -0
- package/dist/owner-claim.d.ts.map +1 -0
- package/dist/repositories/conversation-repository.d.ts +21 -20
- package/dist/repositories/conversation-repository.d.ts.map +1 -1
- package/dist/repositories/durable-event.d.ts +8 -8
- package/dist/repositories/durable-event.d.ts.map +1 -1
- package/dist/repositories/node-app-memory-repository.d.ts +168 -0
- package/dist/repositories/node-app-memory-repository.d.ts.map +1 -0
- package/dist/repositories/outbox.d.ts +33 -20
- package/dist/repositories/outbox.d.ts.map +1 -1
- package/dist/repositories/repository-mutation.d.ts +3 -1
- package/dist/repositories/repository-mutation.d.ts.map +1 -1
- package/dist/repositories/revisioned-repository.d.ts +14 -12
- package/dist/repositories/revisioned-repository.d.ts.map +1 -1
- package/dist/repositories/settings.d.ts +10 -10
- package/dist/repositories/settings.d.ts.map +1 -1
- package/dist/repositories/sync-ledger.d.ts +11 -11
- package/dist/repositories/sync-ledger.d.ts.map +1 -1
- package/dist/repositories/wallet-mirror-repository.d.ts +22 -13
- package/dist/repositories/wallet-mirror-repository.d.ts.map +1 -1
- package/dist/repositories.d.ts +52 -17
- package/dist/repositories.d.ts.map +1 -1
- package/dist/scheduler.d.ts +4 -4
- package/dist/scheduler.d.ts.map +1 -1
- package/dist/session-flag.d.ts +48 -0
- package/dist/session-flag.d.ts.map +1 -0
- package/dist/shell-cache-reset.d.ts +4 -0
- package/dist/shell-cache-reset.d.ts.map +1 -0
- package/dist/shell-version.d.ts +8 -0
- package/dist/shell-version.d.ts.map +1 -0
- package/dist/storage.d.ts +76 -34
- package/dist/storage.d.ts.map +1 -1
- package/dist/theme.d.ts +2 -24
- package/dist/theme.d.ts.map +1 -1
- package/package.json +14 -10
- package/src/app-data.js +42 -0
- package/src/client-ui-preference.js +23 -0
- package/src/clipboard.js +41 -0
- package/src/clock.js +13 -0
- package/src/credential-handoff.js +68 -0
- package/src/crypto.js +9 -0
- package/src/id.js +5 -0
- package/src/identity.js +33 -0
- package/src/index.js +250 -0
- package/src/install-environment.js +44 -0
- package/src/lcd-tree-source.js +56 -0
- package/src/legacy-credential.js +30 -0
- package/src/media-preferences.js +40 -0
- package/src/network/certificate-trust.js +25 -0
- package/src/network/client-node-origin.js +7 -0
- package/src/network/home-node-candidate-store.js +6 -0
- package/src/network/home-node-candidate.js +9 -0
- package/src/network/l402-payment.js +20 -0
- package/src/network/node-discovery.js +13 -0
- package/src/network/webrtc-signaling.js +40 -0
- package/src/network.js +33 -0
- package/src/offline-readiness.js +65 -0
- package/src/onboarding-access-code.js +21 -0
- package/src/onboarding-checkpoint.js +26 -0
- package/src/onboarding-presence.js +15 -0
- package/src/owner-claim-session.js +55 -0
- package/src/owner-claim.js +22 -0
- package/src/repositories/conversation-repository.js +20 -0
- package/src/repositories/durable-event.js +8 -0
- package/src/repositories/node-app-memory-repository.js +221 -0
- package/src/repositories/outbox.js +27 -0
- package/src/repositories/repository-mutation.js +8 -0
- package/src/repositories/revisioned-repository.js +17 -0
- package/src/repositories/settings.js +10 -0
- package/src/repositories/sync-ledger.js +11 -0
- package/src/repositories/wallet-mirror-repository.js +73 -0
- package/src/repositories.js +22 -0
- package/src/scheduler.js +6 -0
- package/src/session-flag.js +48 -0
- package/src/shell-cache-reset.js +3 -0
- package/src/shell-version.js +4 -0
- package/src/storage.js +60 -0
- package/src/theme.js +21 -0
- package/dist/clock.js +0 -2
- package/dist/clock.js.map +0 -1
- package/dist/crypto.js +0 -2
- package/dist/crypto.js.map +0 -1
- package/dist/id.js +0 -2
- package/dist/id.js.map +0 -1
- package/dist/identity.js +0 -2
- package/dist/identity.js.map +0 -1
- package/dist/index.js +0 -9
- package/dist/index.js.map +0 -1
- package/dist/install-environment.js +0 -26
- package/dist/install-environment.js.map +0 -1
- package/dist/media-preferences.js +0 -2
- package/dist/media-preferences.js.map +0 -1
- package/dist/network/client-node-origin.js +0 -18
- package/dist/network/client-node-origin.js.map +0 -1
- package/dist/network/home-node-candidate-store.js +0 -2
- package/dist/network/home-node-candidate-store.js.map +0 -1
- package/dist/network/home-node-candidate.js +0 -2
- package/dist/network/home-node-candidate.js.map +0 -1
- package/dist/network/l402-payment.js +0 -2
- package/dist/network/l402-payment.js.map +0 -1
- package/dist/network/node-discovery.js +0 -13
- package/dist/network/node-discovery.js.map +0 -1
- package/dist/network/webrtc-signaling.js +0 -30
- package/dist/network/webrtc-signaling.js.map +0 -1
- package/dist/network.js +0 -2
- package/dist/network.js.map +0 -1
- package/dist/repositories/conversation-repository.js +0 -2
- package/dist/repositories/conversation-repository.js.map +0 -1
- package/dist/repositories/durable-event.js +0 -2
- package/dist/repositories/durable-event.js.map +0 -1
- package/dist/repositories/outbox.js +0 -9
- package/dist/repositories/outbox.js.map +0 -1
- package/dist/repositories/repository-mutation.js +0 -2
- package/dist/repositories/repository-mutation.js.map +0 -1
- package/dist/repositories/revisioned-repository.js +0 -2
- package/dist/repositories/revisioned-repository.js.map +0 -1
- package/dist/repositories/settings.js +0 -2
- package/dist/repositories/settings.js.map +0 -1
- package/dist/repositories/sync-ledger.js +0 -2
- package/dist/repositories/sync-ledger.js.map +0 -1
- package/dist/repositories/wallet-mirror-repository.js +0 -53
- package/dist/repositories/wallet-mirror-repository.js.map +0 -1
- package/dist/repositories.js +0 -2
- package/dist/repositories.js.map +0 -1
- package/dist/scheduler.js +0 -2
- package/dist/scheduler.js.map +0 -1
- package/dist/storage.js +0 -14
- package/dist/storage.js.map +0 -1
- package/dist/theme.js +0 -2
- package/dist/theme.js.map +0 -1
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export type AppDataCacheRecord = {
|
|
2
|
+
cachedAt: string;
|
|
3
|
+
cursor?: string;
|
|
4
|
+
freshness: "fresh" | "stale" | "offline" | "unavailable";
|
|
5
|
+
key: string;
|
|
6
|
+
namespace: string;
|
|
7
|
+
revision: string;
|
|
8
|
+
transport: "online" | "offline";
|
|
9
|
+
value: RepositoryJsonValue;
|
|
10
|
+
};
|
|
11
|
+
export type AppDataCacheWrite = {
|
|
12
|
+
key: string;
|
|
13
|
+
revision: string;
|
|
14
|
+
value: RepositoryJsonValue;
|
|
15
|
+
};
|
|
16
|
+
export type AppDataCacheCommit = {
|
|
17
|
+
cursor: string;
|
|
18
|
+
cursorKey: string;
|
|
19
|
+
revision: string;
|
|
20
|
+
rows: readonly AppDataCacheWrite[];
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Typed post-commit result from the cache repository. It is intentionally
|
|
24
|
+
* repository-local; the kernel maps it to the public app-data event payload.
|
|
25
|
+
*/
|
|
26
|
+
export type AppDataCacheCommitEvent = {
|
|
27
|
+
changedKeys: readonly string[];
|
|
28
|
+
cursor: string;
|
|
29
|
+
cursorKey: string;
|
|
30
|
+
namespace: string;
|
|
31
|
+
revision: string;
|
|
32
|
+
};
|
|
33
|
+
export type AppDataCacheRepository = {
|
|
34
|
+
read: (namespace: string, key: string) => Promise<AppDataCacheRecord | undefined>;
|
|
35
|
+
write: (namespace: string, key: string, value: RepositoryJsonValue, revision: string, cursor?: string) => Promise<void>;
|
|
36
|
+
writeBatch: (namespace: string, commit: AppDataCacheCommit) => Promise<AppDataCacheCommitEvent | undefined>;
|
|
37
|
+
};
|
|
38
|
+
import type { RepositoryJsonValue } from './repositories/repository-mutation.js';
|
|
39
|
+
//# sourceMappingURL=app-data.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-data.d.ts","sourceRoot":"","sources":["../src/app-data.js"],"names":[],"mappings":";cAKc,MAAM;aACN,MAAM;eACN,OAAO,GAAG,OAAO,GAAG,SAAS,GAAG,aAAa;SAC7C,MAAM;eACN,MAAM;cACN,MAAM;eACN,QAAQ,GAAG,SAAS;WACpB,mBAAmB;;;SAInB,MAAM;cACN,MAAM;WACN,mBAAmB;;;YAInB,MAAM;eACN,MAAM;cACN,MAAM;UACN,SAAS,iBAAiB,EAAE;;;;;;;iBAK5B,SAAS,MAAM,EAAE;YACjB,MAAM;eACN,MAAM;eACN,MAAM;cACN,MAAM;;;UAIN,CAAC,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,kBAAkB,GAAG,SAAS,CAAC;WAC3E,CAAC,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,mBAAmB,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC;gBAChH,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,kBAAkB,KAAK,OAAO,CAAC,uBAAuB,GAAG,SAAS,CAAC;;yCAvCpE,uCAAuC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Which UI this browser should land on at the node's root.
|
|
3
|
+
*
|
|
4
|
+
* The node backend serves both the Client Node PWA (at `/`) and the legacy `system/ui` SPA
|
|
5
|
+
* (at `/v1/`). `"pwa"` is the default and is represented by the ABSENCE of any stored value,
|
|
6
|
+
* so a browser that has never chosen carries no state at all.
|
|
7
|
+
*/
|
|
8
|
+
export type ClientUiChoice = "pwa" | "v1";
|
|
9
|
+
/**
|
|
10
|
+
* Read and change the per-browser UI choice.
|
|
11
|
+
*
|
|
12
|
+
* A port rather than direct storage access because `client/ui` may not touch browser globals
|
|
13
|
+
* (boundary rules B2/B3/N1) — same seam and same reason as `ThemeEnvironmentPort`. `select`
|
|
14
|
+
* both persists the choice and navigates, because the two are one user-visible action and
|
|
15
|
+
* splitting them would let a caller leave the preference and the current document
|
|
16
|
+
* disagreeing.
|
|
17
|
+
*/
|
|
18
|
+
export type ClientUiPreferencePort = {
|
|
19
|
+
read: () => ClientUiChoice;
|
|
20
|
+
select: (choice: ClientUiChoice) => void;
|
|
21
|
+
visit: (choice: ClientUiChoice) => void;
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=client-ui-preference.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client-ui-preference.d.ts","sourceRoot":"","sources":["../src/client-ui-preference.js"],"names":[],"mappings":";;;;;;;6BAQa,KAAK,GAAG,IAAI;;;;;;;;;;;UAWX,MAAM,cAAc;YACpB,CAAC,MAAM,EAAE,cAAc,KAAK,IAAI;WAChC,CAAC,MAAM,EAAE,cAAc,KAAK,IAAI"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Boundary port for reading the OS text clipboard, backing the invitation screen's "Paste"
|
|
3
|
+
* button (`shell/onboarding/screens/identify-invitation.ts`'s `#pasteInto`).
|
|
4
|
+
*
|
|
5
|
+
* `client/ui` may never call `navigator.clipboard` directly (boundary rules B2/B3,
|
|
6
|
+
* `client/scripts/check-boundaries.mjs`) — this is the narrow surface
|
|
7
|
+
* `client/adapters-web`'s `createBrowserClipboard()` implements against the real global, and
|
|
8
|
+
* the composition root (`system/pwa/src/main.ts`) registers it (via `client/ui`'s
|
|
9
|
+
* `configureClipboard`) before the shell's first paint, mirroring `MediaPreferencesPort`'s
|
|
10
|
+
* registration exactly.
|
|
11
|
+
*
|
|
12
|
+
* Deliberately NOT mediated through `@econ-v1/rpc`/the kernel, for the same reason
|
|
13
|
+
* `MediaPreferencesPort` isn't: the clipboard is browser I/O, not kernel-owned domain
|
|
14
|
+
* state — there is nothing for the kernel to know about a value that never leaves this tab
|
|
15
|
+
* and is never persisted, and routing a paste through a `query`/`liveQuery` round trip
|
|
16
|
+
* would only add latency to a synchronous user gesture (the Paste button click) for no
|
|
17
|
+
* benefit. Also deliberately a separate port from `MediaPreferencesPort` rather than folded
|
|
18
|
+
* into it: that port models synchronous, side-effect-free one-shot reads taken during
|
|
19
|
+
* `connectedCallback`/`mount`; this one models a single asynchronous, fallible operation
|
|
20
|
+
* triggered by an explicit user action (a button click), with a completely different shape.
|
|
21
|
+
*
|
|
22
|
+
* `readText()` resolves to `undefined`, never a rejected promise, on ANY failure —
|
|
23
|
+
* permission denied, an environment without Clipboard API support, or the user dismissing
|
|
24
|
+
* the browser's own permission prompt all collapse into the same "nothing to paste"
|
|
25
|
+
* outcome. This is a deliberate sentinel, not an exception: the call site (`#pasteInto`)
|
|
26
|
+
* must fail silently by design (today's behavior, preserved exactly here) — a
|
|
27
|
+
* `Promise<string>` that can reject would force every caller to wrap the call in
|
|
28
|
+
* try/catch just to reproduce that silence, and a forgotten catch would surface a raw
|
|
29
|
+
* clipboard permission error as an unhandled rejection instead. The adapter is the only
|
|
30
|
+
* place that ever sees the real rejection reason; everything past it just sees "got text"
|
|
31
|
+
* or "didn't."
|
|
32
|
+
*
|
|
33
|
+
* The clipboard text itself must never be retained, cached, or logged by this port, its
|
|
34
|
+
* adapter, or any caller — it is a secret in the invitation-code call site (see
|
|
35
|
+
* `identify-invitation.ts`'s own security note) and must flow straight from the browser API
|
|
36
|
+
* into the caller's live `<input>.value`, nowhere else.
|
|
37
|
+
*/
|
|
38
|
+
export type ClipboardPort = {
|
|
39
|
+
readText: () => Promise<string | undefined>;
|
|
40
|
+
};
|
|
41
|
+
//# sourceMappingURL=clipboard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clipboard.d.ts","sourceRoot":"","sources":["../src/clipboard.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAuCc,MAAM,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC"}
|
package/dist/clock.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type ClockWake = {
|
|
2
2
|
cancel(): void;
|
|
3
|
-
}
|
|
4
|
-
export
|
|
5
|
-
now()
|
|
6
|
-
wakeAt(dueAt: string, wake: () => void)
|
|
7
|
-
}
|
|
8
|
-
export
|
|
3
|
+
};
|
|
4
|
+
export type ClockPort = {
|
|
5
|
+
now: () => string;
|
|
6
|
+
wakeAt: (dueAt: string, wake: () => void) => ClockWake;
|
|
7
|
+
};
|
|
8
|
+
export type DelayPort = {
|
|
9
9
|
wait(milliseconds: number): Promise<void>;
|
|
10
|
-
}
|
|
10
|
+
};
|
|
11
11
|
//# sourceMappingURL=clock.d.ts.map
|
package/dist/clock.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clock.d.ts","sourceRoot":"","sources":["../src/clock.
|
|
1
|
+
{"version":3,"file":"clock.d.ts","sourceRoot":"","sources":["../src/clock.js"],"names":[],"mappings":"wBAEc;IAAE,MAAM,IAAI,IAAI,CAAA;CAAE;;SAIlB,MAAM,MAAM;YACZ,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,IAAI,KAAK,SAAS;;wBAG9C;IAAE,IAAI,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CAAE"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
export type CredentialHandoffCancellationReason = "cancelled" | "peer-closed" | "timed-out";
|
|
2
|
+
export type CredentialHandoffMessage = {
|
|
3
|
+
readonly version: 1;
|
|
4
|
+
readonly type: "classic-pending";
|
|
5
|
+
readonly transactionId: string;
|
|
6
|
+
readonly deviceId: string;
|
|
7
|
+
readonly operationHash: string;
|
|
8
|
+
} | {
|
|
9
|
+
readonly version: 1;
|
|
10
|
+
readonly type: "classic-ready";
|
|
11
|
+
readonly transactionId: string;
|
|
12
|
+
} | {
|
|
13
|
+
readonly version: 1;
|
|
14
|
+
readonly type: "pwa-owner-key";
|
|
15
|
+
readonly transactionId: string;
|
|
16
|
+
readonly ownerPublicKey: string;
|
|
17
|
+
} | {
|
|
18
|
+
readonly version: 1;
|
|
19
|
+
readonly type: "pwa-migration-challenge";
|
|
20
|
+
readonly transactionId: string;
|
|
21
|
+
readonly challenge: string;
|
|
22
|
+
} | {
|
|
23
|
+
readonly version: 1;
|
|
24
|
+
readonly type: "pwa-owner-signature";
|
|
25
|
+
readonly transactionId: string;
|
|
26
|
+
readonly signature: string;
|
|
27
|
+
} | {
|
|
28
|
+
readonly version: 1;
|
|
29
|
+
readonly type: "handoff-cancelled";
|
|
30
|
+
readonly transactionId: string;
|
|
31
|
+
readonly reason: CredentialHandoffCancellationReason;
|
|
32
|
+
};
|
|
33
|
+
export type CredentialHandoffOpenResult = {
|
|
34
|
+
readonly status: "opened";
|
|
35
|
+
readonly connection: CredentialHandoffConnection;
|
|
36
|
+
} | {
|
|
37
|
+
readonly status: "popup-blocked";
|
|
38
|
+
};
|
|
39
|
+
export type CredentialHandoffConnection = {
|
|
40
|
+
transactionId: string;
|
|
41
|
+
close: () => void;
|
|
42
|
+
focusPeer: () => void;
|
|
43
|
+
send: (message: CredentialHandoffMessage) => void;
|
|
44
|
+
subscribe: (listener: (message: CredentialHandoffMessage) => void) => () => void;
|
|
45
|
+
};
|
|
46
|
+
export type CredentialHandoffPort = {
|
|
47
|
+
openClassicPairing: () => CredentialHandoffOpenResult;
|
|
48
|
+
connectToClassicOpener: (transactionId: string) => CredentialHandoffConnection | undefined;
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* Owns the bounded pre-adapter browser message capture for one handoff transaction.
|
|
52
|
+
*/
|
|
53
|
+
export type CredentialHandoffMessageCapturePort = {
|
|
54
|
+
close: () => void;
|
|
55
|
+
replay: () => void;
|
|
56
|
+
};
|
|
57
|
+
//# sourceMappingURL=credential-handoff.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"credential-handoff.d.ts","sourceRoot":"","sources":["../src/credential-handoff.js"],"names":[],"mappings":"kDAGe,WAAW,GACnB,aAAa,GACb,WAAW;uCAGH;IACd,QAAgB,CAAC,OAAO,EAAE,CAAC,CAAC;IAC5B,QAAgB,CAAC,IAAI,EAAE,iBAAiB,CAAC;IACzC,QAAgB,CAAC,aAAa,EAAE,MAAM,CAAC;IACvC,QAAgB,CAAC,QAAQ,EAAE,MAAM,CAAC;IAClC,QAAgB,CAAC,aAAa,EAAE,MAAM,CAAC;CAChC,GACD;IACN,QAAgB,CAAC,OAAO,EAAE,CAAC,CAAC;IAC5B,QAAgB,CAAC,IAAI,EAAE,eAAe,CAAC;IACvC,QAAgB,CAAC,aAAa,EAAE,MAAM,CAAC;CAChC,GACD;IACN,QAAgB,CAAC,OAAO,EAAE,CAAC,CAAC;IAC5B,QAAgB,CAAC,IAAI,EAAE,eAAe,CAAC;IACvC,QAAgB,CAAC,aAAa,EAAE,MAAM,CAAC;IACvC,QAAgB,CAAC,cAAc,EAAE,MAAM,CAAC;CACjC,GACD;IACN,QAAgB,CAAC,OAAO,EAAE,CAAC,CAAC;IAC5B,QAAgB,CAAC,IAAI,EAAE,yBAAyB,CAAC;IACjD,QAAgB,CAAC,aAAa,EAAE,MAAM,CAAC;IACvC,QAAgB,CAAC,SAAS,EAAE,MAAM,CAAC;CAC5B,GACD;IACN,QAAgB,CAAC,OAAO,EAAE,CAAC,CAAC;IAC5B,QAAgB,CAAC,IAAI,EAAE,qBAAqB,CAAC;IAC7C,QAAgB,CAAC,aAAa,EAAE,MAAM,CAAC;IACvC,QAAgB,CAAC,SAAS,EAAE,MAAM,CAAC;CAC5B,GACD;IACN,QAAgB,CAAC,OAAO,EAAE,CAAC,CAAC;IAC5B,QAAgB,CAAC,IAAI,EAAE,mBAAmB,CAAC;IAC3C,QAAgB,CAAC,aAAa,EAAE,MAAM,CAAC;IACvC,QAAgB,CAAC,MAAM,EAAE,mCAAmC,CAAC;CACtD;0CAGO;IAAE,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC;IAAC,QAAQ,CAAC,UAAU,EAAE,2BAA2B,CAAA;CAAE,GACvF;IAAE,QAAQ,CAAC,MAAM,EAAE,eAAe,CAAA;CAAE;;mBAI7B,MAAM;WACN,MAAM,IAAI;eACV,MAAM,IAAI;UACV,CAAC,OAAO,EAAE,wBAAwB,KAAK,IAAI;eAC3C,CAAC,QAAQ,EAAE,CAAC,OAAO,EAAE,wBAAwB,KAAK,IAAI,KAAK,MAAM,IAAI;;;wBAIrE,MAAM,2BAA2B;4BACjC,CAAC,aAAa,EAAE,MAAM,KAAK,2BAA2B,GAAG,SAAS;;;;;;WAKlE,MAAM,IAAI;YACV,MAAM,IAAI"}
|
package/dist/crypto.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export
|
|
2
|
-
digestSha256(input: Uint8Array)
|
|
3
|
-
verifyEd25519(input: Uint8Array, signature: Uint8Array, publicKey: Uint8Array)
|
|
4
|
-
}
|
|
1
|
+
export type CryptoPort = {
|
|
2
|
+
digestSha256: (input: Uint8Array) => Promise<string>;
|
|
3
|
+
verifyEd25519: (input: Uint8Array, signature: Uint8Array, publicKey: Uint8Array) => Promise<boolean>;
|
|
4
|
+
};
|
|
5
5
|
//# sourceMappingURL=crypto.d.ts.map
|
package/dist/crypto.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"crypto.d.ts","sourceRoot":"","sources":["../src/crypto.
|
|
1
|
+
{"version":3,"file":"crypto.d.ts","sourceRoot":"","sources":["../src/crypto.js"],"names":[],"mappings":";kBAIc,CAAC,KAAK,EAAE,UAAU,KAAK,OAAO,CAAC,MAAM,CAAC;mBACtC,CAAC,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,KAAK,OAAO,CAAC,OAAO,CAAC"}
|
package/dist/id.d.ts
CHANGED
package/dist/id.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"id.d.ts","sourceRoot":"","sources":["../src/id.
|
|
1
|
+
{"version":3,"file":"id.d.ts","sourceRoot":"","sources":["../src/id.js"],"names":[],"mappings":"qBAEc;IAAE,QAAQ,IAAI,MAAM,CAAA;CAAE"}
|
package/dist/identity.d.ts
CHANGED
|
@@ -1,46 +1,52 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type OfflineIdentityScope = import("./offline-readiness.js").OfflineIdentityScope;
|
|
2
|
+
export type DeviceKeyHandle = {
|
|
2
3
|
readonly id: string;
|
|
3
|
-
}
|
|
4
|
+
};
|
|
4
5
|
export type KeyCustodyMode = "non-extractable" | "wrapped";
|
|
5
|
-
export
|
|
6
|
+
export type DevicePublicIdentity = {
|
|
6
7
|
readonly custodyMode: KeyCustodyMode;
|
|
7
8
|
readonly did: string;
|
|
8
9
|
readonly nodeId: string;
|
|
9
10
|
readonly publicKeyMultibase: string;
|
|
10
|
-
}
|
|
11
|
-
export
|
|
11
|
+
};
|
|
12
|
+
export type DeviceDelegation = {
|
|
12
13
|
readonly credential: string;
|
|
13
14
|
readonly expiresAt: string;
|
|
14
15
|
readonly issuedAt: string;
|
|
15
16
|
readonly revocationId: string;
|
|
16
17
|
readonly scopes: readonly string[];
|
|
17
|
-
}
|
|
18
|
-
export
|
|
18
|
+
};
|
|
19
|
+
export type DeviceConnectionMetadata = {
|
|
19
20
|
readonly directAddresses: readonly string[];
|
|
20
21
|
readonly homeNodeId?: string;
|
|
21
22
|
readonly lastConnectedAt?: string;
|
|
22
23
|
readonly relayUrl?: string;
|
|
23
24
|
readonly wanOrigin?: string;
|
|
24
|
-
}
|
|
25
|
-
export
|
|
25
|
+
};
|
|
26
|
+
export type DeviceIdentity = DevicePublicIdentity & {
|
|
26
27
|
readonly keyHandle: DeviceKeyHandle;
|
|
27
|
-
}
|
|
28
|
-
export
|
|
28
|
+
};
|
|
29
|
+
export type IdentityDiagnostics = {
|
|
29
30
|
readonly custodyMode?: KeyCustodyMode;
|
|
30
31
|
readonly hasDelegation: boolean;
|
|
31
32
|
readonly keyId?: string;
|
|
32
|
-
}
|
|
33
|
-
export
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
33
|
+
};
|
|
34
|
+
export type IdentityLifecycle = "active" | "revoked";
|
|
35
|
+
export type IdentityPort = {
|
|
36
|
+
generate: () => Promise<DeviceIdentity>;
|
|
37
|
+
sign: (keyHandle: DeviceKeyHandle, payload: Uint8Array) => Promise<Uint8Array>;
|
|
38
|
+
publicIdentity: () => Promise<DevicePublicIdentity | undefined>;
|
|
39
|
+
readOfflineScope: () => Promise<OfflineIdentityScope | undefined>;
|
|
40
|
+
loadDelegation: () => Promise<DeviceDelegation | undefined>;
|
|
41
|
+
storeDelegation: (delegation: DeviceDelegation) => Promise<void>;
|
|
42
|
+
loadConnectionMetadata: () => Promise<DeviceConnectionMetadata | undefined>;
|
|
43
|
+
storeConnectionMetadata: (metadata: DeviceConnectionMetadata) => Promise<void>;
|
|
44
|
+
clearDelegation: () => Promise<void>;
|
|
45
|
+
clear: () => Promise<void>;
|
|
46
|
+
recoverAfterRevocation: () => Promise<DeviceIdentity>;
|
|
47
|
+
diagnostics: () => Promise<IdentityDiagnostics>;
|
|
48
|
+
loadLifecycle?: () => Promise<IdentityLifecycle | undefined>;
|
|
49
|
+
loadPairingAttemptName?: () => Promise<string | undefined>;
|
|
50
|
+
storePairingAttemptName?: (name: string) => Promise<void>;
|
|
51
|
+
};
|
|
46
52
|
//# sourceMappingURL=identity.d.ts.map
|
package/dist/identity.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identity.d.ts","sourceRoot":"","sources":["../src/identity.
|
|
1
|
+
{"version":3,"file":"identity.d.ts","sourceRoot":"","sources":["../src/identity.js"],"names":[],"mappings":"mCAEc,OAAO,wBAAwB,EAAE,oBAAoB;8BAErD;IAAE,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAA;CAAE;6BACvB,iBAAiB,GAAG,SAAS;mCAC7B;IAAE,QAAQ,CAAC,WAAW,EAAE,cAAc,CAAC;IAAC,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,kBAAkB,EAAE,MAAM,CAAA;CAAE;+BAC5H;IAAE,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAA;CAAE;uCACzJ;IAAE,QAAQ,CAAC,eAAe,EAAE,SAAS,MAAM,EAAE,CAAC;IAAC,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE;6BACzK,oBAAoB,GAAG;IAAE,QAAQ,CAAC,SAAS,EAAE,eAAe,CAAA;CAAE;kCAC9D;IAAE,QAAQ,CAAC,WAAW,CAAC,EAAE,cAAc,CAAC;IAAC,QAAQ,CAAC,aAAa,EAAE,OAAO,CAAC;IAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE;gCACnG,QAAQ,GAAG,SAAS;;cAIpB,MAAM,OAAO,CAAC,cAAc,CAAC;UAC7B,CAAC,SAAS,EAAE,eAAe,EAAE,OAAO,EAAE,UAAU,KAAK,OAAO,CAAC,UAAU,CAAC;oBACxE,MAAM,OAAO,CAAC,oBAAoB,GAAG,SAAS,CAAC;sBAC/C,MAAM,OAAO,CAAC,oBAAoB,GAAG,SAAS,CAAC;oBAC/C,MAAM,OAAO,CAAC,gBAAgB,GAAG,SAAS,CAAC;qBAC3C,CAAC,UAAU,EAAE,gBAAgB,KAAK,OAAO,CAAC,IAAI,CAAC;4BAC/C,MAAM,OAAO,CAAC,wBAAwB,GAAG,SAAS,CAAC;6BACnD,CAAC,QAAQ,EAAE,wBAAwB,KAAK,OAAO,CAAC,IAAI,CAAC;qBACrD,MAAM,OAAO,CAAC,IAAI,CAAC;WACnB,MAAM,OAAO,CAAC,IAAI,CAAC;4BACnB,MAAM,OAAO,CAAC,cAAc,CAAC;iBAC7B,MAAM,OAAO,CAAC,mBAAmB,CAAC;oBAClC,MAAM,OAAO,CAAC,iBAAiB,GAAG,SAAS,CAAC;6BAC5C,MAAM,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC;8BACjC,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,33 +1,229 @@
|
|
|
1
|
-
export type { ClockPort, ClockWake, DelayPort } from "./clock.js";
|
|
2
|
-
export type { CryptoPort } from "./crypto.js";
|
|
3
|
-
export type { IdPort } from "./id.js";
|
|
4
|
-
export type { DeviceConnectionMetadata, DeviceDelegation, DeviceIdentity, DeviceKeyHandle, DevicePublicIdentity, IdentityDiagnostics, IdentityPort, KeyCustodyMode, } from "./identity.js";
|
|
5
|
-
export { createNullInstallEnvironment, } from "./install-environment.js";
|
|
6
|
-
export type { InstallEnvironmentPort, InstallInstructionMode, } from "./install-environment.js";
|
|
7
|
-
export type { DeltaRequest, CancellationSignal, DirectHomeNodeCandidate, DirectTransportPath, HomeNodeClient, HttpHomeNodeCandidate, HttpTransportPath, HomeNodeRequest, PeerTransportPort, TransportPath, TransportState, WebTransportCertificateHashes, WebTransportHomeNodeCandidate, } from "./network.js";
|
|
8
|
-
export type { HomeNodeCandidate, HomeNodeDialer } from "./network/home-node-candidate.js";
|
|
9
|
-
export { DEFAULT_CLIENT_NODE_ORIGIN } from "./network/client-node-origin.js";
|
|
10
|
-
export type { HomeNodeCandidateStorePort, StoredHomeNodeCandidate, } from "./network/home-node-candidate-store.js";
|
|
11
|
-
export type { L402PaymentChallenge, L402PaymentHandler, L402PaymentResult } from "./network/l402-payment.js";
|
|
12
|
-
export type { NodeAddressDiscoverer, NodeDiscoveryCandidate, NodeDiscoveryResult, } from "./network/node-discovery.js";
|
|
13
|
-
export { MAX_CLOSE_REASON_BYTES, MAX_DTLS_FINGERPRINT_BYTES, MAX_ICE_CANDIDATE_BYTES, MAX_ICE_CANDIDATES_PER_OFFER, MAX_OFFER_NONCE_BYTES, MAX_SDP_BYTES, MAX_SDP_MID_BYTES, MAX_WEBRTC_SIGNAL_MESSAGE_BYTES, MIN_OFFER_NONCE_BYTES, WEBRTC_SIGNAL_VERSION, } from "./network/webrtc-signaling.js";
|
|
14
|
-
export type { WebRtcAnswer, WebRtcClose, WebRtcIceCandidate, WebRtcOffer, WebRtcRestart, WebRtcSignalMessage, WebRtcSignalSetup, WebRtcSignalingPort, } from "./network/webrtc-signaling.js";
|
|
15
|
-
export type { PreparedStageAsset, StageAssetPort, StageCatalogEntry, StageManifest, StageUiKind, StageUiMetadata, StageUiNav, StageRegistryPort, StageRegistrySnapshot, } from "./repositories.js";
|
|
16
1
|
export { CONVERSATION_MESSAGE_STATES } from "./repositories/conversation-repository.js";
|
|
17
|
-
export
|
|
18
|
-
export
|
|
2
|
+
export { createNullInstallEnvironment } from "./install-environment.js";
|
|
3
|
+
export { createNullLcdTreeSource } from "./lcd-tree-source.js";
|
|
4
|
+
export { createNullOnboardingPresence } from "./onboarding-presence.js";
|
|
5
|
+
export { createNullOwnerClaimSession } from "./owner-claim-session.js";
|
|
6
|
+
export { CAPABILITY_INVOKE_OPERATION } from "./network.js";
|
|
7
|
+
export { DEFAULT_CLIENT_NODE_ORIGIN } from "./network/client-node-origin.js";
|
|
19
8
|
export { OutboxIdempotencyConflictError } from "./repositories/outbox.js";
|
|
20
|
-
export
|
|
21
|
-
export type
|
|
22
|
-
export type
|
|
23
|
-
export type
|
|
24
|
-
export
|
|
25
|
-
export type
|
|
26
|
-
export
|
|
27
|
-
export type
|
|
28
|
-
export type
|
|
29
|
-
export type
|
|
30
|
-
export type
|
|
31
|
-
export
|
|
32
|
-
export type
|
|
9
|
+
export { REVISIONED_REPOSITORY_DOMAINS } from "./repositories/revisioned-repository.js";
|
|
10
|
+
export type ClockPort = import("./clock.js").ClockPort;
|
|
11
|
+
export type ClockWake = import("./clock.js").ClockWake;
|
|
12
|
+
export type DelayPort = import("./clock.js").DelayPort;
|
|
13
|
+
export type AppDataCacheCommit = import("./app-data.js").AppDataCacheCommit;
|
|
14
|
+
export type AppDataCacheCommitEvent = import("./app-data.js").AppDataCacheCommitEvent;
|
|
15
|
+
export type AppDataCacheRecord = import("./app-data.js").AppDataCacheRecord;
|
|
16
|
+
export type AppDataCacheRepository = import("./app-data.js").AppDataCacheRepository;
|
|
17
|
+
export type AppDataCacheWrite = import("./app-data.js").AppDataCacheWrite;
|
|
18
|
+
export type ClientUiChoice = import("./client-ui-preference.js").ClientUiChoice;
|
|
19
|
+
export type ClientUiPreferencePort = import("./client-ui-preference.js").ClientUiPreferencePort;
|
|
20
|
+
export type ClipboardPort = import("./clipboard.js").ClipboardPort;
|
|
21
|
+
export type CredentialHandoffCancellationReason = import("./credential-handoff.js").CredentialHandoffCancellationReason;
|
|
22
|
+
export type CredentialHandoffConnection = import("./credential-handoff.js").CredentialHandoffConnection;
|
|
23
|
+
export type CredentialHandoffMessage = import("./credential-handoff.js").CredentialHandoffMessage;
|
|
24
|
+
export type CredentialHandoffMessageCapturePort = import("./credential-handoff.js").CredentialHandoffMessageCapturePort;
|
|
25
|
+
export type CredentialHandoffOpenResult = import("./credential-handoff.js").CredentialHandoffOpenResult;
|
|
26
|
+
export type CredentialHandoffPort = import("./credential-handoff.js").CredentialHandoffPort;
|
|
27
|
+
export type CryptoPort = import("./crypto.js").CryptoPort;
|
|
28
|
+
export type IdPort = import("./id.js").IdPort;
|
|
29
|
+
export type DeviceConnectionMetadata = import("./identity.js").DeviceConnectionMetadata;
|
|
30
|
+
export type DeviceDelegation = import("./identity.js").DeviceDelegation;
|
|
31
|
+
export type DeviceIdentity = import("./identity.js").DeviceIdentity;
|
|
32
|
+
export type DeviceKeyHandle = import("./identity.js").DeviceKeyHandle;
|
|
33
|
+
export type DevicePublicIdentity = import("./identity.js").DevicePublicIdentity;
|
|
34
|
+
export type IdentityDiagnostics = import("./identity.js").IdentityDiagnostics;
|
|
35
|
+
export type IdentityLifecycle = import("./identity.js").IdentityLifecycle;
|
|
36
|
+
export type IdentityPort = import("./identity.js").IdentityPort;
|
|
37
|
+
export type KeyCustodyMode = import("./identity.js").KeyCustodyMode;
|
|
38
|
+
export type InstallEnvironmentPort = import("./install-environment.js").InstallEnvironmentPort;
|
|
39
|
+
export type InstallInstructionMode = import("./install-environment.js").InstallInstructionMode;
|
|
40
|
+
export type DeltaRequest = import("./network.js").DeltaRequest;
|
|
41
|
+
export type AppEventEnvelope = import("./network.js").AppEventEnvelope;
|
|
42
|
+
export type AppEventSubscribeOptions = import("./network.js").AppEventSubscribeOptions;
|
|
43
|
+
export type AppEventSubscription = import("./network.js").AppEventSubscription;
|
|
44
|
+
export type CancellationSignal = import("./network.js").CancellationSignal;
|
|
45
|
+
export type DirectHomeNodeCandidate = import("./network.js").DirectHomeNodeCandidate;
|
|
46
|
+
export type DirectTransportPath = import("./network.js").DirectTransportPath;
|
|
47
|
+
export type HomeNodeClient = import("./network.js").HomeNodeClient;
|
|
48
|
+
export type HttpHomeNodeCandidate = import("./network.js").HttpHomeNodeCandidate;
|
|
49
|
+
export type HttpTransportPath = import("./network.js").HttpTransportPath;
|
|
50
|
+
export type HomeNodeRequest = import("./network.js").HomeNodeRequest;
|
|
51
|
+
export type PeerTransportPort = import("./network.js").PeerTransportPort;
|
|
52
|
+
export type TransportOfflineReason = import("./network.js").TransportOfflineReason;
|
|
53
|
+
export type TransportPath = import("./network.js").TransportPath;
|
|
54
|
+
export type TransportState = import("./network.js").TransportState;
|
|
55
|
+
export type WebTransportCertificateHashes = import("./network.js").WebTransportCertificateHashes;
|
|
56
|
+
export type WebTransportHomeNodeCandidate = import("./network.js").WebTransportHomeNodeCandidate;
|
|
57
|
+
export type HomeNodeCandidate = import("./network/home-node-candidate.js").HomeNodeCandidate;
|
|
58
|
+
export type HomeNodeDialer = import("./network/home-node-candidate.js").HomeNodeDialer;
|
|
59
|
+
export type HomeNodeCandidateStorePort = import("./network/home-node-candidate-store.js").HomeNodeCandidateStorePort;
|
|
60
|
+
export type StoredHomeNodeCandidate = import("./network/home-node-candidate-store.js").StoredHomeNodeCandidate;
|
|
61
|
+
export type L402PaymentChallenge = import("./network/l402-payment.js").L402PaymentChallenge;
|
|
62
|
+
export type L402PaymentHandler = import("./network/l402-payment.js").L402PaymentHandler;
|
|
63
|
+
export type L402PaymentResult = import("./network/l402-payment.js").L402PaymentResult;
|
|
64
|
+
export type NodeAddressDiscoverer = import("./network/node-discovery.js").NodeAddressDiscoverer;
|
|
65
|
+
export type NodeDiscoveryCandidate = import("./network/node-discovery.js").NodeDiscoveryCandidate;
|
|
66
|
+
export type NodeDiscoveryResult = import("./network/node-discovery.js").NodeDiscoveryResult;
|
|
67
|
+
export type WebRtcAnswer = import("./network/webrtc-signaling.js").WebRtcAnswer;
|
|
68
|
+
export type WebRtcClose = import("./network/webrtc-signaling.js").WebRtcClose;
|
|
69
|
+
export type WebRtcIceCandidate = import("./network/webrtc-signaling.js").WebRtcIceCandidate;
|
|
70
|
+
export type WebRtcOffer = import("./network/webrtc-signaling.js").WebRtcOffer;
|
|
71
|
+
export type WebRtcRestart = import("./network/webrtc-signaling.js").WebRtcRestart;
|
|
72
|
+
export type WebRtcSignalMessage = import("./network/webrtc-signaling.js").WebRtcSignalMessage;
|
|
73
|
+
export type WebRtcSignalSetup = import("./network/webrtc-signaling.js").WebRtcSignalSetup;
|
|
74
|
+
export type WebRtcSignalingPort = import("./network/webrtc-signaling.js").WebRtcSignalingPort;
|
|
75
|
+
export type PreparedStageAsset = import("./repositories.js").PreparedStageAsset;
|
|
76
|
+
export type AppDataManifest = import("./repositories.js").AppDataManifest;
|
|
77
|
+
export type AppDataOfflinePolicy = import("./repositories.js").AppDataOfflinePolicy;
|
|
78
|
+
export type AppDataQueryDeclaration = import("./repositories.js").AppDataQueryDeclaration;
|
|
79
|
+
export type AppDataQueryKind = import("./repositories.js").AppDataQueryKind;
|
|
80
|
+
export type AppDataStreamDeclaration = import("./repositories.js").AppDataStreamDeclaration;
|
|
81
|
+
export type AppDataStreamKind = import("./repositories.js").AppDataStreamKind;
|
|
82
|
+
export type AppDataSyncKind = import("./repositories.js").AppDataSyncKind;
|
|
83
|
+
export type AppDataSyncPolicy = import("./repositories.js").AppDataSyncPolicy;
|
|
84
|
+
export type StageAssetPort = import("./repositories.js").StageAssetPort;
|
|
85
|
+
export type StageCatalogEntry = import("./repositories.js").StageCatalogEntry;
|
|
86
|
+
export type StageManifest = import("./repositories.js").StageManifest;
|
|
87
|
+
export type StageUiKind = import("./repositories.js").StageUiKind;
|
|
88
|
+
export type StageUiMetadata = import("./repositories.js").StageUiMetadata;
|
|
89
|
+
export type StageUiNav = import("./repositories.js").StageUiNav;
|
|
90
|
+
export type StageUiRequirements = import("./repositories.js").StageUiRequirements;
|
|
91
|
+
export type StageRegistryPort = import("./repositories.js").StageRegistryPort;
|
|
92
|
+
export type StageRegistrySnapshot = import("./repositories.js").StageRegistrySnapshot;
|
|
93
|
+
export type Conversation = import("./repositories/conversation-repository.js").Conversation;
|
|
94
|
+
export type ConversationListParams = import("./repositories/conversation-repository.js").ConversationListParams;
|
|
95
|
+
export type ConversationLogDelta = import("./repositories/conversation-repository.js").ConversationLogDelta;
|
|
96
|
+
export type ConversationMessage = import("./repositories/conversation-repository.js").ConversationMessage;
|
|
97
|
+
export type ConversationMessageState = import("./repositories/conversation-repository.js").ConversationMessageState;
|
|
98
|
+
export type ConversationRepository = import("./repositories/conversation-repository.js").ConversationRepository;
|
|
99
|
+
export type ConversationRepositoryEvent = import("./repositories/conversation-repository.js").ConversationRepositoryEvent;
|
|
100
|
+
export type MessageListParams = import("./repositories/conversation-repository.js").MessageListParams;
|
|
101
|
+
export type Notification = import("./repositories/conversation-repository.js").Notification;
|
|
102
|
+
export type NotificationListParams = import("./repositories/conversation-repository.js").NotificationListParams;
|
|
103
|
+
export type NotificationRepository = import("./repositories/conversation-repository.js").NotificationRepository;
|
|
104
|
+
export type NotificationRepositoryEvent = import("./repositories/conversation-repository.js").NotificationRepositoryEvent;
|
|
105
|
+
export type RepositoryEvent = import("./repositories/conversation-repository.js").RepositoryEvent;
|
|
106
|
+
export type DurableEvent = import("./repositories/durable-event.js").DurableEvent;
|
|
107
|
+
export type DurableRepositoryEvent<TEvent extends DurableEvent = import("./repositories/durable-event.js").DurableEvent> = import("./repositories/durable-event.js").DurableRepositoryEvent<TEvent>;
|
|
108
|
+
export type DurableRepositoryEventStore<TEvent extends DurableEvent = import("./repositories/durable-event.js").DurableEvent> = import("./repositories/durable-event.js").DurableRepositoryEventStore<TEvent>;
|
|
109
|
+
export type RepositoryWriteResult<TEvent extends DurableEvent = import("./repositories/durable-event.js").DurableEvent> = import("./repositories/durable-event.js").RepositoryWriteResult<TEvent>;
|
|
110
|
+
export type OutboxDeletedEvent = import("./repositories/outbox.js").OutboxDeletedEvent;
|
|
111
|
+
export type OutboxRecord = import("./repositories/outbox.js").OutboxRecord;
|
|
112
|
+
export type OutboxRecordState = import("./repositories/outbox.js").OutboxRecordState;
|
|
113
|
+
export type OutboxReplayClaim = import("./repositories/outbox.js").OutboxReplayClaim;
|
|
114
|
+
export type OutboxReplayStatus = import("./repositories/outbox.js").OutboxReplayStatus;
|
|
115
|
+
export type OutboxRepository = import("./repositories/outbox.js").OutboxRepository;
|
|
116
|
+
export type OutboxRepositoryEvent = import("./repositories/outbox.js").OutboxRepositoryEvent;
|
|
117
|
+
export type OutboxRepositoryFilter = import("./repositories/outbox.js").OutboxRepositoryFilter;
|
|
118
|
+
export type OutboxSettleInput = import("./repositories/outbox.js").OutboxSettleInput;
|
|
119
|
+
export type OutboxStateChangedEvent = import("./repositories/outbox.js").OutboxStateChangedEvent;
|
|
120
|
+
export type RepositoryJsonPrimitive = import("./repositories/repository-mutation.js").RepositoryJsonPrimitive;
|
|
121
|
+
export type RepositoryJsonValue = import("./repositories/repository-mutation.js").RepositoryJsonValue;
|
|
122
|
+
export type SettingInput = import("./repositories/settings.js").SettingInput;
|
|
123
|
+
export type SettingRecord = import("./repositories/settings.js").SettingRecord;
|
|
124
|
+
export type SettingsRepository = import("./repositories/settings.js").SettingsRepository;
|
|
125
|
+
export type SettingsRepositoryEvent = import("./repositories/settings.js").SettingsRepositoryEvent;
|
|
126
|
+
export type SyncLedgerInput = import("./repositories/sync-ledger.js").SyncLedgerInput;
|
|
127
|
+
export type SyncLedgerRecord = import("./repositories/sync-ledger.js").SyncLedgerRecord;
|
|
128
|
+
export type SyncLedgerRepository = import("./repositories/sync-ledger.js").SyncLedgerRepository;
|
|
129
|
+
export type SyncLedgerRepositoryEvent = import("./repositories/sync-ledger.js").SyncLedgerRepositoryEvent;
|
|
130
|
+
export type SyncCursorDeletedEvent = import("./repositories/sync-ledger.js").SyncCursorDeletedEvent;
|
|
131
|
+
export type SyncDeltaAppliedEvent = import("./repositories/sync-ledger.js").SyncDeltaAppliedEvent;
|
|
132
|
+
export type AgentRepository = import("./repositories/revisioned-repository.js").AgentRepository;
|
|
133
|
+
export type GraphRepository = import("./repositories/revisioned-repository.js").GraphRepository;
|
|
134
|
+
export type RevisionCommand<TValue extends RepositoryJsonValue = import("./repositories/repository-mutation.js").RepositoryJsonValue> = import("./repositories/revisioned-repository.js").RevisionCommand<TValue>;
|
|
135
|
+
export type RevisionCommandResult<TValue extends RepositoryJsonValue = import("./repositories/repository-mutation.js").RepositoryJsonValue> = import("./repositories/revisioned-repository.js").RevisionCommandResult<TValue>;
|
|
136
|
+
export type RevisionedEntity<TValue extends RepositoryJsonValue = import("./repositories/repository-mutation.js").RepositoryJsonValue> = import("./repositories/revisioned-repository.js").RevisionedEntity<TValue>;
|
|
137
|
+
export type RevisionedRepository<TValue extends RepositoryJsonValue = import("./repositories/repository-mutation.js").RepositoryJsonValue> = import("./repositories/revisioned-repository.js").RevisionedRepository<TValue>;
|
|
138
|
+
export type RevisionedRepositoryDomain = import("./repositories/revisioned-repository.js").RevisionedRepositoryDomain;
|
|
139
|
+
export type RevisionedRepositoryEvent = import("./repositories/revisioned-repository.js").RevisionedRepositoryEvent;
|
|
140
|
+
export type RevisionedSettingsRepository = import("./repositories/revisioned-repository.js").RevisionedSettingsRepository;
|
|
141
|
+
export type WalletAuthoritativeSnapshot = import("./repositories/wallet-mirror-repository.js").WalletAuthoritativeSnapshot;
|
|
142
|
+
export type WalletCommandResult = import("./repositories/wallet-mirror-repository.js").WalletCommandResult;
|
|
143
|
+
export type WalletL402Receipt = import("./repositories/wallet-mirror-repository.js").WalletL402Receipt;
|
|
144
|
+
export type WalletMirrorRepository = import("./repositories/wallet-mirror-repository.js").WalletMirrorRepository;
|
|
145
|
+
export type WalletPaymentRecord = import("./repositories/wallet-mirror-repository.js").WalletPaymentRecord;
|
|
146
|
+
export type WalletSnapshotValue = import("./repositories/wallet-mirror-repository.js").WalletSnapshotValue;
|
|
147
|
+
export type MediaPreferencesPort = import("./media-preferences.js").MediaPreferencesPort;
|
|
148
|
+
export type ScheduledJob = import("./scheduler.js").ScheduledJob;
|
|
149
|
+
export type SchedulerPort = import("./scheduler.js").SchedulerPort;
|
|
150
|
+
export type ThemeEnvironmentPort = import("./theme.js").ThemeEnvironmentPort;
|
|
151
|
+
export type ThemePreference = import("./theme.js").ThemePreference;
|
|
152
|
+
export type EncryptedStorageDiagnostic = import("./storage.js").EncryptedStorageDiagnostic;
|
|
153
|
+
export type IdentityScopedStorageRepositoryPort = import("./storage.js").IdentityScopedStorageRepositoryPort;
|
|
154
|
+
export type StorageDatabasePort = import("./storage.js").StorageDatabasePort;
|
|
155
|
+
export type StoragePort = import("./storage.js").StoragePort;
|
|
156
|
+
export type StorageReadyState = import("./storage.js").StorageReadyState;
|
|
157
|
+
export type StorageRecoveryCode = import("./storage.js").StorageRecoveryCode;
|
|
158
|
+
export type StorageRecoveryRequiredState = import("./storage.js").StorageRecoveryRequiredState;
|
|
159
|
+
export type StorageRecoveryState = import("./storage.js").StorageRecoveryState;
|
|
160
|
+
export type StorageRepositoryEvent = import("./storage.js").StorageRepositoryEvent;
|
|
161
|
+
export type StorageRepositoryPort = import("./storage.js").StorageRepositoryPort;
|
|
162
|
+
export type StorageStartingState = import("./storage.js").StorageStartingState;
|
|
163
|
+
export type OfflineIdentityScope = import("./offline-readiness.js").OfflineIdentityScope;
|
|
164
|
+
export type OfflineProjectionRepository = import("./offline-readiness.js").OfflineProjectionRepository;
|
|
165
|
+
export type OfflineReadinessFailureCode = import("./offline-readiness.js").OfflineReadinessFailureCode;
|
|
166
|
+
export type OfflineStageReadiness = import("./offline-readiness.js").OfflineStageReadiness;
|
|
167
|
+
export type OfflineStageRepository = import("./offline-readiness.js").OfflineStageRepository;
|
|
168
|
+
export type OfflineStageState = import("./offline-readiness.js").OfflineStageState;
|
|
169
|
+
export type OfflineStorageEstimatePort = import("./offline-readiness.js").OfflineStorageEstimatePort;
|
|
170
|
+
export type StageAssetCandidate = import("./offline-readiness.js").StageAssetCandidate;
|
|
171
|
+
export type VerifiedStageAssetPort = import("./offline-readiness.js").VerifiedStageAssetPort;
|
|
172
|
+
export type LcdScreenStatePatch = import("./lcd-tree-source.js").LcdScreenStatePatch;
|
|
173
|
+
export type LcdTreeNode = import("./lcd-tree-source.js").LcdTreeNode;
|
|
174
|
+
export type LcdTreeOutcome = import("./lcd-tree-source.js").LcdTreeOutcome;
|
|
175
|
+
export type LcdTreeSourcePort = import("./lcd-tree-source.js").LcdTreeSourcePort;
|
|
176
|
+
export type LegacyCredentialProbePort = import("./legacy-credential.js").LegacyCredentialProbePort;
|
|
177
|
+
export type LegacyCredentialStatus = import("./legacy-credential.js").LegacyCredentialStatus;
|
|
178
|
+
export type CertificateTrustPlatform = import("./network/certificate-trust.js").CertificateTrustPlatform;
|
|
179
|
+
export type CertificateTrustProbePort = import("./network/certificate-trust.js").CertificateTrustProbePort;
|
|
180
|
+
export type CertificateTrustProbeResult = import("./network/certificate-trust.js").CertificateTrustProbeResult;
|
|
181
|
+
export type PlatformTrustPort = import("./network/certificate-trust.js").PlatformTrustPort;
|
|
182
|
+
export type OnboardingAccessCodeStore = import("./onboarding-access-code.js").OnboardingAccessCodeStore;
|
|
183
|
+
export type OnboardingCheckpointStoragePort = import("./onboarding-checkpoint.js").OnboardingCheckpointStoragePort;
|
|
184
|
+
export type OnboardingPresencePhase = import("./onboarding-presence.js").OnboardingPresencePhase;
|
|
185
|
+
export type OnboardingPresencePort = import("./onboarding-presence.js").OnboardingPresencePort;
|
|
186
|
+
export type OwnerClaimGenesisDevice = import("./owner-claim-session.js").OwnerClaimGenesisDevice;
|
|
187
|
+
export type OwnerClaimSessionPort = import("./owner-claim-session.js").OwnerClaimSessionPort;
|
|
188
|
+
export type OwnerClaimSessionTokens = import("./owner-claim-session.js").OwnerClaimSessionTokens;
|
|
189
|
+
export type OwnerClaimCryptoPort = import("./owner-claim.js").OwnerClaimCryptoPort;
|
|
190
|
+
export type NodeAppInstallSource = import("./repositories/node-app-memory-repository.js").NodeAppInstallSource;
|
|
191
|
+
export type NodeAppBudgetState = import("./repositories/node-app-memory-repository.js").NodeAppBudgetState;
|
|
192
|
+
export type NodeAppBudgetVerdict = import("./repositories/node-app-memory-repository.js").NodeAppBudgetVerdict;
|
|
193
|
+
export type NodeAppDeviceMemory = import("./repositories/node-app-memory-repository.js").NodeAppDeviceMemory;
|
|
194
|
+
export type NodeAppGovernorRow = import("./repositories/node-app-memory-repository.js").NodeAppGovernorRow;
|
|
195
|
+
export type NodeAppHeapObjectTypeCount = import("./repositories/node-app-memory-repository.js").NodeAppHeapObjectTypeCount;
|
|
196
|
+
export type NodeAppHeapSnapshot = import("./repositories/node-app-memory-repository.js").NodeAppHeapSnapshot;
|
|
197
|
+
export type NodeAppHeapSnapshotState = import("./repositories/node-app-memory-repository.js").NodeAppHeapSnapshotState;
|
|
198
|
+
export type NodeAppHeapSnapshotSummary = import("./repositories/node-app-memory-repository.js").NodeAppHeapSnapshotSummary;
|
|
199
|
+
export type NodeAppLaneKind = import("./repositories/node-app-memory-repository.js").NodeAppLaneKind;
|
|
200
|
+
export type NodeAppLifecycleMemoryObservation = import("./repositories/node-app-memory-repository.js").NodeAppLifecycleMemoryObservation;
|
|
201
|
+
export type NodeAppMemoryActivityRollup = import("./repositories/node-app-memory-repository.js").NodeAppMemoryActivityRollup;
|
|
202
|
+
export type NodeAppMemoryApp = import("./repositories/node-app-memory-repository.js").NodeAppMemoryApp;
|
|
203
|
+
export type NodeAppMemoryAttribution = import("./repositories/node-app-memory-repository.js").NodeAppMemoryAttribution;
|
|
204
|
+
export type NodeAppMemoryAvailability = import("./repositories/node-app-memory-repository.js").NodeAppMemoryAvailability;
|
|
205
|
+
export type NodeAppMemoryBudgetBasis = import("./repositories/node-app-memory-repository.js").NodeAppMemoryBudgetBasis;
|
|
206
|
+
export type NodeAppMemoryCapabilityCallCount = import("./repositories/node-app-memory-repository.js").NodeAppMemoryCapabilityCallCount;
|
|
207
|
+
export type NodeAppMemoryDownload = import("./repositories/node-app-memory-repository.js").NodeAppMemoryDownload;
|
|
208
|
+
export type NodeAppMemoryOverview = import("./repositories/node-app-memory-repository.js").NodeAppMemoryOverview;
|
|
209
|
+
export type NodeAppMemoryOverviewApp = import("./repositories/node-app-memory-repository.js").NodeAppMemoryOverviewApp;
|
|
210
|
+
export type NodeAppMemoryReading = import("./repositories/node-app-memory-repository.js").NodeAppMemoryReading;
|
|
211
|
+
export type NodeAppMemoryRepository = import("./repositories/node-app-memory-repository.js").NodeAppMemoryRepository;
|
|
212
|
+
export type NodeAppMemorySnapshot = import("./repositories/node-app-memory-repository.js").NodeAppMemorySnapshot;
|
|
213
|
+
export type NodeAppMemorySource = import("./repositories/node-app-memory-repository.js").NodeAppMemorySource;
|
|
214
|
+
export type NodeAppMemoryTrend = import("./repositories/node-app-memory-repository.js").NodeAppMemoryTrend;
|
|
215
|
+
export type NodeAppMemoryTrendVerdict = import("./repositories/node-app-memory-repository.js").NodeAppMemoryTrendVerdict;
|
|
216
|
+
export type NodeAppMemoryUnavailableReason = import("./repositories/node-app-memory-repository.js").NodeAppMemoryUnavailableReason;
|
|
217
|
+
export type NodeAppPressureState = import("./repositories/node-app-memory-repository.js").NodeAppPressureState;
|
|
218
|
+
export type NodeAppRuntimeMode = import("./repositories/node-app-memory-repository.js").NodeAppRuntimeMode;
|
|
219
|
+
export type NodeAppStatus = import("./repositories/node-app-memory-repository.js").NodeAppStatus;
|
|
220
|
+
export type NodeAppTerminationReason = import("./repositories/node-app-memory-repository.js").NodeAppTerminationReason;
|
|
221
|
+
export type NodeAppType = import("./repositories/node-app-memory-repository.js").NodeAppType;
|
|
222
|
+
export type SessionFlagPort = import("./session-flag.js").SessionFlagPort;
|
|
223
|
+
export type ShellCacheResetPort = import("./shell-cache-reset.js").ShellCacheResetPort;
|
|
224
|
+
export type ShellVersionPort = import("./shell-version.js").ShellVersionPort;
|
|
225
|
+
export type ShellVersionReport = import("./shell-version.js").ShellVersionReport;
|
|
226
|
+
export { StorageOperationError, RESET_LOCAL_STORAGE_CONFIRMATION, STORAGE_RECOVERY_MESSAGES } from "./storage.js";
|
|
227
|
+
export { MAX_CLOSE_REASON_BYTES, MAX_DTLS_FINGERPRINT_BYTES, MAX_ICE_CANDIDATE_BYTES, MAX_ICE_CANDIDATES_PER_OFFER, MAX_OFFER_NONCE_BYTES, MAX_SDP_BYTES, MAX_SDP_MID_BYTES, MAX_WEBRTC_SIGNAL_MESSAGE_BYTES, MIN_OFFER_NONCE_BYTES, WEBRTC_SIGNAL_VERSION } from "./network/webrtc-signaling.js";
|
|
228
|
+
export { isWalletAuthoritativeSnapshot, isWalletCommandResult, isWalletSnapshotValue } from "./repositories/wallet-mirror-repository.js";
|
|
33
229
|
//# sourceMappingURL=index.d.ts.map
|