@better-auth/telemetry 1.6.31 → 1.6.33

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.d.mts CHANGED
@@ -74,8 +74,8 @@ declare function getTelemetryAuthConfig(options: BetterAuthOptions, context?: Te
74
74
  })[];
75
75
  plugins: string[] | undefined;
76
76
  user: {
77
- modelName: "user" | _$_better_auth_core0.LiteralString | undefined;
78
- fields: Partial<Record<"name" | "email" | "image" | "createdAt" | "updatedAt" | "emailVerified", string>> | undefined;
77
+ modelName: _$_better_auth_core0.LiteralString | "user" | undefined;
78
+ fields: Partial<Record<"name" | "createdAt" | "updatedAt" | "email" | "emailVerified" | "image", string>> | undefined;
79
79
  additionalFields: {
80
80
  [x: string]: _$_better_auth_core_db0.DBFieldAttribute;
81
81
  } | undefined;
@@ -114,7 +114,7 @@ declare function getTelemetryAuthConfig(options: BetterAuthOptions, context?: Te
114
114
  updateAccountOnSignIn: boolean | undefined;
115
115
  accountLinking: {
116
116
  enabled: boolean | undefined;
117
- trustedProviders: _$_better_auth_core0.LiteralUnion<"linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat" | "email-password", string>[] | ((request?: Request | undefined) => _$_better_auth_core0.Awaitable<Array<_$_better_auth_core0.LiteralUnion<_$_better_auth_core_social_providers0.SocialProviderList[number] | "email-password", string>>>) | undefined;
117
+ trustedProviders: _$_better_auth_core0.LiteralUnion<"github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat" | "email-password", string>[] | ((request?: Request | undefined) => _$_better_auth_core0.Awaitable<Array<_$_better_auth_core0.LiteralUnion<_$_better_auth_core_social_providers0.SocialProviderList[number] | "email-password", string>>>) | undefined;
118
118
  updateUserInfoOnLink: boolean | undefined;
119
119
  allowUnlinkingAll: boolean | undefined;
120
120
  };
@@ -145,7 +145,7 @@ declare function getTelemetryAuthConfig(options: BetterAuthOptions, context?: Te
145
145
  cookieAttributes: {
146
146
  expires: Date | undefined;
147
147
  secure: boolean | undefined;
148
- sameSite: "none" | "strict" | "Strict" | "Lax" | "None" | "lax" | undefined;
148
+ sameSite: "none" | "Strict" | "Lax" | "None" | "strict" | "lax" | undefined;
149
149
  domain: boolean;
150
150
  path: string | undefined;
151
151
  httpOnly: boolean | undefined;
@@ -153,7 +153,7 @@ declare function getTelemetryAuthConfig(options: BetterAuthOptions, context?: Te
153
153
  };
154
154
  trustedOrigins: number | undefined;
155
155
  rateLimit: {
156
- storage: "memory" | "database" | "secondary-storage" | undefined;
156
+ storage: "database" | "memory" | "secondary-storage" | undefined;
157
157
  modelName: _$_better_auth_core0.LiteralString | "rateLimit" | undefined;
158
158
  window: number | undefined;
159
159
  customStorage: boolean;
@@ -167,7 +167,7 @@ declare function getTelemetryAuthConfig(options: BetterAuthOptions, context?: Te
167
167
  };
168
168
  logger: {
169
169
  disabled: boolean | undefined;
170
- level: "error" | "debug" | "info" | "warn" | undefined;
170
+ level: "debug" | "info" | "warn" | "error" | undefined;
171
171
  log: boolean;
172
172
  };
173
173
  databaseHooks: {
package/dist/node.d.mts CHANGED
@@ -74,8 +74,8 @@ declare function getTelemetryAuthConfig(options: BetterAuthOptions, context?: Te
74
74
  })[];
75
75
  plugins: string[] | undefined;
76
76
  user: {
77
- modelName: "user" | _$_better_auth_core0.LiteralString | undefined;
78
- fields: Partial<Record<"name" | "email" | "image" | "createdAt" | "updatedAt" | "emailVerified", string>> | undefined;
77
+ modelName: _$_better_auth_core0.LiteralString | "user" | undefined;
78
+ fields: Partial<Record<"name" | "createdAt" | "updatedAt" | "email" | "emailVerified" | "image", string>> | undefined;
79
79
  additionalFields: {
80
80
  [x: string]: _$_better_auth_core_db0.DBFieldAttribute;
81
81
  } | undefined;
@@ -114,7 +114,7 @@ declare function getTelemetryAuthConfig(options: BetterAuthOptions, context?: Te
114
114
  updateAccountOnSignIn: boolean | undefined;
115
115
  accountLinking: {
116
116
  enabled: boolean | undefined;
117
- trustedProviders: _$_better_auth_core0.LiteralUnion<"linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat" | "email-password", string>[] | ((request?: Request | undefined) => _$_better_auth_core0.Awaitable<Array<_$_better_auth_core0.LiteralUnion<_$_better_auth_core_social_providers0.SocialProviderList[number] | "email-password", string>>>) | undefined;
117
+ trustedProviders: _$_better_auth_core0.LiteralUnion<"github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat" | "email-password", string>[] | ((request?: Request | undefined) => _$_better_auth_core0.Awaitable<Array<_$_better_auth_core0.LiteralUnion<_$_better_auth_core_social_providers0.SocialProviderList[number] | "email-password", string>>>) | undefined;
118
118
  updateUserInfoOnLink: boolean | undefined;
119
119
  allowUnlinkingAll: boolean | undefined;
120
120
  };
@@ -145,7 +145,7 @@ declare function getTelemetryAuthConfig(options: BetterAuthOptions, context?: Te
145
145
  cookieAttributes: {
146
146
  expires: Date | undefined;
147
147
  secure: boolean | undefined;
148
- sameSite: "none" | "strict" | "Strict" | "Lax" | "None" | "lax" | undefined;
148
+ sameSite: "none" | "Strict" | "Lax" | "None" | "strict" | "lax" | undefined;
149
149
  domain: boolean;
150
150
  path: string | undefined;
151
151
  httpOnly: boolean | undefined;
@@ -153,7 +153,7 @@ declare function getTelemetryAuthConfig(options: BetterAuthOptions, context?: Te
153
153
  };
154
154
  trustedOrigins: number | undefined;
155
155
  rateLimit: {
156
- storage: "memory" | "database" | "secondary-storage" | undefined;
156
+ storage: "database" | "memory" | "secondary-storage" | undefined;
157
157
  modelName: _$_better_auth_core0.LiteralString | "rateLimit" | undefined;
158
158
  window: number | undefined;
159
159
  customStorage: boolean;
@@ -167,7 +167,7 @@ declare function getTelemetryAuthConfig(options: BetterAuthOptions, context?: Te
167
167
  };
168
168
  logger: {
169
169
  disabled: boolean | undefined;
170
- level: "error" | "debug" | "info" | "warn" | undefined;
170
+ level: "debug" | "info" | "warn" | "error" | undefined;
171
171
  log: boolean;
172
172
  };
173
173
  databaseHooks: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@better-auth/telemetry",
3
- "version": "1.6.31",
3
+ "version": "1.6.33",
4
4
  "description": "Telemetry package for Better Auth",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -44,12 +44,12 @@
44
44
  "devDependencies": {
45
45
  "tsdown": "0.21.10",
46
46
  "type-fest": "^5.4.4",
47
- "@better-auth/core": "1.6.31"
47
+ "@better-auth/core": "1.6.33"
48
48
  },
49
49
  "peerDependencies": {
50
50
  "@better-auth/utils": "0.4.2",
51
51
  "@better-fetch/fetch": "1.3.1",
52
- "@better-auth/core": "^1.6.31"
52
+ "@better-auth/core": "^1.6.33"
53
53
  },
54
54
  "scripts": {
55
55
  "build": "tsdown",