@better-auth/electron 1.7.2 → 1.7.3

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-Cj0SVRl5.mjs";
1
+ import { t as PACKAGE_VERSION } from "./version-BA_IW5w3.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
@@ -4,6 +4,7 @@ import * as z from "zod";
4
4
  import * as _$_better_auth_core0 from "@better-auth/core";
5
5
  import { HookEndpointContext } from "@better-auth/core";
6
6
  import * as _$better_call0 from "better-call";
7
+ import * as _$_better_auth_core_db_internal0 from "@better-auth/core/db/internal";
7
8
 
8
9
  //#region src/index.d.ts
9
10
  declare module "@better-auth/core" {
@@ -106,6 +107,7 @@ declare const electron: (options?: ElectronOptions | undefined) => {
106
107
  storage: "memory" | "database" | "secondary-storage";
107
108
  } & Omit<_$better_auth0.BetterAuthRateLimitOptions, "enabled" | "window" | "max" | "storage">;
108
109
  adapter: _$better_auth0.DBAdapter<_$better_auth0.BetterAuthOptions>;
110
+ checkSchema?: _$_better_auth_core_db_internal0.SchemaCheck | undefined;
109
111
  internalAdapter: _$better_auth0.InternalAdapter<_$better_auth0.BetterAuthOptions>;
110
112
  createAuthCookie: (cookieName: string, overrideAttributes?: Partial<_$better_call0.CookieOptions> | undefined) => _$better_auth0.BetterAuthCookie;
111
113
  secret: string;
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { t as PACKAGE_VERSION } from "./version-Cj0SVRl5.mjs";
1
+ import { t as PACKAGE_VERSION } from "./version-BA_IW5w3.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.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import electron, { contextBridge } from "electron";
2
- //#region ../../node_modules/.pnpm/better-call@1.4.0_zod@4.3.6/node_modules/better-call/dist/error.mjs
2
+ //#region ../../node_modules/.pnpm/better-call@1.4.0_zod@4.5.4/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.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { t as PACKAGE_VERSION } from "./version-Cj0SVRl5.mjs";
1
+ import { t as PACKAGE_VERSION } from "./version-BA_IW5w3.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.7.2";
3
+ const PACKAGE_VERSION = "1.7.3";
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.2",
3
+ "version": "1.7.3",
4
4
  "description": "Better Auth integration for Electron applications.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -73,15 +73,15 @@
73
73
  }
74
74
  },
75
75
  "dependencies": {
76
- "zod": "^4.3.6"
76
+ "zod": "^4.5.4"
77
77
  },
78
78
  "devDependencies": {
79
79
  "@types/better-sqlite3": "^7.6.13",
80
80
  "better-sqlite3": "^12.11.1",
81
81
  "electron": "^43.1.1",
82
82
  "tsdown": "0.21.10",
83
- "@better-auth/core": "1.7.2",
84
- "better-auth": "1.7.2"
83
+ "@better-auth/core": "1.7.3",
84
+ "better-auth": "1.7.3"
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.7.2",
93
- "better-auth": "^1.7.2"
92
+ "@better-auth/core": "^1.7.3",
93
+ "better-auth": "^1.7.3"
94
94
  },
95
95
  "peerDependenciesMeta": {
96
96
  "electron": {