@better-auth/infra 0.4.6 → 0.4.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@better-auth/infra",
3
- "version": "0.4.6",
3
+ "version": "0.4.8",
4
4
  "description": "Dashboard and analytics plugin for Better Auth",
5
5
  "type": "module",
6
6
  "main": "dist/index.mjs",
@@ -11,27 +11,31 @@
11
11
  "build": "bun --bun tsdown",
12
12
  "dev": "bun --bun tsdown --watch --no-clean",
13
13
  "typecheck": "tsc --noEmit",
14
- "test": "bun test --parallel",
15
- "test:watch": "bun test --watch",
16
- "coverage": "bun test --coverage --parallel"
14
+ "test": "vitest run",
15
+ "test:watch": "vitest",
16
+ "coverage": "vitest run --coverage"
17
17
  },
18
18
  "exports": {
19
19
  ".": {
20
+ "@infra/source": "./src/index.ts",
20
21
  "types": "./dist/index.d.mts",
21
22
  "import": "./dist/index.mjs",
22
23
  "default": "./dist/index.mjs"
23
24
  },
24
25
  "./client": {
26
+ "@infra/source": "./src/client.ts",
25
27
  "types": "./dist/client.d.mts",
26
28
  "import": "./dist/client.mjs",
27
29
  "default": "./dist/client.mjs"
28
30
  },
29
31
  "./email": {
32
+ "@infra/source": "./src/email.ts",
30
33
  "types": "./dist/email.d.mts",
31
34
  "import": "./dist/email.mjs",
32
35
  "default": "./dist/email.mjs"
33
36
  },
34
37
  "./native": {
38
+ "@infra/source": "./src/native.ts",
35
39
  "types": "./dist/native.d.mts",
36
40
  "import": "./dist/native.mjs",
37
41
  "default": "./dist/native.mjs"
@@ -62,19 +66,22 @@
62
66
  },
63
67
  "homepage": "https://better-auth.com",
64
68
  "devDependencies": {
65
- "@better-auth/kysely-adapter": "1.7.0-rc.1",
66
- "@better-auth/scim": "1.7.0-rc.1",
67
- "@better-auth/sso": "1.7.0-rc.1",
69
+ "@better-auth/kysely-adapter": "1.7.3",
70
+ "@better-auth/scim": "1.7.3",
71
+ "@better-auth/sso": "1.7.3",
68
72
  "@infra/mocks": "0.0.0",
69
73
  "@infra/utils": "0.0.0",
70
74
  "@types/bun": "latest",
71
75
  "@types/node": "^24.12.0",
72
- "better-auth": "1.7.0-rc.1",
76
+ "@vitest/browser-playwright": "5.0.0",
77
+ "@vitest/coverage-istanbul": "^5.0.0",
78
+ "better-auth": "1.7.3",
73
79
  "expo-crypto": "^57.0.1",
74
- "happy-dom": "^20.9.0",
75
80
  "msw": "^2.14.6",
81
+ "playwright": "^1.63.0",
76
82
  "tsdown": "^0.22.14",
77
83
  "typescript": "^6.0.3",
84
+ "vitest": "^5.0.0",
78
85
  "zod": "4.5.4"
79
86
  },
80
87
  "dependencies": {
@@ -82,7 +89,7 @@
82
89
  "@better-fetch/fetch": "1.3.1",
83
90
  "@noble/hashes": "^2.2.0",
84
91
  "@xmldom/xmldom": "^0.9.10",
85
- "better-call": "1.3.7",
92
+ "better-call": "1.4.0",
86
93
  "jose": "^6.2.10",
87
94
  "libphonenumber-js": "^1.13.11"
88
95
  },
@@ -112,5 +119,10 @@
112
119
  "expo-device": {
113
120
  "optional": true
114
121
  }
122
+ },
123
+ "msw": {
124
+ "workerDirectory": [
125
+ "public"
126
+ ]
115
127
  }
116
128
  }