@better-auth/electron 1.6.18 → 1.6.19

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-DMVLEsxG.mjs";
1
+ import { t as PACKAGE_VERSION } from "./version-BBOVUjFi.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-DMVLEsxG.mjs";
1
+ import { t as PACKAGE_VERSION } from "./version-BBOVUjFi.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";
@@ -6455,9 +6455,13 @@ type BetterAuthOptions = {
6455
6455
  */
6456
6456
  storeStateStrategy?: "database" | "cookie";
6457
6457
  /**
6458
- * Store account data after oauth flow on a cookie
6458
+ * Store provider account data after an OAuth flow in an encrypted
6459
+ * cookie. This includes OAuth token material such as access tokens,
6460
+ * refresh tokens, ID tokens, scopes, and token expiry.
6459
6461
  *
6460
- * This is useful for database-less flow
6462
+ * This is useful for database-less flows, but large provider tokens can
6463
+ * still hit browser or proxy cookie/header limits even though Better Auth
6464
+ * chunks oversized account cookies.
6461
6465
  *
6462
6466
  * @default false
6463
6467
  *
package/dist/proxy.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { t as PACKAGE_VERSION } from "./version-DMVLEsxG.mjs";
1
+ import { t as PACKAGE_VERSION } from "./version-BBOVUjFi.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.18";
3
+ const PACKAGE_VERSION = "1.6.19";
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.18",
3
+ "version": "1.6.19",
4
4
  "description": "Better Auth integration for Electron applications.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -80,17 +80,17 @@
80
80
  "better-sqlite3": "^12.6.2",
81
81
  "electron": "^41.2.2",
82
82
  "tsdown": "0.21.1",
83
- "@better-auth/core": "1.6.18",
84
- "better-auth": "1.6.18"
83
+ "@better-auth/core": "1.6.19",
84
+ "better-auth": "1.6.19"
85
85
  },
86
86
  "peerDependencies": {
87
- "@better-auth/utils": "0.4.1",
88
- "@better-fetch/fetch": "1.3.0",
87
+ "@better-auth/utils": "0.4.2",
88
+ "@better-fetch/fetch": "1.3.1",
89
89
  "better-call": "1.3.6",
90
90
  "conf": "^15.0.2",
91
91
  "electron": ">=36.0.0",
92
- "@better-auth/core": "^1.6.18",
93
- "better-auth": "^1.6.18"
92
+ "@better-auth/core": "^1.6.19",
93
+ "better-auth": "^1.6.19"
94
94
  },
95
95
  "peerDependenciesMeta": {
96
96
  "electron": {