wontopos 2.2.29 → 2.2.30
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/README.md +23 -15
- package/dist/wontopos.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -162,20 +162,28 @@ const mem = new Client({ apiKey: "...", baseUrl: "https://wos.your-host.com" });
|
|
|
162
162
|
|
|
163
163
|
## Changelog
|
|
164
164
|
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
- **2.2.
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
`
|
|
174
|
-
`
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
-
|
|
178
|
-
- **2.2.
|
|
179
|
-
|
|
165
|
+
The three clients release in lockstep — same version, same surface, same day.
|
|
166
|
+
Patch releases are additive: nothing is removed or reordered within a minor line.
|
|
167
|
+
|
|
168
|
+
- **2.2.30** — documentation only: this changelog, which had not been updated
|
|
169
|
+
in the shipped package since 2.2.10.
|
|
170
|
+
- **2.2.29** — a store id that was PASSED but unusable no longer becomes the
|
|
171
|
+
default store. 2.2.28 caught a blank string; the value a failed tenant lookup
|
|
172
|
+
actually produces in JavaScript is `null` — and `String(null)` is the truthy
|
|
173
|
+
`"null"`, so it walked past the check and `null || default` sent the write to
|
|
174
|
+
the client's default store. `0` did the same. Anything but a non-blank string
|
|
175
|
+
now throws, on `deleteStore` / `deleteAll` too. Omitting the argument still
|
|
176
|
+
means "use the default". Also: `deleteStore` validates before it warns, so a
|
|
177
|
+
non-string no longer surfaces as a `TypeError` from inside the SDK.
|
|
178
|
+
- **2.2.28** — audit: the API key no longer survives an object spread (`private`
|
|
179
|
+
is erased at runtime, so `{...client}` copied it), a whitespace `memoryId` can
|
|
180
|
+
no longer read as a whole-store delete, and a blank store id throws instead of
|
|
181
|
+
silently using the default.
|
|
182
|
+
- **2.2.11–2.2.27** — additive fixes and hardening across all three clients.
|
|
183
|
+
- **2.2.10** — `Memory` fix: the relevance field is `similarity` (not `score`);
|
|
184
|
+
added typed `importance`, `category`, `is_superseded`, `superseded_by`,
|
|
185
|
+
`created_at`, `event_date`.
|
|
186
|
+
- **2.2.4–2.2.9** — one version across Python, TypeScript and Rust, released in
|
|
187
|
+
lockstep; retries, redirect refusal, response cap, key masking, speakers.
|
|
180
188
|
|
|
181
189
|
License: MIT.
|
package/dist/wontopos.js
CHANGED
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
* runtime's (never disabled by this SDK; Node 18+ floors TLS at 1.2). Prefer
|
|
38
38
|
* `Client.fromEnv()` over keys in source code.
|
|
39
39
|
*/
|
|
40
|
-
const VERSION = "2.2.
|
|
40
|
+
const VERSION = "2.2.30";
|
|
41
41
|
/** Runtime info helps support debug a report ("node 18 on Windows...") —
|
|
42
42
|
* platform only, never anything identifying. Browsers have no `process` (and
|
|
43
43
|
* silently drop the UA header anyway). */
|
package/package.json
CHANGED