@withwiz/toolkit 0.1.4 → 0.2.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.
@@ -1,6 +1,24 @@
1
1
  import {
2
2
  OAuthManager
3
3
  } from "../chunk-V5K5FYU7.js";
4
+ import {
5
+ DEFAULT_PASSWORD_CONFIG,
6
+ createPasswordHasher,
7
+ createPasswordSchema,
8
+ createPasswordValidator,
9
+ getPasswordStrength,
10
+ passwordValidator,
11
+ validatePassword
12
+ } from "../chunk-G26T2PRQ.js";
13
+ import {
14
+ PasswordHasher,
15
+ PasswordValidator,
16
+ defaultPasswordSchema,
17
+ strongPasswordSchema
18
+ } from "../chunk-IHXRF3BH.js";
19
+ import {
20
+ TokenGenerator
21
+ } from "../chunk-GDWEDUHO.js";
4
22
  import {
5
23
  JWTClientManager,
6
24
  clearStoredTokens,
@@ -17,24 +35,6 @@ import {
17
35
  isTokenExpiringSoon,
18
36
  storeTokens
19
37
  } from "../chunk-XRRPEBKB.js";
20
- import {
21
- TokenGenerator
22
- } from "../chunk-GDWEDUHO.js";
23
- import {
24
- DEFAULT_PASSWORD_CONFIG,
25
- createPasswordHasher,
26
- createPasswordSchema,
27
- createPasswordValidator,
28
- getPasswordStrength,
29
- passwordValidator,
30
- validatePassword
31
- } from "../chunk-G26T2PRQ.js";
32
- import {
33
- PasswordHasher,
34
- PasswordValidator,
35
- defaultPasswordSchema,
36
- strongPasswordSchema
37
- } from "../chunk-IHXRF3BH.js";
38
38
  import {
39
39
  OAuthProvider,
40
40
  PasswordStrength,
@@ -1,4 +1,7 @@
1
1
  import "../chunk-ULF5RDDX.js";
2
+ import {
3
+ withRetry
4
+ } from "../chunk-A6EAAWMK.js";
2
5
  import {
3
6
  CircuitBreaker,
4
7
  ECircuitState
@@ -11,19 +14,16 @@ import {
11
14
  withFallbackChain,
12
15
  withFallbackFn
13
16
  } from "../chunk-MYLGYX4K.js";
17
+ import "../chunk-Y2TUZFCP.js";
14
18
  import {
15
- withRetry
16
- } from "../chunk-A6EAAWMK.js";
19
+ useErrorHandler
20
+ } from "../chunk-IAJNC34M.js";
17
21
  import {
18
22
  EmptyState,
19
23
  ErrorAlert,
20
24
  ErrorPage,
21
25
  LoadingState
22
26
  } from "../chunk-ZHVUK5OY.js";
23
- import "../chunk-Y2TUZFCP.js";
24
- import {
25
- useErrorHandler
26
- } from "../chunk-IAJNC34M.js";
27
27
  import "../chunk-7XFHGAJP.js";
28
28
  import "../chunk-COK4ZXNG.js";
29
29
  import {
@@ -1,4 +1,7 @@
1
1
  import "../../chunk-ULF5RDDX.js";
2
+ import {
3
+ withRetry
4
+ } from "../../chunk-A6EAAWMK.js";
2
5
  import {
3
6
  CircuitBreaker,
4
7
  ECircuitState
@@ -11,9 +14,6 @@ import {
11
14
  withFallbackChain,
12
15
  withFallbackFn
13
16
  } from "../../chunk-MYLGYX4K.js";
14
- import {
15
- withRetry
16
- } from "../../chunk-A6EAAWMK.js";
17
17
  import "../../chunk-ORMEWXMH.js";
18
18
  export {
19
19
  CircuitBreaker,
@@ -1,6 +1,9 @@
1
1
  import {
2
2
  GeoIPProviderFactory
3
- } from "../chunk-QF6FH4GZ.js";
3
+ } from "../chunk-S73334QY.js";
4
+ import {
5
+ IPApiProvider
6
+ } from "../chunk-DEEJBDJE.js";
4
7
  import {
5
8
  IPApiCoProvider
6
9
  } from "../chunk-VSGKVZB4.js";
@@ -10,9 +13,6 @@ import {
10
13
  import {
11
14
  MaxMindProvider
12
15
  } from "../chunk-4NWJ3WCZ.js";
13
- import {
14
- IPApiProvider
15
- } from "../chunk-DEEJBDJE.js";
16
16
  import {
17
17
  BaseGeoIPProvider,
18
18
  truncateString
@@ -1,6 +1,9 @@
1
1
  import {
2
2
  GeoIPProviderFactory
3
- } from "../../chunk-QF6FH4GZ.js";
3
+ } from "../../chunk-S73334QY.js";
4
+ import {
5
+ IPApiProvider
6
+ } from "../../chunk-DEEJBDJE.js";
4
7
  import {
5
8
  IPApiCoProvider
6
9
  } from "../../chunk-VSGKVZB4.js";
@@ -10,9 +13,6 @@ import {
10
13
  import {
11
14
  MaxMindProvider
12
15
  } from "../../chunk-4NWJ3WCZ.js";
13
- import {
14
- IPApiProvider
15
- } from "../../chunk-DEEJBDJE.js";
16
16
  import {
17
17
  BaseGeoIPProvider,
18
18
  truncateString
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@withwiz/toolkit",
3
- "version": "0.1.4",
3
+ "version": "0.2.0",
4
4
  "description": "Shared utility library for withwiz projects",
5
5
  "license": "MIT",
6
6
  "private": false,
@@ -1,3 +1,6 @@
1
+ import {
2
+ IPApiProvider
3
+ } from "./chunk-DEEJBDJE.js";
1
4
  import {
2
5
  IPApiCoProvider
3
6
  } from "./chunk-VSGKVZB4.js";
@@ -7,9 +10,6 @@ import {
7
10
  import {
8
11
  MaxMindProvider
9
12
  } from "./chunk-4NWJ3WCZ.js";
10
- import {
11
- IPApiProvider
12
- } from "./chunk-DEEJBDJE.js";
13
13
 
14
14
  // src/geolocation/providers/index.ts
15
15
  var GeoIPProviderFactory = class {