@leancodepl/kratos 9.3.0 → 9.5.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/index.cjs.js +1 -1
- package/index.esm.js +1 -1
- package/package.json +2 -2
- package/src/lib/utils/errors.d.ts +4 -1
package/index.cjs.js
CHANGED
|
@@ -7008,7 +7008,7 @@ var mapToAuthError = function(error) {
|
|
|
7008
7008
|
return createRecoveryFlowError("InvalidRecoveryCodeOrAlreadyUsed");
|
|
7009
7009
|
// Verification Flow Errors
|
|
7010
7010
|
case 4070001:
|
|
7011
|
-
return createVerificationFlowError("
|
|
7011
|
+
return createVerificationFlowError("InvalidVerificationTokenOrAlreadyUsed");
|
|
7012
7012
|
case 4070002:
|
|
7013
7013
|
return createVerificationFlowError("VerificationRequestAlreadyCompletedSuccessfully");
|
|
7014
7014
|
case 4070003:
|
package/index.esm.js
CHANGED
|
@@ -6987,7 +6987,7 @@ var mapToAuthError = function(error) {
|
|
|
6987
6987
|
return createRecoveryFlowError("InvalidRecoveryCodeOrAlreadyUsed");
|
|
6988
6988
|
// Verification Flow Errors
|
|
6989
6989
|
case 4070001:
|
|
6990
|
-
return createVerificationFlowError("
|
|
6990
|
+
return createVerificationFlowError("InvalidVerificationTokenOrAlreadyUsed");
|
|
6991
6991
|
case 4070002:
|
|
6992
6992
|
return createVerificationFlowError("VerificationRequestAlreadyCompletedSuccessfully");
|
|
6993
6993
|
case 4070003:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leancodepl/kratos",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.5.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"node": ">=18.0.0"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@leancodepl/utils": "9.
|
|
13
|
+
"@leancodepl/utils": "9.5.0",
|
|
14
14
|
"@radix-ui/react-slot": ">=1.0.0",
|
|
15
15
|
"@tanstack/react-form": ">=1.0.0",
|
|
16
16
|
"@tanstack/react-query": ">=5.0.0"
|
|
@@ -353,7 +353,7 @@ export declare const mapToAuthError: (error: UiTextError) => {
|
|
|
353
353
|
id: "RecoveryFlowError_InvalidRecoveryCodeOrAlreadyUsed";
|
|
354
354
|
originalError: UiTextError;
|
|
355
355
|
} | {
|
|
356
|
-
id: "
|
|
356
|
+
id: "VerificationFlowError_InvalidVerificationTokenOrAlreadyUsed";
|
|
357
357
|
originalError: UiTextError;
|
|
358
358
|
} | {
|
|
359
359
|
id: "VerificationFlowError_VerificationRequestAlreadyCompletedSuccessfully";
|
|
@@ -371,6 +371,9 @@ export declare const mapToAuthError: (error: UiTextError) => {
|
|
|
371
371
|
} | {
|
|
372
372
|
id: "VerificationFlowError_VerificationFlowExpired";
|
|
373
373
|
originalError: UiTextError;
|
|
374
|
+
} | {
|
|
375
|
+
id: "VerificationFlowError_InvalidVerificationCodeOrAlreadyUsed";
|
|
376
|
+
originalError: UiTextError;
|
|
374
377
|
} | {
|
|
375
378
|
id: "Error_Generic_WithContext";
|
|
376
379
|
context: {
|