Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
1 change: 1 addition & 0 deletions src/content/docs/docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/content/docs/docs/development/typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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 |
|---|---|---|---|
Expand Down
Loading