better-auth 0.3.0 → 0.3.2
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/adapters/drizzle.d.ts +2 -2
- package/dist/adapters/mongodb.d.ts +2 -2
- package/dist/adapters/prisma.d.ts +2 -2
- package/dist/api.d.ts +2 -2
- package/dist/api.js +111 -29
- package/dist/cli.js +1 -1
- package/dist/client/plugins.d.ts +4 -4
- package/dist/client.d.ts +2 -2
- package/dist/{index-BkvPZOrg.d.ts → index-8Ml1biZQ.d.ts} +2 -2
- package/dist/{index-JM-i6hLs.d.ts → index-BlnDgm2S.d.ts} +75 -31
- package/dist/{index-L1yd6IfX.d.ts → index-DHmaFGpa.d.ts} +46 -26
- package/dist/index.d.ts +2 -2
- package/dist/index.js +112 -30
- package/dist/next-js.d.ts +2 -2
- package/dist/node.d.ts +2 -2
- package/dist/plugins.d.ts +7 -10
- package/dist/plugins.js +132 -86
- package/dist/react.d.ts +2 -2
- package/dist/social.d.ts +1 -1
- package/dist/social.js +109 -15
- package/dist/solid-start.d.ts +2 -2
- package/dist/solid.d.ts +2 -2
- package/dist/svelte-kit.d.ts +2 -2
- package/dist/svelte.d.ts +2 -2
- package/dist/types.d.ts +4 -4
- package/dist/vue.d.ts +2 -2
- package/package.json +1 -1
package/dist/solid-start.d.ts
CHANGED
package/dist/solid.d.ts
CHANGED
|
@@ -3,9 +3,9 @@ import { U as UnionToIntersection, P as Prettify, S as StripEmptyObjects } from
|
|
|
3
3
|
import { ClientOptions, InferClientAPI, InferActions, InferAdditionalFromClient, BetterAuthClientPlugin, IsSignal } from './types.js';
|
|
4
4
|
import { Accessor } from 'solid-js';
|
|
5
5
|
import 'zod';
|
|
6
|
-
import './index-
|
|
6
|
+
import './index-DHmaFGpa.js';
|
|
7
7
|
import 'kysely';
|
|
8
|
-
import './index-
|
|
8
|
+
import './index-BlnDgm2S.js';
|
|
9
9
|
import 'arctic';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'better-sqlite3';
|
package/dist/svelte-kit.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as Auth, B as BetterAuthOptions } from './index-
|
|
1
|
+
import { a as Auth, B as BetterAuthOptions } from './index-DHmaFGpa.js';
|
|
2
2
|
import 'kysely';
|
|
3
|
-
import './index-
|
|
3
|
+
import './index-BlnDgm2S.js';
|
|
4
4
|
import 'arctic';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import './helper-DPDj8Nix.js';
|
package/dist/svelte.d.ts
CHANGED
|
@@ -3,9 +3,9 @@ import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
|
3
3
|
import { U as UnionToIntersection, P as Prettify, S as StripEmptyObjects } from './helper-DPDj8Nix.js';
|
|
4
4
|
import { ClientOptions, InferClientAPI, InferActions, InferAdditionalFromClient, BetterAuthClientPlugin, IsSignal } from './types.js';
|
|
5
5
|
import 'zod';
|
|
6
|
-
import './index-
|
|
6
|
+
import './index-DHmaFGpa.js';
|
|
7
7
|
import 'kysely';
|
|
8
|
-
import './index-
|
|
8
|
+
import './index-BlnDgm2S.js';
|
|
9
9
|
import 'arctic';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'better-sqlite3';
|
package/dist/types.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { A as Adapter,
|
|
1
|
+
import { c as BetterAuthPlugin, a as Auth, F as FieldAttribute, I as InferFieldOutput } from './index-DHmaFGpa.js';
|
|
2
|
+
export { A as Adapter, b as AuthContext, B as BetterAuthOptions, G as GenericEndpointContext, H as HookEndpointContext, j as InferPluginTypes, i as InferSession, h as InferUser, P as PluginSchema, R as RateLimit, S as SessionAdapter, W as Where, k as init } from './index-DHmaFGpa.js';
|
|
3
3
|
import { U as UnionToIntersection, H as HasRequiredKeys, P as Prettify, S as StripEmptyObjects, L as LiteralString } from './helper-DPDj8Nix.js';
|
|
4
4
|
export { D as DeepPartial, a as LiteralUnion, R as RequiredKeysOf, W as WithoutEmpty } from './helper-DPDj8Nix.js';
|
|
5
|
-
import { S as Session, U as User } from './index-
|
|
6
|
-
export { O as OAuthProvider, f as OAuthProviderList, P as ProviderOptions } from './index-
|
|
5
|
+
import { S as Session, U as User } from './index-BlnDgm2S.js';
|
|
6
|
+
export { O as OAuthProvider, f as OAuthProviderList, P as ProviderOptions } from './index-BlnDgm2S.js';
|
|
7
7
|
import { BetterFetchOption, BetterFetchResponse, BetterFetch, BetterFetchPlugin } from '@better-fetch/fetch';
|
|
8
8
|
import { Atom } from 'nanostores';
|
|
9
9
|
import { Endpoint, Context } from 'better-call';
|
package/dist/vue.d.ts
CHANGED
|
@@ -3,9 +3,9 @@ import { U as UnionToIntersection, P as Prettify, S as StripEmptyObjects } from
|
|
|
3
3
|
import { ClientOptions, InferClientAPI, InferActions, InferAdditionalFromClient, BetterAuthClientPlugin, IsSignal } from './types.js';
|
|
4
4
|
import { Ref, DeepReadonly } from 'vue';
|
|
5
5
|
import 'zod';
|
|
6
|
-
import './index-
|
|
6
|
+
import './index-DHmaFGpa.js';
|
|
7
7
|
import 'kysely';
|
|
8
|
-
import './index-
|
|
8
|
+
import './index-BlnDgm2S.js';
|
|
9
9
|
import 'arctic';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'better-sqlite3';
|