auth 1.6.9 → 1.6.11
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 +7 -10
- package/package.json +5 -5
package/dist/index.mjs
CHANGED
|
@@ -1746,6 +1746,9 @@ function createMockAdapter$1(adapterId, dialect) {
|
|
|
1746
1746
|
deleteMany: async () => {
|
|
1747
1747
|
throw new Error("Mock adapter methods should not be called");
|
|
1748
1748
|
},
|
|
1749
|
+
consumeOne: async () => {
|
|
1750
|
+
throw new Error("Mock adapter methods should not be called");
|
|
1751
|
+
},
|
|
1749
1752
|
transaction: async (callback) => {
|
|
1750
1753
|
throw new Error("Mock adapter methods should not be called");
|
|
1751
1754
|
},
|
|
@@ -5296,12 +5299,9 @@ const databasesConfig = [
|
|
|
5296
5299
|
imports: [createImport({ name: "createPool" })],
|
|
5297
5300
|
isNamedImport: false
|
|
5298
5301
|
}],
|
|
5299
|
-
preCode: `const
|
|
5302
|
+
preCode: `const database = createPool({ host: "localhost", user: "root", password: "password", database: "database", timezone: "Z" })`,
|
|
5300
5303
|
code({ additionalOptions }) {
|
|
5301
|
-
return
|
|
5302
|
-
provider: "mysql",
|
|
5303
|
-
additionalOptions
|
|
5304
|
-
});
|
|
5304
|
+
return `database`;
|
|
5305
5305
|
},
|
|
5306
5306
|
dependencies: ["mysql2"]
|
|
5307
5307
|
},
|
|
@@ -5312,12 +5312,9 @@ const databasesConfig = [
|
|
|
5312
5312
|
imports: [createImport({ name: "Pool" })],
|
|
5313
5313
|
isNamedImport: false
|
|
5314
5314
|
}],
|
|
5315
|
-
preCode: `const
|
|
5315
|
+
preCode: `const database = new Pool({ connectionString: "postgresql://postgres:password@localhost:5432/database" })`,
|
|
5316
5316
|
code({ additionalOptions }) {
|
|
5317
|
-
return
|
|
5318
|
-
provider: "postgresql",
|
|
5319
|
-
additionalOptions
|
|
5320
|
-
});
|
|
5317
|
+
return `database`;
|
|
5321
5318
|
},
|
|
5322
5319
|
dependencies: ["pg"],
|
|
5323
5320
|
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.11",
|
|
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.11",
|
|
64
|
+
"@better-auth/telemetry": "1.6.11",
|
|
65
|
+
"better-auth": "1.6.11"
|
|
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.11"
|
|
79
79
|
},
|
|
80
80
|
"scripts": {
|
|
81
81
|
"build": "tsdown",
|