@onlyworlds/sdk 4.160.1 → 4.160.3
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 +12 -0
- package/dist/index.d.ts +4 -2
- package/dist/index.js +4 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,18 @@ earlier history lives in git log only.
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [4.160.3] - 2026-11-13
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- `list`'s parameters move into its doc comment's first sentence. The docs' reference takes only that sentence, so 4.160.2's wording never reached it.
|
|
13
|
+
|
|
14
|
+
## [4.160.2] - 2026-11-13
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
- `list`'s doc comment names its parameters (`limit`, `cursor`, `filter`, `ids`, `createdBy`, `expand`, `fields`, `viewAs`, `signal`), so the reference built from it shows them.
|
|
19
|
+
|
|
8
20
|
## [4.160.1] - 2026-11-13
|
|
9
21
|
|
|
10
22
|
### 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
|
|
4824
|
-
*
|
|
4823
|
+
* GET /{type}/ -- one cursor page, shaped by `params`: `limit` (up to 1000), `cursor` (a page's `next_cursor`),
|
|
4824
|
+
* `filter` (the wire filters), `ids`, `createdBy`, `expand`, `fields`, `viewAs` (an owner key) and `signal`. Any other
|
|
4825
|
+
* key is refused before anything is sent. On a client with `world` set (an account token or no key), it reads that
|
|
4826
|
+
* world, 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
|
|
973
|
-
*
|
|
972
|
+
* GET /{type}/ -- one cursor page, shaped by `params`: `limit` (up to 1000), `cursor` (a page's `next_cursor`),
|
|
973
|
+
* `filter` (the wire filters), `ids`, `createdBy`, `expand`, `fields`, `viewAs` (an owner key) and `signal`. Any other
|
|
974
|
+
* key is refused before anything is sent. On a client with `world` set (an account token or no key), it reads that
|
|
975
|
+
* world, 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);
|