@onlyworlds/sdk 4.123.2 → 4.123.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 CHANGED
@@ -5,6 +5,12 @@ earlier history lives in git log only.
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [4.123.3] - 2026-10-31
9
+
10
+ ### Fixed
11
+
12
+ - **A value in a request path that is not one segment is refused before anything is sent.** 4.122.1 escaped every path value, but the API decodes an escaped slash before it routes: `get('character', '<id>%2Fhidden')` and an id carrying `/` still reached another route (`/character/<id>/hidden`). Every type, id, link field and account-route id (world, seat, link, member, key, token, file, proposal) is now checked first: a type is a lower-case word, every other value letters, digits, `_`, `.` and `-`, not starting with a dot or a dash. Anything else is a `TypeError` naming the value, and nothing is sent; what passes is still escaped. Every id the API serves passes. A test reads every request path in the client's source and fails on one that does not go through the check.
13
+
8
14
  ## [4.123.2] - 2026-10-31
9
15
 
10
16
  ### Fixed
package/dist/index.js CHANGED
@@ -816,7 +816,7 @@ var OwV2Client = class {
816
816
  throw new TypeError("worldLenses: resolve is true or false. Nothing was sent.");
817
817
  }
818
818
  const query = buildQuery({ resolve: opts.resolve, read_as: opts.readAs });
819
- return this.request("GET", `/world/${encodeURIComponent(worldId)}/lenses`, { query, accountToken: "path" });
819
+ return this.request("GET", `/world/${seg("worldId", worldId)}/lenses`, { query, accountToken: "path" });
820
820
  }
821
821
  async me() {
822
822
  if (this.keyKind === "account") {
@@ -858,7 +858,7 @@ var OwV2Client = class {
858
858
  ...params.filter,
859
859
  as: params.viewAs
860
860
  }, new Set(Object.keys(params.filter ?? {})));
861
- return this.request("GET", `/${encodeURIComponent(type)}/`, { query, worldRead: true, ...withSignal(params.signal) });
861
+ return this.request("GET", `/${seg("type", type)}/`, { query, worldRead: true, ...withSignal(params.signal) });
862
862
  }
863
863
  async draught(characterId, policy = {}) {
864
864
  only("draught", policy, ["components", "mode", "asOf", "undated", "since", "budget", "depth", "compact", "lens"]);
@@ -876,7 +876,7 @@ var OwV2Client = class {
876
876
  compact: policy.compact,
877
877
  lens: policy.lens
878
878
  });
879
- return this.request("GET", `/character/${encodeURIComponent(characterId)}/context`, { query, worldRead: true });
879
+ return this.request("GET", `/character/${seg("characterId", characterId)}/context`, { query, worldRead: true });
880
880
  }
881
881
  /**
882
882
  * Cursor-walk every page of a type. Politeness: uses config pageSize. On a client with `world`
@@ -903,7 +903,7 @@ var OwV2Client = class {
903
903
  async get(type, id, opts = {}) {
904
904
  only("get", opts, ["expand", "fields", "viewAs", "signal"]);
905
905
  const query = buildQuery({ expand: opts.expand?.join(","), fields: opts.fields?.join(","), as: opts.viewAs });
906
- return this.request("GET", `/${encodeURIComponent(type)}/${encodeURIComponent(id)}/`, { query, worldRead: true, ...withSignal(opts.signal) });
906
+ return this.request("GET", `/${seg("type", type)}/${seg("id", id)}/`, { query, worldRead: true, ...withSignal(opts.signal) });
907
907
  }
908
908
  /**
909
909
  * POST /{type}/ -- create one element, minting an id on the client when you leave id out.
@@ -922,7 +922,7 @@ var OwV2Client = class {
922
922
  if (body.id === void 0 || body.id === null || body.id === "") {
923
923
  body.id = opts.idempotencyKey ? keyedId(opts.idempotencyKey, 0) : mintUuid();
924
924
  }
925
- return this.request("POST", `/${encodeURIComponent(type)}/`, {
925
+ return this.request("POST", `/${seg("type", type)}/`, {
926
926
  write: true,
927
927
  elementWrite: true,
928
928
  body,
@@ -938,7 +938,7 @@ var OwV2Client = class {
938
938
  */
