diff --git a/CHANGELOG.md b/CHANGELOG.md index 7b64ebb786..09155f5439 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -65,6 +65,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Fixed +* Fixed `fdc3-context`'s `typegen` script so that it resolves the `AppIdentifier` type referenced from `action.schema.json` via a local path to `fdc3-schema`'s `api.schema.json`, instead of relying on `quicktype` fetching it over the network from the (as yet unpublished) `$id` URL. Previously, after running `npm run clean`, `npm run build` would fail across the whole monorepo because the `fdc3-context` build silently produced an empty `generated/context` directory (the underlying `quicktype` failure was swallowed) and downstream packages could not resolve `@finos/fdc3-context`. * Fixed the basic conformance version check to use the exported FDC3 version and accept newer compatible Desktop Agents. ([#1966](https://github.com/finos/FDC3/pull/1966)) * Reduced normal `getAgent` discovery console noise by ignoring unrelated `postMessage` traffic and reporting expected agent-not-found timeouts as warnings instead of errors. ([#1902](https://github.com/finos/FDC3/issues/1902)) * Prevented the FDC3 for Web reference implementation from sending channel-changed events to applications that have not registered a matching listener. ([#1806](https://github.com/finos/FDC3/issues/1806)) diff --git a/packages/fdc3-context/generated/context/ContextTypes.ts b/packages/fdc3-context/generated/context/ContextTypes.ts index 865c862299..8844356bb7 100644 --- a/packages/fdc3-context/generated/context/ContextTypes.ts +++ b/packages/fdc3-context/generated/context/ContextTypes.ts @@ -1870,8 +1870,8 @@ export interface EncryptedContextWrapperID { * **Note:** This context type MUST be signed to be effective. The key owner uses the * signature's public key URL to encrypt the symmetric key in the response, ensuring only * the requesting application can decrypt it. See the [Security & Identity - * documentation](../../api/security) for details on signing context objects and encrypted - * communications. + * documentation](/docs/next/api/security) for details on signing context objects and + * encrypted communications. */ export interface SymmetricKeyRequest { /** @@ -1949,8 +1949,8 @@ export interface User { * * **Note:** This context type MUST be signed to be effective. The identity provider app * uses the signature's public key URL to verify the requesting application's identity and - * to encrypt the response. See the [Security & Identity documentation](../../api/security) - * for details on signing context objects. + * to encrypt the response. See the [Security & Identity + * documentation](/docs/next/api/security) for details on signing context objects. */ export interface UserRequest { /** diff --git a/packages/fdc3-context/package.json b/packages/fdc3-context/package.json index 47ac225afa..7c91e2bdd5 100644 --- a/packages/fdc3-context/package.json +++ b/packages/fdc3-context/package.json @@ -32,7 +32,7 @@ "lint": "eslint generated/ --fix && npx prettier generated/ --write", "test": "npm run generate && tsc && vitest run", "test:watch": "vitest", - "typegen": "cd schemas && node ../s2tQuicktypeUtil.cjs context ../generated/context/ContextTypes.ts" + "typegen": "cd schemas && node ../s2tQuicktypeUtil.cjs ../../fdc3-schema/schemas/api/api.schema.json context ../generated/context/ContextTypes.ts" }, "devDependencies": { "ajv": "^8.18.0",