@clivly/auth-better-auth 0.10.2 → 0.10.3
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 +9 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -61,8 +61,15 @@ const user = await authAdapter.getUser(request); // { id, email, name } | null
|
|
|
61
61
|
better-auth user object and only need the mapping.
|
|
62
62
|
|
|
63
63
|
`clivly init` detects a better-auth instance in your project and wires it into
|
|
64
|
-
the scaffolded auth-verify route
|
|
65
|
-
|
|
64
|
+
the scaffolded auth-verify route, printing `Auth: better-auth (wired)` when it
|
|
65
|
+
finds one. The probe covers each framework's conventional locations, including
|
|
66
|
+
SvelteKit's `src/lib/server/auth` and Nuxt's `server/utils/auth`.
|
|
67
|
+
|
|
68
|
+
Pass `--auth-import <specifier>` when your instance lives somewhere the on-disk
|
|
69
|
+
probe cannot see, such as a sibling workspace package. It accepts an alias or
|
|
70
|
+
subpath import (`$lib/server/auth`, `@/lib/auth`, `#auth`), a package name, or a
|
|
71
|
+
project-relative path (`src/lib/server/auth`) — the first two are emitted
|
|
72
|
+
unchanged, the last is rebased to the route file's depth.
|
|
66
73
|
|
|
67
74
|
## Related documentation
|
|
68
75
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clivly/auth-better-auth",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "better-auth implementation of Clivly's ClivlyAuthAdapter.",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"access": "public"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@clivly/core": "0.10.
|
|
28
|
+
"@clivly/core": "0.10.3"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"tsdown": "^0.22.14",
|