@yolo-croket-dev/core 1.9.4 → 1.9.5

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.
@@ -13,5 +13,5 @@ export declare class UnAuthorized extends HttpException implements MsaException
13
13
  errAction: ErrAction | null;
14
14
  /** 에러 옵션 */
15
15
  errOption?: MsaExceptionOption;
16
- constructor(errType: string, errMessage?: string, errAction?: ErrAction, errOption?: MsaExceptionOption);
16
+ constructor(errType: string, errMessage: string, errAction?: ErrAction, errOption?: MsaExceptionOption);
17
17
  }
@@ -9,7 +9,7 @@ const common_1 = require("@nestjs/common");
9
9
  */
10
10
  class UnAuthorized extends common_1.HttpException {
11
11
  constructor(errType, errMessage, errAction, errOption) {
12
- super('USER_AUTHENTICATION_FAIL', common_1.HttpStatus.UNAUTHORIZED);
12
+ super(errType || 'USER_AUTHENTICATION_FAIL', common_1.HttpStatus.UNAUTHORIZED);
13
13
  // legacy
14
14
  this.subMessage = null;
15
15
  // new
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/core",
3
- "version": "1.9.4",
3
+ "version": "1.9.5",
4
4
  "author": "Yolo Co., Ltd.",
5
5
  "description": "Yolo commonization module",
6
6
  "main": "index.js",