@voyantjs/auth 0.5.0 → 0.6.2

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.
Files changed (2) hide show
  1. package/README.md +10 -2
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # @voyantjs/auth
2
2
 
3
- Better Auth wiring for Voyant's reference template stack. Provides server-side auth helpers, edge runtime variants, backend utilities, and a permissions contract.
3
+ Better Auth wiring for Voyant's reference template stack. Provides server-side
4
+ auth helpers, edge runtime variants, backend utilities, and a permissions
5
+ contract.
4
6
 
5
7
  ## Install
6
8
 
@@ -20,7 +22,13 @@ const auth = createAuth({
20
22
  })
21
23
  ```
22
24
 
23
- Auth provider wiring is template-owned — core Voyant packages only depend on the normalized `{ userId, actor }` contract, not on Better Auth specifically.
25
+ Auth provider wiring is template-owned — core Voyant packages only depend on
26
+ the normalized `{ userId, actor }` contract, not on Better Auth specifically.
27
+
28
+ The package also exposes a narrow shared-secret bearer-token helper surface via
29
+ `@voyantjs/utils/session-claims` for runtime-local verification. That helper is
30
+ not a replacement for Better Auth session cookies and does not imply a
31
+ platform-wide JWKS/JWT-first auth model.
24
32
 
25
33
  ## Exports
26
34
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voyantjs/auth",
3
- "version": "0.5.0",
3
+ "version": "0.6.2",
4
4
  "license": "FSL-1.1-Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -47,8 +47,8 @@
47
47
  "@better-auth/api-key": "^1.5.6",
48
48
  "better-auth": "^1.5.6",
49
49
  "drizzle-orm": "^0.45.2",
50
- "@voyantjs/db": "0.5.0",
51
- "@voyantjs/utils": "0.5.0"
50
+ "@voyantjs/db": "0.6.2",
51
+ "@voyantjs/utils": "0.6.2"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@types/node": "25.5.2",