Skip to content

Commit 51919b3

Browse files
fix: reorder MISSING_PASSWORD and remove unnecessary test/config changes
1 parent 9289858 commit 51919b3

File tree

3 files changed

+4
-15
lines changed

3 files changed

+4
-15
lines changed

packages/auth/src/core/errors.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -560,6 +560,7 @@ export const AUTH_ERROR_CODES_MAP_DO_NOT_USE_INTERNALLY = {
560560
MISSING_MFA_INFO: 'auth/missing-multi-factor-info',
561561
MISSING_MFA_SESSION: 'auth/missing-multi-factor-session',
562562
MISSING_PHONE_NUMBER: 'auth/missing-phone-number',
563+
MISSING_PASSWORD: 'auth/missing-password',
563564
MISSING_SESSION_INFO: 'auth/missing-verification-id',
564565
MODULE_DESTROYED: 'auth/app-deleted',
565566
NEED_CONFIRMATION: 'auth/account-exists-with-different-credential',
@@ -603,6 +604,5 @@ export const AUTH_ERROR_CODES_MAP_DO_NOT_USE_INTERNALLY = {
603604
MISSING_RECAPTCHA_VERSION: 'auth/missing-recaptcha-version',
604605
INVALID_RECAPTCHA_VERSION: 'auth/invalid-recaptcha-version',
605606
INVALID_REQ_TYPE: 'auth/invalid-req-type',
606-
INVALID_HOSTING_LINK_DOMAIN: 'auth/invalid-hosting-link-domain',
607-
MISSING_PASSWORD: 'auth/missing-password'
607+
INVALID_HOSTING_LINK_DOMAIN: 'auth/invalid-hosting-link-domain'
608608
} as const;

packages/auth/test/node/unit/auth_error_codes.test.ts

Lines changed: 0 additions & 8 deletions
This file was deleted.

packages/auth/tsconfig.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
{
22
"extends": "../../config/tsconfig.base.json",
33
"compilerOptions": {
4-
"outDir": "dist",
5-
"types": ["mocha", "chai"],
6-
"esModuleInterop": true,
7-
"moduleResolution": "node",
8-
"resolveJsonModule": true
4+
"outDir": "dist"
95
},
6+
"types": ["jasmine"],
107
"exclude": ["dist/**/*", "demo/**/*"]
118
}

0 commit comments

Comments
 (0)