@onlyworlds/sdk 4.129.1 → 4.129.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 +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.129.2] - 2026-11-02
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- **`mapSpace` reads a number past 2^53 as not whole** (schema-dist `profiles/map-space.md`, rule 1: a reader holds whole numbers within the range it holds exactly). JavaScript parses a larger integer to the nearest double, so `-9223372036854775809` arrived as -2^63 and was kept as a point at that rounded value. A coordinate, `order`, `width`, `height` or `depth` past 2^53 - 1 now reads as not a whole number, as one with a fraction does: an `x` or `y` leaves the row out (`no_point`), a `z` reads as 0. The profile's fixture keeps every number inside that range, so no fixture answer moves.
|
|
13
|
+
|
|
8
14
|
## [4.129.1] - 2026-11-02
|
|
9
15
|
|
|
10
16
|
### Fixed
|
package/dist/index.js
CHANGED
|
@@ -3846,7 +3846,7 @@ function landingOf(graph, options) {
|
|
|
3846
3846
|
|
|
3847
3847
|
// src/mapspace.ts
|
|
3848
3848
|
var isRow = (v) => typeof v === "object" && v !== null && !Array.isArray(v);
|
|
3849
|
-
var whole3 = (v) => typeof v === "number" && Number.
|
|
3849
|
+
var whole3 = (v) => typeof v === "number" && Number.isSafeInteger(v);
|
|
3850
3850
|
var idOf2 = (v) => typeof v === "string" && v !== "" ? v : null;
|
|
3851
3851
|
var byId = (a, b) => byCodePoint(a, b);
|
|
3852
3852
|
function point(e) {
|