@onlyworlds/sdk 4.160.1 → 4.160.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.160.2] - 2026-11-13
9
+
10
+ ### Changed
11
+
12
+ - `list`'s doc comment names its parameters (`limit`, `cursor`, `filter`, `ids`, `createdBy`, `expand`, `fields`, `viewAs`, `signal`), so the reference built from it shows them.
13
+
8
14
  ## [4.160.1] - 2026-11-13
9
15
 
10
16
  ### Changed
package/dist/index.d.ts CHANGED
@@ -4820,8 +4820,10 @@ declare class OwV2Client {
4820
4820
  */
4821
4821
  members(): Promise<OwMember[]>;
4822
4822
  /**
4823
- * GET /{type}/ -- one cursor page. On a client with `world` set (an account token or no key), it
4824
- * reads that world, sending `world=<id>` beside the page's own parameters.
4823
+ * GET /{type}/ -- one cursor page. `params`: `limit` (up to 1000), `cursor` (a page's `next_cursor`), `filter`
4824
+ * (the wire filters), `ids`, `createdBy`, `expand`, `fields`, `viewAs` (an owner key) and `signal`; any other key is
4825
+ * refused before anything is sent. On a client with `world` set (an account token or no key), it reads that world,
4826
+ * sending `world=<id>` beside the page's own parameters.
4825
4827
  */
4826
4828
  list(type: ElementType | string, params?: ListParams): Promise<OwPage>;
4827
4829
  /**
package/dist/index.js CHANGED
@@ -969,8 +969,10 @@ var OwV2Client = class {
969
969
  }
970
970
  // -- Element CRUD --------------------------------------------------------
971
971
  /**
972
- * GET /{type}/ -- one cursor page. On a client with `world` set (an account token or no key), it
973
- * reads that world, sending `world=<id>` beside the page's own parameters.
972
+ * GET /{type}/ -- one cursor page. `params`: `limit` (up to 1000), `cursor` (a page's `next_cursor`), `filter`
973
+ * (the wire filters), `ids`, `createdBy`, `expand`, `fields`, `viewAs` (an owner key) and `signal`; any other key is
974
+ * refused before anything is sent. On a client with `world` set (an account token or no key), it reads that world,
975
+ * sending `world=<id>` beside the page's own parameters.
974
976
  */
975
977
  async list(type, params = {}) {
976
978
  only("list", params, LIST_PARAM_KEYS, LIST_FILTER_HINT);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onlyworlds/sdk",
3
- "version": "4.160.1",
3
+ "version": "4.160.2",
4
4
  "description": "TypeScript SDK for the OnlyWorlds API - build world-building applications with type safety",
5
5
  "type": "module",
6
6
  "exports": {