better-auth 1.2.6-beta.1 → 1.2.6-beta.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.
@@ -1,8 +1,8 @@
1
- import '../shared/better-auth.CH6fRG6d.cjs';
1
+ import '../shared/better-auth.Bi8FQwDD.cjs';
2
2
  export { d as AuthEndpoint, e as AuthMiddleware, aE as callbackOAuth, a$ as changeEmail, aX as changePassword, b as createAuthEndpoint, c as createAuthMiddleware, aS as createEmailVerificationToken, aZ as deleteUser, a_ as deleteUserCallback, b0 as error, aP as forgetPassword, aQ as forgetPasswordCallback, aJ as freshSessionMiddleware, aA as getEndpoints, aF as getSession, aG as getSessionFromCtx, b4 as linkSocialAccount, aK as listSessions, b3 as listUserAccounts, b1 as ok, o as optionsMiddleware, b8 as originCheck, b7 as originCheckMiddleware, b6 as refreshToken, aI as requestOnlySessionMiddleware, aR as resetPassword, aN as revokeOtherSessions, aL as revokeSession, aM as revokeSessions, aB as router, aU as sendVerificationEmail, aT as sendVerificationEmailFn, aH as sessionMiddleware, aY as setPassword, aD as signInEmail, aC as signInSocial, aO as signOut, b2 as signUpEmail, b5 as unlinkAccount, aW as updateUser, aV as verifyEmail } from '../shared/better-auth.BDAwKjlL.cjs';
3
3
  export { APIError } from 'better-call';
4
- import '../shared/better-auth.Bi8FQwDD.cjs';
5
4
  import 'zod';
6
- import 'jose';
5
+ import '../shared/better-auth.CH6fRG6d.cjs';
7
6
  import 'kysely';
8
7
  import 'better-sqlite3';
8
+ import 'jose';
@@ -1,8 +1,8 @@
1
- import '../shared/better-auth.BTnAiI8e.mjs';
1
+ import '../shared/better-auth.Bi8FQwDD.mjs';
2
2
  export { d as AuthEndpoint, e as AuthMiddleware, aE as callbackOAuth, a$ as changeEmail, aX as changePassword, b as createAuthEndpoint, c as createAuthMiddleware, aS as createEmailVerificationToken, aZ as deleteUser, a_ as deleteUserCallback, b0 as error, aP as forgetPassword, aQ as forgetPasswordCallback, aJ as freshSessionMiddleware, aA as getEndpoints, aF as getSession, aG as getSessionFromCtx, b4 as linkSocialAccount, aK as listSessions, b3 as listUserAccounts, b1 as ok, o as optionsMiddleware, b8 as originCheck, b7 as originCheckMiddleware, b6 as refreshToken, aI as requestOnlySessionMiddleware, aR as resetPassword, aN as revokeOtherSessions, aL as revokeSession, aM as revokeSessions, aB as router, aU as sendVerificationEmail, aT as sendVerificationEmailFn, aH as sessionMiddleware, aY as setPassword, aD as signInEmail, aC as signInSocial, aO as signOut, b2 as signUpEmail, b5 as unlinkAccount, aW as updateUser, aV as verifyEmail } from '../shared/better-auth.CTQDLJN7.mjs';
3
3
  export { APIError } from 'better-call';
4
- import '../shared/better-auth.Bi8FQwDD.mjs';
5
4
  import 'zod';
6
- import 'jose';
5
+ import '../shared/better-auth.BTnAiI8e.mjs';
7
6
  import 'kysely';
8
7
  import 'better-sqlite3';
8
+ import 'jose';
@@ -1,8 +1,8 @@
1
- import '../shared/better-auth.BAfIsot3.js';
1
+ import '../shared/better-auth.Bi8FQwDD.js';
2
2
  export { d as AuthEndpoint, e as AuthMiddleware, aE as callbackOAuth, a$ as changeEmail, aX as changePassword, b as createAuthEndpoint, c as createAuthMiddleware, aS as createEmailVerificationToken, aZ as deleteUser, a_ as deleteUserCallback, b0 as error, aP as forgetPassword, aQ as forgetPasswordCallback, aJ as freshSessionMiddleware, aA as getEndpoints, aF as getSession, aG as getSessionFromCtx, b4 as linkSocialAccount, aK as listSessions, b3 as listUserAccounts, b1 as ok, o as optionsMiddleware, b8 as originCheck, b7 as originCheckMiddleware, b6 as refreshToken, aI as requestOnlySessionMiddleware, aR as resetPassword, aN as revokeOtherSessions, aL as revokeSession, aM as revokeSessions, aB as router, aU as sendVerificationEmail, aT as sendVerificationEmailFn, aH as sessionMiddleware, aY as setPassword, aD as signInEmail, aC as signInSocial, aO as signOut, b2 as signUpEmail, b5 as unlinkAccount, aW as updateUser, aV as verifyEmail } from '../shared/better-auth.tpz8D0AA.js';
