@onlyworlds/sdk 4.128.0 → 4.128.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,12 @@ earlier history lives in git log only.
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [4.128.1] - 2026-11-02
9
+
10
+ ### Fixed
11
+
12
+ - **`draught(id)` without `compact` answers the fixed `OwDraught` shape again.** The server now serves the compact packet by default; the client sends `compact=false` when the caller leaves it out, so every section its type promises is there (since 4.47.0 a left-out `compact` was sent as nothing). `compact: true` still asks for the short form, typed `OwDraughtCompact`.
13
+
8
14
  ## [4.128.0] - 2026-11-02
9
15
 
10
16
  ### Added
package/dist/index.d.ts CHANGED
@@ -4459,7 +4459,7 @@ declare class OwV2Client {
4459
4459
  * empty means the serving is partial (`cut.proposed` also counts proposed elements left out because
4460
4460
  * the component was not named). `compact: true` leaves out every empty section and an empty `cut`,
4461
4461
  * the frame and every null kept, and leaves out each element body's empty fields (`null`, `""`,
4462
- * `[]`, `{}`; `id`, `type` and `name` always stay), answered as `OwDraughtCompact`. A Message
4462
+ * `[]`, `{}`; `id`, `type` and `name` always stay), answered as `OwDraughtCompact`; left out, `compact=false` is sent, so the answer is the fixed `OwDraught` shape whatever the server's own default (keel serves the compact packet by default since 2026-11-02). A Message
4463
4463
  * without the room mark is placed as any Narrative unless `messages` is named, when it is there
4464
4464
  * and in no other section; a room-marked Message is in `messages` or nowhere. `lens` (a lens id)
4465
4465
  * adds `lenses`, one frame with that lens read for this key's own view (beside `depth` or `budget`
package/dist/index.js CHANGED
@@ -878,7 +878,7 @@ var OwV2Client = class {
878
878
  since: policy.since,
879
879
  budget: policy.budget,
880
880
  depth: policy.depth,
881
- compact: policy.compact,
881
+ compact: policy.compact ?? false,
882
882
  lens: policy.lens
883
883
  });
884
884
  return this.request("GET", `/character/${seg("characterId", characterId)}/context`, { query, worldRead: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onlyworlds/sdk",
3
- "version": "4.128.0",
3
+ "version": "4.128.1",
4
4
  "description": "TypeScript SDK for the OnlyWorlds API - build world-building applications with type safety",
5
5
  "type": "module",
6
6
  "exports": {