@withwiz/toolkit 0.9.2 → 0.9.3
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/{chunk-KHXS4DGA.js → chunk-4Y5MRUMX.js} +4 -4
- package/dist/{chunk-HGVPZSWW.js → chunk-6SDUWMC3.js} +1 -1
- package/dist/{chunk-PRPMEHRE.js → chunk-BOABYFJ7.js} +22 -4
- package/dist/{chunk-XKIBJJA3.js → chunk-CNXK3SLK.js} +4 -4
- package/dist/{chunk-4XPXZNBX.js → chunk-ISP4MDKW.js} +1 -1
- package/dist/{chunk-LL3VWKY4.js → chunk-KMUYO6YD.js} +1 -1
- package/dist/{chunk-63EKUOJH.js → chunk-NERL6VYQ.js} +1 -1
- package/dist/chunk-OVOBSYR4.js +24 -0
- package/dist/{chunk-QMBNFCCK.js → chunk-OXKVQGRH.js} +5 -5
- package/dist/{chunk-XTGS6JJB.js → chunk-ROMGYJFX.js} +1 -1
- package/dist/{chunk-WSHRBK6Y.js → chunk-VQ47YRFC.js} +2 -2
- package/dist/{chunk-U2TGXJ3A.js → chunk-ZVGEGDYF.js} +1 -1
- package/dist/core/auth/adapters/sql/email-token-repository.js +2 -2
- package/dist/core/auth/adapters/sql/index.js +8 -8
- package/dist/core/auth/adapters/sql/oauth-account-repository.js +2 -2
- package/dist/core/auth/adapters/sql/user-repository.js +2 -2
- package/dist/core/auth/duration.d.ts +9 -0
- package/dist/core/auth/duration.js +7 -0
- package/dist/core/auth/index.js +22 -21
- package/dist/core/auth/jwt/cookie.d.ts +8 -0
- package/dist/core/auth/jwt/cookie.js +2 -1
- package/dist/core/auth/jwt/index.js +2 -1
- package/dist/core/auth/oauth/index.js +4 -4
- package/dist/core/auth/oauth/providers/index.js +3 -3
- package/dist/core/auth/services/index.js +2 -1
- package/dist/core/auth/services/login.service.js +2 -1
- package/dist/core/auth/services/oauth-callback.service.js +2 -1
- package/dist/core/auth/services/token-refresh.service.js +2 -1
- package/dist/core/auth/token-delivery.js +3 -2
- package/dist/core/geolocation/index.js +1 -1
- package/dist/core/system/environment.js +2 -2
- package/dist/core/system/health-check.js +2 -2
- package/dist/core/system/index.js +13 -13
- package/dist/initialize.js +9 -9
- package/dist/next/auth-handlers/index.js +11 -10
- package/dist/next/auth-handlers/login.handler.js +4 -3
- package/dist/next/auth-handlers/logout.handler.js +3 -2
- package/dist/next/auth-handlers/me.handler.js +4 -3
- package/dist/next/auth-handlers/oauth-authorize.handler.js +3 -3
- package/dist/next/auth-handlers/oauth-callback.handler.js +5 -4
- package/dist/next/auth-handlers/refresh.handler.js +4 -3
- package/dist/next/auth-types/handler-types.js +3 -2
- package/dist/next/auth-types/index.js +3 -2
- package/dist/next/error/error-handler.js +2 -2
- package/dist/next/error/index.js +5 -5
- package/dist/next/middleware/auth.js +6 -5
- package/dist/next/middleware/cors.js +2 -2
- package/dist/next/middleware/error-handler.js +3 -3
- package/dist/next/middleware/index.js +13 -12
- package/dist/next/middleware/wrappers.js +10 -9
- package/dist/next/utils/index.js +16 -16
- package/package.json +2 -1
- package/dist/{chunk-UWOWKOOQ.js → chunk-37VGD4VX.js} +3 -3
- package/dist/{chunk-GSRAIDD7.js → chunk-6A5JHOBB.js} +3 -3
- package/dist/{chunk-R7EFDSPZ.js → chunk-AYCXN6QJ.js} +3 -3
- package/dist/{chunk-43XXILCX.js → chunk-BTYH4MHU.js} +3 -3
- package/dist/{chunk-P7WHMKN5.js → chunk-V3GEYUBG.js} +3 -3
- package/dist/{chunk-5VDT3ZB4.js → chunk-VQJY52YF.js} +3 -3
- package/dist/{chunk-JOYW3OZB.js → chunk-WU3V2AKE.js} +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AUTH_ERROR_CODE_MAP
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-AYCXN6QJ.js";
|
|
4
4
|
import {
|
|
5
5
|
AppError
|
|
6
6
|
} from "./chunk-ATAQRXTH.js";
|
|
@@ -11,12 +11,12 @@ import {
|
|
|
11
11
|
ERROR_CODES,
|
|
12
12
|
classifyError
|
|
13
13
|
} from "./chunk-XQIAXMRY.js";
|
|
14
|
-
import {
|
|
15
|
-
AuthError
|
|
16
|
-
} from "./chunk-5GWGARXI.js";
|
|
17
14
|
import {
|
|
18
15
|
logger
|
|
19
16
|
} from "./chunk-QAIN3WNN.js";
|
|
17
|
+
import {
|
|
18
|
+
AuthError
|
|
19
|
+
} from "./chunk-5GWGARXI.js";
|
|
20
20
|
import {
|
|
21
21
|
__spreadValues
|
|
22
22
|
} from "./chunk-N3ETBM74.js";
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getAuthConfig
|
|
3
3
|
} from "./chunk-N3TCQ5BF.js";
|
|
4
|
+
import {
|
|
5
|
+
JWT_DEFAULTS
|
|
6
|
+
} from "./chunk-7YWUKMZD.js";
|
|
7
|
+
import {
|
|
8
|
+
durationToSeconds
|
|
9
|
+
} from "./chunk-OVOBSYR4.js";
|
|
4
10
|
import {
|
|
5
11
|
__spreadValues
|
|
6
12
|
} from "./chunk-N3ETBM74.js";
|
|
@@ -17,22 +23,34 @@ function getDefaultOptions() {
|
|
|
17
23
|
sameSite: "lax"
|
|
18
24
|
};
|
|
19
25
|
}
|
|
26
|
+
function resolveMaxAge() {
|
|
27
|
+
let access = JWT_DEFAULTS.DEFAULT_ACCESS_TOKEN_EXPIRES;
|
|
28
|
+
let refresh = JWT_DEFAULTS.DEFAULT_REFRESH_TOKEN_EXPIRES;
|
|
29
|
+
try {
|
|
30
|
+
const cfg = getAuthConfig();
|
|
31
|
+
access = cfg.accessTokenExpiry;
|
|
32
|
+
refresh = cfg.refreshTokenExpiry;
|
|
33
|
+
} catch (e) {
|
|
34
|
+
}
|
|
35
|
+
return { access: durationToSeconds(access), refresh: durationToSeconds(refresh) };
|
|
36
|
+
}
|
|
20
37
|
function setTokenCookies(response, tokenPair, options = {}) {
|
|
21
|
-
var _a;
|
|
38
|
+
var _a, _b, _c;
|
|
22
39
|
const opts = __spreadValues(__spreadValues({}, getDefaultOptions()), options);
|
|
40
|
+
const maxAge = resolveMaxAge();
|
|
23
41
|
response.cookies.set("access_token", tokenPair.accessToken, {
|
|
24
42
|
httpOnly: true,
|
|
25
43
|
secure: opts.secure,
|
|
26
44
|
sameSite: opts.sameSite,
|
|
27
45
|
path: "/",
|
|
28
|
-
maxAge:
|
|
46
|
+
maxAge: (_a = opts.accessTokenMaxAge) != null ? _a : maxAge.access
|
|
29
47
|
});
|
|
30
48
|
response.cookies.set("refresh_token", tokenPair.refreshToken, {
|
|
31
49
|
httpOnly: true,
|
|
32
50
|
secure: opts.secure,
|
|
33
51
|
sameSite: opts.sameSite,
|
|
34
|
-
path: (
|
|
35
|
-
maxAge:
|
|
52
|
+
path: (_b = opts.refreshTokenPath) != null ? _b : "/api/auth",
|
|
53
|
+
maxAge: (_c = opts.refreshTokenMaxAge) != null ? _c : maxAge.refresh
|
|
36
54
|
});
|
|
37
55
|
return response;
|
|
38
56
|
}
|
|
@@ -4,21 +4,21 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
ERROR_CODES
|
|
6
6
|
} from "./chunk-XQIAXMRY.js";
|
|
7
|
+
import {
|
|
8
|
+
logger
|
|
9
|
+
} from "./chunk-QAIN3WNN.js";
|
|
7
10
|
import {
|
|
8
11
|
JWTManager
|
|
9
12
|
} from "./chunk-LWHLB2Y6.js";
|
|
10
13
|
import {
|
|
11
14
|
getTokenDeliveryStrategy
|
|
12
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-NERL6VYQ.js";
|
|
13
16
|
import {
|
|
14
17
|
getAuthConfig
|
|
15
18
|
} from "./chunk-N3TCQ5BF.js";
|
|
16
19
|
import {
|
|
17
20
|
ROLE_DEFAULTS
|
|
18
21
|
} from "./chunk-7YWUKMZD.js";
|
|
19
|
-
import {
|
|
20
|
-
logger
|
|
21
|
-
} from "./chunk-QAIN3WNN.js";
|
|
22
22
|
|
|
23
23
|
// src/next/middleware/auth.ts
|
|
24
24
|
function setAccessTokenBlacklistChecker(checker) {
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// src/core/auth/duration.ts
|
|
2
|
+
function durationToSeconds(expiry) {
|
|
3
|
+
const match = /^(\d+)\s*([smhd])?$/.exec(expiry.trim());
|
|
4
|
+
if (!match) {
|
|
5
|
+
throw new Error(`Invalid duration format: "${expiry}" (expected e.g. "7d", "15m", "900")`);
|
|
6
|
+
}
|
|
7
|
+
const value = parseInt(match[1], 10);
|
|
8
|
+
switch (match[2]) {
|
|
9
|
+
case "s":
|
|
10
|
+
return value;
|
|
11
|
+
case "m":
|
|
12
|
+
return value * 60;
|
|
13
|
+
case "h":
|
|
14
|
+
return value * 3600;
|
|
15
|
+
case "d":
|
|
16
|
+
return value * 86400;
|
|
17
|
+
default:
|
|
18
|
+
return value;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export {
|
|
23
|
+
durationToSeconds
|
|
24
|
+
};
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
errorHandlerMiddleware
|
|
3
|
+
} from "./chunk-4Y5MRUMX.js";
|
|
1
4
|
import {
|
|
2
5
|
initRequestMiddleware
|
|
3
6
|
} from "./chunk-VC2E6KYQ.js";
|
|
@@ -17,13 +20,10 @@ import {
|
|
|
17
20
|
adminMiddleware,
|
|
18
21
|
authMiddleware,
|
|
19
22
|
optionalAuthMiddleware
|
|
20
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-CNXK3SLK.js";
|
|
21
24
|
import {
|
|
22
25
|
corsMiddleware
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import {
|
|
25
|
-
errorHandlerMiddleware
|
|
26
|
-
} from "./chunk-KHXS4DGA.js";
|
|
26
|
+
} from "./chunk-37VGD4VX.js";
|
|
27
27
|
|
|
28
28
|
// src/next/middleware/wrappers.ts
|
|
29
29
|
function withPublicApi(handler) {
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-MTZXWVW3.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuthManager
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-V3GEYUBG.js";
|
|
7
7
|
import {
|
|
8
8
|
OAUTH_STATE_COOKIE,
|
|
9
9
|
clearOAuthStateCookie,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
} from "./chunk-5GWGARXI.js";
|
|
15
15
|
import {
|
|
16
16
|
setTokenCookies
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-BOABYFJ7.js";
|
|
18
18
|
|
|
19
19
|
// src/next/auth-handlers/oauth-callback.handler.ts
|
|
20
20
|
import { NextResponse } from "next/server";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SqlEmailTokenRepository
|
|
3
|
-
} from "../../../../chunk-
|
|
4
|
-
import "../../../../chunk-E4TKORMQ.js";
|
|
3
|
+
} from "../../../../chunk-BTYH4MHU.js";
|
|
5
4
|
import "../../../../chunk-2JUFL4KX.js";
|
|
5
|
+
import "../../../../chunk-E4TKORMQ.js";
|
|
6
6
|
import "../../../../chunk-N3ETBM74.js";
|
|
7
7
|
export {
|
|
8
8
|
SqlEmailTokenRepository
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SqlEmailTokenRepository
|
|
3
|
+
} from "../../../../chunk-BTYH4MHU.js";
|
|
1
4
|
import {
|
|
2
5
|
SqlOAuthAccountRepository
|
|
3
|
-
} from "../../../../chunk-
|
|
6
|
+
} from "../../../../chunk-VQJY52YF.js";
|
|
4
7
|
import {
|
|
5
8
|
SqlUserRepository
|
|
6
|
-
} from "../../../../chunk-
|
|
7
|
-
import {
|
|
8
|
-
SqlEmailTokenRepository
|
|
9
|
-
} from "../../../../chunk-43XXILCX.js";
|
|
10
|
-
import {
|
|
11
|
-
resolveConfig
|
|
12
|
-
} from "../../../../chunk-E4TKORMQ.js";
|
|
9
|
+
} from "../../../../chunk-6A5JHOBB.js";
|
|
13
10
|
import {
|
|
14
11
|
ParamBuilder,
|
|
15
12
|
columnList,
|
|
16
13
|
getDialect
|
|
17
14
|
} from "../../../../chunk-2JUFL4KX.js";
|
|
15
|
+
import {
|
|
16
|
+
resolveConfig
|
|
17
|
+
} from "../../../../chunk-E4TKORMQ.js";
|
|
18
18
|
import "../../../../chunk-N3ETBM74.js";
|
|
19
19
|
export {
|
|
20
20
|
ParamBuilder,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SqlOAuthAccountRepository
|
|
3
|
-
} from "../../../../chunk-
|
|
4
|
-
import "../../../../chunk-E4TKORMQ.js";
|
|
3
|
+
} from "../../../../chunk-VQJY52YF.js";
|
|
5
4
|
import "../../../../chunk-2JUFL4KX.js";
|
|
5
|
+
import "../../../../chunk-E4TKORMQ.js";
|
|
6
6
|
import "../../../../chunk-N3ETBM74.js";
|
|
7
7
|
export {
|
|
8
8
|
SqlOAuthAccountRepository
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SqlUserRepository
|
|
3
|
-
} from "../../../../chunk-
|
|
4
|
-
import "../../../../chunk-E4TKORMQ.js";
|
|
3
|
+
} from "../../../../chunk-6A5JHOBB.js";
|
|
5
4
|
import "../../../../chunk-2JUFL4KX.js";
|
|
5
|
+
import "../../../../chunk-E4TKORMQ.js";
|
|
6
6
|
import "../../../../chunk-N3ETBM74.js";
|
|
7
7
|
export {
|
|
8
8
|
SqlUserRepository
|
package/dist/core/auth/index.js
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
import {
|
|
2
|
+
JWTClientManager,
|
|
3
|
+
clearStoredTokens,
|
|
4
|
+
clearTokens,
|
|
5
|
+
createApiHeaders,
|
|
6
|
+
createAuthHeader,
|
|
7
|
+
decodeJWTPayload,
|
|
8
|
+
extractUserFromToken,
|
|
9
|
+
getStoredTokens,
|
|
10
|
+
getTokenExpirationString,
|
|
11
|
+
getTokenIssuedAtString,
|
|
12
|
+
getTokenRemainingTime,
|
|
13
|
+
isTokenExpired,
|
|
14
|
+
isTokenExpiringSoon,
|
|
15
|
+
storeTokens
|
|
16
|
+
} from "../../chunk-5I3EQHR4.js";
|
|
1
17
|
import {
|
|
2
18
|
DEFAULT_PASSWORD_CONFIG,
|
|
3
19
|
createPasswordHasher,
|
|
@@ -18,26 +34,13 @@ import {
|
|
|
18
34
|
BcryptPasswordHasher,
|
|
19
35
|
MigratingPasswordHasher
|
|
20
36
|
} from "../../chunk-ILMPKSWS.js";
|
|
21
|
-
import {
|
|
22
|
-
JWTClientManager,
|
|
23
|
-
clearStoredTokens,
|
|
24
|
-
clearTokens,
|
|
25
|
-
createApiHeaders,
|
|
26
|
-
createAuthHeader,
|
|
27
|
-
decodeJWTPayload,
|
|
28
|
-
extractUserFromToken,
|
|
29
|
-
getStoredTokens,
|
|
30
|
-
getTokenExpirationString,
|
|
31
|
-
getTokenIssuedAtString,
|
|
32
|
-
getTokenRemainingTime,
|
|
33
|
-
isTokenExpired,
|
|
34
|
-
isTokenExpiringSoon,
|
|
35
|
-
storeTokens
|
|
36
|
-
} from "../../chunk-5I3EQHR4.js";
|
|
37
37
|
import {
|
|
38
38
|
OAuthManager
|
|
39
|
-
} from "../../chunk-
|
|
39
|
+
} from "../../chunk-V3GEYUBG.js";
|
|
40
40
|
import "../../chunk-CDALZTPN.js";
|
|
41
|
+
import {
|
|
42
|
+
GitHubOAuthProvider
|
|
43
|
+
} from "../../chunk-HIZ7USIF.js";
|
|
41
44
|
import {
|
|
42
45
|
GoogleOAuthProvider
|
|
43
46
|
} from "../../chunk-GF3DKZIW.js";
|
|
@@ -46,9 +49,6 @@ import {
|
|
|
46
49
|
} from "../../chunk-65HVR74O.js";
|
|
47
50
|
import "../../chunk-33RIHX7O.js";
|
|
48
51
|
import "../../chunk-GSSHHVHF.js";
|
|
49
|
-
import {
|
|
50
|
-
GitHubOAuthProvider
|
|
51
|
-
} from "../../chunk-HIZ7USIF.js";
|
|
52
52
|
import "../../chunk-JLRMET4V.js";
|
|
53
53
|
import {
|
|
54
54
|
TokenGenerator
|
|
@@ -70,9 +70,10 @@ import {
|
|
|
70
70
|
OAuthError,
|
|
71
71
|
PasswordError
|
|
72
72
|
} from "../../chunk-5GWGARXI.js";
|
|
73
|
-
import "../../chunk-
|
|
73
|
+
import "../../chunk-BOABYFJ7.js";
|
|
74
74
|
import "../../chunk-N3TCQ5BF.js";
|
|
75
75
|
import "../../chunk-7YWUKMZD.js";
|
|
76
|
+
import "../../chunk-OVOBSYR4.js";
|
|
76
77
|
import "../../chunk-6J2EJVND.js";
|
|
77
78
|
import "../../chunk-F3R3UYBF.js";
|
|
78
79
|
import "../../chunk-N3ETBM74.js";
|
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
*
|
|
4
4
|
* NextResponse 타입을 제네릭으로 처리하여
|
|
5
5
|
* symlink 환경에서의 next 패키지 경로 충돌을 방지합니다.
|
|
6
|
+
*
|
|
7
|
+
* 쿠키 maxAge는 하드코딩하지 않고 auth config(초기화 시 ENV 주입된
|
|
8
|
+
* accessTokenExpiry/refreshTokenExpiry)에서 도출하여 JWT 만료와 단일 소스로
|
|
9
|
+
* 일치시킨다. 미초기화 시 JWT_DEFAULTS, 명시 override는 CookieOptions로 가능.
|
|
6
10
|
*/
|
|
7
11
|
import type { TokenPair } from '@withwiz/toolkit/core/auth/types';
|
|
8
12
|
/** cookies.set()을 지원하는 Response 타입 */
|
|
@@ -16,6 +20,10 @@ export interface CookieOptions {
|
|
|
16
20
|
sameSite?: 'lax' | 'strict' | 'none';
|
|
17
21
|
domain?: string;
|
|
18
22
|
refreshTokenPath?: string;
|
|
23
|
+
/** access_token 쿠키 maxAge(초) override. 미지정 시 auth config accessTokenExpiry에서 도출. */
|
|
24
|
+
accessTokenMaxAge?: number;
|
|
25
|
+
/** refresh_token 쿠키 maxAge(초) override. 미지정 시 auth config refreshTokenExpiry에서 도출. */
|
|
26
|
+
refreshTokenMaxAge?: number;
|
|
19
27
|
}
|
|
20
28
|
export declare function setTokenCookies<T extends CookieSettableResponse>(response: T, tokenPair: TokenPair, options?: CookieOptions): T;
|
|
21
29
|
export declare function clearTokenCookies<T extends CookieSettableResponse>(response: T, options?: CookieOptions): T;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearTokenCookies,
|
|
3
3
|
setTokenCookies
|
|
4
|
-
} from "../../../chunk-
|
|
4
|
+
} from "../../../chunk-BOABYFJ7.js";
|
|
5
5
|
import "../../../chunk-N3TCQ5BF.js";
|
|
6
6
|
import "../../../chunk-7YWUKMZD.js";
|
|
7
|
+
import "../../../chunk-OVOBSYR4.js";
|
|
7
8
|
import "../../../chunk-6J2EJVND.js";
|
|
8
9
|
import "../../../chunk-F3R3UYBF.js";
|
|
9
10
|
import "../../../chunk-N3ETBM74.js";
|
|
@@ -6,9 +6,10 @@ import "../../../chunk-5GWGARXI.js";
|
|
|
6
6
|
import {
|
|
7
7
|
clearTokenCookies,
|
|
8
8
|
setTokenCookies
|
|
9
|
-
} from "../../../chunk-
|
|
9
|
+
} from "../../../chunk-BOABYFJ7.js";
|
|
10
10
|
import "../../../chunk-N3TCQ5BF.js";
|
|
11
11
|
import "../../../chunk-7YWUKMZD.js";
|
|
12
|
+
import "../../../chunk-OVOBSYR4.js";
|
|
12
13
|
import "../../../chunk-6J2EJVND.js";
|
|
13
14
|
import "../../../chunk-F3R3UYBF.js";
|
|
14
15
|
import "../../../chunk-N3ETBM74.js";
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuthManager
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-V3GEYUBG.js";
|
|
4
4
|
import "../../../chunk-CDALZTPN.js";
|
|
5
|
+
import {
|
|
6
|
+
GitHubOAuthProvider
|
|
7
|
+
} from "../../../chunk-HIZ7USIF.js";
|
|
5
8
|
import {
|
|
6
9
|
GoogleOAuthProvider
|
|
7
10
|
} from "../../../chunk-GF3DKZIW.js";
|
|
@@ -14,9 +17,6 @@ import {
|
|
|
14
17
|
import {
|
|
15
18
|
MicrosoftOAuthProvider
|
|
16
19
|
} from "../../../chunk-GSSHHVHF.js";
|
|
17
|
-
import {
|
|
18
|
-
GitHubOAuthProvider
|
|
19
|
-
} from "../../../chunk-HIZ7USIF.js";
|
|
20
20
|
import {
|
|
21
21
|
OAUTH_STATE_COOKIE,
|
|
22
22
|
clearOAuthStateCookie,
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import "../../../../chunk-CDALZTPN.js";
|
|
2
|
+
import {
|
|
3
|
+
GitHubOAuthProvider
|
|
4
|
+
} from "../../../../chunk-HIZ7USIF.js";
|
|
2
5
|
import {
|
|
3
6
|
GoogleOAuthProvider
|
|
4
7
|
} from "../../../../chunk-GF3DKZIW.js";
|
|
@@ -11,9 +14,6 @@ import {
|
|
|
11
14
|
import {
|
|
12
15
|
MicrosoftOAuthProvider
|
|
13
16
|
} from "../../../../chunk-GSSHHVHF.js";
|
|
14
|
-
import {
|
|
15
|
-
GitHubOAuthProvider
|
|
16
|
-
} from "../../../../chunk-HIZ7USIF.js";
|
|
17
17
|
import "../../../../chunk-5GWGARXI.js";
|
|
18
18
|
import "../../../../chunk-N3ETBM74.js";
|
|
19
19
|
export {
|
|
@@ -20,9 +20,10 @@ import "../../../chunk-ZZABL54F.js";
|
|
|
20
20
|
import "../../../chunk-GH3U4WRE.js";
|
|
21
21
|
import "../../../chunk-LWHLB2Y6.js";
|
|
22
22
|
import "../../../chunk-5GWGARXI.js";
|
|
23
|
-
import "../../../chunk-
|
|
23
|
+
import "../../../chunk-BOABYFJ7.js";
|
|
24
24
|
import "../../../chunk-N3TCQ5BF.js";
|
|
25
25
|
import "../../../chunk-7YWUKMZD.js";
|
|
26
|
+
import "../../../chunk-OVOBSYR4.js";
|
|
26
27
|
import "../../../chunk-6J2EJVND.js";
|
|
27
28
|
import "../../../chunk-F3R3UYBF.js";
|
|
28
29
|
import "../../../chunk-N3ETBM74.js";
|
|
@@ -3,9 +3,10 @@ import {
|
|
|
3
3
|
} from "../../../chunk-TNDEYJEL.js";
|
|
4
4
|
import "../../../chunk-LWHLB2Y6.js";
|
|
5
5
|
import "../../../chunk-5GWGARXI.js";
|
|
6
|
-
import "../../../chunk-
|
|
6
|
+
import "../../../chunk-BOABYFJ7.js";
|
|
7
7
|
import "../../../chunk-N3TCQ5BF.js";
|
|
8
8
|
import "../../../chunk-7YWUKMZD.js";
|
|
9
|
+
import "../../../chunk-OVOBSYR4.js";
|
|
9
10
|
import "../../../chunk-6J2EJVND.js";
|
|
10
11
|
import "../../../chunk-F3R3UYBF.js";
|
|
11
12
|
import "../../../chunk-N3ETBM74.js";
|
|
@@ -3,9 +3,10 @@ import {
|
|
|
3
3
|
} from "../../../chunk-MTZXWVW3.js";
|
|
4
4
|
import "../../../chunk-LWHLB2Y6.js";
|
|
5
5
|
import "../../../chunk-5GWGARXI.js";
|
|
6
|
-
import "../../../chunk-
|
|
6
|
+
import "../../../chunk-BOABYFJ7.js";
|
|
7
7
|
import "../../../chunk-N3TCQ5BF.js";
|
|
8
8
|
import "../../../chunk-7YWUKMZD.js";
|
|
9
|
+
import "../../../chunk-OVOBSYR4.js";
|
|
9
10
|
import "../../../chunk-6J2EJVND.js";
|
|
10
11
|
import "../../../chunk-F3R3UYBF.js";
|
|
11
12
|
import "../../../chunk-N3ETBM74.js";
|
|
@@ -3,9 +3,10 @@ import {
|
|
|
3
3
|
} from "../../../chunk-XAGPZLRK.js";
|
|
4
4
|
import "../../../chunk-LWHLB2Y6.js";
|
|
5
5
|
import "../../../chunk-5GWGARXI.js";
|
|
6
|
-
import "../../../chunk-
|
|
6
|
+
import "../../../chunk-BOABYFJ7.js";
|
|
7
7
|
import "../../../chunk-N3TCQ5BF.js";
|
|
8
8
|
import "../../../chunk-7YWUKMZD.js";
|
|
9
|
+
import "../../../chunk-OVOBSYR4.js";
|
|
9
10
|
import "../../../chunk-6J2EJVND.js";
|
|
10
11
|
import "../../../chunk-F3R3UYBF.js";
|
|
11
12
|
import "../../../chunk-N3ETBM74.js";
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getTokenDeliveryStrategy,
|
|
3
3
|
resolveTokenDelivery
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-NERL6VYQ.js";
|
|
5
|
+
import "../../chunk-BOABYFJ7.js";
|
|
6
6
|
import "../../chunk-N3TCQ5BF.js";
|
|
7
7
|
import "../../chunk-7YWUKMZD.js";
|
|
8
|
+
import "../../chunk-OVOBSYR4.js";
|
|
8
9
|
import "../../chunk-6J2EJVND.js";
|
|
9
10
|
import "../../chunk-F3R3UYBF.js";
|
|
10
11
|
import "../../chunk-N3ETBM74.js";
|
|
@@ -21,8 +21,8 @@ import {
|
|
|
21
21
|
BatchProcessor,
|
|
22
22
|
createBatchProcessor
|
|
23
23
|
} from "../../chunk-VZ2PQA4U.js";
|
|
24
|
-
import "../../chunk-CRJUFA73.js";
|
|
25
24
|
import "../../chunk-QAIN3WNN.js";
|
|
25
|
+
import "../../chunk-CRJUFA73.js";
|
|
26
26
|
import "../../chunk-IKZB26SK.js";
|
|
27
27
|
import "../../chunk-6J2EJVND.js";
|
|
28
28
|
import "../../chunk-F3R3UYBF.js";
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
checkEnvironmentVariables
|
|
3
3
|
} from "../../chunk-7S2PCYNT.js";
|
|
4
4
|
import "../../chunk-KWUOLKDO.js";
|
|
5
|
+
import "../../chunk-QAIN3WNN.js";
|
|
5
6
|
import "../../chunk-CRJUFA73.js";
|
|
7
|
+
import "../../chunk-IKZB26SK.js";
|
|
6
8
|
import "../../chunk-N3TCQ5BF.js";
|
|
7
9
|
import "../../chunk-7YWUKMZD.js";
|
|
8
|
-
import "../../chunk-QAIN3WNN.js";
|
|
9
|
-
import "../../chunk-IKZB26SK.js";
|
|
10
10
|
import "../../chunk-PX535BHW.js";
|
|
11
11
|
import "../../chunk-7KIM5MHV.js";
|
|
12
12
|
import "../../chunk-6J2EJVND.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
checkServiceHealth
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-KWUOLKDO.js";
|
|
3
|
+
} from "../../chunk-WU3V2AKE.js";
|
|
5
4
|
import "../../chunk-PBVP7CFZ.js";
|
|
5
|
+
import "../../chunk-KWUOLKDO.js";
|
|
6
6
|
import "../../chunk-QAIN3WNN.js";
|
|
7
7
|
import "../../chunk-IKZB26SK.js";
|
|
8
8
|
import "../../chunk-7KIM5MHV.js";
|
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
checkServiceHealth
|
|
3
|
+
} from "../../chunk-WU3V2AKE.js";
|
|
4
|
+
import "../../chunk-PBVP7CFZ.js";
|
|
5
|
+
import {
|
|
6
|
+
getMemoryInfo
|
|
7
|
+
} from "../../chunk-U52U5SK7.js";
|
|
8
|
+
import {
|
|
9
|
+
getNetworkInfo
|
|
10
|
+
} from "../../chunk-WBHX4MJV.js";
|
|
1
11
|
import {
|
|
2
12
|
getCpuInfo
|
|
3
13
|
} from "../../chunk-DRTJSTEV.js";
|
|
@@ -7,27 +17,17 @@ import {
|
|
|
7
17
|
import {
|
|
8
18
|
checkEnvironmentVariables
|
|
9
19
|
} from "../../chunk-7S2PCYNT.js";
|
|
10
|
-
import {
|
|
11
|
-
checkServiceHealth
|
|
12
|
-
} from "../../chunk-JOYW3OZB.js";
|
|
13
|
-
import {
|
|
14
|
-
getMemoryInfo
|
|
15
|
-
} from "../../chunk-U52U5SK7.js";
|
|
16
|
-
import {
|
|
17
|
-
getNetworkInfo
|
|
18
|
-
} from "../../chunk-WBHX4MJV.js";
|
|
19
20
|
import {
|
|
20
21
|
getPlatform,
|
|
21
22
|
getRecommendedCommands
|
|
22
23
|
} from "../../chunk-KWUOLKDO.js";
|
|
23
|
-
import "../../chunk-PBVP7CFZ.js";
|
|
24
|
-
import "../../chunk-CRJUFA73.js";
|
|
25
|
-
import "../../chunk-N3TCQ5BF.js";
|
|
26
|
-
import "../../chunk-7YWUKMZD.js";
|
|
27
24
|
import {
|
|
28
25
|
logger
|
|
29
26
|
} from "../../chunk-QAIN3WNN.js";
|
|
27
|
+
import "../../chunk-CRJUFA73.js";
|
|
30
28
|
import "../../chunk-IKZB26SK.js";
|
|
29
|
+
import "../../chunk-N3TCQ5BF.js";
|
|
30
|
+
import "../../chunk-7YWUKMZD.js";
|
|
31
31
|
import "../../chunk-PX535BHW.js";
|
|
32
32
|
import "../../chunk-7KIM5MHV.js";
|
|
33
33
|
import "../../chunk-6J2EJVND.js";
|
package/dist/initialize.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
config,
|
|
3
|
-
resetConfig
|
|
4
|
-
} from "./chunk-2D3YM34R.js";
|
|
5
1
|
import {
|
|
6
2
|
initializeStorage
|
|
7
3
|
} from "./chunk-C5CBJC6V.js";
|
|
4
|
+
import {
|
|
5
|
+
initializeCors
|
|
6
|
+
} from "./chunk-7ZO5UNTJ.js";
|
|
8
7
|
import {
|
|
9
8
|
initializeGeolocation
|
|
10
9
|
} from "./chunk-CRJUFA73.js";
|
|
11
10
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
config,
|
|
12
|
+
resetConfig
|
|
13
|
+
} from "./chunk-2D3YM34R.js";
|
|
14
|
+
import {
|
|
15
|
+
initializeLogger
|
|
16
|
+
} from "./chunk-IKZB26SK.js";
|
|
14
17
|
import {
|
|
15
18
|
initializeAuth
|
|
16
19
|
} from "./chunk-N3TCQ5BF.js";
|
|
17
20
|
import "./chunk-7YWUKMZD.js";
|
|
18
|
-
import {
|
|
19
|
-
initializeLogger
|
|
20
|
-
} from "./chunk-IKZB26SK.js";
|
|
21
21
|
import {
|
|
22
22
|
initializeCommon
|
|
23
23
|
} from "./chunk-PX535BHW.js";
|