939
939
  async upsert(type, id, element) {
940
940
  refuseKnownOf(element, "upsert");
941
- return this.request("PUT", `/${encodeURIComponent(type)}/${encodeURIComponent(id)}/`, { write: true, elementWrite: true, proposable: true, body: sanitizePayload(element) });
941
+ return this.request("PUT", `/${seg("type", type)}/${seg("id", id)}/`, { write: true, elementWrite: true, proposable: true, body: sanitizePayload(element) });
942
942
  }
943
943
  /**
944
944
  * PATCH /{type}/{id}/ -- partial update. DESTRUCTIVE on sent fields: arrays
@@ -958,7 +958,7 @@ var OwV2Client = class {
958
958
  async patch(type, id, partial, opts = {}) {
959
959
  only("patch", opts, ["ifMatch"]);
960
960
  refuseKnownOf(partial, "patch");
961
- return this.request("PATCH", `/${encodeURIComponent(type)}/${encodeURIComponent(id)}/`, { write: true, elementWrite: true, proposable: true, body: sanitizePayload(partial), ifMatch: opts.ifMatch });
961
+ return this.request("PATCH", `/${seg("type", type)}/${seg("id", id)}/`, { write: true, elementWrite: true, proposable: true, body: sanitizePayload(partial), ifMatch: opts.ifMatch });
962
962
  }
963
963
  /**
964
964
  * DELETE /{type}/{id}/ -- idempotent (204 on absent). Server writes a
@@ -972,7 +972,7 @@ var OwV2Client = class {
972
972
  */
973
973
  async delete(type, id, opts = {}) {
974
974
  only("delete", opts, ["ifMatch"]);
975
- await this.request("DELETE", `/${encodeURIComponent(type)}/${encodeURIComponent(id)}/`, { write: true, elementWrite: true, allowEmpty: true, ifMatch: opts.ifMatch });
975
+ await this.request("DELETE", `/${seg("type", type)}/${seg("id", id)}/`, { write: true, elementWrite: true, allowEmpty: true, ifMatch: opts.ifMatch });
976
976
  }
977
977
  /**
978
978
  * POST /{type}/{id}/links/{field} with {add, remove} -- atomic link merge.
@@ -985,7 +985,7 @@ var OwV2Client = class {
985
985
  async editLinks(type, id, field, edit, opts = {}) {
986
986
  only("editLinks", opts, ["ifMatch"]);
987
987
  only("editLinks", edit, ["add", "remove"], "The edit is { add?: string[], remove?: string[] }.");
988
- return this.request("POST", `/${encodeURIComponent(type)}/${encodeURIComponent(id)}/links/${encodeURIComponent(field)}`, { write: true, elementWrite: true, proposable: true, body: edit, ifMatch: opts.ifMatch });
988
+ return this.request("POST", `/${seg("type", type)}/${seg("id", id)}/links/${seg("field", field)}`, { write: true, elementWrite: true, proposable: true, body: edit, ifMatch: opts.ifMatch });
989
989
  }
990
990
  /**
991
991
  * POST /{type}/{id}/adopt with {member} -- change who made an element.
@@ -1001,7 +1001,7 @@ var OwV2Client = class {
1001
1001
  */
1002
1002
  async adopt(type, id, member) {
1003
1003
  if (typeof member !== "string" || member === "") throw new TypeError('adopt: member must be a membership id or "owner"');
1004
- return this.request("POST", `/${encodeURIComponent(type)}/${encodeURIComponent(id)}/adopt`, { write: true, elementWrite: true, body: { member } });
1004
+ return this.request("POST", `/${seg("type", type)}/${seg("id", id)}/adopt`, { write: true, elementWrite: true, body: { member } });
1005
1005
  }
1006
1006
  // -- Bulk ----------------------------------------------------------------
1007
1007
  /**
@@ -1241,7 +1241,7 @@ var OwV2Client = class {
1241
1241
  * are not in its body, its `change_seq` or /changes.
1242
1242
  */
1243
1243
  async listFiles(type, id) {
1244
- const page = await this.request("GET", `/${encodeURIComponent(type)}/${encodeURIComponent(id)}/files`);
1244
+ const page = await this.request("GET", `/${seg("type", type)}/${seg("id", id)}/files`);
1245
1245
  return page.data ?? [];
1246
1246
  }
