surreal-better-auth 2.0.0-beta.7 → 2.0.0-beta.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/README.md +4 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -50,7 +50,7 @@ Built with real-world scenarios in mind, this adapter goes beyond simple CRUD op
|
|
|
50
50
|
## <img width="32" height="32" align="center" alt="Image" src="https://github.com/oskar-gmerek/surreal-better-auth/blob/beta/assets/requirements.png?raw=true" /> Requirements
|
|
51
51
|
|
|
52
52
|
- **Bun**: >= 1.3.10 (or **Node.js**: >= 20.0.0)
|
|
53
|
-
- **Better Auth**: ^1.5.
|
|
53
|
+
- **Better Auth**: ^1.5.2
|
|
54
54
|
- **SurrealDB JS SDK**: ^2.0.0
|
|
55
55
|
- **SurrealDB Server**: v3.0.0+
|
|
56
56
|
|
|
@@ -91,7 +91,9 @@ export const auth = betterAuth({
|
|
|
91
91
|
logSurrealQL: true
|
|
92
92
|
|
|
93
93
|
}),
|
|
94
|
+
// The rest of better-auth configuration
|
|
94
95
|
emailAndPassword: { enabled: true }
|
|
96
|
+
// ...
|
|
95
97
|
});
|
|
96
98
|
```
|
|
97
99
|
|
|
@@ -100,7 +102,7 @@ export const auth = betterAuth({
|
|
|
100
102
|
Use the Better Auth CLI to generate your SurrealQL definitions:
|
|
101
103
|
|
|
102
104
|
```bash
|
|
103
|
-
|
|
105
|
+
bunx auth generate
|
|
104
106
|
```
|
|
105
107
|
|
|
106
108
|
- When prompted, save the output as `schema.surql` in your project root.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "surreal-better-auth",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.8",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "Oskar Gmerek",
|
|
6
6
|
"url": "https://oskargmerek.com",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"main": "./index.mjs",
|
|
15
15
|
"module": "./index.mjs",
|
|
16
16
|
"peerDependencies": {
|
|
17
|
-
"better-auth": "^1.5.
|
|
17
|
+
"better-auth": "^1.5.2",
|
|
18
18
|
"surrealdb": "^2.0.0"
|
|
19
19
|
},
|
|
20
20
|
"exports": {
|