@onlyworlds/sdk 4.163.0 → 4.163.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.163.1] - 2026-11-14
9
+
10
+ ### Fixed
11
+
12
+ - The descriptions of `isRoomElement` and `isCharterElement` say what 4.163.0 reads: an empty list or an empty object is no mark. They still said any value but null counted, and the API reference is generated from them. No code changes.
13
+
8
14
  ## [4.163.0] - 2026-11-14
9
15
 
10
16
  ### Changed
package/dist/index.d.ts CHANGED
@@ -5898,7 +5898,7 @@ declare function getElementLabel(elementType: ElementType): string;
5898
5898
  * True when the element is a room element: its type and supertype, each trimmed and compared
5899
5899
  * without regard to case, match one of ROOM_PAIRS, AND it carries the mark `x_room_of` (the id of
5900
5900
  * the world or the sitting the room belongs to), read by presence: any value but null, a string only
5901
- * when something is left after trimming, the value never compared. Both, always:
5901
+ * when something is left after trimming, an empty list or object never, the value never compared. Both, always:
5902
5902
  * a pair without the mark is lore (a novel's letters are Narratives with supertype Message),
5903
5903
  * and a mark without a pair is not a room element (a malformed mark: report it, never hide it).
5904
5904
  * The pair match is the whole word: a Narrative with supertype `Messages` is lore. The charter
@@ -5926,7 +5926,7 @@ declare function isRoomElement(el: {
5926
5926
  * domains (`construct`, supertype `Domain`), the type and supertype each trimmed and compared without
5927
5927
  * regard to case, the whole word, AND the mark `x_charter_of`, the id of the world the aid belongs to. The
5928
5928
  * mark counts when it is present and not null; a string mark counts only when something is left after
5929
- * trimming. Both, always: the pair without the mark is lore, and stays in every view (a kingdom's Charter
5929
+ * trimming, and an empty list or object never. Both, always: the pair without the mark is lore, and stays in every view (a kingdom's Charter
5930
5930
  * in a novel's world is a Law like any other).
5931
5931
  *
5932
5932
  * What it is for: a tool's front door shows the aids first; a lore view (a list, a graph, a story's
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onlyworlds/sdk",
3
- "version": "4.163.0",
3
+ "version": "4.163.1",
4
4
  "description": "TypeScript SDK for the OnlyWorlds API - build world-building applications with type safety",
5
5
  "type": "module",
6
6
  "exports": {