stackkit 0.1.8 → 0.1.9
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.
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
{
|
|
17
17
|
"type": "create-file",
|
|
18
18
|
"destination": "proxy.ts",
|
|
19
|
-
"content": "export { auth as middleware } from \"@/auth\""
|
|
19
|
+
"content": "export { auth as middleware } from \"@/lib/auth\""
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
22
|
"type": "patch-file",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"type": "add-dependency",
|
|
34
34
|
"condition": { "database": "prisma" },
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@auth/prisma-adapter": "^
|
|
36
|
+
"@auth/prisma-adapter": "^2.11.1"
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
39
|
{
|
|
@@ -3,11 +3,11 @@ import { sendEmail } from "./email/email-service";
|
|
|
3
3
|
import { getVerificationEmailTemplate, getPasswordResetEmailTemplate } from "./email/email-templates";
|
|
4
4
|
{{#switch database}}
|
|
5
5
|
{{#case prisma}}
|
|
6
|
-
import { prisma } from "
|
|
6
|
+
import { prisma } from "./prisma";
|
|
7
7
|
import { prismaAdapter } from "better-auth/adapters/prisma";
|
|
8
8
|
{{/case}}
|
|
9
9
|
{{#case mongoose}}
|
|
10
|
-
import { mongoose } from "
|
|
10
|
+
import { mongoose } from "./mongoose";
|
|
11
11
|
import { mongodbAdapter } from "better-auth/adapters/mongodb";
|
|
12
12
|
{{/case}}
|
|
13
13
|
{{/switch}}
|