better-auth 1.0.3 → 1.0.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.cjs +1 -1
- package/dist/adapters/drizzle.d.cts +1 -1
- package/dist/adapters/drizzle.d.ts +1 -1
- package/dist/adapters/drizzle.js +1 -1
- package/dist/adapters/kysely.d.cts +1 -1
- package/dist/adapters/kysely.d.ts +1 -1
- package/dist/adapters/memory.d.cts +1 -1
- package/dist/adapters/memory.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.d.cts +1 -1
- package/dist/api.d.ts +1 -1
- package/dist/{auth-DF-f5DGM.d.ts → auth-BXAJa4bS.d.ts} +12 -0
- package/dist/{auth-BubrmklB.d.cts → auth-JcgLy3mH.d.cts} +12 -0
- package/dist/client/plugins.d.cts +3 -3
- package/dist/client/plugins.d.ts +3 -3
- 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-CwnHFdnT.d.cts → index-B3tboD6m.d.cts} +1 -1
- package/dist/{index-aMRluDla.d.ts → index-Bn2pZ0pb.d.ts} +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/next-js.d.cts +1 -1
- package/dist/next-js.d.ts +1 -1
- 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 +1 -1
- package/dist/plugins.d.cts +3 -3
- package/dist/plugins.d.ts +3 -3
- package/dist/plugins.js +1 -1
- 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-CQJXHclh.d.cts → state-CMDbIivR.d.cts} +1 -1
- package/dist/{state-C_runTlH.d.ts → state-MOcw4xXw.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
|
@@ -6,7 +6,7 @@ import { BetterFetchResponse, BetterFetchError } from '@better-fetch/fetch';
|
|
|
6
6
|
import { ClientOptions, InferClientAPI, InferActions, BetterAuthClientPlugin, IsSignal } from './types.cjs';
|
|
7
7
|
import { U as UnionToIntersection } from './helper-DxMBi7M2.cjs';
|
|
8
8
|
import { DependencyList } from 'react';
|
|
9
|
-
import './auth-
|
|
9
|
+
import './auth-JcgLy3mH.cjs';
|
|
10
10
|
import 'kysely';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import './index-PzUmElyX.cjs';
|
package/dist/react.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { BetterFetchResponse, BetterFetchError } from '@better-fetch/fetch';
|
|
|
6
6
|
import { ClientOptions, InferClientAPI, InferActions, BetterAuthClientPlugin, IsSignal } from './types.js';
|
|
7
7
|
import { U as UnionToIntersection } from './helper-DxMBi7M2.js';
|
|
8
8
|
import { DependencyList } from 'react';
|
|
9
|
-
import './auth-
|
|
9
|
+
import './auth-BXAJa4bS.js';
|
|
10
10
|
import 'kysely';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import './index-CS8-YiCU.js';
|
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 { BetterFetchResponse, BetterFetchError } from '@better-fetch/fetch';
|
|
|
4
4
|
import { ClientOptions, InferClientAPI, InferActions, BetterAuthClientPlugin, IsSignal } from './types.cjs';
|
|
5
5
|
import { Accessor } from 'solid-js';
|
|
6
6
|
import { U as UnionToIntersection } from './helper-DxMBi7M2.cjs';
|
|
7
|
-
import './auth-
|
|
7
|
+
import './auth-JcgLy3mH.cjs';
|
|
8
8
|
import 'kysely';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import './index-PzUmElyX.cjs';
|
package/dist/solid.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { BetterFetchResponse, BetterFetchError } from '@better-fetch/fetch';
|
|
|
4
4
|
import { ClientOptions, InferClientAPI, InferActions, BetterAuthClientPlugin, IsSignal } from './types.js';
|
|
5
5
|
import { Accessor } from 'solid-js';
|
|
6
6
|
import { U as UnionToIntersection } from './helper-DxMBi7M2.js';
|
|
7
|
-
import './auth-
|
|
7
|
+
import './auth-BXAJa4bS.js';
|
|
8
8
|
import 'kysely';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import './index-CS8-YiCU.js';
|
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 { BetterFetchResponse, BetterFetchError } from '@better-fetch/fetch';
|
|
6
6
|
import { ClientOptions, InferClientAPI, InferActions, BetterAuthClientPlugin, IsSignal } from './types.cjs';
|
|
7
7
|
import { U as UnionToIntersection } from './helper-DxMBi7M2.cjs';
|
|
8
|
-
import './auth-
|
|
8
|
+
import './auth-JcgLy3mH.cjs';
|
|
9
9
|
import 'kysely';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import './index-PzUmElyX.cjs';
|
package/dist/svelte.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
|
5
5
|
import { BetterFetchResponse, BetterFetchError } from '@better-fetch/fetch';
|
|
6
6
|
import { ClientOptions, InferClientAPI, InferActions, BetterAuthClientPlugin, IsSignal } from './types.js';
|
|
7
7
|
import { U as UnionToIntersection } from './helper-DxMBi7M2.js';
|
|
8
|
-
import './auth-
|
|
8
|
+
import './auth-BXAJa4bS.js';
|
|
9
9
|
import 'kysely';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import './index-CS8-YiCU.js';
|
package/dist/types.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { j as BetterAuthPlugin, A as Auth, S as Session, U as User, Y as InferFieldsInputClient, V as InferFieldsOutput } from './auth-
|
|
2
|
-
export { l as Adapter, m as AdapterInstance, d as AdditionalSessionFieldsInput, e as AdditionalSessionFieldsOutput, a as AdditionalUserFieldsInput, c as AdditionalUserFieldsOutput, h as AuthContext, B as BetterAuthOptions, G as GenericEndpointContext, H as HookEndpointContext, k as InferOptionSchema, g as InferPluginTypes, f as InferSession, I as InferUser, M as Models, P as PluginSchema, R as RateLimit, n as SecondaryStorage, W as Where, i as init } from './auth-
|
|
1
|
+
import { j as BetterAuthPlugin, A as Auth, S as Session, U as User, Y as InferFieldsInputClient, V as InferFieldsOutput } from './auth-JcgLy3mH.cjs';
|
|
2
|
+
export { l as Adapter, m as AdapterInstance, d as AdditionalSessionFieldsInput, e as AdditionalSessionFieldsOutput, a as AdditionalUserFieldsInput, c as AdditionalUserFieldsOutput, h as AuthContext, B as BetterAuthOptions, G as GenericEndpointContext, H as HookEndpointContext, k as InferOptionSchema, g as InferPluginTypes, f as InferSession, I as InferUser, M as Models, P as PluginSchema, R as RateLimit, n as SecondaryStorage, W as Where, i as init } from './auth-JcgLy3mH.cjs';
|
|
3
3
|
import { U as UnionToIntersection, H as HasRequiredKeys, P as Prettify, S as StripEmptyObjects, L as LiteralString } from './helper-DxMBi7M2.cjs';
|
|
4
4
|
export { D as DeepPartial, b as LiteralUnion, O as OmitId, a as PrettifyDeep, R as RequiredKeysOf, W as WithoutEmpty } from './helper-DxMBi7M2.cjs';
|
|
5
5
|
import { BetterFetchOption, BetterFetchResponse, BetterFetch, BetterFetchPlugin } from '@better-fetch/fetch';
|
package/dist/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { j as BetterAuthPlugin, A as Auth, S as Session, U as User, Y as InferFieldsInputClient, V as InferFieldsOutput } from './auth-
|
|
2
|
-
export { l as Adapter, m as AdapterInstance, d as AdditionalSessionFieldsInput, e as AdditionalSessionFieldsOutput, a as AdditionalUserFieldsInput, c as AdditionalUserFieldsOutput, h as AuthContext, B as BetterAuthOptions, G as GenericEndpointContext, H as HookEndpointContext, k as InferOptionSchema, g as InferPluginTypes, f as InferSession, I as InferUser, M as Models, P as PluginSchema, R as RateLimit, n as SecondaryStorage, W as Where, i as init } from './auth-
|
|
1
|
+
import { j as BetterAuthPlugin, A as Auth, S as Session, U as User, Y as InferFieldsInputClient, V as InferFieldsOutput } from './auth-BXAJa4bS.js';
|
|
2
|
+
export { l as Adapter, m as AdapterInstance, d as AdditionalSessionFieldsInput, e as AdditionalSessionFieldsOutput, a as AdditionalUserFieldsInput, c as AdditionalUserFieldsOutput, h as AuthContext, B as BetterAuthOptions, G as GenericEndpointContext, H as HookEndpointContext, k as InferOptionSchema, g as InferPluginTypes, f as InferSession, I as InferUser, M as Models, P as PluginSchema, R as RateLimit, n as SecondaryStorage, W as Where, i as init } from './auth-BXAJa4bS.js';
|
|
3
3
|
import { U as UnionToIntersection, H as HasRequiredKeys, P as Prettify, S as StripEmptyObjects, L as LiteralString } from './helper-DxMBi7M2.js';
|
|
4
4
|
export { D as DeepPartial, b as LiteralUnion, O as OmitId, a as PrettifyDeep, R as RequiredKeysOf, W as WithoutEmpty } from './helper-DxMBi7M2.js';
|
|
5
5
|
import { BetterFetchOption, BetterFetchResponse, BetterFetch, BetterFetchPlugin } from '@better-fetch/fetch';
|
package/dist/vue.d.cts
CHANGED
|
@@ -5,7 +5,7 @@ import { BetterFetchResponse, BetterFetchError } from '@better-fetch/fetch';
|
|
|
5
5
|
import { DeepReadonly, Ref } from 'vue';
|
|
6
6
|
import { ClientOptions, InferClientAPI, InferActions, BetterAuthClientPlugin, IsSignal } from './types.cjs';
|
|
7
7
|
import { U as UnionToIntersection } from './helper-DxMBi7M2.cjs';
|
|
8
|
-
import './auth-
|
|
8
|
+
import './auth-JcgLy3mH.cjs';
|
|
9
9
|
import 'kysely';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import './index-PzUmElyX.cjs';
|
package/dist/vue.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { BetterFetchResponse, BetterFetchError } from '@better-fetch/fetch';
|
|
|
5
5
|
import { DeepReadonly, Ref } from 'vue';
|
|
6
6
|
import { ClientOptions, InferClientAPI, InferActions, BetterAuthClientPlugin, IsSignal } from './types.js';
|
|
7
7
|
import { U as UnionToIntersection } from './helper-DxMBi7M2.js';
|
|
8
|
-
import './auth-
|
|
8
|
+
import './auth-BXAJa4bS.js';
|
|
9
9
|
import 'kysely';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import './index-CS8-YiCU.js';
|