@alxia/janus 0.3.12 → 0.3.14

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
@@ -14,6 +14,9 @@ bun add -d typescript
14
14
  It mirrors [`@nxgt/janus-hono`](https://www.npmjs.com/package/@nxgt/janus-hono):
15
15
  the same cookie, the same rules, the same bodies.
16
16
 
17
+ A BFF that calls a janus API, rather than running `@nxgt/janus` itself, wants
18
+ [`@alxia/react-router/session`](https://www.npmjs.com/package/@alxia/react-router).
19
+
17
20
  ## Usage
18
21
 
19
22
  ```ts
package/docs/roadmap.md CHANGED
@@ -26,6 +26,9 @@ Nothing scheduled yet.
26
26
  `@nxgt/janus`'s, with your database behind its stores: this package only
27
27
  wires them into an app — the context, the cookies, the answers — so a
28
28
  flow `@nxgt/janus` adds is usable here without a release of this one.
29
+ - **A BFF that calls a janus API.** An app that renders its pages and holds
30
+ the session in its own cookie does not run this package: it calls the API.
31
+ Its session is `@alxia/react-router/session`.
29
32
 
30
33
  ## Shipped
31
34
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alxia/janus",
3
- "version": "0.3.12",
3
+ "version": "0.3.14",
4
4
  "description": "Identities and sessions for alxia on @nxgt/janus: the user typed in the context, the session cookie kept and renewed, a typed 401",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -43,15 +43,15 @@
43
43
  "devDependencies": {
44
44
  "@alxia/core": "^0.15.1",
45
45
  "@alxia/i18n": "^0.4.3",
46
- "@alxia/language": "^0.3.10",
46
+ "@alxia/language": "^0.3.11",
47
47
  "@nxgt/i18n": "^3.1.0",
48
- "@nxgt/janus": "^0.28.0",
48
+ "@nxgt/janus": "^0.29.0",
49
49
  "@types/bun": "^1.4.2",
50
50
  "zod": "^4.6.5"
51
51
  },
52
52
  "peerDependencies": {
53
53
  "@alxia/core": "^0.15.1",
54
- "@nxgt/janus": ">=0.17.1 <0.29.0",
54
+ "@nxgt/janus": ">=0.17.1 <0.30.0",
55
55
  "typescript": "^6.0.3 || ^7.0.0"
56
56
  }
57
57
  }