create-kofi-stack 1.2.14 → 1.2.15
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/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1939,12 +1939,12 @@ export const getCurrentUser = query({
|
|
|
1939
1939
|
}
|
|
1940
1940
|
async function generateHttp(convexDir) {
|
|
1941
1941
|
const content = `import { httpRouter } from 'convex/server'
|
|
1942
|
-
import { authComponent } from './auth'
|
|
1942
|
+
import { authComponent, createAuth } from './auth'
|
|
1943
1943
|
|
|
1944
1944
|
const http = httpRouter()
|
|
1945
1945
|
|
|
1946
|
-
//
|
|
1947
|
-
authComponent.
|
|
1946
|
+
// Register Better Auth HTTP routes
|
|
1947
|
+
authComponent.registerRoutes(http, createAuth)
|
|
1948
1948
|
|
|
1949
1949
|
export default http
|
|
1950
1950
|
`;
|