@better-auth/electron 1.6.32 → 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.
@@ -319,13 +319,13 @@ declare const electronClient: <O extends ElectronClientOptions>(options: O) => {
319
319
  id: string;
320
320
  name: string;
321
321
  init(url: string, options: ({
322
- priority?: RequestPriority | undefined;
323
322
  mode?: RequestMode | undefined;
324
323
  cache?: RequestCache | undefined;
325
324
  credentials?: RequestCredentials | undefined;
326
325
  integrity?: string | undefined;
327
326
  keepalive?: boolean | undefined;
328
327
  method?: string | undefined;
328
+ priority?: RequestPriority | undefined;
329
329
  redirect?: RequestRedirect | undefined;
330
330
  referrer?: string | undefined;
331
331
  referrerPolicy?: ReferrerPolicy | undefined;
@@ -375,13 +375,13 @@ declare const electronClient: <O extends ElectronClientOptions>(options: O) => {
375
375
  } & Record<string, any>) | undefined): Promise<{
376
376
  url: string;
377
377
  options: {
378
- priority?: RequestPriority | undefined;
379
378
  mode?: RequestMode | undefined;
380
379
  cache?: RequestCache | undefined;
381
380
  credentials?: RequestCredentials | undefined;
382
381
  integrity?: string | undefined;
383
382
  keepalive?: boolean | undefined;
384
383
  method?: string | undefined;
384
+ priority?: RequestPriority | undefined;
385
385
  redirect?: RequestRedirect | undefined;
386
386
  referrer?: string | undefined;
387
387
  referrerPolicy?: ReferrerPolicy | undefined;
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-D1E7e0Mq.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-CipWgSWj.mjs";
2
2
  export { ElectronAuthenticateOptions, ElectronClientOptions, ElectronProxyClientOptions, ElectronRequestAuthOptions, ElectronSharedClientOptions, ElectronSharedOptions, ExposedBridges, FetchUserImageResult, SetupRendererConfig, Storage, authenticate, electronClient, fetchUserImage, handleDeepLink, kElectron, normalizeUserOutput, requestAuth, setupRenderer };
package/dist/client.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { t as PACKAGE_VERSION } from "./version-BhSlbdzm.mjs";
1
+ import { t as PACKAGE_VERSION } from "./version-BoeyP2ny.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.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-D1E7e0Mq.mjs";
1
+ import { f as FetchUserImageResult, m as normalizeUserOutput, p as fetchUserImage, v as ElectronOptions, y as ElectronSharedOptions } from "./client-CipWgSWj.mjs";
2
2
  import * as _$better_auth0 from "better-auth";
3
3
  import * as z from "zod";
4
4
  import * as _$_better_auth_core0 from "@better-auth/core";
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { t as PACKAGE_VERSION } from "./version-BhSlbdzm.mjs";
1
+ import { t as PACKAGE_VERSION } from "./version-BoeyP2ny.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-D1E7e0Mq.mjs";
1
+ import { l as ElectronProxyClientOptions } from "./client-CipWgSWj.mjs";
2
2
  import { electron } from "./index.mjs";
3
3
 
4
4
  //#region src/proxy.d.ts
package/dist/proxy.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { t as PACKAGE_VERSION } from "./version-BhSlbdzm.mjs";
1
+ import { t as PACKAGE_VERSION } from "./version-BoeyP2ny.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,4 +1,4 @@
1
- import { d as Storage } from "./client-D1E7e0Mq.mjs";
1
+ import { d as Storage } from "./client-CipWgSWj.mjs";
2
2
  import { Options } from "conf";
3
3
 
4
4
  //#region src/storage.d.ts
@@ -1,5 +1,5 @@
1
1
  //#endregion
2
2
  //#region src/version.ts
3
- const PACKAGE_VERSION = "1.6.32";
3
+ const PACKAGE_VERSION = "1.6.33";
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.32",
3
+ "version": "1.6.33",
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": "^43.1.1",
82
82
  "tsdown": "0.21.10",
83
- "@better-auth/core": "1.6.32",
84
- "better-auth": "1.6.32"
83
+ "@better-auth/core": "1.6.33",
84
+ "better-auth": "1.6.33"
85
85
  },
86
86
  "peerDependencies": {
87
87
  "@better-auth/utils": "0.4.2",
@@ -89,8 +89,8 @@
89
89
  "better-call": "1.4.0",
90
90
  "conf": "^15.0.2",
91
91
  "electron": ">=36.0.0",
92
- "@better-auth/core": "^1.6.32",
93
- "better-auth": "^1.6.32"
92
+ "@better-auth/core": "^1.6.33",
93
+ "better-auth": "^1.6.33"
94
94
  },
95
95
  "peerDependenciesMeta": {
96
96
  "electron": {