1247
1247
  /**
@@ -1281,7 +1281,7 @@ var OwV2Client = class {
1281
1281
  const kind = req.kind ?? requireFileKind(name);
1282
1282
  const body = { name, kind, size };
1283
1283
  if (req.label !== void 0) body.label = req.label;
1284
- return this.request("POST", `/${encodeURIComponent(type)}/${encodeURIComponent(id)}/files`, { body, write: true });
1284
+ return this.request("POST", `/${seg("type", type)}/${seg("id", id)}/files`, { body, write: true });
1285
1285
  }
1286
1286
  /**
1287
1287
  * Attach one file to an element: a ticket from the API (createFileTicket), then the bytes
@@ -1360,7 +1360,7 @@ var OwV2Client = class {
1360
1360
  * key that may read the element.
1361
1361
  */
1362
1362
  async fileDownloadLink(type, id, fileId) {
1363
- return this.request("GET", `/${encodeURIComponent(type)}/${encodeURIComponent(id)}/files/${encodeURIComponent(fileId)}/download`);
1363
+ return this.request("GET", `/${seg("type", type)}/${seg("id", id)}/files/${seg("fileId", fileId)}/download`);
1364
1364
  }
1365
1365
  /**
1366
1366
  * DELETE /{type}/{id}/files/{fileId} -- remove a file for real: it leaves the lists and
@@ -1370,7 +1370,7 @@ var OwV2Client = class {
1370
1370
  * Deleting an element removes its files too.
1371
1371
  */
1372
1372
  async removeFile(type, id, fileId) {
1373
- await this.request("DELETE", `/${encodeURIComponent(type)}/${encodeURIComponent(id)}/files/${encodeURIComponent(fileId)}`);
1373
+ await this.request("DELETE", `/${seg("type", type)}/${seg("id", id)}/files/${seg("fileId", fileId)}`);
1374
1374
  }
1375
1375
  // -- Joining a world by link ----------------------------------
