@onlyworlds/sdk 4.57.0 → 4.57.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 +6 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,12 @@ earlier history lives in git log only.
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [4.57.1] - 2026-10-22
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- **`patchWorld` strips `public_read` and `agent_narrator_rule`** beside `slug` and `public_page`: keel answers both as unknown fields (a 422 naming the key; `agent_narrator_rule` measured on staging, `public_read` by keel's own rule), so a world body read with `getWorld` and sent back now round-trips. `owner_character` is accepted by the server and is still sent.
|
|
13
|
+
|
|
8
14
|
## [4.57.0] - 2026-10-22
|
|
9
15
|
|
|
10
16
|
### Added
|
package/dist/index.js
CHANGED
|
@@ -1596,7 +1596,7 @@ var HeadPollState = class {
|
|
|
1596
1596
|
}
|
|
1597
1597
|
};
|
|
1598
1598
|
var READ_ONLY_FIELDS = ["world", "type", "created_at", "updated_at", "change_seq", "known_of"];
|
|
1599
|
-
var WORLD_READ_ONLY_FIELDS = ["slug", "public_page"];
|
|
1599
|
+
var WORLD_READ_ONLY_FIELDS = ["slug", "public_page", "public_read", "agent_narrator_rule"];
|
|
1600
1600
|
function sanitizePayload(payload) {
|
|
1601
1601
|
if (!payload || typeof payload !== "object") return payload;
|
|
1602
1602
|
const rest = { ...payload };
|