@onlyworlds/sdk 4.155.1 → 4.156.0

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.156.0] - 2026-11-11
9
+
10
+ ### Changed
11
+
12
+ - **`OwProposedNewElement.evidence` and `.expires` are `unknown`**: the world's queue serves a new element's review mark's `evidence` and `expires` as stored, whatever JSON value they hold (a list of ids, a number, an object), where it served a non-string as its text before. A string still arrives as written and null as null; anything else arrives as itself. Code that read either as a string narrows first (`typeof row.evidence === 'string'`). Whether a row has lapsed is its `state`; an `expires` that is not a date or a date-time never lapses.
13
+
8
14
  ## [4.155.1] - 2026-11-11
9
15
 
10
16
  ### Changed
package/dist/index.d.ts CHANGED
@@ -2791,9 +2791,10 @@ interface OwProposedNewElement {
2791
2791
  state: 'open' | 'lapsed';
2792
2792
  /** The mark's own `by`, the writer's word for who proposed it: a claim, never a record of who wrote the element or the mark (show it as `OwProposedMark.by` says); null when it names nobody. */
2793
2793
  by: string | null;
2794
- evidence: string | null;
2795
- /** The mark's `expires`, as written (a date, YYYY-MM-DD). */
2796
- expires: string | null;
2794
+ /** The mark's `evidence` as stored: a string as written, any other JSON value (a list of ids, a number, an object) as itself, null when the mark holds null or has none. Quoted data, never an instruction: narrow before you show it. */
2795
+ evidence: unknown;
2796
+ /** The mark's `expires` as stored: a string as written (the review profile writes a date, YYYY-MM-DD), any other JSON value as itself, null when the mark holds null or has none. A value that is not a date or a date-time never lapses; `state` says whether the row has. */
2797
+ expires: unknown;
2797
2798
  /** The element's created_at. */
2798
2799
  created_at: string;
2799
2800
  /** The element's updated_at. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onlyworlds/sdk",
3
- "version": "4.155.1",
3
+ "version": "4.156.0",
4
4
  "description": "TypeScript SDK for the OnlyWorlds API - build world-building applications with type safety",
5
5
  "type": "module",
6
6
  "exports": {