diff --git a/package-lock.json b/package-lock.json index c9a9319c..3ffedbb6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,7 @@ "starlight-page-actions": "0.7.1" }, "devDependencies": { - "@onlyworlds/sdk": "4.228.0", + "@onlyworlds/sdk": "4.228.1", "typescript": "5.9.3" } }, @@ -1685,9 +1685,9 @@ } }, "node_modules/@onlyworlds/sdk": { - "version": "4.228.0", - "resolved": "https://registry.npmjs.org/@onlyworlds/sdk/-/sdk-4.228.0.tgz", - "integrity": "sha512-iIKvY6z+Jytut8Vf3HSkVAmFMsXMhPsJmfeY35uY8NoZ6i7HK+hJTSyEBjUM66E5szbGmMZYFMIiHlTZoAAcSQ==", + "version": "4.228.1", + "resolved": "https://registry.npmjs.org/@onlyworlds/sdk/-/sdk-4.228.1.tgz", + "integrity": "sha512-M2yQIuClPbHDXirAptOgT+aL4L8G06YBm1MQw81nWhcD/BHywlmvpExu9BSiIn26KzX1DzZvAXT7jKMzpVSujQ==", "dev": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 88cbb272..42ee589c 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "starlight-page-actions": "0.7.1" }, "devDependencies": { - "@onlyworlds/sdk": "4.228.0", + "@onlyworlds/sdk": "4.228.1", "typescript": "5.9.3" }, "overrides": { diff --git a/src/content/docs/docs/changelog.md b/src/content/docs/docs/changelog.md index 373a2155..db662e8a 100644 --- a/src/content/docs/docs/changelog.md +++ b/src/content/docs/docs/changelog.md @@ -14,6 +14,7 @@ What changed on onlyworlds.com for everyone is on its own [Changelog](https://ww - **[The account](/docs/development/api/signin#the-account): a new username holds no `@`.** A name set at sign-up or with `PATCH /api/v2/account` takes the letters a to z, the digits and `. + - _`; one with an `@` is the same `422` with `param` `username`. A name that already holds one is kept and keeps working. An account token of an account OnlyWorlds has switched off now answers `401` [`key_revoked`](/api/errors/#key_revoked), as a revoked one does. - **[Sign in with OnlyWorlds](/docs/development/api/signin#ai-assistants): a client that registered itself reads worlds only.** Its account token, from `POST /api/v2/auth/token`, says `scope: "world:read"` and ends 720 hours after the exchange. `GET /api/v2/account/worlds` lists its worlds with no `keys` on any row. In a world it names, it reads the world, an element type's list, one element, search and metadata, and it may revoke itself; every other route answers `403` `permission_error`. A tool on the list of registered tools signs in as before. - **[Stability and deprecation](/docs/development/api/stability): until OnlyWorlds 1.0, a security fix can ship without the six months' notice.** The API document's policy gained that sentence, and the page quotes it. Such a change is said in the changelog the day it ships. +- **[TypeScript](/docs/development/typescript) [4.228.1](https://www.npmjs.com/package/@onlyworlds/sdk): the worlds-only comments name a game.** The doc comments of `OwAccountWorld.keys`, `listAccountWorlds()` and the sign-in's `scope` and `expiresAt` name a game (`worlds-only-games`) beside a client that registered itself. No type or behaviour changed. - **[TypeScript](/docs/development/typescript) [4.228.0](https://www.npmjs.com/package/@onlyworlds/sdk): `OwAccountWorld.keys` is optional.** A caller that reads `keys` from a `listAccountWorlds()` row reads it as possibly absent; TypeScript says so at the next build. ## 2026-11-30 diff --git a/src/content/docs/docs/development/typescript.md b/src/content/docs/docs/development/typescript.md index d09b5f77..66c77dbc 100644 --- a/src/content/docs/docs/development/typescript.md +++ b/src/content/docs/docs/development/typescript.md @@ -480,7 +480,7 @@ The package also ships `SCHEMA.md` (every field and its meaning, generated) and ## Reference -Generated from the types of `@onlyworlds/sdk` 4.228.0, the version these docs pin. The full declarations ship in the package (`dist/index.d.ts`), with `SCHEMA.md` and `AGENTS.md` beside them. +Generated from the types of `@onlyworlds/sdk` 4.228.1, the version these docs pin. The full declarations ship in the package (`dist/index.d.ts`), with `SCHEMA.md` and `AGENTS.md` beside them. ### Client options @@ -576,7 +576,7 @@ Generated from the types of `@onlyworlds/sdk` 4.228.0, the version these docs pi ### Deprecated names -Every name the package's declarations mark `@deprecated`, read from the same files as the tables above: 22 in 4.228.0. Each row is the mark's own comment, to the sentence that names the version the name leaves in. How much notice a change to the API itself gets: [Stability and deprecation](/docs/development/api/stability). +Every name the package's declarations mark `@deprecated`, read from the same files as the tables above: 22 in 4.228.1. Each row is the mark's own comment, to the sentence that names the version the name leaves in. How much notice a change to the API itself gets: [Stability and deprecation](/docs/development/api/stability). | Name | Deprecated since | Leaves in | What its comment says | |---|---|---|---|