@fleetless/sdk 2.0.1 → 2.1.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/CHANGELOG.md CHANGED
@@ -4,6 +4,33 @@ All notable changes to `@fleetless/sdk`. The format follows Keep a Changelog; th
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [2.1.0] — 2026-09-04
8
+
9
+ ### Added
10
+
11
+ - `InvokeOptions` is exported — the type of `actions.invoke`'s options
12
+ argument, which a caller constructs and could not name.
13
+
14
+ ### Changed
15
+
16
+ - Every exported member carries a doc comment; the generated SDK reference
17
+ on docs.fleetless.dev is rendered from them.
18
+ - `InMemoryTokenStore` declares an explicit empty `constructor()`. It exists
19
+ only to carry a doc comment: TypeDoc reflects a synthesized constructor
20
+ for a class without one, and an undocumented member is what the reference
21
+ is built to have none of. Behaviour is unchanged — the class had an
22
+ implicit no-argument constructor before and has an explicit one now.
23
+
24
+ ## [2.0.2] — 2026-09-04
25
+
26
+ No code change; the published `dist/` is byte-identical to 2.0.0.
27
+
28
+ ### Changed
29
+
30
+ - The README's getting-started section speaks of the hosted platform only;
31
+ the paragraph about pointing `apiUrl` at a local stack is gone. Fleetless
32
+ is not offered for self-hosting.
33
+
7
34
  ## [2.0.1] — 2026-09-04
8
35
 
9
36
  No code change; the published `dist/` is byte-identical to 2.0.0.
package/README.md CHANGED
@@ -57,7 +57,7 @@ npm i @fleetless/sdk
57
57
  ```
58
58
 
59
59
  You need an app identifier and an end user's credentials from the
60
- [Fleetless Console](https://console.fleetless.dev), or your own dev stack.
60
+ [Fleetless Console](https://console.fleetless.dev).
61
61
 
62
62
  ```ts checked
63
63
  import { createClient } from '@fleetless/sdk'
@@ -94,9 +94,6 @@ await client.auth.logout()
94
94
  client.close()
95
95
  ```
96
96
 
97
- Against a local dev stack, point `apiUrl` at `http://localhost:8080`; the
98
- realtime URL (`ws://localhost:8080/realtime`) is derived from it.
99
-
100
97
  Slugs are the names you chose in the console, in `snake_case`
101
98
  (`[a-z][a-z0-9]*(_[a-z0-9]+)*`) — never the robot's internal ROS names, which
102
99
  is what makes renaming a node on the robot invisible to your app.