@synopackageland/sdk 0.50.2 → 0.50.4

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 CHANGED
@@ -27,10 +27,15 @@ into every generated native window, including Go-only Apps.
27
27
 
28
28
  An old page can retain a rejected token after another tab signs in again.
29
29
  `refresh(rejectedToken)` forces same-origin recovery while sharing concurrent
30
- requests. `createClient({sessionRetry: {session, operations}})` opts in to one
30
+ requests. Failed refresh or a same-token reply retains the existing carrier
31
+ for later calls; `refresh()` still returns `undefined` and prevents a replay.
32
+ `createClient({sessionRetry: {session, operations}})` opts in to one
31
33
  retry for trusted `effect: read`, `kind: rpc` operations only. Writes, AI,
32
34
  streams and batches never replay; the default remains off because the client
33
- cannot infer operation effects. Existing `ctx.call` is not automatically wrapped.
35
+ cannot infer operation effects. Pass the CLI-generated
36
+ `sessionRetryOperations` from `generated/session-retry.ts` as `operations`;
37
+ unclassified routes have `kind: unknown` and never retry. Existing `ctx.call`
38
+ is not automatically wrapped.
34
39
  See [HTTPS and session recovery](../docs/https-and-session-recovery.md) for the
35
40
  API, cancellation/deadline behavior and the CLI skill link.
36
41
 
@@ -41,6 +46,10 @@ returns `https_required`; render `identityCopy(locale).httpsTitle` and
41
46
  `readDsmHttpsURL(ctx, location.href)` discovers `dms_https` through
42
47
  `readDsmPorts` only for an administrator. Ordinary/unknown users get no
43
48
  PortInfo request and should see instructions only. No port is guessed.
49
+ To preserve the current URL's `launchApp` and `launchParam`, use
50
+ `readDsmHttpsURL(ctx, location.href, {keepLaunchApp: true, signal})`.
51
+ Other query parameters and fragments are dropped; the default still opens DSM
52
+ without launch routing. A third-argument `AbortSignal` remains supported.
44
53
 
45
54
  ## DSM WebAPI
46
55