@better-auth/electron 1.6.7 → 1.6.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/client.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as PACKAGE_VERSION } from "./version-
|
|
1
|
+
import { t as PACKAGE_VERSION } from "./version-C38stf-Q.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-
|
|
1
|
+
import { t as PACKAGE_VERSION } from "./version-C38stf-Q.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";
|
package/dist/preload.d.mts
CHANGED
|
@@ -813,7 +813,7 @@ interface AppleProfile {
|
|
|
813
813
|
* The email address is either the user's real email address or the proxy
|
|
814
814
|
* address, depending on their status private email relay service.
|
|
815
815
|
*/
|
|
816
|
-
email
|
|
816
|
+
email?: string;
|
|
817
817
|
/**
|
|
818
818
|
* A string or Boolean value that indicates whether the service verifies
|
|
819
819
|
* the email. The value can either be a string ("true" or "false") or a
|
|
@@ -961,7 +961,7 @@ interface DiscordProfile extends Record<string, any> {
|
|
|
961
961
|
/** whether the email on this account has been verified */
|
|
962
962
|
verified: boolean;
|
|
963
963
|
/** the user's email */
|
|
964
|
-
email
|
|
964
|
+
email?: string | null;
|
|
965
965
|
/**
|
|
966
966
|
* the flags on a user's account:
|
|
967
967
|
* https://discord.com/developers/docs/resources/user#user-object-user-flags
|
|
@@ -1003,8 +1003,8 @@ interface DiscordOptions extends ProviderOptions<DiscordProfile> {
|
|
|
1003
1003
|
interface FacebookProfile {
|
|
1004
1004
|
id: string;
|
|
1005
1005
|
name: string;
|
|
1006
|
-
email
|
|
1007
|
-
email_verified
|
|
1006
|
+
email?: string;
|
|
1007
|
+
email_verified?: boolean;
|
|
1008
1008
|
picture: {
|
|
1009
1009
|
data: {
|
|
1010
1010
|
height: number;
|
|
@@ -1065,7 +1065,7 @@ interface GithubProfile {
|
|
|
1065
1065
|
company: string;
|
|
1066
1066
|
blog: string;
|
|
1067
1067
|
location: string;
|
|
1068
|
-
email: string;
|
|
1068
|
+
email: string | null;
|
|
1069
1069
|
hireable: boolean;
|
|
1070
1070
|
bio: string;
|
|
1071
1071
|
twitter_username: string;
|
|
@@ -1119,7 +1119,7 @@ interface MicrosoftEntraIDProfile extends Record<string, any> {
|
|
|
1119
1119
|
/** The primary username that represents the user */
|
|
1120
1120
|
preferred_username: string;
|
|
1121
1121
|
/** User's email address */
|
|
1122
|
-
email
|
|
1122
|
+
email?: string;
|
|
1123
1123
|
/** Human-readable value that identifies the subject of the token */
|
|
1124
1124
|
name: string;
|
|
1125
1125
|
/** Matches the parameter included in the original authorize request */
|
|
@@ -1533,8 +1533,8 @@ interface LinkedInProfile {
|
|
|
1533
1533
|
country: string;
|
|
1534
1534
|
language: string;
|
|
1535
1535
|
};
|
|
1536
|
-
email
|
|
1537
|
-
email_verified
|
|
1536
|
+
email?: string;
|
|
1537
|
+
email_verified?: boolean;
|
|
1538
1538
|
}
|
|
1539
1539
|
interface LinkedInOptions extends ProviderOptions<LinkedInProfile> {
|
|
1540
1540
|
clientId: string;
|
package/dist/proxy.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as PACKAGE_VERSION } from "./version-
|
|
1
|
+
import { t as PACKAGE_VERSION } from "./version-C38stf-Q.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
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@better-auth/electron",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.8",
|
|
4
4
|
"description": "Better Auth integration for Electron applications.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -78,10 +78,10 @@
|
|
|
78
78
|
"devDependencies": {
|
|
79
79
|
"@types/better-sqlite3": "^7.6.13",
|
|
80
80
|
"better-sqlite3": "^12.6.2",
|
|
81
|
-
"electron": "^
|
|
81
|
+
"electron": "^41.2.2",
|
|
82
82
|
"tsdown": "0.21.1",
|
|
83
|
-
"@better-auth/core": "1.6.
|
|
84
|
-
"better-auth": "1.6.
|
|
83
|
+
"@better-auth/core": "1.6.8",
|
|
84
|
+
"better-auth": "1.6.8"
|
|
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.
|
|
93
|
-
"better-auth": "^1.6.
|
|
92
|
+
"@better-auth/core": "^1.6.8",
|
|
93
|
+
"better-auth": "^1.6.8"
|
|
94
94
|
},
|
|
95
95
|
"peerDependenciesMeta": {
|
|
96
96
|
"electron": {
|