@better-auth/core 1.5.0-beta.19 → 1.5.0-beta.20

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.
@@ -2,7 +2,7 @@
2
2
  const symbol = Symbol.for("better-auth:global");
3
3
  let bind = null;
4
4
  const __context = {};
5
- const __betterAuthVersion = "1.5.0-beta.19";
5
+ const __betterAuthVersion = "1.5.0-beta.20";
6
6
  /**
7
7
  * We store context instance in the globalThis.
8
8
  *
@@ -13,6 +13,7 @@ interface ClientStore {
13
13
  type ClientAtomListener = {
14
14
  matcher: (path: string) => boolean;
15
15
  signal: "$sessionSignal" | Omit<string, "$sessionSignal">;
16
+ callback?: (path: string) => void;
16
17
  };
17
18
  /**
18
19
  * Better-Fetch options but with additional options for the auth-client.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@better-auth/core",
3
- "version": "1.5.0-beta.19",
3
+ "version": "1.5.0-beta.20",
4
4
  "description": "The most comprehensive authentication framework for TypeScript.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -130,16 +130,16 @@
130
130
  }
131
131
  },
132
132
  "dependencies": {
133
- "@standard-schema/spec": "^1.0.0",
133
+ "@standard-schema/spec": "^1.1.0",
134
134
  "zod": "^4.3.6"
135
135
  },
136
136
  "devDependencies": {
137
137
  "@better-auth/utils": "0.3.1",
138
138
  "@better-fetch/fetch": "1.1.21",
139
139
  "better-call": "1.3.2",
140
- "jose": "^6.1.0",
141
- "kysely": "^0.28.10",
142
- "nanostores": "^1.1.0",
140
+ "jose": "^6.1.3",
141
+ "kysely": "^0.28.11",
142
+ "nanostores": "^1.1.1",
143
143
  "tsdown": "^0.20.3"
144
144
  },
145
145
  "peerDependencies": {
@@ -17,6 +17,7 @@ export interface ClientStore {
17
17
  export type ClientAtomListener = {
18
18
  matcher: (path: string) => boolean;
19
19
  signal: "$sessionSignal" | Omit<string, "$sessionSignal">;
20
+ callback?: (path: string) => void;
20
21
  };
21
22
 
22
23
  /**