better-auth 0.7.3 → 0.7.4
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.cts +1 -1
- package/dist/adapters/drizzle.d.ts +1 -1
- package/dist/adapters/kysely.d.cts +1 -1
- package/dist/adapters/kysely.d.ts +1 -1
- package/dist/adapters/mongodb.d.cts +1 -1
- package/dist/adapters/mongodb.d.ts +1 -1
- package/dist/adapters/prisma.d.cts +1 -1
- package/dist/adapters/prisma.d.ts +1 -1
- package/dist/api.cjs +5 -5
- package/dist/api.d.cts +1 -1
- package/dist/api.d.ts +1 -1
- package/dist/api.js +5 -5
- package/dist/{auth-BkJnc76F.d.cts → auth-B5ozNy5X.d.cts} +1 -1
- package/dist/{auth-G61_RA8H.d.ts → auth-BBUjEh9D.d.ts} +1 -1
- package/dist/client/plugins.d.cts +4 -4
- package/dist/client/plugins.d.ts +4 -4
- package/dist/client.d.cts +1 -1
- package/dist/client.d.ts +1 -1
- package/dist/cookies.d.cts +1 -1
- package/dist/cookies.d.ts +1 -1
- package/dist/db.d.cts +2 -2
- package/dist/db.d.ts +2 -2
- package/dist/{index-cKD4sHma.d.ts → index-CQluFeIi.d.ts} +2 -2
- package/dist/{index-KdWDL1fo.d.cts → index-DK55nobk.d.cts} +2 -2
- package/dist/index.cjs +4 -4
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +5 -5
- package/dist/node.d.cts +1 -1
- package/dist/node.d.ts +1 -1
- package/dist/oauth2.d.cts +2 -2
- package/dist/oauth2.d.ts +2 -2
- package/dist/plugins.cjs +6 -6
- package/dist/plugins.d.cts +73 -4
- package/dist/plugins.d.ts +73 -4
- package/dist/plugins.js +6 -6
- package/dist/react.d.cts +1 -1
- package/dist/react.d.ts +1 -1
- package/dist/solid-start.d.cts +1 -1
- package/dist/solid-start.d.ts +1 -1
- package/dist/solid.d.cts +1 -1
- package/dist/solid.d.ts +1 -1
- package/dist/{state-UgidHWa5.d.cts → state-8Gh7gmo8.d.cts} +1 -1
- package/dist/{state-CTWPRYsC.d.ts → state-BU1iZb12.d.ts} +1 -1
- package/dist/svelte-kit.d.cts +1 -1
- package/dist/svelte-kit.d.ts +1 -1
- package/dist/svelte.d.cts +1 -1
- package/dist/svelte.d.ts +1 -1
- package/dist/types.d.cts +2 -2
- package/dist/types.d.ts +2 -2
- package/dist/vue.d.cts +1 -1
- package/dist/vue.d.ts +1 -1
- package/package.json +1 -1
package/dist/react.d.cts
CHANGED
|
@@ -5,7 +5,7 @@ import { BetterFetchError } from '@better-fetch/fetch';
|
|
|
5
5
|
import { useStore } from '@nanostores/react';
|
|
6
6
|
import { ClientOptions, InferClientAPI, InferActions, InferSessionFromClient, InferUserFromClient, BetterAuthClientPlugin, IsSignal } from './types.cjs';
|
|
7
7
|
import { U as UnionToIntersection } from './index-DUqGSAH3.cjs';
|
|
8
|
-
import './auth-
|
|
8
|
+
import './auth-B5ozNy5X.cjs';
|
|
9
9
|
import 'node_modules/better-call/dist/router-Bn7zn81P';
|
|
10
10
|
import 'kysely';
|
|
11
11
|
import 'better-call';
|
package/dist/react.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { BetterFetchError } from '@better-fetch/fetch';
|
|
|
5
5
|
import { useStore } from '@nanostores/react';
|
|
6
6
|
import { ClientOptions, InferClientAPI, InferActions, InferSessionFromClient, InferUserFromClient, BetterAuthClientPlugin, IsSignal } from './types.js';
|
|
7
7
|
import { U as UnionToIntersection } from './index-DUqGSAH3.js';
|
|
8
|
-
import './auth-
|
|
8
|
+
import './auth-BBUjEh9D.js';
|
|
9
9
|
import 'node_modules/better-call/dist/router-Bn7zn81P';
|
|
10
10
|
import 'kysely';
|
|
11
11
|
import 'better-call';
|
package/dist/solid-start.d.cts
CHANGED
package/dist/solid-start.d.ts
CHANGED
package/dist/solid.d.cts
CHANGED
|
@@ -4,7 +4,7 @@ import { BetterFetchError } from '@better-fetch/fetch';
|
|
|
4
4
|
import { ClientOptions, InferClientAPI, InferActions, InferSessionFromClient, InferUserFromClient, BetterAuthClientPlugin, IsSignal } from './types.cjs';
|
|
5
5
|
import { U as UnionToIntersection } from './index-DUqGSAH3.cjs';
|
|
6
6
|
import { Accessor } from './reactive/signal.js';
|
|
7
|
-
import './auth-
|
|
7
|
+
import './auth-B5ozNy5X.cjs';
|
|
8
8
|
import 'node_modules/better-call/dist/router-Bn7zn81P';
|
|
9
9
|
import 'kysely';
|
|
10
10
|
import 'better-call';
|
package/dist/solid.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { BetterFetchError } from '@better-fetch/fetch';
|
|
|
4
4
|
import { ClientOptions, InferClientAPI, InferActions, InferSessionFromClient, InferUserFromClient, BetterAuthClientPlugin, IsSignal } from './types.js';
|
|
5
5
|
import { U as UnionToIntersection } from './index-DUqGSAH3.js';
|
|
6
6
|
import { Accessor } from './reactive/signal.js';
|
|
7
|
-
import './auth-
|
|
7
|
+
import './auth-BBUjEh9D.js';
|
|
8
8
|
import 'node_modules/better-call/dist/router-Bn7zn81P';
|
|
9
9
|
import 'kysely';
|
|
10
10
|
import 'better-call';
|
package/dist/svelte-kit.d.cts
CHANGED
package/dist/svelte-kit.d.ts
CHANGED
package/dist/svelte.d.cts
CHANGED
|
@@ -5,7 +5,7 @@ import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
|
5
5
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
6
6
|
import { ClientOptions, InferClientAPI, InferActions, InferSessionFromClient, InferUserFromClient, BetterAuthClientPlugin, IsSignal } from './types.cjs';
|
|
7
7
|
import { U as UnionToIntersection } from './index-DUqGSAH3.cjs';
|
|
8
|
-
import './auth-
|
|
8
|
+
import './auth-B5ozNy5X.cjs';
|
|
9
9
|
import 'node_modules/better-call/dist/router-Bn7zn81P';
|
|
10
10
|
import 'kysely';
|
|
11
11
|
import 'better-call';
|
package/dist/svelte.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
|
5
5
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
6
6
|
import { ClientOptions, InferClientAPI, InferActions, InferSessionFromClient, InferUserFromClient, BetterAuthClientPlugin, IsSignal } from './types.js';
|
|
7
7
|
import { U as UnionToIntersection } from './index-DUqGSAH3.js';
|
|
8
|
-
import './auth-
|
|
8
|
+
import './auth-BBUjEh9D.js';
|
|
9
9
|
import 'node_modules/better-call/dist/router-Bn7zn81P';
|
|
10
10
|
import 'kysely';
|
|
11
11
|
import 'better-call';
|
package/dist/types.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { A as Adapter,
|
|
1
|
+
import { k as BetterAuthPlugin, a as Auth, Q as InferFieldsInputClient, N as InferFieldsOutput } from './auth-B5ozNy5X.cjs';
|
|
2
|
+
export { A as Adapter, e as AdditionalSessionFieldsInput, f as AdditionalSessionFieldsOutput, c as AdditionalUserFieldsInput, d as AdditionalUserFieldsOutput, j as AuthContext, B as BetterAuthOptions, G as GenericEndpointContext, H as HookEndpointContext, h as InferPluginTypes, g as InferSession, I as InferUser, P as PluginSchema, R as RateLimit, S as SecondaryStorage, W as Where, i as init } from './auth-B5ozNy5X.cjs';
|
|
3
3
|
import { U as UnionToIntersection, H as HasRequiredKeys, P as Prettify, c as StripEmptyObjects, L as LiteralString, S as Session, a as User } from './index-DUqGSAH3.cjs';
|
|
4
4
|
export { D as DeepPartial, b as LiteralUnion, R as RequiredKeysOf, W as WithoutEmpty } from './index-DUqGSAH3.cjs';
|
|
5
5
|
import { BetterFetchOption, BetterFetchResponse, BetterFetch, BetterFetchPlugin } from '@better-fetch/fetch';
|
package/dist/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { A as Adapter,
|
|
1
|
+
import { k as BetterAuthPlugin, a as Auth, Q as InferFieldsInputClient, N as InferFieldsOutput } from './auth-BBUjEh9D.js';
|
|
2
|
+
export { A as Adapter, e as AdditionalSessionFieldsInput, f as AdditionalSessionFieldsOutput, c as AdditionalUserFieldsInput, d as AdditionalUserFieldsOutput, j as AuthContext, B as BetterAuthOptions, G as GenericEndpointContext, H as HookEndpointContext, h as InferPluginTypes, g as InferSession, I as InferUser, P as PluginSchema, R as RateLimit, S as SecondaryStorage, W as Where, i as init } from './auth-BBUjEh9D.js';
|
|
3
3
|
import { U as UnionToIntersection, H as HasRequiredKeys, P as Prettify, c as StripEmptyObjects, L as LiteralString, S as Session, a as User } from './index-DUqGSAH3.js';
|
|
4
4
|
export { D as DeepPartial, b as LiteralUnion, R as RequiredKeysOf, W as WithoutEmpty } from './index-DUqGSAH3.js';
|
|
5
5
|
import { BetterFetchOption, BetterFetchResponse, BetterFetch, BetterFetchPlugin } from '@better-fetch/fetch';
|
package/dist/vue.d.cts
CHANGED
|
@@ -4,7 +4,7 @@ import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
|
4
4
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
5
5
|
import { ClientOptions, InferClientAPI, InferActions, InferSessionFromClient, InferUserFromClient, BetterAuthClientPlugin, IsSignal } from './types.cjs';
|
|
6
6
|
import { U as UnionToIntersection$1 } from './index-DUqGSAH3.cjs';
|
|
7
|
-
import './auth-
|
|
7
|
+
import './auth-B5ozNy5X.cjs';
|
|
8
8
|
import 'node_modules/better-call/dist/router-Bn7zn81P';
|
|
9
9
|
import 'kysely';
|
|
10
10
|
import 'better-call';
|
package/dist/vue.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
|
4
4
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
5
5
|
import { ClientOptions, InferClientAPI, InferActions, InferSessionFromClient, InferUserFromClient, BetterAuthClientPlugin, IsSignal } from './types.js';
|
|
6
6
|
import { U as UnionToIntersection$1 } from './index-DUqGSAH3.js';
|
|
7
|
-
import './auth-
|
|
7
|
+
import './auth-BBUjEh9D.js';
|
|
8
8
|
import 'node_modules/better-call/dist/router-Bn7zn81P';
|
|
9
9
|
import 'kysely';
|
|
10
10
|
import 'better-call';
|