@better-auth/electron 1.6.6 → 1.6.7

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/client.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { t as PACKAGE_VERSION } from "./version-G_DbEvps.mjs";
1
+ import { t as PACKAGE_VERSION } from "./version-Viri30U7.mjs";
2
2
  import { n as isProcessType, r as parseProtocolScheme, t as getChannelPrefixWithDelimiter } from "./utils-DxDKRT6e.mjs";
3
3
  import { BetterAuthError } from "@better-auth/core/error";
4
4
  import { base64, base64Url } from "@better-auth/utils/base64";
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { t as PACKAGE_VERSION } from "./version-G_DbEvps.mjs";
1
+ import { t as PACKAGE_VERSION } from "./version-Viri30U7.mjs";
2
2
  import { createAuthMiddleware } from "@better-auth/core/api";
3
3
  import { APIError, BASE_ERROR_CODES } from "@better-auth/core/error";
4
4
  import { base64Url } from "@better-auth/utils/base64";
@@ -861,7 +861,7 @@ interface AppleNonConformUser {
861
861
  email: string;
862
862
  }
863
863
  interface AppleOptions extends ProviderOptions<AppleProfile> {
864
- clientId: string;
864
+ clientId: string | string[];
865
865
  appBundleIdentifier?: string | undefined;
866
866
  audience?: (string | string[]) | undefined;
867
867
  }
@@ -908,7 +908,7 @@ interface CognitoProfile {
908
908
  [key: string]: any;
909
909
  }
910
910
  interface CognitoOptions extends ProviderOptions<CognitoProfile> {
911
- clientId: string;
911
+ clientId: string | string[];
912
912
  /**
913
913
  * The Cognito domain (e.g., "your-app.auth.us-east-1.amazoncognito.com")
914
914
  */
@@ -1015,7 +1015,7 @@ interface FacebookProfile {
1015
1015
  };
1016
1016
  }
1017
1017
  interface FacebookOptions extends ProviderOptions<FacebookProfile> {
1018
- clientId: string;
1018
+ clientId: string | string[];
1019
1019
  /**
1020
1020
  * Extend list of fields to retrieve from the Facebook user profile.
1021
1021
  *
@@ -1198,7 +1198,7 @@ interface MicrosoftEntraIDProfile extends Record<string, any> {
1198
1198
  given_name: string;
1199
1199
  }
1200
1200
  interface MicrosoftOptions extends ProviderOptions<MicrosoftEntraIDProfile> {
1201
- clientId: string;
1201
+ clientId: string | string[];
1202
1202
  /**
1203
1203
  * The tenant ID of the Microsoft account
1204
1204
  * @default "common"
@@ -1249,7 +1249,7 @@ interface GoogleProfile {
1249
1249
  sub: string;
1250
1250
  }
1251
1251
  interface GoogleOptions extends ProviderOptions<GoogleProfile> {
1252
- clientId: string;
1252
+ clientId: string | string[];
1253
1253
  /**
1254
1254
  * The access type to use for the authorization code request
1255
1255
  */
package/dist/proxy.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { t as PACKAGE_VERSION } from "./version-G_DbEvps.mjs";
1
+ import { t as PACKAGE_VERSION } from "./version-Viri30U7.mjs";
2
2
  import { r as parseProtocolScheme } from "./utils-DxDKRT6e.mjs";
3
3
  import { parseCookies } from "better-auth/cookies";
4
4
  //#region src/proxy.ts
@@ -1,5 +1,5 @@
1
1
  //#endregion
2
2
  //#region src/version.ts
3
- const PACKAGE_VERSION = "1.6.6";
3
+ const PACKAGE_VERSION = "1.6.7";
4
4
  //#endregion
5
5
  export { PACKAGE_VERSION as t };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@better-auth/electron",
3
- "version": "1.6.6",
3
+ "version": "1.6.7",
4
4
  "description": "Better Auth integration for Electron applications.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -80,8 +80,8 @@
80
80
  "better-sqlite3": "^12.6.2",
81
81
  "electron": "^38.8.6",
82
82
  "tsdown": "0.21.1",
83
- "@better-auth/core": "1.6.6",
84
- "better-auth": "1.6.6"
83
+ "@better-auth/core": "1.6.7",
84
+ "better-auth": "1.6.7"
85
85
  },
86
86
  "peerDependencies": {
87
87
  "@better-auth/utils": "0.4.0",
@@ -89,8 +89,8 @@
89
89
  "better-call": "1.3.5",
90
90
  "conf": "^15.0.2",
91
91
  "electron": ">=36.0.0",
92
- "@better-auth/core": "^1.6.6",
93
- "better-auth": "^1.6.6"
92
+ "@better-auth/core": "^1.6.7",
93
+ "better-auth": "^1.6.7"
94
94
  },
95
95
  "peerDependenciesMeta": {
96
96
  "electron": {