@withwiz/toolkit 0.7.0 → 0.7.1
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-TF5RJ5Q2.js → chunk-4L6OSSSG.js} +4 -4
- package/dist/{chunk-TQ3XHHZK.js → chunk-4PROUAZ5.js} +6 -6
- package/dist/{chunk-M5ZYAQBB.js → chunk-6TRD7ZW4.js} +5 -5
- package/dist/{chunk-PRWWB4QY.js → chunk-6TUDUOGC.js} +1 -1
- package/dist/{chunk-2QVDB6UO.js → chunk-7F5X6F7X.js} +1 -1
- package/dist/{chunk-4YDBQZ5M.js → chunk-B6L5XV7O.js} +13 -13
- package/dist/{chunk-KCDJIW2F.js → chunk-BFZR62LZ.js} +5 -5
- package/dist/{chunk-P4CZVRSG.js → chunk-D2KXIKI4.js} +1 -1
- package/dist/{chunk-OO2XOASJ.js → chunk-G4GT4X3J.js} +1 -1
- package/dist/{chunk-5BBVV2EX.js → chunk-G4LJN4OZ.js} +1 -1
- package/dist/{chunk-TMTN7H46.js → chunk-G4SNTXJ3.js} +2 -2
- package/dist/{chunk-P2VPYAJZ.js → chunk-HX4MPCVV.js} +6 -6
- package/dist/{chunk-H5KYXSYZ.js → chunk-JIYLTMVL.js} +0 -10
- package/dist/{chunk-DUIQUAHR.js → chunk-JKSABDFT.js} +2 -2
- package/dist/{chunk-ZVGEGDYF.js → chunk-JRORMRVN.js} +1 -1
- package/dist/{chunk-TUA5XW5Z.js → chunk-MREY2W7N.js} +1 -1
- package/dist/{chunk-BL6QHL5L.js → chunk-MWBEE6VI.js} +1 -1
- package/dist/{chunk-2JGSS4RM.js → chunk-RJGYONRO.js} +1 -1
- package/dist/{chunk-Q5ERE4M3.js → chunk-UBASOMP5.js} +1 -1
- package/dist/{chunk-AWIORJAI.js → chunk-VPRTPW7C.js} +2 -2
- package/dist/{chunk-HKW4JA45.js → chunk-W7PEL3DX.js} +9 -9
- package/dist/{chunk-UP3VFIVQ.js → chunk-WIQAPWTY.js} +1 -1
- package/dist/core/auth/config.js +2 -2
- package/dist/core/auth/index.js +9 -9
- package/dist/core/auth/jwt/cookie.js +3 -3
- package/dist/core/auth/jwt/index.js +3 -3
- package/dist/core/auth/oauth/index.js +7 -7
- package/dist/core/auth/oauth/providers/index.js +6 -6
- package/dist/core/auth/services/index.js +3 -3
- package/dist/core/auth/services/login.service.js +3 -3
- package/dist/core/auth/services/oauth-callback.service.js +3 -3
- package/dist/core/auth/services/token-refresh.service.js +3 -3
- package/dist/core/cache/cache-config.js +4 -4
- package/dist/core/cache/cache-env.js +3 -3
- package/dist/core/cache/cache-factory.js +10 -10
- package/dist/core/cache/cache-invalidation.js +10 -10
- package/dist/core/cache/cache-redis.js +4 -4
- package/dist/core/cache/cache-wrapper.js +10 -10
- package/dist/core/cache/cache.js +21 -21
- package/dist/core/cache/config.js +2 -2
- package/dist/core/cache/hybrid-cache-manager.js +5 -5
- package/dist/core/cache/index.js +21 -21
- package/dist/core/cache/noop-cache-manager.js +5 -5
- package/dist/core/cache/redis-cache-manager.js +5 -5
- package/dist/core/constants/index.js +13 -13
- package/dist/core/error/index.js +3 -3
- package/dist/core/geolocation/index.js +1 -1
- package/dist/core/storage/r2-storage.js +1 -1
- package/dist/core/system/environment.js +6 -6
- package/dist/core/system/health-check.js +3 -3
- package/dist/core/system/index.js +13 -13
- package/dist/initialize.js +11 -11
- package/dist/next/auth-handlers/index.js +11 -11
- package/dist/next/auth-handlers/login.handler.js +4 -4
- package/dist/next/auth-handlers/logout.handler.js +4 -4
- package/dist/next/auth-handlers/me.handler.js +3 -3
- package/dist/next/auth-handlers/oauth-authorize.handler.js +4 -4
- package/dist/next/auth-handlers/oauth-callback.handler.js +7 -7
- package/dist/next/auth-handlers/refresh.handler.js +4 -4
- package/dist/next/error/error-handler.js +3 -3
- package/dist/next/error/index.js +4 -4
- package/dist/next/middleware/auth.js +7 -7
- package/dist/next/middleware/cors.js +2 -2
- package/dist/next/middleware/error-handler.js +5 -5
- package/dist/next/middleware/index.js +15 -15
- package/dist/next/middleware/rate-limit.js +2 -2
- package/dist/next/middleware/wrappers.js +13 -13
- package/dist/next/utils/csv-export-format.d.ts +11 -0
- package/dist/next/utils/csv-export-format.js +15 -0
- package/dist/next/utils/csv-export.d.ts +0 -2
- package/dist/next/utils/csv-export.js +1 -1
- package/dist/next/utils/error-processor.js +2 -2
- package/dist/next/utils/index.js +25 -25
- package/dist/react/components/ui/DataTable.js +3 -3
- package/dist/react/components/ui/data-table/DataTable.js +3 -3
- package/dist/react/components/ui/data-table/DataTableBulkActions.js +2 -2
- package/dist/react/components/ui/data-table/index.js +3 -3
- package/dist/react/error/error-display.js +2 -2
- package/dist/react/error/index.js +2 -2
- package/package.json +2 -1
- package/dist/{chunk-3KYSGBVF.js → chunk-54REXMTE.js} +3 -3
- package/dist/{chunk-C6WH7RF5.js → chunk-ERKJJDY6.js} +3 -3
- package/dist/{chunk-Q4XDPK5B.js → chunk-GDTZMX3L.js} +3 -3
- package/dist/{chunk-T4643SEW.js → chunk-GORISA3L.js} +3 -3
- package/dist/{chunk-ZFNIHVVA.js → chunk-IOUNOHP7.js} +4 -4
- package/dist/{chunk-2MYD2BFJ.js → chunk-JJAIVUVD.js} +6 -6
- package/dist/{chunk-UKPMQBU2.js → chunk-KYAHURXN.js} +3 -3
- package/dist/{chunk-V3GEYUBG.js → chunk-UQ3Z3ZAF.js} +6 -6
- package/dist/{chunk-NIWVKN6A.js → chunk-ZCLKRGZ4.js} +3 -3
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ConfigurationError
|
|
3
|
+
} from "./chunk-F3R3UYBF.js";
|
|
1
4
|
import {
|
|
2
5
|
CACHE_DURATION_DEFAULTS,
|
|
3
6
|
CACHE_FALLBACK_DEFAULTS,
|
|
@@ -5,9 +8,6 @@ import {
|
|
|
5
8
|
CACHE_TTL_DEFAULTS,
|
|
6
9
|
INMEMORY_CACHE_DEFAULTS
|
|
7
10
|
} from "./chunk-ERFD6YAW.js";
|
|
8
|
-
import {
|
|
9
|
-
ConfigurationError
|
|
10
|
-
} from "./chunk-F3R3UYBF.js";
|
|
11
11
|
import {
|
|
12
12
|
__spreadValues
|
|
13
13
|
} from "./chunk-ORMEWXMH.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AppError
|
|
3
3
|
} from "./chunk-ATAQRXTH.js";
|
|
4
|
+
import {
|
|
5
|
+
ERROR_CODES,
|
|
6
|
+
formatErrorMessage
|
|
7
|
+
} from "./chunk-XQIAXMRY.js";
|
|
4
8
|
import {
|
|
5
9
|
logApiRequest,
|
|
6
10
|
logApiResponse,
|
|
7
11
|
logger
|
|
8
12
|
} from "./chunk-KG65BFPK.js";
|
|
9
|
-
import {
|
|
10
|
-
ERROR_CODES,
|
|
11
|
-
formatErrorMessage
|
|
12
|
-
} from "./chunk-XQIAXMRY.js";
|
|
13
13
|
|
|
14
14
|
// src/next/utils/error-processor.ts
|
|
15
15
|
import { NextResponse } from "next/server";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AppError
|
|
3
3
|
} from "./chunk-ATAQRXTH.js";
|
|
4
|
-
import {
|
|
5
|
-
logger
|
|
6
|
-
} from "./chunk-KG65BFPK.js";
|
|
7
|
-
import {
|
|
8
|
-
AuthError
|
|
9
|
-
} from "./chunk-5GWGARXI.js";
|
|
10
4
|
import {
|
|
11
5
|
ERROR_CODES,
|
|
12
6
|
classifyError,
|
|
13
7
|
formatErrorMessage,
|
|
14
8
|
getHttpStatus
|
|
15
9
|
} from "./chunk-XQIAXMRY.js";
|
|
10
|
+
import {
|
|
11
|
+
AuthError
|
|
12
|
+
} from "./chunk-5GWGARXI.js";
|
|
13
|
+
import {
|
|
14
|
+
logger
|
|
15
|
+
} from "./chunk-KG65BFPK.js";
|
|
16
16
|
import {
|
|
17
17
|
__spreadProps,
|
|
18
18
|
__spreadValues
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
JWT_DEFAULTS
|
|
3
|
+
} from "./chunk-2SIBG5BG.js";
|
|
1
4
|
import {
|
|
2
5
|
configWarn
|
|
3
6
|
} from "./chunk-6J2EJVND.js";
|
|
4
7
|
import {
|
|
5
8
|
ConfigurationError
|
|
6
9
|
} from "./chunk-F3R3UYBF.js";
|
|
7
|
-
import {
|
|
8
|
-
JWT_DEFAULTS
|
|
9
|
-
} from "./chunk-2SIBG5BG.js";
|
|
10
10
|
|
|
11
11
|
// src/core/auth/config.ts
|
|
12
12
|
function initializeAuth(config) {
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
GitHubOAuthProvider
|
|
3
|
-
} from "./chunk-HIZ7USIF.js";
|
|
4
|
-
import {
|
|
5
|
-
GoogleOAuthProvider
|
|
6
|
-
} from "./chunk-GF3DKZIW.js";
|
|
7
1
|
import {
|
|
8
2
|
KakaoOAuthProvider
|
|
9
3
|
} from "./chunk-65HVR74O.js";
|
|
@@ -13,6 +7,12 @@ import {
|
|
|
13
7
|
import {
|
|
14
8
|
MicrosoftOAuthProvider
|
|
15
9
|
} from "./chunk-GSSHHVHF.js";
|
|
10
|
+
import {
|
|
11
|
+
GitHubOAuthProvider
|
|
12
|
+
} from "./chunk-HIZ7USIF.js";
|
|
13
|
+
import {
|
|
14
|
+
GoogleOAuthProvider
|
|
15
|
+
} from "./chunk-GF3DKZIW.js";
|
|
16
16
|
import {
|
|
17
17
|
OAuthError
|
|
18
18
|
} from "./chunk-5GWGARXI.js";
|