Skip to content

@onlyworlds/sdk 4.231.1

Choose a tag to compare

@github-actions github-actions released this 03 Dec 20:29
· 3 commits to main since this release

Fixed

  • OwDraught types three keys as the server sends them. recent_cursor and recent_more are optional: the server sends them only when recent is among the components served (it is by default), so a draught(id, { components: [...] }) that leaves recent out has neither. A roster row's name is optional: only an AI or player seat has one; the owner's row and a person's have none. Types only; nothing sent or read changes, and a strict TypeScript caller that reads one of the three now handles undefined beside null.

Changed

  • The README, AGENTS.md, the package's homepage, the errors' links (errors.ts) and the doc_url of the folder server's and the MCP door's own refusals name the docs at their new address, docs.onlyworlds.com; the old address redirects.