@better-auth/infra 0.2.7 → 0.2.9

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,5 +1,4 @@
1
- import { a as DashGetAuditLogsInput, i as DashGetAllAuditLogsInput, n as DashAuditLogsResponse, o as dashClient, r as DashClientOptions, t as DashAuditLog } from "./dash-client-B6U89e1S.mjs";
2
- import * as _$_better_fetch_fetch0 from "@better-fetch/fetch";
1
+ import { a as DashGetAuditLogsInput, i as DashGetAllAuditLogsInput, n as DashAuditLogsResponse, o as dashClient, r as DashClientOptions, t as DashAuditLog } from "./dash-client-CZzJyRrV.mjs";
3
2
 
4
3
  //#region src/sentinel/client.d.ts
5
4
  interface SentinelClientOptions {
@@ -36,15 +35,15 @@ declare const sentinelClient: (options?: SentinelClientOptions) => {
36
35
  id: string;
37
36
  name: string;
38
37
  hooks: {
39
- onRequest<T extends Record<string, any>>(context: _$_better_fetch_fetch0.RequestContext<T>): Promise<_$_better_fetch_fetch0.RequestContext<T>>;
38
+ onRequest<T extends Record<string, any>>(context: import("@better-fetch/fetch").RequestContext<T>): Promise<import("@better-fetch/fetch").RequestContext<T>>;
40
39
  onResponse?: undefined;
41
40
  };
42
41
  } | {
43
42
  id: string;
44
43
  name: string;
45
44
  hooks: {
46
- onResponse(context: _$_better_fetch_fetch0.ResponseContext): Promise<_$_better_fetch_fetch0.ResponseContext>;
47
- onRequest<T extends Record<string, any>>(context: _$_better_fetch_fetch0.RequestContext<T>): Promise<_$_better_fetch_fetch0.RequestContext<T>>;
45
+ onResponse(context: import("@better-fetch/fetch").ResponseContext): Promise<import("@better-fetch/fetch").ResponseContext>;
46
+ onRequest<T extends Record<string, any>>(context: import("@better-fetch/fetch").RequestContext<T>): Promise<import("@better-fetch/fetch").RequestContext<T>>;
48
47
  };
49
48
  })[];
50
49
  };
@@ -1,5 +1,3 @@
1
- import * as _$_better_fetch_fetch0 from "@better-fetch/fetch";
2
-
3
1
  //#region src/dash-client.d.ts
4
2
  interface DashAuditLog {
5
3
  eventType: string;
@@ -58,7 +56,7 @@ interface DashClientOptions {
58
56
  }
59
57
  declare const dashClient: (options?: DashClientOptions) => {
60
58
  id: "dash";
61
- getActions: ($fetch: _$_better_fetch_fetch0.BetterFetch) => {
59
+ getActions: ($fetch: import("@better-fetch/fetch").BetterFetch) => {
62
60
  dash: {
63
61
  getAuditLogs: (input?: DashGetAuditLogsInput) => Promise<{
64
62
  data: null;