@mitralab.io/platform-sdk 1.4.1 → 1.5.0-beta.1

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
@@ -2,6 +2,28 @@
2
2
 
3
3
  All notable changes to this project are documented in this file.
4
4
 
5
+ ## 1.5.0-beta.1
6
+
7
+ - Depend on `@mitralab.io/sdk-core@0.2.12-beta.1`: a `cancel()` pressed before the agent turn starts
8
+ waits for the box to admit the prompt and goes out right after it, instead of being dropped while
9
+ the answer kept coming. `cancelled` is only emitted once the stop was delivered, and a stop pressed
10
+ for a prompt the box refuses never goes out, so it cannot stop a later turn.
11
+
12
+ ## 1.5.0-beta.0
13
+
14
+ - Expose `auth.allTokens` for apps enabled server-side, with the three families IAM returns at
15
+ login: `platform` and `b2bToken` session pairs and the `mitraSpace` token. It is `null` for every
16
+ other app, and a malformed part reads as `null` without failing the login.
17
+ - Persist the field with the session. An app refresh replaces `platform` and keeps `mitraSpace` and
18
+ `b2bToken` from login, and a refresh without the field clears it; a new login, `setSession`,
19
+ `setToken` or a legacy login resets it, the legacy SDK's silent refresh keeps it, and `signOut()`
20
+ clears it.
21
+ - Export `AllTokens`, `PlatformSessionTokens` and `MitraSpaceToken`, with `readonly` fields; the
22
+ instances the SDK returns are frozen.
23
+ - Keep the field on the legacy SDK's silent refresh only when the renewed token has the same `sub`
24
+ as the current one; a late refresh for another person, or a token without a readable `sub`,
25
+ resets it.
26
+
5
27
  ## 1.4.1
6
28
 
7
29
  Stable release of the 1.4.1-beta.0 line, already on the `beta` tag. It pins