3
3
  export { APIError } from 'better-call';
4
- import '../shared/better-auth.Bi8FQwDD.js';
5
4
  import 'zod';
6
- import 'jose';
5
+ import '../shared/better-auth.BAfIsot3.js';
7
6
  import 'kysely';
8
7
  import 'better-sqlite3';
8
+ import 'jose';
package/dist/index.d.cts CHANGED
@@ -5,12 +5,12 @@ export { g as generateState, p as parseState } from './shared/better-auth.DAnkIG
5
5
  export * from 'better-call';
6
6
  export * from 'zod';
7
7
  export { D as DeepPartial, E as Expand, H as HasRequiredKeys, a as LiteralNumber, L as LiteralString, d as LiteralUnion, O as OmitId, c as PreserveJSDoc, b as Prettify, P as PrettifyDeep, R as RequiredKeysOf, S as StripEmptyObjects, U as UnionToIntersection, W as WithoutEmpty } from './shared/better-auth.Bi8FQwDD.cjs';
8
- import './shared/better-auth.CH6fRG6d.cjs';
9
- import 'jose';
8
+ export { O as OAuth2Tokens, a as OAuthProvider, P as ProviderOptions } from './shared/better-auth.CH6fRG6d.cjs';
10
9
  import 'kysely';
11
10
  import 'better-sqlite3';
12
11
  import '@better-fetch/fetch';
13
12
  import 'nanostores';
13
+ import 'jose';
14
14
 
15
15
  declare function capitalizeFirstLetter(str: string): string;
16
16
 
package/dist/index.d.mts CHANGED
@@ -5,12 +5,12 @@ export { g as generateState, p as parseState } from './shared/better-auth.DZPJQ8
5
5
  export * from 'better-call';
6
6
  export * from 'zod';
7
7
  export { D as DeepPartial, E as Expand, H as HasRequiredKeys, a as LiteralNumber, L as LiteralString, d as LiteralUnion, O as OmitId, c as PreserveJSDoc, b as Prettify, P as PrettifyDeep, R as RequiredKeysOf, S as StripEmptyObjects, U as UnionToIntersection, W as WithoutEmpty } from './shared/better-auth.Bi8FQwDD.mjs';
8
- import './shared/better-auth.BTnAiI8e.mjs';
9
- import 'jose';
8
+ export { O as OAuth2Tokens, a as OAuthProvider, P as ProviderOptions } from './shared/better-auth.BTnAiI8e.mjs';
10
9
  import 'kysely';
11
10
  import 'better-sqlite3';
12
11
  import '@better-fetch/fetch';
13
12
  import 'nanostores';
13
+ import 'jose';
14
14
 
15
15
  declare function capitalizeFirstLetter(str: string): string;
16
16
 
package/dist/index.d.ts CHANGED
@@ -5,12 +5,12 @@ export { g as generateState, p as parseState } from './shared/better-auth.DIOWNB
5
5
  export * from 'better-call';
6
6
  export * from 'zod';
7
7
  export { D as DeepPartial, E as Expand, H as HasRequiredKeys, a as LiteralNumber, L as LiteralString, d as LiteralUnion, O as OmitId, c as PreserveJSDoc, b as Prettify, P as PrettifyDeep, R as RequiredKeysOf, S as StripEmptyObjects, U as UnionToIntersection, W as WithoutEmpty } from './shared/better-auth.Bi8FQwDD.js';
8
- import './shared/better-auth.BAfIsot3.js';
9
- import 'jose';
8
+ export { O as OAuth2Tokens, a as OAuthProvider, P as ProviderOptions } from './shared/better-auth.BAfIsot3.js';
10
9
  import 'kysely';
11
10
  import 'better-sqlite3';
12
11
  import '@better-fetch/fetch';
13
12
  import 'nanostores';
13
+ import 'jose';
14
14
 
15
15
  declare function capitalizeFirstLetter(str: string): string;
16
16
 
