@ghostlytools/sdk 1.7.2 → 1.7.3
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/core.js +1 -1
- package/dist/{fakes-7mNogz2q.js → fakes-NFHnJNv8.js} +2 -2
- package/dist/{fakes-7mNogz2q.js.map → fakes-NFHnJNv8.js.map} +1 -1
- package/dist/fakes.js +1 -1
- package/dist/index.js +2 -2
- package/dist/{keet-identity-key-B-_whp8l.js → keet-identity-key-740ESaV_.js} +2 -2
- package/dist/{keet-identity-key-B-_whp8l.js.map → keet-identity-key-740ESaV_.js.map} +1 -1
- package/dist/{src-BXUeOekb.js → src-Dw-9Vq6U.js} +143 -39
- package/dist/src-Dw-9Vq6U.js.map +1 -0
- package/dist/testing.js +3 -3
- package/dist/types/core/src/chatFiles.d.ts +11 -0
- package/dist/types/core/src/ghostlink.d.ts +2 -0
- package/dist/types/core/src/groupCommunity.d.ts +18 -2
- package/dist/types/core/src/identity.d.ts +4 -0
- package/dist/{verify-BIo6E601.js → verify-chCUPRKH.js} +2 -2
- package/dist/{verify-BIo6E601.js.map → verify-chCUPRKH.js.map} +1 -1
- package/package.json +1 -1
- package/dist/src-BXUeOekb.js.map +0 -1
package/dist/testing.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Oa as decodeBolt11, Yu as IdentityExchange, Zu as emptyIdentityLedger, ed as identityStatement, kC as createIdentity, ra as isBitcoinAddress, rd as newIdentityBinding, zu as IDENTITY_MAX_EVIDENCE } from "./src-
|
|
1
|
+
import { Oa as decodeBolt11, Yu as IdentityExchange, Zu as emptyIdentityLedger, ed as identityStatement, kC as createIdentity, ra as isBitcoinAddress, rd as newIdentityBinding, zu as IDENTITY_MAX_EVIDENCE } from "./src-Dw-9Vq6U.js";
|
|
2
2
|
import { l as providerDescriptorProblems, o as isNothingSpentError } from "./types-DvtCy3WB.js";
|
|
3
|
-
import { i as verifyIdentity, r as descriptorProblems } from "./verify-
|
|
4
|
-
import { _ as fakeAddress, a as fakeAccount, b as fakeOnchain, c as fakeKeySign, d as fakeRecord, f as fakeRecordText, g as TEST_PROVIDERS_FLAG, h as FakeOnchainProvider, i as TEST_IDENTITIES_FLAG, l as fakeKeySubject, m as FakeLightningProvider, n as FAKE_ISSUER, o as fakeAccountToken, p as testIdentitiesEnabled, r as FAKE_RECORD_HOST, s as fakeKey, t as FAKE_IDENTITY_PROVIDERS, u as fakeKeyring, v as fakeInvoice, x as testProvidersEnabled, y as fakeLightning } from "./fakes-
|
|
3
|
+
import { i as verifyIdentity, r as descriptorProblems } from "./verify-chCUPRKH.js";
|
|
4
|
+
import { _ as fakeAddress, a as fakeAccount, b as fakeOnchain, c as fakeKeySign, d as fakeRecord, f as fakeRecordText, g as TEST_PROVIDERS_FLAG, h as FakeOnchainProvider, i as TEST_IDENTITIES_FLAG, l as fakeKeySubject, m as FakeLightningProvider, n as FAKE_ISSUER, o as fakeAccountToken, p as testIdentitiesEnabled, r as FAKE_RECORD_HOST, s as fakeKey, t as FAKE_IDENTITY_PROVIDERS, u as fakeKeyring, v as fakeInvoice, x as testProvidersEnabled, y as fakeLightning } from "./fakes-NFHnJNv8.js";
|
|
5
5
|
import { afterEach, describe, expect, it, vi } from "vitest";
|
|
6
6
|
//#region ../browser/src/engine/paymentAdapters/providers/contractSuite.ts
|
|
7
7
|
var WAIT = 1e4;
|
|
@@ -202,6 +202,12 @@ export interface ChatFilesHost {
|
|
|
202
202
|
* sending, stored when receiving); `progress` says only that moved, so keeping it can wait.
|
|
203
203
|
*/
|
|
204
204
|
changed(record: FileTransferRecord, transferred: number, progress: boolean): void;
|
|
205
|
+
/**
|
|
206
|
+
* Resolves once what `changed` was given so far is kept, so a restart finds it. A receiver says a file is done
|
|
207
|
+
* (`pf-done`) only then: said before, a restart found it unfinished while its sender had it done, and asking for it
|
|
208
|
+
* again got no answer. Absent: `changed` keeps it at once.
|
|
209
|
+
*/
|
|
210
|
+
kept?(): Promise<void>;
|
|
205
211
|
/** Bytes a file may still take here, or null when the platform does not say. */
|
|
206
212
|
room?(): Promise<number | null>;
|
|
207
213
|
/**
|
|
@@ -371,6 +377,11 @@ export declare class ChatFiles {
|
|
|
371
377
|
/** `pf-accept` from what is taken here: the sender goes on from there (it ignores it for a transfer that ended). */
|
|
372
378
|
private askAgain;
|
|
373
379
|
private onSum;
|
|
380
|
+
/**
|
|
381
|
+
* `pf-done` once the host kept the file's done record (`kept`). Not kept (the app gone first), the sender still
|
|
382
|
+
* waits, offers it again on the next session, and the receiver answers from what it kept.
|
|
383
|
+
*/
|
|
384
|
+
private sayDone;
|
|
374
385
|
/** A frame from the contact (one of `FILE_FRAMES`). Returns quickly: writing goes on in the background. */
|
|
375
386
|
handle(frame: Record<string, unknown>): Promise<void>;
|
|
376
387
|
private end;
|
|
@@ -800,6 +800,8 @@ export declare class GhostLink {
|
|
|
800
800
|
private offerReplaced?;
|
|
801
801
|
private lastAutoConnectAt;
|
|
802
802
|
private autoConnectFailures;
|
|
803
|
+
/** The wait (dial and count of failures) whose `dial-backoff` line is written: the looks during it write none. */
|
|
804
|
+
private backoffTraced;
|
|
803
805
|
/** The look due when a failed dial's backoff ends (`lookAtRetry`). */
|
|
804
806
|
private retryLook;
|
|
805
807
|
/** This side's offer is out to the data link and has not reached the relays yet. */
|
|
@@ -343,6 +343,7 @@ export interface CommunityState {
|
|
|
343
343
|
/** A few statements I held before `meta`, oldest first, for a member back from away (`keepPastGroupMeta`). Absent in older states. */
|
|
344
344
|
metaPast?: GroupMeta[];
|
|
345
345
|
}
|
|
346
|
+
/** `frame`: the frame the message came in, as it is kept to hand on to a member who missed it. An app may keep it with the message it stores. */
|
|
346
347
|
export interface CommunityIncomingMessage {
|
|
347
348
|
id: string;
|
|
348
349
|
sender: string;
|
|
@@ -355,6 +356,7 @@ export interface CommunityIncomingMessage {
|
|
|
355
356
|
forwarded?: number;
|
|
356
357
|
card?: StatusCard;
|
|
357
358
|
file?: GroupFileMeta;
|
|
359
|
+
frame?: CommunityMessageFrame;
|
|
358
360
|
}
|
|
359
361
|
/**
|
|
360
362
|
* What an application sends through the group rather than as text: `frame` for everyone in the epoch (the group
|
|
@@ -383,7 +385,10 @@ export interface CommunitySessionHooks {
|
|
|
383
385
|
direct(to: string, frame: CommunityFrame): boolean | void;
|
|
384
386
|
/** To one member, wherever they are: over their edge if I have it, else to the hubs with `to`. */
|
|
385
387
|
addressed(to: string, frame: CommunitySecretFrame | CommunityEntryFrame): void;
|
|
386
|
-
message
|
|
388
|
+
/** `true`: the app stored the message's `frame` with it, durably, so the saved state need not carry that frame. */
|
|
389
|
+
message(message: CommunityIncomingMessage): Promise<boolean | void> | boolean | void;
|
|
390
|
+
/** A frame the app holds with its message (`id`) is no longer kept to hand on: newer ones took its place, or I am out. */
|
|
391
|
+
forgetFrame?(id: string): void;
|
|
387
392
|
/**
|
|
388
393
|
* Whether an application frame (mine or a member's) says the group's state rather than news, and of which kind: the
|
|
389
394
|
* newest frame of each kind is kept past the store and handed with every catch-up to a member who lacks it, however
|
|
@@ -485,7 +490,13 @@ export declare class CommunitySession {
|
|
|
485
490
|
private saveTimer;
|
|
486
491
|
/** One metadata frame naming a commit or a secret I do not have yet: tried again when the chain or my secrets move. */
|
|
487
492
|
private pendingMeta;
|
|
488
|
-
|
|
493
|
+
/** The store's frames the app holds with their messages (`storeKey` → message id): in memory here, not in what is saved. */
|
|
494
|
+
private readonly onRows;
|
|
495
|
+
/** `rows`: the frames the app holds with the messages it stored (`CommunityIncomingMessage.frame`). They join the store. */
|
|
496
|
+
constructor(state: CommunityState, hooks: CommunitySessionHooks, rows?: readonly {
|
|
497
|
+
id: string;
|
|
498
|
+
frame: CommunityMessageFrame;
|
|
499
|
+
}[]);
|
|
489
500
|
static create(name: string, now?: number): CommunityState;
|
|
490
501
|
/**
|
|
491
502
|
* Joining from a welcome over the link's entry session: the whole chain verifies from its
|
|
@@ -632,6 +643,8 @@ export declare class CommunitySession {
|
|
|
632
643
|
private takeSecret;
|
|
633
644
|
private serialize;
|
|
634
645
|
private persist;
|
|
646
|
+
/** The state as it is saved: a copy, without the frames the app holds with their messages (`onRows`). */
|
|
647
|
+
private toSave;
|
|
635
648
|
/**
|
|
636
649
|
* A save within a second, for what may happen many times a second (every message received, in a
|
|
637
650
|
* group of hundreds): the state holds the chain and the store, and is not worth writing each time.
|
|
@@ -744,6 +757,9 @@ export declare class CommunitySession {
|
|
|
744
757
|
/** The id of the message a stored frame is, by its first place when it was said again (and I can open it). */
|
|
745
758
|
private storedId;
|
|
746
759
|
private keep;
|
|
760
|
+
private trimStore;
|
|
761
|
+
/** The frames the app's rows hold, into the store: oldest first by when they were written, with what the record kept from before. */
|
|
762
|
+
private takeRows;
|
|
747
763
|
/**
|
|
748
764
|
* My frames sealed under a commit I took for the newest while I was behind (no edge was up, and others were let in
|
|
749
765
|
* meanwhile): the members let in before I said them could never open them. Once the chain I follow (and its secret)
|
|
@@ -16,4 +16,8 @@ export declare function identityFromSeedB64(seedB64: string): Identity;
|
|
|
16
16
|
export declare function createIdentity(): Identity;
|
|
17
17
|
export declare function publicKeyFromZ32(z32: string): Uint8Array;
|
|
18
18
|
export declare function sign(message: Uint8Array, seed: Uint8Array): Uint8Array;
|
|
19
|
+
/**
|
|
20
|
+
* Ed25519 verification as RFC 8032 writes it (`zip215: false`): canonical encodings only, and no key of small order,
|
|
21
|
+
* which no secret key goes with and which "verifies" a constant signature of any message.
|
|
22
|
+
*/
|
|
19
23
|
export declare function verify(signature: Uint8Array, message: Uint8Array, publicKey: Uint8Array): boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Xu as boundVerifiedIdentity } from "./src-
|
|
1
|
+
import { Xu as boundVerifiedIdentity } from "./src-Dw-9Vq6U.js";
|
|
2
2
|
//#region ../browser/src/proofs/verify.ts
|
|
3
3
|
var DAY = 86400;
|
|
4
4
|
/**
|
|
@@ -103,4 +103,4 @@ function boundedIdentityFetch(options = { online: () => true }) {
|
|
|
103
103
|
//#endregion
|
|
104
104
|
export { verifyIdentity as i, boundedIdentityFetch as n, descriptorProblems as r, availableSigners as t };
|
|
105
105
|
|
|
106
|
-
//# sourceMappingURL=verify-
|
|
106
|
+
//# sourceMappingURL=verify-chCUPRKH.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verify-
|
|
1
|
+
{"version":3,"file":"verify-chCUPRKH.js","names":[],"sources":["../../browser/src/proofs/verify.ts"],"sourcesContent":["import { boundVerifiedIdentity, IDENTITY_MAX_EVIDENCE, IDENTITY_MAX_VALIDITY, type IdentityStatement, type VerifiedIdentity } from \"@ghostly/core\";\nimport type { IdentityFetch, IdentityProofProvider, IdentitySigner, VerifyContext } from \"./contract\";\n\nconst DAY = 86_400;\n\n/**\n * The checks every proof goes through, whatever its provider: known provider, validity within the\n * provider's limit, bounded evidence, strict parsing, the provider's own check, and the category rule\n * (a self-custodied proof proves exactly the subject it names; an attested one says who attests it).\n * The engine verifies a contact's proof, and the person's own proof before saving it, only through this.\n */\nexport async function verifyIdentity(providers: readonly IdentityProofProvider[], statement: IdentityStatement, evidence: unknown, ctx: VerifyContext): Promise<VerifiedIdentity> {\n const { binding } = statement;\n const provider = providers.find(p => p.id === binding.provider);\n if (!provider) throw new Error(\"This app cannot verify this kind of identity\");\n if (binding.expiresAt - binding.issuedAt > Math.min(provider.validity.maxDays * DAY, IDENTITY_MAX_VALIDITY)) throw new Error(\"The proof lasts longer than this kind of identity allows\");\n if (JSON.stringify(evidence ?? null).length > IDENTITY_MAX_EVIDENCE) throw new Error(\"Evidence too large\");\n const parsed = provider.parseEvidence(evidence);\n const verified = boundVerifiedIdentity(await provider.verify(statement, parsed, ctx));\n if (provider.category === \"self-custodied\" && verified.subject !== binding.subject) throw new Error(\"The evidence is for another identity\");\n if (provider.category === \"provider-attested\" && !verified.attester) throw new Error(\"The evidence does not say who attests it\");\n return verified;\n}\n\n/** Problems with a provider's descriptor, empty when it is well-formed. The registry and the contract suite use it. */\nexport function descriptorProblems(p: IdentityProofProvider): string[] {\n const problems: string[] = [];\n if (!/^[a-z][a-z0-9-]{0,31}$/.test(p.id)) problems.push(\"id must match ^[a-z][a-z0-9-]{0,31}$\");\n if (!p.label?.trim()) problems.push(\"label is empty\");\n if (!p.description?.trim()) problems.push(\"description is empty\");\n if (!p.privacy?.trim()) problems.push(\"privacy is empty: say what verify contacts\");\n if (p.category !== \"self-custodied\" && p.category !== \"provider-attested\") problems.push(\"category is unknown\");\n if (!p.platforms.length) problems.push(\"no platforms\");\n const { defaultDays, maxDays } = p.validity;\n if (!(Number.isInteger(defaultDays) && Number.isInteger(maxDays) && defaultDays >= 1 && defaultDays <= maxDays && maxDays * DAY <= IDENTITY_MAX_VALIDITY)) problems.push(\"validity must be whole days, 1 ≤ default ≤ max ≤ 400\");\n if (p.recheck && !(Number.isInteger(p.recheck.afterSeconds) && p.recheck.afterSeconds >= 60)) problems.push(\"recheck.afterSeconds must be at least 60\");\n if (!p.signers.length) problems.push(\"no signers\");\n const ids = p.signers.map(s => s.id);\n if (new Set(ids).size !== ids.length) problems.push(\"signer ids are not unique\");\n for (const s of p.signers as readonly IdentitySigner<unknown>[]) {\n if (![\"in-app\", \"external-tool\", \"redirect\", \"publish\"].includes(s.kind)) problems.push(`signer ${s.id} has an unknown kind`);\n if (s.kind === \"in-app\" && typeof s.run !== \"function\") problems.push(`signer ${s.id} has no run()`);\n if (s.kind === \"external-tool\" && (typeof s.instructions !== \"function\" || typeof s.parse !== \"function\")) problems.push(`signer ${s.id} needs instructions() and parse()`);\n if (s.kind === \"redirect\" && typeof s.start !== \"function\") problems.push(`signer ${s.id} has no start()`);\n if (s.kind === \"publish\" && (typeof s.instructions !== \"function\" || typeof s.evidence !== \"function\")) problems.push(`signer ${s.id} needs instructions() and evidence()`);\n }\n return problems;\n}\n\n/** Signers of a provider that run on this platform and are available in this window. */\nexport function availableSigners<E>(p: IdentityProofProvider<E>, platform: IdentityProofProvider[\"platforms\"][number]): IdentitySigner<E>[] {\n return p.signers.filter(s => (s.platforms ?? p.platforms).includes(platform) && (s.available?.() ?? true));\n}\n\n/**\n * The engine's `ctx.fetch`: HTTPS GET only, no credentials or referrer, a time-out, a size cap,\n * redirects refused unless asked for.\n * `online` false refuses everything (the person turned the network off).\n */\nexport function boundedIdentityFetch(options: { online: () => boolean; timeoutMs?: number; fetcher?: typeof fetch } = { online: () => true }): IdentityFetch {\n return async (url, { headers, maxBytes = 64 * 1024, signal, redirect = \"error\" } = {}) => {\n if (!options.online()) throw new Error(\"Offline: this identity cannot be checked now\");\n const target = new URL(url);\n if (target.protocol !== \"https:\" || target.username || target.password) throw new Error(\"Identity checks use HTTPS only\");\n const timeout = AbortSignal.timeout(options.timeoutMs ?? 10_000);\n const response = await (options.fetcher ?? fetch)(target.href, {\n headers, signal: signal ? AbortSignal.any([signal, timeout]) : timeout,\n credentials: \"omit\", referrerPolicy: \"no-referrer\", cache: \"no-store\", redirect,\n });\n if (Number(response.headers.get(\"content-length\")) > maxBytes) throw new Error(\"Identity check response too large\");\n const reader = response.body?.getReader();\n const parts: Uint8Array[] = [];\n let length = 0;\n if (reader) {\n try {\n for (;;) {\n const { done, value } = await reader.read();\n if (done) break;\n length += value.length;\n if (length > maxBytes) throw new Error(\"Identity check response too large\");\n parts.push(value);\n }\n } finally { await reader.cancel().catch(() => {}); }\n }\n const bytes = new Uint8Array(length);\n let offset = 0;\n for (const part of parts) { bytes.set(part, offset); offset += part.length; }\n return { status: response.status, contentType: response.headers.get(\"content-type\") ?? \"\", text: new TextDecoder().decode(bytes), bytes };\n };\n}\n"],"mappings":";;AAGA,IAAM,MAAM;;;;;;;AAQZ,eAAsB,eAAe,WAA6C,WAA8B,UAAmB,KAA+C;CAChL,MAAM,EAAE,YAAY;CACpB,MAAM,WAAW,UAAU,MAAK,MAAK,EAAE,OAAO,QAAQ,QAAQ;CAC9D,IAAI,CAAC,UAAU,MAAM,IAAI,MAAM,8CAA8C;CAC7E,IAAI,QAAQ,YAAY,QAAQ,WAAW,KAAK,IAAI,SA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M,UAAU,YAAY,QAAQ,QAAQ,aAAa,GAAM;EAC/D,MAAM,WAAW,OAAO,QAAQ,WAAW,MAAA,CAAO,OAAO,MAAM;GAC7D;GAAS,QAAQ,SAAS,YAAY,IAAI,CAAC,QAAQ,OAAO,CAAC,IAAI;GAC/D,aAAa;GAAQ,gBAAgB;GAAe,OAAO;GAAY;EACzE,CAAC;EACD,IAAI,OAAO,SAAS,QAAQ,IAAI,gBAAgB,CAAC,IAAI,UAAU,MAAM,IAAI,MAAM,mCAAmC;EAClH,MAAM,SAAS,SAAS,MAAM,UAAU;EACxC,MAAM,QAAsB,CAAC;EAC7B,IAAI,SAAS;EACb,IAAI,QACF,IAAI;GACF,SAAS;IACP,MAAM,EAAE,MAAM,UAAU,MAAM,OAAO,KAAK;IAC1C,IAAI,MAAM;IACV,UAAU,MAAM;IAChB,IAAI,SAAS,UAAU,MAAM,IAAI,MAAM,mCAAmC;IAC1E,MAAM,KAAK,KAAK;GAClB;EACF,UAAU;GAAE,MAAM,OAAO,OAAO,CAAC,CAAC,YAAY,CAAC,CAAC;EAAG;EAErD,MAAM,QAAQ,IAAI,WAAW,MAAM;EACnC,IAAI,SAAS;EACb,KAAK,MAAM,QAAQ,OAAO;GAAE,MAAM,IAAI,MAAM,MAAM;GAAG,UAAU,KAAK;EAAQ;EAC5E,OAAO;GAAE,QAAQ,SAAS;GAAQ,aAAa,SAAS,QAAQ,IAAI,cAAc,KAAK;GAAI,MAAM,IAAI,YAAY,CAAC,CAAC,OAAO,KAAK;GAAG;EAAM;CAC1I;AACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ghostlytools/sdk",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Build a wallet source, an identity proof, a mini-app or a client for Ghostly without reading its internals: the adapter contracts, their fakes and contract test suites, the plugin registry, and the mini-app API types (Apps run in Ghostly 1.2 and later).",
|
|
6
6
|
"license": "MIT",
|