connectfy-shared 0.0.73 → 0.0.74

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/index.cjs CHANGED
@@ -11080,8 +11080,7 @@ var import_microservices2 = require("@nestjs/microservices");
11080
11080
  var import_rxjs = __toESM(require_cjs(), 1);
11081
11081
  var import_common3 = require("@nestjs/common");
11082
11082
  var AllExceptionsFilter = class {
11083
- logger = new import_common2.Logger(AllExceptionsFilter.name);
11084
- catch(exception, host) {
11083
+ catch(exception) {
11085
11084
  let message = ExceptionMessages.INTERNAL_SERVER_ERROR_MESSAGE("en" /* EN */);
11086
11085
  let statusCode = import_common3.HttpStatus.INTERNAL_SERVER_ERROR;
11087
11086
  let additional;
package/dist/index.d.cts CHANGED
@@ -3,7 +3,7 @@ import { PopulateOptions, Document, Model } from 'mongoose';
3
3
  import { ClsService } from 'nestjs-cls';
4
4
  import { ValidationArguments, ValidationOptions, IsIpVersion, IsNumberOptions } from 'class-validator';
5
5
  import { ClassConstructor } from 'class-transformer';
6
- import { ExceptionFilter, ArgumentsHost } from '@nestjs/common';
6
+ import { ExceptionFilter } from '@nestjs/common';
7
7
  import * as rxjs from 'rxjs';
8
8
  import { Observable } from 'rxjs';
9
9
 
@@ -570,8 +570,7 @@ declare class BaseFindDto {
570
570
  }
571
571
 
572
572
  declare class AllExceptionsFilter implements ExceptionFilter {
573
- private readonly logger;
574
- catch(exception: any, host: ArgumentsHost): Observable<any>;
573
+ catch(exception: any): Observable<any>;
575
574
  }
576
575
 
577
576
  declare function stringTransform({ value, key }: {
package/dist/index.d.ts CHANGED
@@ -3,7 +3,7 @@ import { PopulateOptions, Document, Model } from 'mongoose';
3
3
  import { ClsService } from 'nestjs-cls';
4
4
  import { ValidationArguments, ValidationOptions, IsIpVersion, IsNumberOptions } from 'class-validator';
5
5
  import { ClassConstructor } from 'class-transformer';
6
- import { ExceptionFilter, ArgumentsHost } from '@nestjs/common';
6
+ import { ExceptionFilter } from '@nestjs/common';
7
7
  import * as rxjs from 'rxjs';
8
8
  import { Observable } from 'rxjs';
9
9
 
@@ -570,8 +570,7 @@ declare class BaseFindDto {
570
570
  }
571
571
 
572
572
  declare class AllExceptionsFilter implements ExceptionFilter {
573
- private readonly logger;
574
- catch(exception: any, host: ArgumentsHost): Observable<any>;
573
+ catch(exception: any): Observable<any>;
575
574
  }
576
575
 
577
576
  declare function stringTransform({ value, key }: {
package/dist/index.mjs CHANGED
@@ -11034,16 +11034,11 @@ __decorateClass([
11034
11034
 
11035
11035
  // src/exception-filters/server/all.filter.ts
11036
11036
  var import_rxjs = __toESM(require_cjs(), 1);
11037
- import {
11038
- Catch,
11039
- HttpException,
11040
- Logger
11041
- } from "@nestjs/common";
11037
+ import { Catch, HttpException } from "@nestjs/common";
11042
11038
  import { RpcException as RpcException2 } from "@nestjs/microservices";
11043
11039
  import { HttpStatus as HttpStatus2 } from "@nestjs/common";
11044
11040
  var AllExceptionsFilter = class {
11045
- logger = new Logger(AllExceptionsFilter.name);
11046
- catch(exception, host) {
11041
+ catch(exception) {
11047
11042
  let message = ExceptionMessages.INTERNAL_SERVER_ERROR_MESSAGE("en" /* EN */);
11048
11043
  let statusCode = HttpStatus2.INTERNAL_SERVER_ERROR;
11049
11044
  let additional;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "connectfy-shared",
3
- "version": "0.0.73",
3
+ "version": "0.0.74",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "exports": {