@onlyworlds/sdk 4.93.0 → 4.93.1
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.js +1 -1
- 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.93.1] - 2026-10-27
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- **A lens a guest knows only as a stub reads as nothing when named by id**, in `resolveLens` and so in `worldGraph`, as keel's own reader answers it. The reader took the stored body whenever the id was in the guest's view, a known-of stub included, so it followed anchors and a recipe the guest is never served: the kept rows stayed inside the guest's view, but which of them the lens kept said something about anchors the guest cannot see. A lens body passed in is read as given, as before.
|
|
13
|
+
|
|
8
14
|
## [4.93.0] - 2026-10-27
|
|
9
15
|
|
|
10
16
|
### Added
|
package/dist/index.js
CHANGED
|
@@ -4512,7 +4512,7 @@ function readingDate(fn, world, opts) {
|
|
|
4512
4512
|
function lensReading(r, lens, clockV) {
|
|
4513
4513
|
const none = { reading: NOTHING(), cutById: /* @__PURE__ */ new Map() };
|
|
4514
4514
|
let body;
|
|
4515
|
-
if (typeof lens === "string") body = r.view.has(lens) ? r.byId.get(lens) : null;
|
|
4515
|
+
if (typeof lens === "string") body = r.view.has(lens) && !r.stubs.has(lens) ? r.byId.get(lens) : null;
|
|
4516
4516
|
else body = lens;
|
|
4517
4517
|
if (body === null || !isLens(body)) return none;
|
|
4518
4518
|
const read = readRecipe(body.x_lens);
|