@onlyworlds/sdk 4.124.1 → 4.124.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.124.2] - 2026-11-01
9
+
10
+ ### Fixed
11
+
12
+ - **`recordsOf` orders tied records and stories by code point**, as the record profile says. It compared ids with JavaScript's `<`, which is UTF-16 order and differs from code point order for characters above U+FFFF (an id holding U+1F600 sorted before one holding U+FF00). Ids in ASCII, which every fixture case uses, order as before.
13
+
8
14
  ## [4.124.1] - 2026-11-01
9
15
 
10
16
  ### Changed
package/dist/index.js CHANGED
@@ -3540,7 +3540,7 @@ var isObject = (v) => v !== null && typeof v === "object" && !Array.isArray(v);
3540
3540
  var unsetOr = (v, test) => v === void 0 || v === null || test(v);
3541
3541
  var isString = (v) => typeof v === "string";
3542
3542
  var list = (v) => Array.isArray(v) ? v : [];
3543
- var cp = (a, b) => a < b ? -1 : a > b ? 1 : 0;
3543
+ var cp = byCodePoint;
3544
3544
  function isInstant(s) {
3545
3545
  const m = PLAYED_AT.exec(s);
3546
3546
  if (!m) return false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onlyworlds/sdk",
3
- "version": "4.124.1",
3
+ "version": "4.124.2",
4
4
  "description": "TypeScript SDK for the OnlyWorlds API - build world-building applications with type safety",
5
5
  "type": "module",
6
6
  "exports": {