auth 1.7.0-beta.7 → 1.7.0-beta.8

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/api.mjs CHANGED
@@ -466,7 +466,6 @@ const generatePrismaSchema = async ({ adapter, options, file }) => {
466
466
  if (provider === "mongodb") fieldBuilder.attribute(`map("_id")`);
467
467
  }
468
468
  if (attr.unique) builder.model(modelName).blockAttribute(`unique([${fieldName}])`);
469
- if ((attr.type === "string[]" || attr.type === "number[]") && provider !== "sqlite" && provider !== "mysql" && attr.defaultValue === void 0) fieldBuilder.attribute("default([])");
470
469
  if (attr.defaultValue !== void 0) {
471
470
  if (Array.isArray(attr.defaultValue)) {
472
471
  if (attr.type === "json") {
package/dist/index.mjs CHANGED
@@ -1828,7 +1828,6 @@ const generatePrismaSchema = async ({ adapter, options, file }) => {
1828
1828
  if (provider === "mongodb") fieldBuilder.attribute(`map("_id")`);
1829
1829
  }
1830
1830
  if (attr.unique) builder.model(modelName).blockAttribute(`unique([${fieldName}])`);
1831
- if ((attr.type === "string[]" || attr.type === "number[]") && provider !== "sqlite" && provider !== "mysql" && attr.defaultValue === void 0) fieldBuilder.attribute("default([])");
1832
1831
  if (attr.defaultValue !== void 0) {
1833
1832
  if (Array.isArray(attr.defaultValue)) {
1834
1833
  if (attr.type === "json") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "auth",
3
- "version": "1.7.0-beta.7",
3
+ "version": "1.7.0-beta.8",
4
4
  "description": "The CLI for Better Auth",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -61,9 +61,9 @@
61
61
  "semver": "^7.7.4",
62
62
  "yocto-spinner": "^0.2.3",
63
63
  "zod": "^4.3.6",
64
- "@better-auth/core": "1.7.0-beta.7",
65
- "@better-auth/telemetry": "1.7.0-beta.7",
66
- "better-auth": "1.7.0-beta.7"
64
+ "@better-auth/core": "1.7.0-beta.8",
65
+ "@better-auth/telemetry": "1.7.0-beta.8",
66
+ "better-auth": "1.7.0-beta.8"
67
67
  },
68
68
  "devDependencies": {
69
69
  "@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.7.0-beta.7"
78
+ "@better-auth/passkey": "1.7.0-beta.8"
79
79
  },
80
80
  "scripts": {
81
81
  "build": "tsdown",