better-auth 0.0.6 → 0.0.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/next-js.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as Auth } from './index-CGeV0d2g.js';
1
+ import { A as Auth } from './index-W5nXvJ-p.js';
2
2
  import 'better-call';
3
3
  import 'zod';
4
4
  import './helper-B5_2Vzba.js';
package/dist/plugins.d.ts CHANGED
@@ -1,11 +1,11 @@
1
- import { T as TwoFactorOptions, U as UserWithTwoFactor } from './client-CaF9eUcv.js';
2
- export { O as OrganizationOptions, a as Passkey, P as PasskeyOptions, W as WebAuthnCookieType, g as getPasskeyActions, o as organization, b as passkey, p as passkeyClient, t as twoFactorClient } from './client-CaF9eUcv.js';
1
+ import { T as TwoFactorOptions, U as UserWithTwoFactor } from './client-A2Mt04KQ.js';
2
+ export { O as OrganizationOptions, a as Passkey, P as PasskeyOptions, W as WebAuthnCookieType, g as getPasskeyActions, o as organization, b as passkey, p as passkeyClient, t as twoFactorClient } from './client-A2Mt04KQ.js';
3
3
  export { i as ac } from './index-Dg4eEXZW.js';
4
- import { G as GenericEndpointContext } from './index-CGeV0d2g.js';
4
+ import { G as GenericEndpointContext } from './index-W5nXvJ-p.js';
5
5
  import * as better_call from 'better-call';
6
6
  import { z } from 'zod';
7
7
  import 'nanostores';
8
- import './type-tYx_kmry.js';
8
+ import './type-DbMyI3b5.js';
9
9
  import '@better-fetch/fetch';
10
10
  import './helper-B5_2Vzba.js';
11
11
  import '@nanostores/react';
@@ -806,19 +806,19 @@ declare const username: () => {
806
806
  image: z.ZodOptional<z.ZodString>;
807
807
  callbackURL: z.ZodOptional<z.ZodString>;
808
808
  }, "strip", z.ZodTypeAny, {
809
+ password: string;
809
810
  name: string;
810
811
  email: string;
811
- password: string;
812
812
  username: string;
813
- callbackURL?: string | undefined;
814
813
  image?: string | undefined;
814
+ callbackURL?: string | undefined;
815
815
  }, {
816
+ password: string;
816
817
  name: string;
817
818
  email: string;
818
- password: string;
819
819
  username: string;
820
- callbackURL?: string | undefined;
821
820
  image?: string | undefined;
821
+ callbackURL?: string | undefined;
822
822
  }>;
823
823
  }>): Promise<{
824
824
  user: {
@@ -849,19 +849,19 @@ declare const username: () => {
849
849
  image: z.ZodOptional<z.ZodString>;
850
850
  callbackURL: z.ZodOptional<z.ZodString>;
851
851
  }, "strip", z.ZodTypeAny, {
852
+ password: string;
852
853
  name: string;
853
854
  email: string;
854
- password: string;
855
855
  username: string;
856
- callbackURL?: string | undefined;
857
856
  image?: string | undefined;
857
+ callbackURL?: string | undefined;
858
858
  }, {
859
+ password: string;
859
860
  name: string;
860
861
  email: string;
861
- password: string;
862
862
  username: string;
863
- callbackURL?: string | undefined;
864
863
  image?: string | undefined;
864
+ callbackURL?: string | undefined;
865
865
  }>;
866
866
  };
867
867
  method: better_call.Method | better_call.Method[];
package/dist/react.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import 'nanostores';
2
- import './index-CGeV0d2g.js';
2
+ import './index-W5nXvJ-p.js';
3
3
  import 'zod';
4
4
  import './helper-B5_2Vzba.js';
5
- export { c as createAuthClient, u as useAuthStore } from './type-tYx_kmry.js';
5
+ export { c as createAuthClient, u as useAuthStore } from './type-DbMyI3b5.js';
6
6
  import '@better-fetch/fetch';
7
7
  import 'better-call';
8
8
  import '@nanostores/react';
@@ -1,4 +1,4 @@
1
- import { A as Auth } from './index-CGeV0d2g.js';
1
+ import { A as Auth } from './index-W5nXvJ-p.js';
2
2
  import 'better-call';
3
3
  import 'zod';
4
4
  import './helper-B5_2Vzba.js';
package/dist/solid.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import * as nanostores from 'nanostores';
2
- import { B as BetterAuthPlugin, a as BetterAuthOptions, F as FieldAttribute, I as InferFieldOutput, A as Auth } from './index-CGeV0d2g.js';
2
+ import { B as BetterAuthPlugin, a as BetterAuthOptions, F as FieldAttribute, I as InferFieldOutput, A as Auth } from './index-W5nXvJ-p.js';
3
3
  import * as zod from 'zod';
4
4
  import { U as UnionToIntersection, H as HasRequiredKeys, P as Prettify } from './helper-B5_2Vzba.js';
5
- import { C as ClientOptions, P as PathToObject, A as AuthPlugin } from './type-tYx_kmry.js';
5
+ import { C as ClientOptions, P as PathToObject, A as AuthPlugin } from './type-DbMyI3b5.js';
6
6
  import * as _better_fetch_fetch from '@better-fetch/fetch';
7
7
  import * as better_call from 'better-call';
8
8
  import * as SolidJS from 'solid-js';
@@ -1,4 +1,4 @@
1
- import { A as Auth, a as BetterAuthOptions } from './index-CGeV0d2g.js';
1
+ import { A as Auth, a as BetterAuthOptions } from './index-W5nXvJ-p.js';
2
2
  import 'better-call';
3
3
  import 'zod';
4
4
  import './helper-B5_2Vzba.js';
package/dist/svelte.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import * as nanostores from 'nanostores';
2
- import { B as BetterAuthPlugin, a as BetterAuthOptions, F as FieldAttribute, I as InferFieldOutput, A as Auth } from './index-CGeV0d2g.js';
2
+ import { B as BetterAuthPlugin, a as BetterAuthOptions, F as FieldAttribute, I as InferFieldOutput, A as Auth } from './index-W5nXvJ-p.js';
3
3
  import * as zod from 'zod';
4
4
  import { U as UnionToIntersection, H as HasRequiredKeys, P as Prettify } from './helper-B5_2Vzba.js';
5
- import { C as ClientOptions, P as PathToObject, A as AuthPlugin } from './type-tYx_kmry.js';
5
+ import { C as ClientOptions, P as PathToObject, A as AuthPlugin } from './type-DbMyI3b5.js';
6
6
  import * as _better_fetch_fetch from '@better-fetch/fetch';
7
7
  import * as better_call from 'better-call';
8
8
  import './schema-BOszzrbQ.js';