@better-auth/infra 0.1.6 → 0.1.7

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.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import * as _better_fetch_fetch0 from "@better-fetch/fetch";
1
+ import * as better_auth_client0 from "better-auth/client";
2
2
 
3
3
  //#region src/client.d.ts
4
4
  interface DashAuditLog {
@@ -49,7 +49,7 @@ interface DashClientOptions {
49
49
  }
50
50
  declare const dashClient: (options?: DashClientOptions) => {
51
51
  id: "dash";
52
- getActions: ($fetch: _better_fetch_fetch0.BetterFetch) => {
52
+ getActions: ($fetch: better_auth_client0.BetterFetch) => {
53
53
  dash: {
54
54
  getAuditLogs: (input?: DashGetAuditLogsInput) => Promise<{
55
55
  data: DashAuditLogsResponse;
@@ -97,15 +97,15 @@ declare const sentinelClient: (options?: SentinelClientOptions) => {
97
97
  id: string;
98
98
  name: string;
99
99
  hooks: {
100
- onRequest<T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>): Promise<_better_fetch_fetch0.RequestContext<T>>;
100
+ onRequest<T extends Record<string, any>>(context: better_auth_client0.RequestContext<T>): Promise<better_auth_client0.RequestContext<T>>;
101
101
  onResponse?: undefined;
102
102
  };
103
103
  } | {
104
104
  id: string;
105
105
  name: string;
106
106
  hooks: {
107
- onResponse(context: _better_fetch_fetch0.ResponseContext): Promise<_better_fetch_fetch0.ResponseContext>;
108
- onRequest<T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>): Promise<_better_fetch_fetch0.RequestContext<T>>;
107
+ onResponse(context: better_auth_client0.ResponseContext): Promise<better_auth_client0.ResponseContext>;
108
+ onRequest<T extends Record<string, any>>(context: better_auth_client0.RequestContext<T>): Promise<better_auth_client0.RequestContext<T>>;
109
109
  };
110
110
  })[];
111
111
  };