better-auth 1.2.6-beta.4 → 1.2.6-beta.6
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-adapter/index.d.cts +1 -1
- package/dist/adapters/drizzle-adapter/index.d.mts +1 -1
- package/dist/adapters/drizzle-adapter/index.d.ts +1 -1
- package/dist/adapters/kysely-adapter/index.d.cts +1 -1
- package/dist/adapters/kysely-adapter/index.d.mts +1 -1
- package/dist/adapters/kysely-adapter/index.d.ts +1 -1
- package/dist/adapters/memory-adapter/index.d.cts +1 -1
- package/dist/adapters/memory-adapter/index.d.mts +1 -1
- package/dist/adapters/memory-adapter/index.d.ts +1 -1
- package/dist/adapters/mongodb-adapter/index.d.cts +1 -1
- package/dist/adapters/mongodb-adapter/index.d.mts +1 -1
- package/dist/adapters/mongodb-adapter/index.d.ts +1 -1
- package/dist/adapters/prisma-adapter/index.d.cts +1 -1
- package/dist/adapters/prisma-adapter/index.d.mts +1 -1
- package/dist/adapters/prisma-adapter/index.d.ts +1 -1
- package/dist/adapters/test.d.cts +1 -1
- package/dist/adapters/test.d.mts +1 -1
- package/dist/adapters/test.d.ts +1 -1
- package/dist/api/index.cjs +2 -2
- package/dist/api/index.d.cts +1 -1
- package/dist/api/index.d.mts +1 -1
- package/dist/api/index.d.ts +1 -1
- package/dist/api/index.mjs +3 -3
- package/dist/client/index.d.cts +1 -1
- package/dist/client/index.d.mts +1 -1
- package/dist/client/index.d.ts +1 -1
- package/dist/client/plugins/index.d.cts +2 -2
- package/dist/client/plugins/index.d.mts +2 -2
- package/dist/client/plugins/index.d.ts +2 -2
- package/dist/client/react/index.d.cts +1 -1
- package/dist/client/react/index.d.mts +1 -1
- package/dist/client/react/index.d.ts +1 -1
- package/dist/client/solid/index.d.cts +1 -1
- package/dist/client/solid/index.d.mts +1 -1
- package/dist/client/solid/index.d.ts +1 -1
- package/dist/client/svelte/index.d.cts +1 -1
- package/dist/client/svelte/index.d.mts +1 -1
- package/dist/client/svelte/index.d.ts +1 -1
- package/dist/client/vue/index.d.cts +1 -1
- package/dist/client/vue/index.d.mts +1 -1
- package/dist/client/vue/index.d.ts +1 -1
- package/dist/cookies/index.d.cts +1 -1
- package/dist/cookies/index.d.mts +1 -1
- package/dist/cookies/index.d.ts +1 -1
- package/dist/db/index.d.cts +2 -2
- package/dist/db/index.d.mts +2 -2
- package/dist/db/index.d.ts +2 -2
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +3 -3
- package/dist/integrations/next-js.cjs +4 -4
- package/dist/integrations/next-js.d.cts +1 -1
- package/dist/integrations/next-js.d.mts +1 -1
- package/dist/integrations/next-js.d.ts +1 -1
- package/dist/integrations/next-js.mjs +4 -4
- package/dist/integrations/node.d.cts +1 -1
- package/dist/integrations/node.d.mts +1 -1
- package/dist/integrations/node.d.ts +1 -1
- package/dist/integrations/svelte-kit.d.cts +1 -1
- package/dist/integrations/svelte-kit.d.mts +1 -1
- package/dist/integrations/svelte-kit.d.ts +1 -1
- package/dist/oauth2/index.cjs +2 -1
- package/dist/oauth2/index.d.cts +4 -3
- package/dist/oauth2/index.d.mts +4 -3
- package/dist/oauth2/index.d.ts +4 -3
- package/dist/oauth2/index.mjs +1 -1
- package/dist/plugins/admin/index.cjs +3 -3
- package/dist/plugins/admin/index.d.cts +284 -642
- package/dist/plugins/admin/index.d.mts +284 -642
- package/dist/plugins/admin/index.d.ts +284 -642
- package/dist/plugins/admin/index.mjs +3 -3
- package/dist/plugins/anonymous/index.cjs +2 -2
- package/dist/plugins/anonymous/index.d.cts +21 -34
- package/dist/plugins/anonymous/index.d.mts +21 -34
- package/dist/plugins/anonymous/index.d.ts +21 -34
- package/dist/plugins/anonymous/index.mjs +2 -2
- package/dist/plugins/bearer/index.cjs +2 -2
- package/dist/plugins/bearer/index.d.cts +1 -1
- package/dist/plugins/bearer/index.d.mts +1 -1
- package/dist/plugins/bearer/index.d.ts +1 -1
- package/dist/plugins/bearer/index.mjs +2 -2
- package/dist/plugins/custom-session/index.cjs +17 -6
- package/dist/plugins/custom-session/index.d.cts +23 -24
- package/dist/plugins/custom-session/index.d.mts +23 -24
- package/dist/plugins/custom-session/index.d.ts +23 -24
- package/dist/plugins/custom-session/index.mjs +17 -6
- package/dist/plugins/email-otp/index.cjs +2 -2
- package/dist/plugins/email-otp/index.d.cts +141 -260
- package/dist/plugins/email-otp/index.d.mts +141 -260
- package/dist/plugins/email-otp/index.d.ts +141 -260
- package/dist/plugins/email-otp/index.mjs +2 -2
- package/dist/plugins/generic-oauth/index.cjs +5 -6
- package/dist/plugins/generic-oauth/index.d.cts +64 -131
- package/dist/plugins/generic-oauth/index.d.mts +64 -131
- package/dist/plugins/generic-oauth/index.d.ts +64 -131
- package/dist/plugins/generic-oauth/index.mjs +5 -6
- package/dist/plugins/index.cjs +45 -13
- package/dist/plugins/index.d.cts +3 -3
- package/dist/plugins/index.d.mts +3 -3
- package/dist/plugins/index.d.ts +3 -3
- package/dist/plugins/index.mjs +45 -14
- package/dist/plugins/jwt/index.cjs +2 -2
- package/dist/plugins/jwt/index.d.cts +41 -108
- package/dist/plugins/jwt/index.d.mts +41 -108
- package/dist/plugins/jwt/index.d.ts +41 -108
- package/dist/plugins/jwt/index.mjs +2 -2
- package/dist/plugins/magic-link/index.cjs +2 -2
- package/dist/plugins/magic-link/index.d.cts +40 -82
- package/dist/plugins/magic-link/index.d.mts +40 -82
- package/dist/plugins/magic-link/index.d.ts +40 -82
- package/dist/plugins/magic-link/index.mjs +2 -2
- package/dist/plugins/multi-session/index.cjs +2 -2
- package/dist/plugins/multi-session/index.d.cts +61 -128
- package/dist/plugins/multi-session/index.d.mts +61 -128
- package/dist/plugins/multi-session/index.d.ts +61 -128
- package/dist/plugins/multi-session/index.mjs +2 -2
- package/dist/plugins/oauth-proxy/index.cjs +2 -2
- package/dist/plugins/oauth-proxy/index.d.cts +21 -41
- package/dist/plugins/oauth-proxy/index.d.mts +21 -41
- package/dist/plugins/oauth-proxy/index.d.ts +21 -41
- package/dist/plugins/oauth-proxy/index.mjs +2 -2
- package/dist/plugins/oidc-provider/index.cjs +2 -2
- package/dist/plugins/oidc-provider/index.d.cts +145 -158
- package/dist/plugins/oidc-provider/index.d.mts +145 -158
- package/dist/plugins/oidc-provider/index.d.ts +145 -158
- package/dist/plugins/oidc-provider/index.mjs +2 -2
- package/dist/plugins/one-tap/index.cjs +2 -2
- package/dist/plugins/one-tap/index.d.cts +20 -42
- package/dist/plugins/one-tap/index.d.mts +20 -42
- package/dist/plugins/one-tap/index.d.ts +20 -42
- package/dist/plugins/one-tap/index.mjs +2 -2
- package/dist/plugins/open-api/index.cjs +4 -2
- package/dist/plugins/open-api/index.d.cts +41 -20
- package/dist/plugins/open-api/index.d.mts +41 -20
- package/dist/plugins/open-api/index.d.ts +41 -20
- package/dist/plugins/open-api/index.mjs +4 -2
- package/dist/plugins/organization/index.cjs +3 -3
- package/dist/plugins/organization/index.d.cts +2143 -3685
- package/dist/plugins/organization/index.d.mts +2143 -3685
- package/dist/plugins/organization/index.d.ts +2143 -3685
- package/dist/plugins/organization/index.mjs +3 -3
- package/dist/plugins/passkey/index.cjs +2 -2
- package/dist/plugins/passkey/index.d.cts +146 -464
- package/dist/plugins/passkey/index.d.mts +146 -464
- package/dist/plugins/passkey/index.d.ts +146 -464
- package/dist/plugins/passkey/index.mjs +2 -2
- package/dist/plugins/phone-number/index.cjs +2 -2
- package/dist/plugins/phone-number/index.d.cts +103 -178
- package/dist/plugins/phone-number/index.d.mts +103 -178
- package/dist/plugins/phone-number/index.d.ts +103 -178
- package/dist/plugins/phone-number/index.mjs +2 -2
- package/dist/plugins/sso/index.cjs +3 -3
- package/dist/plugins/sso/index.d.cts +63 -206
- package/dist/plugins/sso/index.d.mts +63 -206
- package/dist/plugins/sso/index.d.ts +63 -206
- package/dist/plugins/sso/index.mjs +3 -3
- package/dist/plugins/two-factor/index.cjs +7 -5
- package/dist/plugins/two-factor/index.d.cts +238 -725
- package/dist/plugins/two-factor/index.d.mts +238 -725
- package/dist/plugins/two-factor/index.d.ts +238 -725
- package/dist/plugins/two-factor/index.mjs +7 -6
- package/dist/plugins/username/index.cjs +4 -4
- package/dist/plugins/username/index.d.cts +21 -44
- package/dist/plugins/username/index.d.mts +21 -44
- package/dist/plugins/username/index.d.ts +21 -44
- package/dist/plugins/username/index.mjs +4 -4
- package/dist/shared/{better-auth.-X_5SIE9.d.ts → better-auth.2p1C52nv.d.ts} +3 -3
- package/dist/shared/{better-auth.BsbUy_em.d.cts → better-auth.BArzzn5a.d.cts} +5354 -7954
- package/dist/shared/{better-auth.CjhKonVM.d.mts → better-auth.BDKSU3Dg.d.mts} +146 -205
- package/dist/shared/{better-auth.Dy3T8VFf.cjs → better-auth.BDYXUcLv.cjs} +1 -1
- package/dist/shared/{better-auth.BLFZHn6S.d.cts → better-auth.C5A8Vzv0.d.cts} +146 -205
- package/dist/shared/{better-auth.BVu0qf-P.mjs → better-auth.CFzfx-2c.mjs} +1 -1
- package/dist/shared/{better-auth.D5DEHFvt.cjs → better-auth.CN1HkXUY.cjs} +1 -1
- package/dist/shared/{better-auth.CXagCPAv.cjs → better-auth.CPKJJalM.cjs} +4 -4
- package/dist/shared/{better-auth.CsqL1BAE.mjs → better-auth.ClTSOgiD.mjs} +1 -1
- package/dist/shared/{better-auth.BLV8UOn8.cjs → better-auth.Cm29ZKNJ.cjs} +4 -2
- package/dist/shared/{better-auth.Bhu3YSmJ.mjs → better-auth.CmHTEIYA.mjs} +4 -4
- package/dist/shared/{better-auth.i71gRg2g.d.ts → better-auth.CouMuYtz.d.ts} +5354 -7954
- package/dist/shared/{better-auth.ulRwlmfz.d.ts → better-auth.CvCI1gIa.d.ts} +146 -205
- package/dist/shared/{better-auth.XIJlJT9f.mjs → better-auth.D4jH-sJA.mjs} +2 -2
- package/dist/shared/{better-auth.B5Z63CQV.d.mts → better-auth.DCCen_rd.d.mts} +5354 -7954
- package/dist/shared/{better-auth.B2THyVQH.mjs → better-auth.DCVeP5-W.mjs} +4 -3
- package/dist/shared/{better-auth.DkJ_Tcxu.d.cts → better-auth.Dy54W_9o.d.cts} +3 -3
- package/dist/shared/{better-auth.BGAbPcLi.d.mts → better-auth.YLWLGLEW.d.mts} +3 -3
- package/dist/shared/{better-auth.USxghgYQ.cjs → better-auth.m575EIBC.cjs} +1 -1
- package/dist/social-providers/index.cjs +1 -1
- package/dist/social-providers/index.mjs +1 -1
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.mts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/package.json +2 -2
|
@@ -6,9 +6,9 @@ require('@better-auth/utils/hmac');
|
|
|
6
6
|
const cookies_index = require('../cookies/index.cjs');
|
|
7
7
|
require('better-call');
|
|
8
8
|
require('zod');
|
|
9
|
-
const refreshToken = require('../shared/better-auth.
|
|
9
|
+
const refreshToken = require('../shared/better-auth.BDYXUcLv.cjs');
|
|
10
10
|
require('../shared/better-auth.C5H9XEzZ.cjs');
|
|
11
|
-
require('../shared/better-auth.
|
|
11
|
+
require('../shared/better-auth.CN1HkXUY.cjs');
|
|
12
12
|
require('../plugins/organization/access/index.cjs');
|
|
13
13
|
require('../shared/better-auth.CYeOI8C-.cjs');
|
|
14
14
|
require('../shared/better-auth.GpOOav9x.cjs');
|
|
@@ -22,7 +22,7 @@ require('@noble/hashes/scrypt');
|
|
|
22
22
|
require('@better-auth/utils');
|
|
23
23
|
require('@better-auth/utils/hex');
|
|
24
24
|
require('@noble/hashes/utils');
|
|
25
|
-
require('../shared/better-auth.
|
|
25
|
+
require('../shared/better-auth.m575EIBC.cjs');
|
|
26
26
|
require('@better-auth/utils/otp');
|
|
27
27
|
require('../plugins/admin/access/index.cjs');
|
|
28
28
|
require('@better-fetch/fetch');
|
|
@@ -34,7 +34,7 @@ require('../shared/better-auth.C1hdVENX.cjs');
|
|
|
34
34
|
require('../shared/better-auth.D3mtHEZg.cjs');
|
|
35
35
|
require('../shared/better-auth.C-R0J0n1.cjs');
|
|
36
36
|
require('../social-providers/index.cjs');
|
|
37
|
-
require('../shared/better-auth.
|
|
37
|
+
require('../shared/better-auth.Cm29ZKNJ.cjs');
|
|
38
38
|
require('../shared/better-auth.QbbyHMYf.cjs');
|
|
39
39
|
require('../shared/better-auth.Bg6iw3ig.cjs');
|
|
40
40
|
require('../shared/better-auth.BMYo0QR-.cjs');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
|
-
import { H as HookEndpointContext } from '../shared/better-auth.
|
|
2
|
+
import { H as HookEndpointContext } from '../shared/better-auth.BArzzn5a.cjs';
|
|
3
3
|
import '../shared/better-auth.Bi8FQwDD.cjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '../shared/better-auth.DpnaS1Ry.cjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
|
-
import { H as HookEndpointContext } from '../shared/better-auth.
|
|
2
|
+
import { H as HookEndpointContext } from '../shared/better-auth.DCCen_rd.mjs';
|
|
3
3
|
import '../shared/better-auth.Bi8FQwDD.mjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '../shared/better-auth.-kZ-JqcP.mjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as better_call from 'better-call';
|
|
2
|
-
import { H as HookEndpointContext } from '../shared/better-auth.
|
|
2
|
+
import { H as HookEndpointContext } from '../shared/better-auth.CouMuYtz.js';
|
|
3
3
|
import '../shared/better-auth.Bi8FQwDD.js';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '../shared/better-auth.Cr5ixZZK.js';
|
|
@@ -4,9 +4,9 @@ import '@better-auth/utils/hmac';
|
|
|
4
4
|
import { parseSetCookieHeader } from '../cookies/index.mjs';
|
|
5
5
|
import 'better-call';
|
|
6
6
|
import 'zod';
|
|
7
|
-
import { c as createAuthMiddleware } from '../shared/better-auth.
|
|
7
|
+
import { c as createAuthMiddleware } from '../shared/better-auth.D4jH-sJA.mjs';
|
|
8
8
|
import '../shared/better-auth.CepcSj5H.mjs';
|
|
9
|
-
import '../shared/better-auth.
|
|
9
|
+
import '../shared/better-auth.CFzfx-2c.mjs';
|
|
10
10
|
import '../plugins/organization/access/index.mjs';
|
|
11
11
|
import '../shared/better-auth.B4Qoxdgc.mjs';
|
|
12
12
|
import '../shared/better-auth.DH3YjMQH.mjs';
|
|
@@ -20,7 +20,7 @@ import '@noble/hashes/scrypt';
|
|
|
20
20
|
import '@better-auth/utils';
|
|
21
21
|
import '@better-auth/utils/hex';
|
|
22
22
|
import '@noble/hashes/utils';
|
|
23
|
-
import '../shared/better-auth.
|
|
23
|
+
import '../shared/better-auth.ClTSOgiD.mjs';
|
|
24
24
|
import '@better-auth/utils/otp';
|
|
25
25
|
import '../plugins/admin/access/index.mjs';
|
|
26
26
|
import '@better-fetch/fetch';
|
|
@@ -32,7 +32,7 @@ import '../shared/better-auth.CW6D9eSx.mjs';
|
|
|
32
32
|
import '../shared/better-auth.tB5eU6EY.mjs';
|
|
33
33
|
import '../shared/better-auth.VTXNLFMT.mjs';
|
|
34
34
|
import '../social-providers/index.mjs';
|
|
35
|
-
import '../shared/better-auth.
|
|
35
|
+
import '../shared/better-auth.DCVeP5-W.mjs';
|
|
36
36
|
import '../shared/better-auth.BdyOG_p4.mjs';
|
|
37
37
|
import '../shared/better-auth.BUPPRXfK.mjs';
|
|
38
38
|
import '../shared/better-auth.DDEbWX-S.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as http from 'http';
|
|
2
2
|
import { IncomingHttpHeaders } from 'http';
|
|
3
|
-
import { i as Auth } from '../shared/better-auth.
|
|
3
|
+
import { i as Auth } from '../shared/better-auth.BArzzn5a.cjs';
|
|
4
4
|
import '../shared/better-auth.Bi8FQwDD.cjs';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import '../shared/better-auth.DpnaS1Ry.cjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as http from 'http';
|
|
2
2
|
import { IncomingHttpHeaders } from 'http';
|
|
3
|
-
import { i as Auth } from '../shared/better-auth.
|
|
3
|
+
import { i as Auth } from '../shared/better-auth.DCCen_rd.mjs';
|
|
4
4
|
import '../shared/better-auth.Bi8FQwDD.mjs';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import '../shared/better-auth.-kZ-JqcP.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as http from 'http';
|
|
2
2
|
import { IncomingHttpHeaders } from 'http';
|
|
3
|
-
import { i as Auth } from '../shared/better-auth.
|
|
3
|
+
import { i as Auth } from '../shared/better-auth.CouMuYtz.js';
|
|
4
4
|
import '../shared/better-auth.Bi8FQwDD.js';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import '../shared/better-auth.Cr5ixZZK.js';
|
package/dist/oauth2/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const refreshAccessToken = require('../shared/better-auth.
|
|
3
|
+
const refreshAccessToken = require('../shared/better-auth.Cm29ZKNJ.cjs');
|
|
4
4
|
const state = require('../shared/better-auth.QbbyHMYf.cjs');
|
|
5
5
|
require('@better-fetch/fetch');
|
|
6
6
|
require('../shared/better-auth.C1hdVENX.cjs');
|
|
@@ -22,6 +22,7 @@ require('@better-auth/utils/random');
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
exports.createAuthorizationURL = refreshAccessToken.createAuthorizationURL;
|
|
25
|
+
exports.encodeOAuthParameter = refreshAccessToken.encodeOAuthParameter;
|
|
25
26
|
exports.generateCodeChallenge = refreshAccessToken.generateCodeChallenge;
|
|
26
27
|
exports.getOAuth2Tokens = refreshAccessToken.getOAuth2Tokens;
|
|
27
28
|
exports.refreshAccessToken = refreshAccessToken.refreshAccessToken;
|
package/dist/oauth2/index.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { P as ProviderOptions, O as OAuth2Tokens } from '../shared/better-auth.DpnaS1Ry.cjs';
|
|
2
2
|
export { a as OAuthProvider } from '../shared/better-auth.DpnaS1Ry.cjs';
|
|
3
3
|
import * as jose from 'jose';
|
|
4
|
-
export { g as generateState, p as parseState } from '../shared/better-auth.
|
|
4
|
+
export { g as generateState, p as parseState } from '../shared/better-auth.Dy54W_9o.cjs';
|
|
5
5
|
import '../shared/better-auth.Bi8FQwDD.cjs';
|
|
6
6
|
import 'zod';
|
|
7
|
-
import '../shared/better-auth.
|
|
7
|
+
import '../shared/better-auth.BArzzn5a.cjs';
|
|
8
8
|
import 'kysely';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'better-sqlite3';
|
|
@@ -52,5 +52,6 @@ declare function refreshAccessToken({ refreshToken, options, tokenEndpoint, auth
|
|
|
52
52
|
|
|
53
53
|
declare function generateCodeChallenge(codeVerifier: string): Promise<string>;
|
|
54
54
|
declare function getOAuth2Tokens(data: Record<string, any>): OAuth2Tokens;
|
|
55
|
+
declare const encodeOAuthParameter: (value: string) => string;
|
|
55
56
|
|
|
56
|
-
export { OAuth2Tokens, ProviderOptions, createAuthorizationURL, generateCodeChallenge, getOAuth2Tokens, refreshAccessToken, validateAuthorizationCode, validateToken };
|
|
57
|
+
export { OAuth2Tokens, ProviderOptions, createAuthorizationURL, encodeOAuthParameter, generateCodeChallenge, getOAuth2Tokens, refreshAccessToken, validateAuthorizationCode, validateToken };
|
package/dist/oauth2/index.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { P as ProviderOptions, O as OAuth2Tokens } from '../shared/better-auth.-kZ-JqcP.mjs';
|
|
2
2
|
export { a as OAuthProvider } from '../shared/better-auth.-kZ-JqcP.mjs';
|
|
3
3
|
import * as jose from 'jose';
|
|
4
|
-
export { g as generateState, p as parseState } from '../shared/better-auth.
|
|
4
|
+
export { g as generateState, p as parseState } from '../shared/better-auth.YLWLGLEW.mjs';
|
|
5
5
|
import '../shared/better-auth.Bi8FQwDD.mjs';
|
|
6
6
|
import 'zod';
|
|
7
|
-
import '../shared/better-auth.
|
|
7
|
+
import '../shared/better-auth.DCCen_rd.mjs';
|
|
8
8
|
import 'kysely';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'better-sqlite3';
|
|
@@ -52,5 +52,6 @@ declare function refreshAccessToken({ refreshToken, options, tokenEndpoint, auth
|
|
|
52
52
|
|
|
53
53
|
declare function generateCodeChallenge(codeVerifier: string): Promise<string>;
|
|
54
54
|
declare function getOAuth2Tokens(data: Record<string, any>): OAuth2Tokens;
|
|
55
|
+
declare const encodeOAuthParameter: (value: string) => string;
|
|
55
56
|
|
|
56
|
-
export { OAuth2Tokens, ProviderOptions, createAuthorizationURL, generateCodeChallenge, getOAuth2Tokens, refreshAccessToken, validateAuthorizationCode, validateToken };
|
|
57
|
+
export { OAuth2Tokens, ProviderOptions, createAuthorizationURL, encodeOAuthParameter, generateCodeChallenge, getOAuth2Tokens, refreshAccessToken, validateAuthorizationCode, validateToken };
|
package/dist/oauth2/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { P as ProviderOptions, O as OAuth2Tokens } from '../shared/better-auth.Cr5ixZZK.js';
|
|
2
2
|
export { a as OAuthProvider } from '../shared/better-auth.Cr5ixZZK.js';
|
|
3
3
|
import * as jose from 'jose';
|
|
4
|
-
export { g as generateState, p as parseState } from '../shared/better-auth
|
|
4
|
+
export { g as generateState, p as parseState } from '../shared/better-auth.2p1C52nv.js';
|
|
5
5
|
import '../shared/better-auth.Bi8FQwDD.js';
|
|
6
6
|
import 'zod';
|
|
7
|
-
import '../shared/better-auth.
|
|
7
|
+
import '../shared/better-auth.CouMuYtz.js';
|
|
8
8
|
import 'kysely';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'better-sqlite3';
|
|
@@ -52,5 +52,6 @@ declare function refreshAccessToken({ refreshToken, options, tokenEndpoint, auth
|
|
|
52
52
|
|
|
53
53
|
declare function generateCodeChallenge(codeVerifier: string): Promise<string>;
|
|
54
54
|
declare function getOAuth2Tokens(data: Record<string, any>): OAuth2Tokens;
|
|
55
|
+
declare const encodeOAuthParameter: (value: string) => string;
|
|
55
56
|
|
|
56
|
-
export { OAuth2Tokens, ProviderOptions, createAuthorizationURL, generateCodeChallenge, getOAuth2Tokens, refreshAccessToken, validateAuthorizationCode, validateToken };
|
|
57
|
+
export { OAuth2Tokens, ProviderOptions, createAuthorizationURL, encodeOAuthParameter, generateCodeChallenge, getOAuth2Tokens, refreshAccessToken, validateAuthorizationCode, validateToken };
|
package/dist/oauth2/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { c as createAuthorizationURL, g as generateCodeChallenge, b as getOAuth2Tokens, r as refreshAccessToken, v as validateAuthorizationCode, a as validateToken } from '../shared/better-auth.
|
|
1
|
+
export { c as createAuthorizationURL, e as encodeOAuthParameter, g as generateCodeChallenge, b as getOAuth2Tokens, r as refreshAccessToken, v as validateAuthorizationCode, a as validateToken } from '../shared/better-auth.DCVeP5-W.mjs';
|
|
2
2
|
export { g as generateState, p as parseState } from '../shared/better-auth.BdyOG_p4.mjs';
|
|
3
3
|
import '@better-fetch/fetch';
|
|
4
4
|
import '../shared/better-auth.CW6D9eSx.mjs';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const admin = require('../../shared/better-auth.
|
|
3
|
+
const admin = require('../../shared/better-auth.CPKJJalM.cjs');
|
|
4
4
|
require('zod');
|
|
5
5
|
require('better-call');
|
|
6
|
-
require('../../shared/better-auth.
|
|
6
|
+
require('../../shared/better-auth.BDYXUcLv.cjs');
|
|
7
7
|
require('../../cookies/index.cjs');
|
|
8
8
|
require('../../shared/better-auth.ANpbi45u.cjs');
|
|
9
9
|
require('../../shared/better-auth.C1hdVENX.cjs');
|
|
@@ -15,7 +15,7 @@ require('../../shared/better-auth.C-R0J0n1.cjs');
|
|
|
15
15
|
require('../../social-providers/index.cjs');
|
|
16
16
|
require('@better-fetch/fetch');
|
|
17
17
|
require('jose');
|
|
18
|
-
require('../../shared/better-auth.
|
|
18
|
+
require('../../shared/better-auth.Cm29ZKNJ.cjs');
|
|
19
19
|
require('@better-auth/utils/hash');
|
|
20
20
|
require('@noble/ciphers/chacha');
|
|
21
21
|
require('@noble/ciphers/utils');
|