@ultimat3/realtime 25.2.0 → 26.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ultimat3/realtime",
3
- "version": "25.2.0",
3
+ "version": "26.0.0",
4
4
  "description": "Three-tier realtime: channels, live queries, local-first sync — one protocol, one mutator shape",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -40,10 +40,10 @@
40
40
  "test": "bun test"
41
41
  },
42
42
  "dependencies": {
43
- "@ultimat3/core": "25.2.0",
44
- "@ultimat3/entity": "25.2.0",
45
- "@ultimat3/policy": "25.2.0",
46
- "@ultimat3/query": "25.2.0",
43
+ "@ultimat3/core": "26.0.0",
44
+ "@ultimat3/entity": "26.0.0",
45
+ "@ultimat3/policy": "26.0.0",
46
+ "@ultimat3/query": "26.0.0",
47
47
  "nats": "2.29.3"
48
48
  }
49
49
  }
package/src/errors.ts CHANGED
@@ -282,7 +282,7 @@ export class LiveRowUnidentifiedError extends RealtimeError {
282
282
  cause: `live query "${args.query}" returned a row whose id is a ${args.idType}, not text or a safe integer — a live row is addressed by a text id, so project the key as text (a uuid or text column) or drop live: true from the query`,
283
283
  // A name the shell would not read verbatim does not travel: the list names it instead.
284
284
  fix: isFixShellSafe(args.query)
285
- ? `x queries describe ${renderFixShellArg(args.query, 'name')} --json`
285
+ ? `x queries show ${renderFixShellArg(args.query, 'name')} --json`
286
286
  : 'x queries list --json',
287
287
  },
288
288
  );
@@ -72,7 +72,7 @@ export class RecordRejectedError extends RealtimeError {
72
72
  super({
73
73
  code: 'X_RECORD_REJECTED',
74
74
  cause: `a ${args.type === '' ? 'record' : `"${args.type}" record`} was rejected by the page's record store: ${args.reason}`,
75
- fix: `x entities describe ${renderFixShellArg(args.type, '<entity>')} --json # the primary key every row of it must carry; return whole rows from the handler that built this one`,
75
+ fix: `x entities show ${renderFixShellArg(args.type, '<entity>')} --json # the primary key every row of it must carry; return whole rows from the handler that built this one`,
76
76
  });
77
77
  }
78
78
  }