@re-cinq/floor-client 0.8.0 → 0.11.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/dist/index.d.ts CHANGED
@@ -1,3 +1,11 @@
1
+ /**
2
+ * Use the Client SDK to connect a service or executor to Floor. A service starts
3
+ * [assembly runs](/floor/concepts/assembly-run/), reads their [bags](/floor/concepts/bag/),
4
+ * and follows changes over a live connection. An executor uses a visit token to work
5
+ * on the single visit assigned to it.
6
+ *
7
+ * @packageDocumentation
8
+ */
1
9
  export { createFloorClient } from "./client.js";
2
10
  export { createVisitClient } from "./visit.js";
3
11
  export { serviceToken, visitToken } from "./tokens.js";
package/dist/index.js CHANGED
@@ -1,4 +1,12 @@
1
- // The floor, typed. One client for a service, one for a single visit, and a watch over the live socket.
1
+ // eslint-disable-next-line re-lint/max-comment-lines -- Published as the client SDK introduction.
2
+ /**
3
+ * Use the Client SDK to connect a service or executor to Floor. A service starts
4
+ * [assembly runs](/floor/concepts/assembly-run/), reads their [bags](/floor/concepts/bag/),
5
+ * and follows changes over a live connection. An executor uses a visit token to work
6
+ * on the single visit assigned to it.
7
+ *
8
+ * @packageDocumentation
9
+ */
2
10
  export { createFloorClient } from "./client.js";
3
11
  export { createVisitClient } from "./visit.js";
4
12
  export { serviceToken, visitToken } from "./tokens.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@re-cinq/floor-client",
3
- "version": "0.8.0",
3
+ "version": "0.11.2",
4
4
  "description": "The floor over HTTP and its live socket, typed: definitions, runs, visits, blobs, events, schedules and costs, plus a watch that replays a run from a cursor and reconnects without losing a frame.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -45,7 +45,7 @@
45
45
  "typecheck": "tsc --noEmit"
46
46
  },
47
47
  "dependencies": {
48
- "@re-cinq/floor-contracts": "0.8.0"
48
+ "@re-cinq/floor-contracts": "0.11.2"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@types/node": "^22.20.1",