@onlyworlds/sdk 4.148.0 → 4.149.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 +6 -0
- package/dist/index.d.ts +14 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,12 @@ earlier history lives in git log only.
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [4.149.0] - 2026-11-10
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- **`lenses_from` can be `none`** on `OwMe` and `OwMember`: a member or seat that never chose its lenses and that nothing brings a lens to (no Character, or Titles that name none), told apart from `chosen`, which an empty list chosen on purpose still reads. What a row reads is unchanged; the owner's row and a removed row are always `chosen`. A TypeScript switch over the field gains a case.
|
|
13
|
+
|
|
8
14
|
## [4.148.0] - 2026-11-10
|
|
9
15
|
|
|
10
16
|
### Added
|
package/dist/index.d.ts
CHANGED
|
@@ -3022,8 +3022,13 @@ interface OwMe {
|
|
|
3022
3022
|
* and no policy.
|
|
3023
3023
|
*/
|
|
3024
3024
|
lenses: string[];
|
|
3025
|
-
/**
|
|
3026
|
-
|
|
3025
|
+
/**
|
|
3026
|
+
* Where `lenses` comes from: `chosen` (your own list; an empty one is a choice of none), `titles`
|
|
3027
|
+
* (you never chose, and your Character's Titles bring these) or `none` (you never chose and nothing
|
|
3028
|
+
* brings you a lens: no Character, or Titles that name none; `lenses` is empty). The owner's is
|
|
3029
|
+
* always `chosen`. Saving a list makes it your choice.
|
|
3030
|
+
*/
|
|
3031
|
+
lenses_from: 'chosen' | 'titles' | 'none';
|
|
3027
3032
|
/**
|
|
3028
3033
|
* Served only, never written: present only when `lenses` was served with a lens left out, one this
|
|
3029
3034
|
* key cannot see; then it names `lenses`. Saving the list you were shown keeps that lens where it stands.
|
|
@@ -3155,8 +3160,13 @@ interface OwMember {
|
|
|
3155
3160
|
* left out of what it is shown.
|
|
3156
3161
|
*/
|
|
3157
3162
|
lenses: string[];
|
|
3158
|
-
/**
|
|
3159
|
-
|
|
3163
|
+
/**
|
|
3164
|
+
* Where `lenses` comes from: `chosen` (the row's own list; an empty one is a choice of none),
|
|
3165
|
+
* `titles` (it never chose, and its Character's Titles bring these) or `none` (it never chose and
|
|
3166
|
+
* nothing brings it a lens: no Character, or Titles that name none; `lenses` is empty). The owner
|
|
3167
|
+
* row and a removed row are always `chosen`.
|
|
3168
|
+
*/
|
|
3169
|
+
lenses_from: 'chosen' | 'titles' | 'none';
|
|
3160
3170
|
/**
|
|
3161
3171
|
* Agent rows only: who answers for this AI, as the roster names them: the sponsor's membership id
|
|
3162
3172
|
* (the `id` of their row here), `owner` when the world's owner answers for it, or null for a seat
|