@better-auth/core 1.5.0-beta.18 → 1.5.0-beta.19
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 +17 -0
- package/dist/context/global.mjs +1 -1
- package/dist/db/adapter/factory.mjs +1 -1
- package/package.json +16 -5
package/README.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Better Auth Core
|
|
2
|
+
|
|
3
|
+
Core utilities and types for [Better Auth](https://www.better-auth.com) — the most comprehensive authentication framework for TypeScript.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install @better-auth/core
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Documentation
|
|
12
|
+
|
|
13
|
+
For full documentation, visit [better-auth.com](https://www.better-auth.com).
|
|
14
|
+
|
|
15
|
+
## License
|
|
16
|
+
|
|
17
|
+
MIT
|
package/dist/context/global.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { getAuthTables } from "../get-tables.mjs";
|
|
1
2
|
import { getColorDepth } from "../../env/color-depth.mjs";
|
|
2
3
|
import { TTY_COLORS, createLogger } from "../../env/logger.mjs";
|
|
3
4
|
import "../../env/index.mjs";
|
|
4
|
-
import { getAuthTables } from "../get-tables.mjs";
|
|
5
5
|
import { BetterAuthError } from "../../error/index.mjs";
|
|
6
6
|
import { safeJSONParse } from "../../utils/json.mjs";
|
|
7
7
|
import { initGetDefaultModelName } from "./get-default-model-name.mjs";
|
package/package.json
CHANGED
|
@@ -1,13 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@better-auth/core",
|
|
3
|
-
"version": "1.5.0-beta.
|
|
3
|
+
"version": "1.5.0-beta.19",
|
|
4
4
|
"description": "The most comprehensive authentication framework for TypeScript.",
|
|
5
5
|
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"homepage": "https://www.better-auth.com",
|
|
6
8
|
"repository": {
|
|
7
9
|
"type": "git",
|
|
8
10
|
"url": "git+https://github.com/better-auth/better-auth.git",
|
|
9
11
|
"directory": "packages/core"
|
|
10
12
|
},
|
|
13
|
+
"keywords": [
|
|
14
|
+
"auth",
|
|
15
|
+
"core",
|
|
16
|
+
"typescript",
|
|
17
|
+
"better-auth"
|
|
18
|
+
],
|
|
19
|
+
"publishConfig": {
|
|
20
|
+
"access": "public"
|
|
21
|
+
},
|
|
11
22
|
"files": [
|
|
12
23
|
"dist",
|
|
13
24
|
"src"
|
|
@@ -118,6 +129,10 @@
|
|
|
118
129
|
]
|
|
119
130
|
}
|
|
120
131
|
},
|
|
132
|
+
"dependencies": {
|
|
133
|
+
"@standard-schema/spec": "^1.0.0",
|
|
134
|
+
"zod": "^4.3.6"
|
|
135
|
+
},
|
|
121
136
|
"devDependencies": {
|
|
122
137
|
"@better-auth/utils": "0.3.1",
|
|
123
138
|
"@better-fetch/fetch": "1.1.21",
|
|
@@ -127,10 +142,6 @@
|
|
|
127
142
|
"nanostores": "^1.1.0",
|
|
128
143
|
"tsdown": "^0.20.3"
|
|
129
144
|
},
|
|
130
|
-
"dependencies": {
|
|
131
|
-
"@standard-schema/spec": "^1.0.0",
|
|
132
|
-
"zod": "^4.3.6"
|
|
133
|
-
},
|
|
134
145
|
"peerDependencies": {
|
|
135
146
|
"@better-auth/utils": "0.3.1",
|
|
136
147
|
"@better-fetch/fetch": "1.1.21",
|