auth 1.6.8 → 1.6.10
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.mjs +4 -10
- package/package.json +5 -5
package/dist/index.mjs
CHANGED
|
@@ -5296,12 +5296,9 @@ const databasesConfig = [
|
|
|
5296
5296
|
imports: [createImport({ name: "createPool" })],
|
|
5297
5297
|
isNamedImport: false
|
|
5298
5298
|
}],
|
|
5299
|
-
preCode: `const
|
|
5299
|
+
preCode: `const database = createPool({ host: "localhost", user: "root", password: "password", database: "database", timezone: "Z" })`,
|
|
5300
5300
|
code({ additionalOptions }) {
|
|
5301
|
-
return
|
|
5302
|
-
provider: "mysql",
|
|
5303
|
-
additionalOptions
|
|
5304
|
-
});
|
|
5301
|
+
return `database`;
|
|
5305
5302
|
},
|
|
5306
5303
|
dependencies: ["mysql2"]
|
|
5307
5304
|
},
|
|
@@ -5312,12 +5309,9 @@ const databasesConfig = [
|
|
|
5312
5309
|
imports: [createImport({ name: "Pool" })],
|
|
5313
5310
|
isNamedImport: false
|
|
5314
5311
|
}],
|
|
5315
|
-
preCode: `const
|
|
5312
|
+
preCode: `const database = new Pool({ connectionString: "postgresql://postgres:password@localhost:5432/database" })`,
|
|
5316
5313
|
code({ additionalOptions }) {
|
|
5317
|
-
return
|
|
5318
|
-
provider: "postgresql",
|
|
5319
|
-
additionalOptions
|
|
5320
|
-
});
|
|
5314
|
+
return `database`;
|
|
5321
5315
|
},
|
|
5322
5316
|
dependencies: ["pg"],
|
|
5323
5317
|
devDependencies: ["@types/pg"]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "auth",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.10",
|
|
4
4
|
"description": "The CLI for Better Auth",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -60,9 +60,9 @@
|
|
|
60
60
|
"semver": "^7.7.4",
|
|
61
61
|
"yocto-spinner": "^0.2.3",
|
|
62
62
|
"zod": "^4.3.6",
|
|
63
|
-
"@better-auth/core": "1.6.
|
|
64
|
-
"@better-auth/telemetry": "1.6.
|
|
65
|
-
"better-auth": "1.6.
|
|
63
|
+
"@better-auth/core": "1.6.10",
|
|
64
|
+
"@better-auth/telemetry": "1.6.10",
|
|
65
|
+
"better-auth": "1.6.10"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
68
|
"@types/better-sqlite3": "^7.6.13",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"tsx": "^4.21.0",
|
|
76
76
|
"type-fest": "^5.4.4",
|
|
77
77
|
"typescript": "^5.9.3",
|
|
78
|
-
"@better-auth/passkey": "1.6.
|
|
78
|
+
"@better-auth/passkey": "1.6.10"
|
|
79
79
|
},
|
|
80
80
|
"scripts": {
|
|
81
81
|
"build": "tsdown",
|