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.
Files changed (2) hide show
  1. package/dist/index.js +3 -3
  2. 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
- // Add Better Auth HTTP routes
1947
- authComponent.addHttpRoutes(http)
1946
+ // Register Better Auth HTTP routes
1947
+ authComponent.registerRoutes(http, createAuth)
1948
1948
 
1949
1949
  export default http
1950
1950
  `;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-kofi-stack",
3
- "version": "1.2.14",
3
+ "version": "1.2.15",
4
4
  "description": "Scaffold opinionated full-stack projects with Next.js, Convex, Better-Auth, and more",
5
5
  "type": "module",
6
6
  "bin": {