@onlyworlds/sdk 4.102.1 → 4.102.2

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.102.2] - 2026-10-29
9
+
10
+ ### Changed
11
+
12
+ - **`draughtText` reads the review mark as the review profile's rule 1 does**, through `handsOnAsProposed`, as the Python package's `draught_text` does. In 4.102.1 it still read the key itself and wrote ` · proposed` on any value but absent or null. Now an empty mark (`""`, white space only, `[]`, `{}`) is settled and its line carries no ` · proposed`, while a doubt (`false`, `0`, a non-empty string) still does. The draught fixture's `proposed-odd-values` case now marks only its `false`.
13
+
8
14
  ## [4.102.1] - 2026-10-29
9
15
 
10
16
  ### Changed
package/dist/index.js CHANGED
@@ -5796,8 +5796,7 @@ function kindOf(el) {
5796
5796
  return sup ?? sub;
5797
5797
  }
5798
5798
  function marks(el) {
5799
- const proposed = own2(el, "x_review_proposed");
5800
- return (own2(el, "hidden") === true ? " \xB7 hidden" : "") + (proposed !== void 0 && proposed !== null ? " \xB7 proposed" : "");
5799
+ return (own2(el, "hidden") === true ? " \xB7 hidden" : "") + (handsOnAsProposed(el) ? " \xB7 proposed" : "");
5801
5800
  }
5802
5801
  function descriptionLines(el) {
5803
5802
  const d = text(own2(el, "description"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onlyworlds/sdk",
3
- "version": "4.102.1",
3
+ "version": "4.102.2",
4
4
  "description": "TypeScript SDK for the OnlyWorlds API - build world-building applications with type safety",
5
5
  "type": "module",
6
6
  "exports": {