@onlyworlds/sdk 4.73.0 → 4.74.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.74.0] - 2026-10-25
9
+
10
+ ### Added
11
+
12
+ - **A hide's and an unhide's row on `/changes`**: `OwChangeUpsert` names `changed_at`, `changed_by` and `changed_via`, which keel sends only on the upsert row a hide or an unhide gives the readers who still see the element (the owner's keys, a co-builder, the member who made it; keel #682). The body carries `hidden: true` after a hide and no `hidden` after an unhide; the row's `change_seq` is the act's, the element's own stays in `element`. Every other upsert row carries none of the three.
13
+
8
14
  ## [4.73.0] - 2026-10-25
9
15
 
10
16
  ### Added
package/dist/index.d.ts CHANGED
@@ -2047,8 +2047,21 @@ interface OwChangeUpsert {
2047
2047
  type: string;
2048
2048
  element: OwElement;
2049
2049
  updated_at: string;
2050
- /** The change's place in the world's feed. */
2050
+ /**
2051
+ * The change's place in the world's feed. On a hide's or an unhide's row (the one carrying
2052
+ * `changed_via`) it is that act's place; the element's own `change_seq`, in `element`, stays where it was.
2053
+ */
2051
2054
  change_seq: number;
2055
+ /**
2056
+ * Only on a hide's or an unhide's row, sent to the readers who still see the element (the owner's
2057
+ * keys, a co-builder, the member who made it): when it was hidden (`element.hidden` is true) or
2058
+ * unhidden (no `hidden`). Absent on every other upsert row.
2059
+ */
2060
+ changed_at?: string | null;
2061
+ /** Only on a hide's or an unhide's row: the membership that hid or unhid it, or null for the world's owner (as a `hidden` delete row's `deleted_by`). */
2062
+ changed_by?: string | null;
2063
+ /** Only on a hide's or an unhide's row: its door (see {@link OwWriteDoor}), `site` for the owner's page on onlyworlds.com. */
2064
+ changed_via?: OwWriteDoor;
2052
2065
  [k: string]: unknown;
2053
2066
  }
2054
2067
  /** A /changes item for an element deleted. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onlyworlds/sdk",
3
- "version": "4.73.0",
3
+ "version": "4.74.0",
4
4
  "description": "TypeScript SDK for the OnlyWorlds API - build world-building applications with type safety",
5
5
  "type": "module",
6
6
  "exports": {