@withwiz/toolkit 0.9.3 → 0.10.0
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-KMUYO6YD.js → chunk-465MEI5K.js} +1 -1
- package/dist/{chunk-OXKVQGRH.js → chunk-5Z5CZAZP.js} +5 -5
- package/dist/chunk-BTNM5YSU.js +29 -0
- package/dist/chunk-CWS5RPRX.js +0 -0
- package/dist/{chunk-CNXK3SLK.js → chunk-HZN44RWL.js} +4 -4
- package/dist/{chunk-4Y5MRUMX.js → chunk-KHXS4DGA.js} +4 -4
- package/dist/{chunk-6SDUWMC3.js → chunk-KZ4PDS5K.js} +1 -1
- package/dist/chunk-L2A6NGW7.js +21 -0
- package/dist/chunk-MXWSG6ER.js +0 -0
- package/dist/chunk-NUHSUAXG.js +35 -0
- package/dist/{chunk-ZVGEGDYF.js → chunk-OII5BXCZ.js} +1 -1
- package/dist/chunk-P4MGYRJM.js +162 -0
- package/dist/{chunk-ROMGYJFX.js → chunk-SROPI74N.js} +1 -1
- package/dist/chunk-TN5ZNYR2.js +0 -0
- package/dist/{chunk-NERL6VYQ.js → chunk-VHRBXD7U.js} +1 -1
- package/dist/{chunk-ISP4MDKW.js → chunk-W27FQNP6.js} +1 -1
- package/dist/chunk-XWHT53CZ.js +38 -0
- package/dist/chunk-Z4J452HD.js +24 -0
- package/dist/{chunk-VQ47YRFC.js → chunk-Z64GNAB7.js} +2 -2
- package/dist/chunk-ZZTBIA57.js +18 -0
- package/dist/core/api-key/api-key.service.d.ts +28 -0
- package/dist/core/api-key/api-key.service.js +9 -0
- package/dist/core/api-key/index.d.ts +6 -0
- package/dist/core/api-key/index.js +28 -0
- package/dist/core/api-key/ip-whitelist.d.ts +4 -0
- package/dist/core/api-key/ip-whitelist.js +9 -0
- package/dist/core/api-key/key-generator.d.ts +6 -0
- package/dist/core/api-key/key-generator.js +11 -0
- package/dist/core/api-key/ports.d.ts +104 -0
- package/dist/core/api-key/ports.js +1 -0
- package/dist/core/api-key/types.d.ts +88 -0
- package/dist/core/api-key/types.js +1 -0
- package/dist/core/api-key/validate.d.ts +9 -0
- package/dist/core/api-key/validate.js +7 -0
- 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/index.js +4 -4
- package/dist/core/auth/jwt/cookie.js +2 -2
- package/dist/core/auth/jwt/index.js +2 -2
- 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 -2
- package/dist/core/auth/services/login.service.js +2 -2
- package/dist/core/auth/services/oauth-callback.service.js +2 -2
- package/dist/core/auth/services/token-refresh.service.js +2 -2
- package/dist/core/auth/token-delivery.js +3 -3
- package/dist/core/cache/cache-factory.js +1 -1
- package/dist/core/cache/cache-invalidation.js +1 -1
- package/dist/core/cache/cache-redis.js +1 -1
- package/dist/core/cache/cache-wrapper.js +1 -1
- package/dist/core/cache/cache.js +1 -1
- package/dist/core/cache/hybrid-cache-manager.js +1 -1
- package/dist/core/cache/index.js +1 -1
- package/dist/core/cache/redis-cache-manager.js +1 -1
- package/dist/core/geolocation/index.js +7 -7
- package/dist/core/geolocation/providers/index.js +7 -7
- package/dist/core/system/environment.js +1 -1
- package/dist/core/system/health-check.js +1 -1
- package/dist/core/system/index.js +8 -8
- package/dist/initialize.js +9 -9
- 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 +3 -3
- package/dist/next/auth-handlers/me.handler.js +4 -4
- package/dist/next/auth-handlers/oauth-authorize.handler.js +3 -3
- package/dist/next/auth-handlers/oauth-callback.handler.js +5 -5
- package/dist/next/auth-handlers/refresh.handler.js +4 -4
- package/dist/next/auth-types/handler-types.js +3 -3
- package/dist/next/auth-types/index.js +3 -3
- package/dist/next/error/error-handler.js +2 -2
- package/dist/next/error/index.js +2 -2
- package/dist/next/middleware/auth.js +6 -6
- package/dist/next/middleware/error-handler.js +3 -3
- package/dist/next/middleware/index.js +15 -15
- package/dist/next/middleware/wrappers.js +11 -11
- package/dist/next/oapi/api-key-auth.d.ts +27 -0
- package/dist/next/oapi/api-key-auth.js +14 -0
- package/dist/next/oapi/helpers.d.ts +19 -0
- package/dist/next/oapi/helpers.js +13 -0
- package/dist/next/oapi/index.d.ts +3 -0
- package/dist/next/oapi/index.js +28 -0
- package/dist/next/oapi/openapi-spec.d.ts +18 -0
- package/dist/next/oapi/openapi-spec.js +7 -0
- package/dist/next/utils/index.js +1 -1
- package/package.json +12 -1
- package/dist/{chunk-BTYH4MHU.js → chunk-43XXILCX.js} +3 -3
- package/dist/{chunk-VQJY52YF.js → chunk-5VDT3ZB4.js} +3 -3
- package/dist/{chunk-BOABYFJ7.js → chunk-6NEGFM32.js} +3 -3
- package/dist/{chunk-V3GEYUBG.js → chunk-ER6LSA4M.js} +3 -3
- package/dist/{chunk-6A5JHOBB.js → chunk-GSRAIDD7.js} +3 -3
- package/dist/{chunk-AYCXN6QJ.js → chunk-R7EFDSPZ.js} +3 -3
- package/dist/{chunk-WU3V2AKE.js → chunk-UIWR5MXM.js} +0 -0
- package/dist/{chunk-Q5RPNLET.js → chunk-VDRLJU6C.js} +6 -6
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import {
|
|
2
|
+
resolveConfig
|
|
3
|
+
} from "./chunk-E4TKORMQ.js";
|
|
1
4
|
import {
|
|
2
5
|
ParamBuilder,
|
|
3
6
|
columnList,
|
|
4
7
|
getDialect
|
|
5
8
|
} from "./chunk-2JUFL4KX.js";
|
|
6
|
-
import {
|
|
7
|
-
resolveConfig
|
|
8
|
-
} from "./chunk-E4TKORMQ.js";
|
|
9
9
|
|
|
10
10
|
// src/core/auth/adapters/sql/email-token-repository.ts
|
|
11
11
|
import { randomUUID } from "crypto";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import {
|
|
2
|
+
resolveConfig
|
|
3
|
+
} from "./chunk-E4TKORMQ.js";
|
|
1
4
|
import {
|
|
2
5
|
ParamBuilder,
|
|
3
6
|
columnList,
|
|
4
7
|
getDialect
|
|
5
8
|
} from "./chunk-2JUFL4KX.js";
|
|
6
|
-
import {
|
|
7
|
-
resolveConfig
|
|
8
|
-
} from "./chunk-E4TKORMQ.js";
|
|
9
9
|
|
|
10
10
|
// src/core/auth/adapters/sql/oauth-account-repository.ts
|
|
11
11
|
import { randomUUID } from "crypto";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
durationToSeconds
|
|
3
|
+
} from "./chunk-OVOBSYR4.js";
|
|
1
4
|
import {
|
|
2
5
|
getAuthConfig
|
|
3
6
|
} from "./chunk-N3TCQ5BF.js";
|
|
4
7
|
import {
|
|
5
8
|
JWT_DEFAULTS
|
|
6
9
|
} from "./chunk-7YWUKMZD.js";
|
|
7
|
-
import {
|
|
8
|
-
durationToSeconds
|
|
9
|
-
} from "./chunk-OVOBSYR4.js";
|
|
10
10
|
import {
|
|
11
11
|
__spreadValues
|
|
12
12
|
} from "./chunk-N3ETBM74.js";
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
MicrosoftOAuthProvider
|
|
3
|
+
} from "./chunk-GSSHHVHF.js";
|
|
1
4
|
import {
|
|
2
5
|
GitHubOAuthProvider
|
|
3
6
|
} from "./chunk-HIZ7USIF.js";
|
|
@@ -10,9 +13,6 @@ import {
|
|
|
10
13
|
import {
|
|
11
14
|
MetaOAuthProvider
|
|
12
15
|
} from "./chunk-33RIHX7O.js";
|
|
13
|
-
import {
|
|
14
|
-
MicrosoftOAuthProvider
|
|
15
|
-
} from "./chunk-GSSHHVHF.js";
|
|
16
16
|
import {
|
|
17
17
|
OAuthError
|
|
18
18
|
} from "./chunk-5GWGARXI.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import {
|
|
2
|
+
resolveConfig
|
|
3
|
+
} from "./chunk-E4TKORMQ.js";
|
|
1
4
|
import {
|
|
2
5
|
ParamBuilder,
|
|
3
6
|
columnList,
|
|
4
7
|
getDialect
|
|
5
8
|
} from "./chunk-2JUFL4KX.js";
|
|
6
|
-
import {
|
|
7
|
-
resolveConfig
|
|
8
|
-
} from "./chunk-E4TKORMQ.js";
|
|
9
9
|
|
|
10
10
|
// src/core/auth/adapters/sql/user-repository.ts
|
|
11
11
|
import { randomUUID } from "crypto";
|
|
@@ -7,12 +7,12 @@ import {
|
|
|
7
7
|
formatErrorMessage,
|
|
8
8
|
getHttpStatus
|
|
9
9
|
} from "./chunk-XQIAXMRY.js";
|
|
10
|
-
import {
|
|
11
|
-
logger
|
|
12
|
-
} from "./chunk-QAIN3WNN.js";
|
|
13
10
|
import {
|
|
14
11
|
AuthError
|
|
15
12
|
} from "./chunk-5GWGARXI.js";
|
|
13
|
+
import {
|
|
14
|
+
logger
|
|
15
|
+
} from "./chunk-QAIN3WNN.js";
|
|
16
16
|
import {
|
|
17
17
|
__spreadProps,
|
|
18
18
|
__spreadValues
|
|
File without changes
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
IPGeolocationProvider
|
|
3
|
-
} from "./chunk-GJYHMHTU.js";
|
|
4
|
-
import {
|
|
5
|
-
MaxMindProvider
|
|
6
|
-
} from "./chunk-R463CTX4.js";
|
|
7
1
|
import {
|
|
8
2
|
IPApiProvider
|
|
9
3
|
} from "./chunk-E27YZK7O.js";
|
|
10
4
|
import {
|
|
11
5
|
IPApiCoProvider
|
|
12
6
|
} from "./chunk-MRNRC45L.js";
|
|
7
|
+
import {
|
|
8
|
+
IPGeolocationProvider
|
|
9
|
+
} from "./chunk-GJYHMHTU.js";
|
|
10
|
+
import {
|
|
11
|
+
MaxMindProvider
|
|
12
|
+
} from "./chunk-R463CTX4.js";
|
|
13
13
|
|
|
14
14
|
// src/core/geolocation/providers/index.ts
|
|
15
15
|
var GeoIPProviderFactory = class {
|