@payez/next-mvp 4.0.2 → 4.0.3
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.
|
@@ -54,7 +54,7 @@ export declare function createBetterAuthInstance(idpConfig: IDPClientConfig): im
|
|
|
54
54
|
}];
|
|
55
55
|
}>;
|
|
56
56
|
/**
|
|
57
|
-
*
|
|
57
|
+
* Better Auth is always enabled (NextAuth removed in 4.0).
|
|
58
58
|
*/
|
|
59
59
|
export declare function isBetterAuthEnabled(): boolean;
|
|
60
60
|
/**
|
package/dist/auth/better-auth.js
CHANGED
|
@@ -69,10 +69,10 @@ function createBetterAuthInstance(idpConfig) {
|
|
|
69
69
|
});
|
|
70
70
|
}
|
|
71
71
|
/**
|
|
72
|
-
*
|
|
72
|
+
* Better Auth is always enabled (NextAuth removed in 4.0).
|
|
73
73
|
*/
|
|
74
74
|
function isBetterAuthEnabled() {
|
|
75
|
-
return
|
|
75
|
+
return true;
|
|
76
76
|
}
|
|
77
77
|
/**
|
|
78
78
|
* Get Better Auth Next.js route handlers (GET, POST).
|
package/package.json
CHANGED
package/src/auth/better-auth.ts
CHANGED
|
@@ -84,10 +84,10 @@ export function createBetterAuthInstance(idpConfig: IDPClientConfig) {
|
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
/**
|
|
87
|
-
*
|
|
87
|
+
* Better Auth is always enabled (NextAuth removed in 4.0).
|
|
88
88
|
*/
|
|
89
89
|
export function isBetterAuthEnabled(): boolean {
|
|
90
|
-
return
|
|
90
|
+
return true;
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
/**
|