@@ -1,4 +1,4 @@
1
1
  export { k as AppleNonConformUser, l as AppleOptions, A as AppleProfile, q as DiscordOptions, D as DiscordProfile, I as DropboxOptions, H as DropboxProfile, y as FacebookOptions, F as FacebookProfile, f as GithubOptions, G as GithubProfile, R as GitlabOptions, Q as GitlabProfile, i as GoogleOptions, h as GoogleProfile, a7 as KickOptions, a6 as KickProfile, a3 as LANG, K as LinkedInOptions, L as LinkedInProfile, M as MicrosoftEntraIDProfile, o as MicrosoftOptions, Z as RedditOptions, Y as RedditProfile, a0 as RobloxOptions, $ as RobloxProfile, e as SocialProvider, b as SocialProviderList, d as SocialProviderListEnum, S as SocialProviders, u as SpotifyOptions, t as SpotifyProfile, W as TiktokOptions, V as TiktokProfile, w as TwitchOptions, T as TwitchProfile, C as TwitterOption, B as TwitterProfile, a4 as VkOption, a2 as VkProfile, m as apple, r as discord, J as dropbox, z as facebook, n as getApplePublicKey, g as github, U as gitlab, j as google, a8 as kick, N as linkedin, p as microsoft, _ as reddit, a1 as roblox, c as socialProviderList, s as socialProviders, v as spotify, X as tiktok, x as twitch, E as twitter, a5 as vk } from '../shared/better-auth.CH6fRG6d.cjs';
2
- import 'zod';
3
2
  import '../shared/better-auth.Bi8FQwDD.cjs';
3
+ import 'zod';
4
4
  import 'jose';
@@ -1,4 +1,4 @@
1
1
  export { k as AppleNonConformUser, l as AppleOptions, A as AppleProfile, q as DiscordOptions, D as DiscordProfile, I as DropboxOptions, H as DropboxProfile, y as FacebookOptions, F as FacebookProfile, f as GithubOptions, G as GithubProfile, R as GitlabOptions, Q as GitlabProfile, i as GoogleOptions, h as GoogleProfile, a7 as KickOptions, a6 as KickProfile, a3 as LANG, K as LinkedInOptions, L as LinkedInProfile, M as MicrosoftEntraIDProfile, o as MicrosoftOptions, Z as RedditOptions, Y as RedditProfile, a0 as RobloxOptions, $ as RobloxProfile, e as SocialProvider, b as SocialProviderList, d as SocialProviderListEnum, S as SocialProviders, u as SpotifyOptions, t as SpotifyProfile, W as TiktokOptions, V as TiktokProfile, w as TwitchOptions, T as TwitchProfile, C as TwitterOption, B as TwitterProfile, a4 as VkOption, a2 as VkProfile, m as apple, r as discord, J as dropbox, z as facebook, n as getApplePublicKey, g as github, U as gitlab, j as google, a8 as kick, N as linkedin, p as microsoft, _ as reddit, a1 as roblox, c as socialProviderList, s as socialProviders, v as spotify, X as tiktok, x as twitch, E as twitter, a5 as vk } from '../shared/better-auth.BTnAiI8e.mjs';
2
- import 'zod';
3
2
  import '../shared/better-auth.Bi8FQwDD.mjs';
3
+ import 'zod';
4
4
  import 'jose';
@@ -1,4 +1,4 @@
1
1
  export { k as AppleNonConformUser, l as AppleOptions, A as AppleProfile, q as DiscordOptions, D as DiscordProfile, I as DropboxOptions, H as DropboxProfile, y as FacebookOptions, F as FacebookProfile, f as GithubOptions, G as GithubProfile, R as GitlabOptions, Q as GitlabProfile, i as GoogleOptions, h as GoogleProfile, a7 as KickOptions, a6 as KickProfile, a3 as LANG, K as LinkedInOptions, L as LinkedInProfile, M as MicrosoftEntraIDProfile, o as MicrosoftOptions, Z as RedditOptions, Y as RedditProfile, a0 as RobloxOptions, $ as RobloxProfile, e as SocialProvider, b as SocialProviderList, d as SocialProviderListEnum, S as SocialProviders, u as SpotifyOptions, t as SpotifyProfile, W as TiktokOptions, V as TiktokProfile, w as TwitchOptions, T as TwitchProfile, C as TwitterOption, B as TwitterProfile, a4 as VkOption, a2 as VkProfile, m as apple, r as discord, J as dropbox, z as facebook, n as getApplePublicKey, g as github, U as gitlab, j as google, a8 as kick, N as linkedin, p as microsoft, _ as reddit, a1 as roblox, c as socialProviderList, s as socialProviders, v as spotify, X as tiktok, x as twitch, E as twitter, a5 as vk } from '../shared/better-auth.BAfIsot3.js';
2
- import 'zod';
3
2
  import '../shared/better-auth.Bi8FQwDD.js';
3
+ import 'zod';
4
4
  import 'jose';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "better-auth",
3
- "version": "1.2.6-beta.1",
3
+ "version": "1.2.6-beta.2",
4
4
  "description": "The most comprehensive authentication library for TypeScript.",
5
5
  "type": "module",
6
6
  "repository": {