@better-auth/electron 1.7.0-rc.2 → 1.7.0-rc.4

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.
@@ -414,7 +414,7 @@ declare const electronClient: <O extends ElectronClientOptions>(options: O) => {
414
414
  onError: (context: import("@better-fetch/fetch").ErrorContext) => Promise<void>;
415
415
  };
416
416
  }[];
417
- getActions: ($fetch: import("@better-fetch/fetch").BetterFetch, $store: ClientStore, clientOptions: import("better-auth").BetterAuthClientOptions | undefined) => {
417
+ getActions: ($fetch: BetterFetch, $store: ClientStore, clientOptions: import("better-auth").BetterAuthClientOptions | undefined) => {
418
418
  /**
419
419
  * Gets the stored cookie.
420
420
  *
package/dist/client.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { _ as setupRenderer, a as authenticate, c as ElectronClientOptions, d as Storage, f as FetchUserImageResult, g as SetupRendererConfig, h as ExposedBridges, i as ElectronRequestAuthOptions, l as ElectronProxyClientOptions, m as normalizeUserOutput, n as handleDeepLink, o as kElectron, p as fetchUserImage, r as ElectronAuthenticateOptions, s as requestAuth, t as electronClient, u as ElectronSharedClientOptions, y as ElectronSharedOptions } from "./client-CjmDjYiG.mjs";
1
+ import { _ as setupRenderer, a as authenticate, c as ElectronClientOptions, d as Storage, f as FetchUserImageResult, g as SetupRendererConfig, h as ExposedBridges, i as ElectronRequestAuthOptions, l as ElectronProxyClientOptions, m as normalizeUserOutput, n as handleDeepLink, o as kElectron, p as fetchUserImage, r as ElectronAuthenticateOptions, s as requestAuth, t as electronClient, u as ElectronSharedClientOptions, y as ElectronSharedOptions } from "./client-Cw8Yl2yP.mjs";
2
2
  export { type ElectronAuthenticateOptions, type ElectronClientOptions, type ElectronProxyClientOptions, type ElectronRequestAuthOptions, type ElectronSharedClientOptions, type ElectronSharedOptions, type ExposedBridges, type FetchUserImageResult, type SetupRendererConfig, type Storage, type authenticate, electronClient, type fetchUserImage, handleDeepLink, type kElectron, normalizeUserOutput, type requestAuth, type setupRenderer };
package/dist/client.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { t as PACKAGE_VERSION } from "./version-m-Zfjx6T.mjs";
1
+ import { t as PACKAGE_VERSION } from "./version-Do0kTnv7.mjs";
2
2
  import { n as isProcessType, r as parseProtocolScheme, t as getChannelPrefixWithDelimiter } from "./utils-C5XBRvIU.mjs";
3
3
  import { BetterAuthError } from "@better-auth/core/error";
4
4
  import { base64, base64Url } from "@better-auth/utils/base64";
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { f as FetchUserImageResult, m as normalizeUserOutput, p as fetchUserImage, v as ElectronOptions, y as ElectronSharedOptions } from "./client-CjmDjYiG.mjs";
1
+ import { f as FetchUserImageResult, m as normalizeUserOutput, p as fetchUserImage, v as ElectronOptions, y as ElectronSharedOptions } from "./client-Cw8Yl2yP.mjs";
2
2
  import * as z from "zod";
3
3
  import { HookEndpointContext } from "@better-auth/core";
4
4
  //#region src/index.d.ts
@@ -113,6 +113,7 @@ declare const electron: (options?: ElectronOptions | undefined) => {
113
113
  updateAge: number;
114
114
  expiresIn: number;
115
115
  freshAge: number;
116
+ cookieCacheSigner?: import("better-auth").CookieCacheSigner | undefined;
116
117
  cookieRefreshCache: false | {
117
118
  enabled: true;
118
119
  updateAge: number;
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { t as PACKAGE_VERSION } from "./version-m-Zfjx6T.mjs";
1
+ import { t as PACKAGE_VERSION } from "./version-Do0kTnv7.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/proxy.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { l as ElectronProxyClientOptions } from "./client-CjmDjYiG.mjs";
1
+ import { l as ElectronProxyClientOptions } from "./client-Cw8Yl2yP.mjs";
2
2
  import { electron } from "./index.mjs";
3
3
  //#region src/proxy.d.ts
4
4
  declare const electronProxyClient: (options: ElectronProxyClientOptions) => {
package/dist/proxy.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { t as PACKAGE_VERSION } from "./version-m-Zfjx6T.mjs";
1
+ import { t as PACKAGE_VERSION } from "./version-Do0kTnv7.mjs";
2
2
  import { r as parseProtocolScheme } from "./utils-C5XBRvIU.mjs";
3
3
  import { parseCookies } from "better-auth/cookies";
4
4
  //#region src/proxy.ts
@@ -1,4 +1,4 @@
1
- import { d as Storage } from "./client-CjmDjYiG.mjs";
1
+ import { d as Storage } from "./client-Cw8Yl2yP.mjs";
2
2
  import { Options } from "conf";
3
3
  //#region src/storage.d.ts
4
4
  declare const storage: (opts?: Options<Record<string, any>> | undefined) => Storage;
@@ -1,5 +1,5 @@
1
1
  //#endregion
2
2
  //#region src/version.ts
3
- const PACKAGE_VERSION = "1.7.0-rc.2";
3
+ const PACKAGE_VERSION = "1.7.0-rc.4";
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.7.0-rc.2",
3
+ "version": "1.7.0-rc.4",
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.11.1",
81
81
  "electron": "^43.1.1",
82
82
  "tsdown": "0.22.7",
83
- "@better-auth/core": "1.7.0-rc.2",
84
- "better-auth": "1.7.0-rc.2"
83
+ "@better-auth/core": "1.7.0-rc.4",
84
+ "better-auth": "1.7.0-rc.4"
85
85
  },
86
86
  "peerDependencies": {
87
87
  "@better-auth/utils": "0.4.2",
@@ -89,8 +89,8 @@
89
89
  "better-call": "1.3.7",
90
90
  "conf": "^15.0.2",
91
91
  "electron": ">=36.0.0",
92
- "@better-auth/core": "^1.7.0-rc.2",
93
- "better-auth": "^1.7.0-rc.2"
92
+ "@better-auth/core": "^1.7.0-rc.4",
93
+ "better-auth": "^1.7.0-rc.4"
94
94
  },
95
95
  "peerDependenciesMeta": {
96
96
  "electron": {