@better-auth/electron 1.6.15 → 1.6.16

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.
@@ -323,11 +323,6 @@ declare const electronClient: <O extends ElectronClientOptions>(options: O) => {
323
323
  mode?: RequestMode | undefined;
324
324
  cache?: RequestCache | undefined;
325
325
  credentials?: RequestCredentials | undefined;
326
- headers?: (HeadersInit & (HeadersInit | {
327
- accept: "application/json" | "text/plain" | "application/octet-stream";
328
- "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
329
- authorization: "Bearer" | "Basic";
330
- })) | undefined;
331
326
  integrity?: string | undefined;
332
327
  keepalive?: boolean | undefined;
333
328
  method?: string | undefined;
@@ -361,6 +356,12 @@ declare const electronClient: <O extends ElectronClientOptions>(options: O) => {
361
356
  prefix: string | (() => string | undefined) | undefined;
362
357
  value: string | (() => string | undefined) | undefined;
363
358
  }) | undefined;
359
+ headers?: {} | {
360
+ [x: string]: string | undefined;
361
+ accept?: ((string & {}) | "application/json" | "text/plain" | "application/octet-stream") | undefined;
362
+ "content-type"?: ((string & {}) | "application/x-www-form-urlencoded" | "application/json" | "text/plain" | "multipart/form-data" | "application/octet-stream") | undefined;
363
+ authorization?: ((string & {}) | `Bearer ${string}` | `Basic ${string}`) | undefined;
364
+ } | undefined;
364
365
  body?: any;
365
366
  query?: any;
366
367
  params?: any;
@@ -378,11 +379,6 @@ declare const electronClient: <O extends ElectronClientOptions>(options: O) => {
378
379
  mode?: RequestMode | undefined;
379
380
  cache?: RequestCache | undefined;
380
381
  credentials?: RequestCredentials | undefined;
381
- headers?: (HeadersInit & (HeadersInit | {
382
- accept: "application/json" | "text/plain" | "application/octet-stream";
383
- "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
384
- authorization: "Bearer" | "Basic";
385
- })) | undefined;
386
382
  integrity?: string | undefined;
387
383
  keepalive?: boolean | undefined;
388
384
  method?: string | undefined;
@@ -416,6 +412,12 @@ declare const electronClient: <O extends ElectronClientOptions>(options: O) => {
416
412
  prefix: string | (() => string | undefined) | undefined;
417
413
  value: string | (() => string | undefined) | undefined;
418
414
  }) | undefined;
415
+ headers?: {} | {
416
+ [x: string]: string | undefined;
417
+ accept?: ((string & {}) | "application/json" | "text/plain" | "application/octet-stream") | undefined;
418
+ "content-type"?: ((string & {}) | "application/x-www-form-urlencoded" | "application/json" | "text/plain" | "multipart/form-data" | "application/octet-stream") | undefined;
419
+ authorization?: ((string & {}) | `Bearer ${string}` | `Basic ${string}`) | undefined;
420
+ } | undefined;
419
421
  body?: any;
420
422
  query?: any;
421
423
  params?: any;
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-D6xRwPM0.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-hpd3q6M8.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-BPpah8cV.mjs";
1
+ import { t as PACKAGE_VERSION } from "./version-KncHedVM.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-D6xRwPM0.mjs";
1
+ import { f as FetchUserImageResult, m as normalizeUserOutput, p as fetchUserImage, v as ElectronOptions, y as ElectronSharedOptions } from "./client-hpd3q6M8.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";
@@ -336,6 +336,7 @@ declare const electron: (options?: ElectronOptions | undefined) => {
336
336
  INVALID_CODE_VERIFIER: better_auth0.RawError<"INVALID_CODE_VERIFIER">;
337
337
  MISSING_STATE: better_auth0.RawError<"MISSING_STATE">;
338
338
  MISSING_PKCE: better_auth0.RawError<"MISSING_PKCE">;
339
+ INVALID_PKCE_METHOD: better_auth0.RawError<"INVALID_PKCE_METHOD">;
339
340
  };
340
341
  };
341
342
  //#endregion
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { t as PACKAGE_VERSION } from "./version-BPpah8cV.mjs";
1
+ import { t as PACKAGE_VERSION } from "./version-KncHedVM.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";
@@ -22,7 +22,8 @@ const ELECTRON_ERROR_CODES = defineErrorCodes({
22
22
  MISSING_CODE_CHALLENGE: "missing code challenge",
23
23
  INVALID_CODE_VERIFIER: "Invalid code verifier",
24
24
  MISSING_STATE: "state is required",
25
- MISSING_PKCE: "pkce is required"
25
+ MISSING_PKCE: "pkce is required",
26
+ INVALID_PKCE_METHOD: "PKCE method must be S256"
26
27
  });