1376
1376
  /**
@@ -1592,7 +1592,7 @@ var OwV2Client = class {
1592
1592
  if (opts.preview !== void 0) body.preview = opts.preview;
1593
1593
  if (opts.maxUses !== void 0) body.max_uses = opts.maxUses;
1594
1594
  if (opts.characters !== void 0) body.characters = opts.characters;
1595
- return this.request("POST", `/account/worlds/${encodeURIComponent(worldId)}/links`, { body });
1595
+ return this.request("POST", `/account/worlds/${seg("worldId", worldId)}/links`, { body });
1596
1596
  }
1597
1597
  /**
1598
1598
  * GET /account/worlds/{worldId}/links -- the world's invite links, without their codes:
@@ -1603,7 +1603,7 @@ var OwV2Client = class {
1603
1603
  if (this.keyKind !== "account") {
1604
1604
  throw new TypeError("listWorldLinks needs an account token (ow_a_): only the world's owner sees its links");
1605
1605
  }
1606
- const page = await this.request("GET", `/account/worlds/${encodeURIComponent(worldId)}/links`);
1606
+ const page = await this.request("GET", `/account/worlds/${seg("worldId", worldId)}/links`);
1607
1607
  return page.data;
1608
1608
  }
1609
1609
  /**
@@ -1616,7 +1616,7 @@ var OwV2Client = class {
1616
1616
  if (this.keyKind !== "account") {
1617
1617
  throw new TypeError("revokeWorldLink needs an account token (ow_a_): only the world's owner revokes links");
1618
1618
  }
1619
- await this.request("DELETE", `/account/worlds/${encodeURIComponent(worldId)}/links/${encodeURIComponent(linkId)}`);
1619
+ await this.request("DELETE", `/account/worlds/${seg("worldId", worldId)}/links/${seg("linkId", linkId)}`);
1620
1620
  }
1621
1621
  // -- Seats for your own AI ------------------------------
1622
1622
  /**
@@ -1638,7 +1638,7 @@ var OwV2Client = class {
1638
1638
  const body = { name: opts.name };
1639
1639
  if (opts.role !== void 0) body.role = opts.role;
1640
1640
  if (opts.character !== void 0) body.character = opts.character;
1641
- return this.request("POST", `/account/worlds/${encodeURIComponent(worldId)}/seats`, { body });
1641
+ return this.request("POST", `/account/worlds/${seg("worldId", worldId)}/seats`, { body });
1642
1642
  }
1643
1643
  /**
1644
1644
  * GET /account/worlds/{worldId}/seats -- the live agent seats you can see: your own AI's, or,
@@ -1648,7 +1648,7 @@ var OwV2Client = class {
1648
1648
  if (this.keyKind !== "account") {
1649
1649
  throw new TypeError("listSeats needs an account token (ow_a_)");
1650
1650
  }
1651
- const page = await this.request("GET", `/account/worlds/${encodeURIComponent(worldId)}/seats`);
1651
+ const page = await this.request("GET", `/account/worlds/${seg("worldId", worldId)}/seats`);
1652
1652
  return page.data;
1653
1653
  }
1654
1654
  /**
@@ -1662,7 +1662,7 @@ var OwV2Client = class {
1662
1662
  if (this.keyKind !== "account") {
1663
1663
  throw new TypeError("rekeySeat needs an account token (ow_a_)");
1664
1664
  }
1665
- return this.request("POST", `/account/worlds/${encodeURIComponent(worldId)}/seats/${encodeURIComponent(seatId)}/key`);
1665
+ return this.request("POST", `/account/worlds/${seg("worldId", worldId)}/seats/${seg("seatId", seatId)}/key`);
1666
1666
  }
1667
1667
  /**
1668
1668
  * DELETE /account/worlds/{worldId}/seats/{seatId} -- remove an agent seat: its sponsor or the
@@ -1673,7 +1673,7 @@ var OwV2Client = class {
1673
1673
  if (this.keyKind !== "account") {
1674
1674
  throw new TypeError("removeSeat needs an account token (ow_a_)");
1675
1675
  }
1676
- await this.request("DELETE", `/account/worlds/${encodeURIComponent(worldId)}/seats/${encodeURIComponent(seatId)}`);
1676
+ await this.request("DELETE", `/account/worlds/${seg("worldId", worldId)}/seats/${seg("seatId", seatId)}`);
1677
1677
  }
1678
1678
  /**
1679
1679
  * PATCH /account/worlds/{worldId}/members/{memberId} with `lenses` alone -- set the lenses a row
@@ -1701,7 +1701,7 @@ var OwV2Client = class {
1701
1701
  }
1702
1702
  return this.request(
1703
1703
  "PATCH",
1704
- `/account/worlds/${encodeURIComponent(worldId)}/members/${encodeURIComponent(memberId)}`,
1704
+ `/account/worlds/${seg("worldId", worldId)}/members/${seg("memberId", memberId)}`,
1705
1705
  { body: { lenses: lensIds } }
1706
1706
  );
1707
1707
  }
@@ -1714,11 +1714,11 @@ var OwV2Client = class {
1714
1714
  * lists, search, counts and the link arrays that name it. 204, no body. No Idempotency-Key.
1715
1715
  */
1716
1716
  async hide(type, id) {
1717
- await this.request("PUT", `/${encodeURIComponent(type)}/${encodeURIComponent(id)}/hidden`, { body: {}, allowEmpty: true });
1717
+ await this.request("PUT", `/${seg("type", type)}/${seg("id", id)}/hidden`, { body: {}, allowEmpty: true });
1718
1718
  }
1719
1719
  /** DELETE /{type}/{id}/hidden -- clear the mark; an element that is not hidden stays as it is. 204. */
1720
1720
  async unhide(type, id) {
1721
- await this.request("DELETE", `/${encodeURIComponent(type)}/${encodeURIComponent(id)}/hidden`, { allowEmpty: true });
1721
+ await this.request("DELETE", `/${seg("type", type)}/${seg("id", id)}/hidden`, { allowEmpty: true });
1722
1722
  }
1723
1723
  /**
1724
1724
  * GET /world/hidden -- every hidden element of the world, newest first: `{type, id, set_at,
@@ -1813,7 +1813,7 @@ var OwV2Client = class {
1813
1813
  * Returns the row and the element as written.
1814
1814
  */
