create-better-t-stack 2.45.1 → 2.45.2

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/cli.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { createBtsCli } from "./src-D36yrEH0.js";
2
+ import { createBtsCli } from "./src-ErwDWsqZ.js";
3
3
 
4
4
  //#region src/cli.ts
5
5
  createBtsCli().run();
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  #!/usr/bin/env node
2
- import { builder, createBtsCli, docs, init, router, sponsors } from "./src-D36yrEH0.js";
2
+ import { builder, createBtsCli, docs, init, router, sponsors } from "./src-ErwDWsqZ.js";
3
3
 
4
4
  export { builder, createBtsCli, docs, init, router, sponsors };
@@ -59,8 +59,8 @@ function getDefaultConfig() {
59
59
  }
60
60
  const DEFAULT_CONFIG = getDefaultConfig();
61
61
  const dependencyVersionMap = {
62
- "better-auth": "^1.3.7",
63
- "@better-auth/expo": "^1.3.7",
62
+ "better-auth": "^1.3.9",
63
+ "@better-auth/expo": "^1.3.9",
64
64
  "@clerk/nextjs": "^6.31.5",
65
65
  "@clerk/clerk-react": "^5.45.0",
66
66
  "@clerk/tanstack-react-start": "^0.23.1",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-better-t-stack",
3
- "version": "2.45.1",
3
+ "version": "2.45.2",
4
4
  "description": "A modern CLI tool for scaffolding end-to-end type-safe TypeScript projects with best practices and customizable configurations",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -91,7 +91,12 @@ export const auth = betterAuth({
91
91
  {{#if (eq database "mysql")}}provider: "mysql",{{/if}}
92
92
  schema: schema,
93
93
  }),
94
- trustedOrigins: [env.CORS_ORIGIN],
94
+ trustedOrigins: [
95
+ env.CORS_ORIGIN,
96
+ {{#if (or (includes frontend "native-nativewind") (includes frontend "native-unistyles"))}}
97
+ "mybettertapp://", "exp://"
98
+ {{/if}}
99
+ ],
95
100
  emailAndPassword: {
96
101
  enabled: true,
97
102
  },