@onlyworlds/sdk 4.156.0 → 4.157.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.157.0] - 2026-11-11
9
+
10
+ ### Changed
11
+
12
+ - **Six answer fields admit `null`, as the API document says they may**: a `/changes` upsert row's `updated_at` and a delete row's `deleted_at` (`OwChangeUpsert`, `OwChangeDelete`), a `/bulk` slot's `id`, `created_at` and `updated_at` (`OwBulkItemResult`: a failed slot carries no id), and a member row's `x_served_trimmed` (`OwMemberLenses`). The SDK typed them as never null; nothing at runtime changes, but code that reads one as a plain string now has to handle `null`.
13
+
8
14
  ## [4.156.0] - 2026-11-11
9
15
 
10
16
  ### Changed
package/dist/index.d.ts CHANGED
@@ -2526,7 +2526,7 @@ interface OwChangeUpsert {
2526
2526
  id: string;
2527
2527
  type: string;
2528
2528
  element: OwElement;
2529
- updated_at: string;
2529
+ updated_at: string | null;
2530
2530
  /**
2531
2531
  * The change's place in the world's feed. On a hide's or an unhide's row (the one carrying
2532
2532
  * `changed_via`) it is that act's place; the element's own `change_seq`, in `element`, stays where it was.
@@ -2549,7 +2549,7 @@ interface OwChangeDelete {
2549
2549
  op: 'delete';
2550
2550
  id: string;
2551
2551
  type: string;
2552
- deleted_at: string;
2552
+ deleted_at: string | null;
2553
2553
  /** The change's place in the world's feed. */
2554
2554
  change_seq: number;
2555
2555
  /** The membership whose write deleted it; null for the world's owner, and for deletes before writes recorded it. */
@@ -2678,9 +2678,9 @@ interface OwBulkItem {
2678
2678
  */
2679
2679
  interface OwBulkItemResult {
2680
2680
  status: number;
2681
- id?: string;
2682
- created_at?: string;
2683
- updated_at?: string;
2681
+ id?: string | null;
2682
+ created_at?: string | null;
2683
+ updated_at?: string | null;
2684
2684
  /** Only on a 202 slot: the proposal the write became. */
2685
2685
  proposal?: OwProposal;
2686
2686
  error?: OwErrorBody;
@@ -3858,7 +3858,7 @@ interface OwMemberLenses {
3858
3858
  * Served only, never written: present only when the list keeps a lens you cannot see, which stays
3859
3859
  * in the list where it stands and is left out of `lenses`; then it names `lenses`.
3860
3860
  */
3861
- x_served_trimmed?: 'lenses'[];
3861
+ x_served_trimmed?: 'lenses'[] | null;
3862
3862
  [k: string]: unknown;
3863
3863
  }
3864
3864
  /** POST /account/worlds/{id}/seats's answer: the seat, its key and secret, shown in this answer only. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onlyworlds/sdk",
3
- "version": "4.156.0",
3
+ "version": "4.157.0",
4
4
  "description": "TypeScript SDK for the OnlyWorlds API - build world-building applications with type safety",
5
5
  "type": "module",
6
6
  "exports": {