27
28
  //#endregion
28
29
  //#region src/routes.ts
@@ -62,11 +63,10 @@ const electronToken = (_opts) => createAuthEndpoint("/electron/token", {
62
63
  if (!tokenRecord) throw APIError.from("INTERNAL_SERVER_ERROR", ELECTRON_ERROR_CODES.INVALID_TOKEN);
63
64
  if (tokenRecord.state !== ctx.body.state) throw APIError.from("BAD_REQUEST", ELECTRON_ERROR_CODES.STATE_MISMATCH);
64
65
  if (!tokenRecord.codeChallenge) throw APIError.from("BAD_REQUEST", ELECTRON_ERROR_CODES.MISSING_CODE_CHALLENGE);
65
- if (tokenRecord.codeChallengeMethod === "s256") {
66
- const codeChallenge = Buffer.from(base64Url.decode(tokenRecord.codeChallenge));
67
- const codeVerifier = Buffer.from(await createHash("SHA-256").digest(ctx.body.code_verifier));
68
- if (codeChallenge.length !== codeVerifier.length || !timingSafeEqual(codeChallenge, codeVerifier)) throw APIError.from("BAD_REQUEST", ELECTRON_ERROR_CODES.INVALID_CODE_VERIFIER);
69
- } else if (tokenRecord.codeChallenge !== ctx.body.code_verifier) throw APIError.from("BAD_REQUEST", ELECTRON_ERROR_CODES.INVALID_CODE_VERIFIER);
66
+ if (tokenRecord.codeChallengeMethod !== "s256") throw APIError.from("BAD_REQUEST", ELECTRON_ERROR_CODES.INVALID_PKCE_METHOD);
67
+ const codeChallenge = Buffer.from(base64Url.decode(tokenRecord.codeChallenge));
68
+ const codeVerifier = Buffer.from(await createHash("SHA-256").digest(ctx.body.code_verifier));
69
+ if (codeChallenge.length !== codeVerifier.length || !timingSafeEqual(codeChallenge, codeVerifier)) throw APIError.from("BAD_REQUEST", ELECTRON_ERROR_CODES.INVALID_CODE_VERIFIER);
70
70
  await ctx.context.internalAdapter.deleteVerificationByIdentifier(`electron:${ctx.body.token}`);
71
71
  const user = await ctx.context.internalAdapter.findUserById(tokenRecord.userId);
72
72
  if (!user) throw APIError.from("INTERNAL_SERVER_ERROR", BASE_ERROR_CODES.USER_NOT_FOUND);
@@ -119,13 +119,14 @@ const electronInitOAuthProxy = (opts) => createAuthEndpoint("/electron/init-oaut
119
119
  }, async (ctx) => {
120
120
  const isSocialProvider = SocialProviderListEnum.safeParse(ctx.query.provider);
121
121
  if (!isSocialProvider && !ctx.context.getPlugin("generic-oauth")) throw APIError.from("BAD_REQUEST", BASE_ERROR_CODES.PROVIDER_NOT_FOUND);
122
+ if (ctx.query.code_challenge_method && ctx.query.code_challenge_method.toLowerCase() !== "s256") throw APIError.from("BAD_REQUEST", ELECTRON_ERROR_CODES.INVALID_PKCE_METHOD);
122
123
  const headers = new Headers(ctx.request?.headers);
123
124
  headers.set("origin", new URL(ctx.context.baseURL).origin);
124
125
  let setCookie = null;
125
126
  const searchParams = new URLSearchParams();
126
127
  searchParams.set("client_id", opts.clientID || "electron");
127
128
  searchParams.set("code_challenge", ctx.query.code_challenge);
128
- searchParams.set("code_challenge_method", ctx.query.code_challenge_method || "plain");
129
+ searchParams.set("code_challenge_method", "S256");
129
130
  searchParams.set("state", ctx.query.state);
130
131
  const res = await betterFetch(`${isSocialProvider ? "/sign-in/social" : "/sign-in/oauth2"}?${searchParams.toString()}`, {
131
132
  baseURL: ctx.context.baseURL,
@@ -204,11 +205,12 @@ const electron = (options) => {
204
205
  return !!(ctx.path?.startsWith("/sign-in") || ctx.path?.startsWith("/sign-up") || ctx.path?.startsWith("/callback") || ctx.path?.startsWith("/oauth2/callback") || ctx.path?.startsWith("/magic-link/verify") || ctx.path?.startsWith("/email-otp/verify-email") || ctx.path?.startsWith("/verify-email") || ctx.path?.startsWith("/one-tap/callback") || ctx.path?.startsWith("/passkey/verify-authentication") || ctx.path?.startsWith("/phone-number/verify"));
205
206
  };
206
207
  const handleTransfer = async (ctx, payload) => {
207
- const { client_id, state, code_challenge, code_challenge_method = "plain" } = payload;
208
+ const { client_id, state, code_challenge, code_challenge_method } = payload;
208
209
  const userId = ctx.context.session?.user.id || ctx.context.newSession?.user.id;
209
210
  if (!userId || client_id !== opts.clientID) return null;
210
211
  if (!state) throw APIError.from("BAD_REQUEST", ELECTRON_ERROR_CODES.MISSING_STATE);
211
212
  if (!code_challenge) throw APIError.from("BAD_REQUEST", ELECTRON_ERROR_CODES.MISSING_PKCE);
213
+ if (code_challenge_method?.toLowerCase() !== "s256") throw APIError.from("BAD_REQUEST", ELECTRON_ERROR_CODES.INVALID_PKCE_METHOD);
212
214
  const redirectCookieName = `${opts.cookiePrefix}.${opts.clientID}`;
213
215
  const identifier = generateRandomString(32, "a-z", "A-Z", "0-9");
214
216
  const codeExpiresInMs = opts.codeExpiresIn * 1e3;
@@ -218,7 +220,7 @@ const electron = (options) => {
218
220
  value: JSON.stringify({
219
221
  userId,
220
222
  codeChallenge: code_challenge,
221
- codeChallengeMethod: code_challenge_method.toLowerCase(),
223
+ codeChallengeMethod: "s256",
222
224
  state
223
225
  }),
224
226
  expiresAt
@@ -259,7 +261,7 @@ const electron = (options) => {
259
261
  const querySchema = z.object({
260
262
  client_id: z.string(),
261
263
  code_challenge: z.string().nonempty(),
262
- code_challenge_method: z.string().optional().default("plain"),
264
+ code_challenge_method: z.string().optional(),
263
265
  state: z.string().nonempty()
264
266
  });
265
267
  const cookie = ctx.context.createAuthCookie("transfer_token", { maxAge: opts.codeExpiresIn });
@@ -1293,7 +1293,12 @@ interface GoogleOptions extends ProviderOptions<GoogleProfile> {
1293
1293
  */
1294
1294
  display?: ("page" | "popup" | "touch" | "wap") | undefined;
1295
1295
  /**
1296
- * The hosted domain of the user
1296
+ * The hosted domain (Google Workspace) the user must belong to.
1297
+ *
1298
+ * This is sent to Google as the `hd` authorization hint and, when set, is
1299
+ * also enforced against the `hd` claim of the returned id token/profile.
1300
+ * Sign-in is rejected when the claim is missing or does not match, so this
1301
+ * can be used to restrict sign-in to a Workspace domain.
1297
1302
  */
1298
1303
  hd?: string | undefined;
1299
1304
  }
@@ -3976,14 +3981,14 @@ type BaseAccount = z.infer<typeof accountSchema>;
3976
3981
  */
3977
3982
  type Account<DBOptions extends BetterAuthOptions["account"] = BetterAuthOptions["account"], Plugins extends BetterAuthOptions["plugins"] = BetterAuthOptions["plugins"]> = Prettify$1<BaseAccount & InferDBFieldsFromOptions<DBOptions> & InferDBFieldsFromPlugins<"account", Plugins>>; //#endregion
3978
3983
  //#endregion
3979
- //#region ../../node_modules/.pnpm/better-call@1.3.5_zod@4.3.6/node_modules/better-call/dist/helper.d.mts
3984
+ //#region ../../node_modules/.pnpm/better-call@1.3.6_zod@4.3.6/node_modules/better-call/dist/helper.d.mts
3980
3985
  type Prettify<T> = { [K in keyof T]: T[K] } & {};
3981
3986
  type IsEmptyObject<T> = keyof T extends never ? true : false;
3982
3987
  type UnionToIntersection<Union> = (Union extends unknown ? (distributedUnion: Union) => void : never) extends ((mergedIntersection: infer Intersection) => void) ? Intersection & Union : never;
3983
3988
  type InferParamPath<Path> = Path extends `${infer _Start}:${infer Param}/${infer Rest}` ? { [K in Param | keyof InferParamPath<Rest>]: string } : Path extends `${infer _Start}:${infer Param}` ? { [K in Param]: string } : Path extends `${infer _Start}/${infer Rest}` ? InferParamPath<Rest> : {};
3984
3989
  type InferParamWildCard<Path> = Path extends `${infer _Start}/*:${infer Param}/${infer Rest}` | `${infer _Start}/**:${infer Param}/${infer Rest}` ? { [K in Param | keyof InferParamPath<Rest>]: string } : Path extends `${infer _Start}/*` ? { [K in "_"]: string } : Path extends `${infer _Start}/${infer Rest}` ? InferParamWildCard<Rest> : {}; //#endregion
3985
3990
  //#endregion
3986
- //#region ../../node_modules/.pnpm/better-call@1.3.5_zod@4.3.6/node_modules/better-call/dist/standard-schema.d.mts
3991
+ //#region ../../node_modules/.pnpm/better-call@1.3.6_zod@4.3.6/node_modules/better-call/dist/standard-schema.d.mts
3987
3992
  //#region src/standard-schema.d.ts
3988
3993
  /** The Standard Schema interface. */
3989
3994
  interface StandardSchemaV1$1<Input = unknown, Output = Input> {
@@ -4041,7 +4046,7 @@ declare namespace StandardSchemaV1$1 {
4041
4046
  type InferOutput<Schema extends StandardSchemaV1$1> = NonNullable<Schema["~standard"]["types"]>["output"];
4042
4047
  } //#endregion
4043
4048
  //#endregion
4044
- //#region ../../node_modules/.pnpm/better-call@1.3.5_zod@4.3.6/node_modules/better-call/dist/error.d.mts
4049
+ //#region ../../node_modules/.pnpm/better-call@1.3.6_zod@4.3.6/node_modules/better-call/dist/error.d.mts
4045
4050
  declare const statusCodes: {
4046
4051
  OK: number;
4047
4052
  CREATED: number;
@@ -4119,7 +4124,7 @@ declare const APIError: new (status?: Status | "OK" | "CREATED" | "ACCEPTED" | "
4119
4124
  errorStack: string | undefined;
4120
4125
  }; //#endregion
4121
4126
  //#endregion
4122
- //#region ../../node_modules/.pnpm/better-call@1.3.5_zod@4.3.6/node_modules/better-call/dist/cookies.d.mts
4127
+ //#region ../../node_modules/.pnpm/better-call@1.3.6_zod@4.3.6/node_modules/better-call/dist/cookies.d.mts
4123
4128
  //#region src/cookies.d.ts
4124
4129
  type CookiePrefixOptions = "host" | "secure";
4125
4130
  type CookieOptions = {
@@ -4209,7 +4214,7 @@ type CookieOptions = {
4209
4214
  prefix?: CookiePrefixOptions;
4210
4215
  };
4211
4216
  //#endregion
4212
- //#region ../../node_modules/.pnpm/better-call@1.3.5_zod@4.3.6/node_modules/better-call/dist/openapi.d.mts
4217
+ //#region ../../node_modules/.pnpm/better-call@1.3.6_zod@4.3.6/node_modules/better-call/dist/openapi.d.mts
4213
4218
  //#region src/openapi.d.ts
4214
4219
  type OpenAPISchemaType = "string" | "number" | "integer" | "boolean" | "array" | "object";
4215
4220
  interface OpenAPIParameter {
@@ -4231,7 +4236,7 @@ interface OpenAPIParameter {
4231
4236
  };
4232
4237
  }
4233
4238
  //#endregion
4234
- //#region ../../node_modules/.pnpm/better-call@1.3.5_zod@4.3.6/node_modules/better-call/dist/endpoint.d.mts
4239
+ //#region ../../node_modules/.pnpm/better-call@1.3.6_zod@4.3.6/node_modules/better-call/dist/endpoint.d.mts
4235
4240
  //#region src/endpoint.d.ts
4236
4241
  interface EndpointBaseOptions {
4237
4242
  /**
@@ -4552,6 +4557,22 @@ type EndpointContext<Path extends string, Options extends EndpointOptions, Conte
4552
4557
  * @returns - The cookie string
4553
4558
  */
4554
4559
  setSignedCookie: (key: string, value: string, secret: string, options?: CookieOptions) => Promise<string>;
4560
+ /**
4561
+ * Response headers
4562
+ *
4563
+ * The live `Headers` for the response being built in the current
4564
+ * request. Read it to inspect what has already been queued, e.g. to
4565
+ * avoid emitting a `Set-Cookie` twice or to check headers set by an
4566
+ * earlier handler in the chain.
4567
+ *
4568
+ * @example
4569
+ * ```ts
4570
+ * const alreadySet = ctx.responseHeaders
4571
+ * .getSetCookie()
4572
+ * .some((c) => c.startsWith("session="));
4573
+ * ```
4574
+ */
4575
+ responseHeaders: Headers;
4555
4576
  /**
4556
4577
  * JSON
4557
4578
  *
@@ -4594,7 +4615,7 @@ type Endpoint<Path extends string = string, Options extends EndpointOptions = En
4594
4615
  path: Path;
4595
4616
  }; //#endregion
4596
4617
  //#endregion
4597
- //#region ../../node_modules/.pnpm/better-call@1.3.5_zod@4.3.6/node_modules/better-call/dist/middleware.d.mts
4618
+ //#region ../../node_modules/.pnpm/better-call@1.3.6_zod@4.3.6/node_modules/better-call/dist/middleware.d.mts
4598
4619
  //#region src/middleware.d.ts
4599
4620
  interface MiddlewareOptions extends Omit<EndpointOptions, "method"> {}
4600
4621
  type MiddlewareContext<Options extends MiddlewareOptions, Context = {}> = EndpointContext<string, Options & {
@@ -4701,7 +4722,7 @@ type Middleware<Options extends MiddlewareOptions = MiddlewareOptions, Handler e
4701
4722
  options: Options;
4702
4723
  }; //#endregion
4703
4724
  //#endregion
4704
- //#region ../../node_modules/.pnpm/better-call@1.3.5_zod@4.3.6/node_modules/better-call/dist/context.d.mts
4725
+ //#region ../../node_modules/.pnpm/better-call@1.3.6_zod@4.3.6/node_modules/better-call/dist/context.d.mts
4705
4726
  //#region src/context.d.ts
4706
4727
  type HTTPMethod = "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
4707
4728
  type Method = HTTPMethod | "*";
package/dist/preload.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import electron, { contextBridge } from "electron";
2
- //#region ../../node_modules/.pnpm/better-call@1.3.5_zod@4.3.6/node_modules/better-call/dist/error.mjs
2
+ //#region ../../node_modules/.pnpm/better-call@1.3.6_zod@4.3.6/node_modules/better-call/dist/error.mjs
3
3
  function isErrorStackTraceLimitWritable() {
4
4
  const desc = Object.getOwnPropertyDescriptor(Error, "stackTraceLimit");
5
5
  if (desc === void 0) return Object.isExtensible(Error);
package/dist/proxy.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { l as ElectronProxyClientOptions } from "./client-D6xRwPM0.mjs";
1
+ import { l as ElectronProxyClientOptions } from "./client-hpd3q6M8.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-BPpah8cV.mjs";
1
+ import { t as PACKAGE_VERSION } from "./version-KncHedVM.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-D6xRwPM0.mjs";
1
+ import { d as Storage } from "./client-hpd3q6M8.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.15";
3
+ const PACKAGE_VERSION = "1.6.16";
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.15",
3
+ "version": "1.6.16",
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.15",
84
- "better-auth": "1.6.15"
83
+ "@better-auth/core": "1.6.16",
84
+ "better-auth": "1.6.16"
85
85
  },
86
86
  "peerDependencies": {
87
87
  "@better-auth/utils": "0.4.1",
88
- "@better-fetch/fetch": "1.1.21",
89
- "better-call": "1.3.5",
88
+ "@better-fetch/fetch": "1.2.2",
89
+ "better-call": "1.3.6",
90
90
  "conf": "^15.0.2",
91
91
  "electron": ">=36.0.0",
92
- "@better-auth/core": "^1.6.15",
93
- "better-auth": "^1.6.15"
92
+ "@better-auth/core": "^1.6.16",
93
+ "better-auth": "^1.6.16"
94
94
  },
95
95
  "peerDependenciesMeta": {
96
96
  "electron": {