From 56f0779083d4a2fcd5f6c7568cb93659072c44cb Mon Sep 17 00:00:00 2001 From: Titus Date: Mon, 16 Nov 2026 14:22:12 +0100 Subject: [PATCH] TypeScript SDK 4.174.0: BY_LINKS_3D_VERSION on the 3D layout's section, the changelog line, the pin --- package-lock.json | 8 ++++---- package.json | 2 +- src/content/docs/docs/changelog.md | 1 + src/content/docs/docs/development/typescript-readers.md | 2 +- src/content/docs/docs/development/typescript.md | 2 +- 5 files changed, 8 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 978870db..41665e7b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,7 @@ "starlight-page-actions": "0.7.1" }, "devDependencies": { - "@onlyworlds/sdk": "4.173.1", + "@onlyworlds/sdk": "4.174.0", "typescript": "5.9.3" } }, @@ -1685,9 +1685,9 @@ } }, "node_modules/@onlyworlds/sdk": { - "version": "4.173.1", - "resolved": "https://registry.npmjs.org/@onlyworlds/sdk/-/sdk-4.173.1.tgz", - "integrity": "sha512-C/zd5sAEwGLU80dTU/RtKsCXuQI4oeVohSkHIaVKoMzut0MxHod5fj0Ug/BqhTOhp7KQzq970fSyCVr3pEA2RA==", + "version": "4.174.0", + "resolved": "https://registry.npmjs.org/@onlyworlds/sdk/-/sdk-4.174.0.tgz", + "integrity": "sha512-yWmr1WJorsqRRb28plr+RsOAppafb3fqu/95xB3A2fTHeoKvpOVbwYzXPH6gQBMG8MJSjo6wxNCyOjD/m1GiZQ==", "dev": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 532e066c..1e0a6fd4 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "starlight-page-actions": "0.7.1" }, "devDependencies": { - "@onlyworlds/sdk": "4.173.1", + "@onlyworlds/sdk": "4.174.0", "typescript": "5.9.3" }, "overrides": { diff --git a/src/content/docs/docs/changelog.md b/src/content/docs/docs/changelog.md index 18c244f9..a17d3489 100644 --- a/src/content/docs/docs/changelog.md +++ b/src/content/docs/docs/changelog.md @@ -9,6 +9,7 @@ What changed on onlyworlds.com for everyone is on its own [Changelog](https://ww ## 2026-11-16 +- **[When a 3D layout's points have moved](/docs/development/typescript-readers#a-world-laid-out-in-3d): TypeScript SDK 4.174.0.** `BY_LINKS_3D_VERSION` is raised exactly when a release moves an answer of `layoutByLinks3d`, so a tool that keeps a picture to hand back as `held` can tell when to lay the world out fresh. No point of the method moves. - **[What a saved 3D layout does not place](/docs/development/typescript-readers#a-world-laid-out-in-3d): TypeScript SDK 4.173.0 and [Python](/docs/development/python) 0.131.0.** `unplacedByLinks3d` and `unplaced_by_links_3d` answer the ids of the graph's nodes that a saved `by-links-3d` layout map has no Pin for. The method's shared fixture gains eight cases and a suite of eight for this reading; no point of the method moves. - **[Your seat list](/docs/development/agents#making-a-seat) says whether each seat may change its Character.** `GET /api/v2/account/worlds/{world_id}/seats` serves `may_change_character`, `may_change_character_note` and `follows_sponsor` on every row, in the words of the owner's [members list](/docs/development/api/members#agent-seats). Where a seat's Character is kept from you, the row reads `character` `null`, `may_change_character` `false` and no note. TypeScript SDK 4.172.0 types the three on `listSeats()`'s rows. - **[A world laid out in 3D](/docs/development/typescript-readers#a-world-laid-out-in-3d): TypeScript SDK 4.171.1 and [Python](/docs/development/python) 0.130.1.** A Map whose width or height is under 0 no longer stops the layout: a width or height that is not over 0 makes the Map no plate, and the world is laid out by its links. A layout that hands earlier points back no longer works out the push between two elements that both stand still, so keeping a picture still costs less than laying it out from nothing; no point of any answer changes. The page now says how to count what is new: by the ids you did not hand back. diff --git a/src/content/docs/docs/development/typescript-readers.md b/src/content/docs/docs/development/typescript-readers.md index bbdd8254..5af8e098 100644 --- a/src/content/docs/docs/development/typescript-readers.md +++ b/src/content/docs/docs/development/typescript-readers.md @@ -218,7 +218,7 @@ The same input gives the same points in every browser and in the Python package' To keep a picture still as a world grows, hand an earlier answer's points back as `held` (element id to `[x, y, z]`), with `heldUnit: 1` when you saved them as whole numbers. A held element stays where it was (one with a Pin on the map stands at its Pin, held or not), and what is new is placed round it. To count what is new, count the ids you did not hand back, never `held: false`. A layout that hands every point back costs less than one from nothing (since 4.171.1). Nothing is saved: to keep a picture, save it as a layout Map yourself. A saved layout keeps points only; the groups are read again from the world. -The method's word, `by-links-3d`, is the tool's own until its page in the standard is published. Until then a release may move its points. +The method's word, `by-links-3d`, is the tool's own until its page in the standard is published. Until then a release may move its points. `BY_LINKS_3D_VERSION` (since 4.174.0) says when one has: it is raised exactly when a release moves an answer of the method, and never otherwise. A tool that keeps a picture to hand back as `held` stores the version beside the points, and lays the world out fresh when the two differ. ```typescript import { worldGraph, layoutByLinks3d } from '@onlyworlds/sdk'; diff --git a/src/content/docs/docs/development/typescript.md b/src/content/docs/docs/development/typescript.md index c2e8ceb4..fd1e1cc6 100644 --- a/src/content/docs/docs/development/typescript.md +++ b/src/content/docs/docs/development/typescript.md @@ -395,7 +395,7 @@ The package also ships `SCHEMA.md` (every field and its meaning, generated) and ## Reference -Generated from the types of `@onlyworlds/sdk` 4.173.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. +Generated from the types of `@onlyworlds/sdk` 4.174.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. ### Client options