@softistx/alxia-react-router 0.83.0 → 0.83.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/README.md +1 -1
- package/docs/guide/subscriptions.md +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1158,7 +1158,7 @@ for the rules, the options and the errors.
|
|
|
1158
1158
|
### Keep it alive in the page: `useLiveSubscription`
|
|
1159
1159
|
|
|
1160
1160
|
`@softistx/alxia-react-router/subscription/react` is the browser side. It wraps
|
|
1161
|
-
`useSubscription` of `@nxgt/graphql-client/react` (an optional peer,
|
|
1161
|
+
`useSubscription` of `@nxgt/graphql-client/react` (an optional peer, `>=0.7.0 <0.9.0`,
|
|
1162
1162
|
under a `GraphQLProvider`) and owns what a long-lived stream needs: reconnect
|
|
1163
1163
|
with a growing wait (1 s doubling to 30 s), a stop on a 401 or any 4xx repeating
|
|
1164
1164
|
cannot change, a 429's `retryAfter` honoured, events older than the highest
|
|
@@ -145,7 +145,7 @@ they like: rate-limit it (`@softistx/alxia-rate-limit`) if the API does not.
|
|
|
145
145
|
|
|
146
146
|
`@softistx/alxia-react-router/subscription/react` is the browser side of the route
|
|
147
147
|
above. `useLiveSubscription(document, variables, options)` wraps
|
|
148
|
-
`useSubscription` of `@nxgt/graphql-client/react` (an optional peer,
|
|
148
|
+
`useSubscription` of `@nxgt/graphql-client/react` (an optional peer, `>=0.7.0 <0.9.0`;
|
|
149
149
|
the page needs its `GraphQLProvider`) and handles what a stream that lives for
|
|
150
150
|
minutes needs. The bare client never retries, reconnects or deduplicates.
|
|
151
151
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@softistx/alxia-react-router",
|
|
3
|
-
"version": "0.83.
|
|
3
|
+
"version": "0.83.1",
|
|
4
4
|
"description": "alxia as the server of a React Router framework app: server rendering behind the app's hooks, loaders reading its typed context, the client's assets served; the code with no UI an installable app shares (`/pwa`), its hooks (`/pwa/react`), `noCache` for the worker's script (`/pwa/server`), the service worker on Workbox (`/pwa/worker`) and its build (`/pwa/build`), an API's refusals worded for the page (`/errors`), the BFF session: cookies, sign-in, step-up and mail links (`/session`), its page hooks (`/session/react`) and what it shares with the page (`/session/model`), a GraphQL subscription relayed to the browser over SSE (`/subscription`) and kept alive in the page (`/subscription/react`), an API's MCP and OAuth endpoints relayed on the app's origin (`/mcp`), per-role flow docs, the help panel's data and its lazy `HelpPanel`, and the role guide's `useGuideRole` (`/help`, `/help/check`), an API's media files read and uploaded through the app (`/media`) and uploaded from the page with progress (`/media/client`), the page's CSP nonce and inline boot scripts (`/document`) and a streaming `entry.server` (`/entry`), the consent screen of an OAuth server: a route's loader and action, the connected apps' list and revoke (`/oauth`) and the decision hook (`/oauth/react`), a user's API keys listed, created behind a step-up and revoked (`/api-keys`) and `/oidc`: a relying party of an external OpenID Connect issuer (authorization code + PKCE, id token validation, a sealed token cookie, refresh and RP-initiated logout)",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -212,9 +212,9 @@
|
|
|
212
212
|
"@softistx/alxia-openapi": "^0.7.0",
|
|
213
213
|
"@softistx/alxia-proxy": "^0.5.0",
|
|
214
214
|
"@softistx/alxia-secure-headers": "^0.6.0",
|
|
215
|
-
"@nxgt/graphql-client": "^0.
|
|
215
|
+
"@nxgt/graphql-client": "^0.8.0",
|
|
216
216
|
"@react-router/dev": "^8.5.0",
|
|
217
|
-
"@softistx/janus": "^0.
|
|
217
|
+
"@softistx/janus": "^0.80.0",
|
|
218
218
|
"@types/bun": "^1.4.4",
|
|
219
219
|
"@types/react": "^19.3.0",
|
|
220
220
|
"@types/react-dom": "^19.3.0",
|
|
@@ -239,7 +239,7 @@
|
|
|
239
239
|
"peerDependencies": {
|
|
240
240
|
"@softistx/alxia": "^0.28.0",
|
|
241
241
|
"@softistx/alxia-proxy": "^0.5.0",
|
|
242
|
-
"@nxgt/graphql-client": "
|
|
242
|
+
"@nxgt/graphql-client": ">=0.7.0 <0.9.0",
|
|
243
243
|
"isbot": "^5.0.0",
|
|
244
244
|
"jose": "^6.0.0",
|
|
245
245
|
"react": "^19.0.0",
|