1815
1815
  async acceptProposal(type, id, pid) {
1816
- return this.request("POST", `${proposalsPath(type, id)}/${encodeURIComponent(pid)}/accept`, { elementWrite: true });
1816
+ return this.request("POST", `${proposalsPath(type, id)}/${seg("pid", pid)}/accept`, { elementWrite: true });
1817
1817
  }
1818
1818
  /**
1819
1819
  * POST /{type}/{id}/proposals/{pid}/decline -- the row turns declined, with an optional
@@ -1823,7 +1823,7 @@ var OwV2Client = class {
1823
1823
  async declineProposal(type, id, pid, opts = {}) {
1824
1824
  only("declineProposal", opts, ["reason"]);
1825
1825
  const body = opts.reason !== void 0 ? { reason: opts.reason } : void 0;
1826
- const out = await this.request("POST", `${proposalsPath(type, id)}/${encodeURIComponent(pid)}/decline`, { body });
1826
+ const out = await this.request("POST", `${proposalsPath(type, id)}/${seg("pid", pid)}/decline`, { body });
1827
1827
  return out.proposal;
1828
1828
  }
1829
1829
  /**
@@ -1832,7 +1832,7 @@ var OwV2Client = class {
1832
1832
  * any other key a 404; a decided row a 422.
1833
1833
  */
1834
1834
  async withdrawProposal(type, id, pid) {
1835
- await this.request("DELETE", `${proposalsPath(type, id)}/${encodeURIComponent(pid)}`, { allowEmpty: true });
1835
+ await this.request("DELETE", `${proposalsPath(type, id)}/${seg("pid", pid)}`, { allowEmpty: true });
1836
1836
  }
