@clivly/auth-better-auth 0.10.2 → 0.10.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.
Files changed (2) hide show
  1. package/README.md +9 -2
  2. package/package.json +8 -8
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. Pass `--auth-import <specifier>` when it lives
65
- across a package boundary the on-disk probe cannot see.
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,11 +1,11 @@
1
1
  {
2
2
  "name": "@clivly/auth-better-auth",
3
- "version": "0.10.2",
3
+ "version": "0.10.4",
4
4
  "private": false,
5
- "type": "module",
6
5
  "description": "better-auth implementation of Clivly's ClivlyAuthAdapter.",
7
6
  "license": "MIT",
8
7
  "sideEffects": false,
8
+ "type": "module",
9
9
  "exports": {
10
10
  ".": {
11
11
  "import": {
@@ -21,11 +21,8 @@
21
21
  "files": [
22
22
  "dist"
23
23
  ],
24
- "publishConfig": {
25
- "access": "public"
26
- },
27
24
  "dependencies": {
28
- "@clivly/core": "0.10.2"
25
+ "@clivly/core": "0.10.4"
29
26
  },
30
27
  "devDependencies": {
31
28
  "tsdown": "^0.22.14",
@@ -35,12 +32,15 @@
35
32
  "engines": {
36
33
  "node": ">=22"
37
34
  },
35
+ "publishConfig": {
36
+ "access": "public"
37
+ },
38
38
  "scripts": {
39
39
  "build": "tsdown",
40
40
  "check-types": "tsc --noEmit",
41
41
  "test": "vitest run"
42
42
  },
43
43
  "main": "./dist/index.cjs",
44
- "types": "./dist/index.d.cts",
45
- "module": "./dist/index.mjs"
44
+ "module": "./dist/index.mjs",
45
+ "types": "./dist/index.d.cts"
46
46
  }