1837
1837
  /**
1838
1838
  * POST /{type}/{id}/review -- settle a new element written as proposed, one carrying
@@ -1856,7 +1856,7 @@ var OwV2Client = class {
1856
1856
  }
1857
1857
  const body = { decision: opts.decision };
1858
1858
  if (opts.reason !== void 0) body.reason = opts.reason;
1859
- const path = `/${encodeURIComponent(type)}/${encodeURIComponent(id)}/review`;
1859
+ const path = `/${seg("type", type)}/${seg("id", id)}/review`;
1860
1860
  const answer = await this.request("POST", path, { elementWrite: true, body });
1861
1861
  const settled = opts.decision === "accept" ? "element" : "deleted";
1862
1862
  if (answer === null || typeof answer !== "object" || !(settled in answer)) {
@@ -1929,7 +1929,7 @@ var OwV2Client = class {
1929
1929
  if (opts.scope !== void 0) body.scope = opts.scope;
1930
1930
  if (opts.name !== void 0) body.name = opts.name;
1931
1931
  if (opts.keep !== void 0) body.keep = opts.keep;
1932
- return this.request("POST", `/account/worlds/${encodeURIComponent(worldId)}/keys`, { body });
1932
+ return this.request("POST", `/account/worlds/${seg("worldId", worldId)}/keys`, { body });
1933
1933
  }
1934
1934
  /**
1935
1935
  * DELETE /account/worlds/{worldId}/keys/{keyId} -- revoke a world key, by the `id` mintWorldKey
@@ -1950,7 +1950,7 @@ var OwV2Client = class {
1950
1950
  const send = {};
1951
1951
  if (opts.signal !== void 0) send.signal = opts.signal;
1952
1952
  if (opts.keepalive !== void 0) send.keepalive = opts.keepalive;
1953
- await this.request("DELETE", `/account/worlds/${encodeURIComponent(worldId)}/keys/${encodeURIComponent(keyId)}`, send);
1953
+ await this.request("DELETE", `/account/worlds/${seg("worldId", worldId)}/keys/${seg("keyId", keyId)}`, send);
1954
1954
  }
1955
1955
  /**
1956
1956
  * GET /account/tokens -- the account's tokens, each by name and last four, never the token
@@ -1985,7 +1985,7 @@ var OwV2Client = class {
1985
1985
  const send = {};
1986
1986
  if (opts.signal !== void 0) send.signal = opts.signal;
1987
1987
  if (opts.keepalive !== void 0) send.keepalive = opts.keepalive;
1988
- await this.request("DELETE", `/account/tokens/${encodeURIComponent(tokenId)}`, send);
1988
+ await this.request("DELETE", `/account/tokens/${seg("tokenId", tokenId)}`, send);
1989
1989
  }
1990
1990
  // -- Sign in with OnlyWorlds (OAuth 2.1 code + PKCE) ----------------------
1991
1991
  /**
@@ -2172,8 +2172,15 @@ var HeadPollState = class {
2172
2172
  };
2173
2173
  var READ_ONLY_FIELDS = ["world", "type", "created_at", "updated_at", "change_seq", "known_of"];
2174
2174
  var WORLD_READ_ONLY_FIELDS = ["id", "slug", "public_page", "public_read", "agent_narrator_rule", "agent_writes_proposed", "origin", "counts"];
2175
+ var PATH_TYPE = /^[a-z][a-z0-9_]*$/;
2176
+ var PATH_VALUE = /^[A-Za-z0-9][A-Za-z0-9_.-]*$/;
2177
+ function seg(name, value) {
2178
+ const ok = typeof value === "string" && (name === "type" ? PATH_TYPE : PATH_VALUE).test(value);
2179
+ if (!ok) throw new TypeError(`${name} ${JSON.stringify(value)} is not one path segment. Nothing was sent.`);
2180
+ return encodeURIComponent(value);
2181
+ }
2175
2182
  function proposalsPath(type, id) {
2176
- return `/${encodeURIComponent(type)}/${encodeURIComponent(id)}/proposals`;
2183
+ return `/${seg("type", type)}/${seg("id", id)}/proposals`;
2177
2184
  }
2178
2185
  async function proposedFromResponse(res, method, path) {
2179
2186
  const body = await readJsonBody(res);
@@ -3843,7 +3850,7 @@ function pathFault(name) {
3843
3850
  if (name.includes("\\")) return "holds a backslash";
3844
3851
  if (name.startsWith("/")) return "is absolute";
3845
3852
  if (/^[A-Za-z]:/.test(name)) return "names a drive";
3846
- if (name.split("/").some((seg) => seg === "" || seg === "." || seg === "..")) return "has an empty, . or .. segment";
3853
+ if (name.split("/").some((seg2) => seg2 === "" || seg2 === "." || seg2 === "..")) return "has an empty, . or .. segment";
3847
3854
  return null;
3848
3855
  }
3849
3856
  var RESERVED = /* @__PURE__ */ new Set([
@@ -3855,15 +3862,15 @@ var RESERVED = /* @__PURE__ */ new Set([
3855
3862
  ]);
3856
3863
  var BAD_CHAR = /[<>:"|?*\p{Cc}]/u;
3857
3864
  function nameFault(name) {
3858
- for (const seg of name.split("/")) {
3859
- if (BAD_CHAR.test(seg)) return `segment ${JSON.stringify(seg)} holds a reserved or control character`;
3860
- if (seg.endsWith(".") || seg.endsWith(" ")) return `segment ${JSON.stringify(seg)} ends in a dot or a space`;
3861
- if (RESERVED.has(seg.split(".")[0].toUpperCase())) return `segment ${JSON.stringify(seg)} is a Windows device name`;
3865
+ for (const seg2 of name.split("/")) {
3866
+ if (BAD_CHAR.test(seg2)) return `segment ${JSON.stringify(seg2)} holds a reserved or control character`;
3867
+ if (seg2.endsWith(".") || seg2.endsWith(" ")) return `segment ${JSON.stringify(seg2)} ends in a dot or a space`;
3868
+ if (RESERVED.has(seg2.split(".")[0].toUpperCase())) return `segment ${JSON.stringify(seg2)} is a Windows device name`;
3862
3869
  }
3863
3870
  return null;
3864
3871
  }
3865
3872
  function isJunk(path) {
3866
- return path.split("/").some((seg) => seg === "__MACOSX" || seg === ".DS_Store" || seg === "Thumbs.db");
3873
+ return path.split("/").some((seg2) => seg2 === "__MACOSX" || seg2 === ".DS_Store" || seg2 === "Thumbs.db");
3867
3874
  }
3868
3875
  function foldName(name) {
3869
3876
  return simpleCaseFold(nfc(name));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onlyworlds/sdk",
3
- "version": "4.123.2",
3
+ "version": "4.123.3",
4
4
  "description": "TypeScript SDK for the OnlyWorlds API - build world-building applications with type safety",
5
5
  "type": "module",
6
6
  "exports": {