@athenna/http 1.3.1 → 1.3.2

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.d.ts CHANGED
@@ -11,7 +11,6 @@ export * from './src/Facades/Server';
11
11
  export * from './src/Http';
12
12
  export * from './src/Router/Router';
13
13
  export * from './src/Kernels/HttpKernel';
14
- export * from './src/Exceptions/Exception';
15
14
  export * from './src/Providers/HttpRouteProvider';
16
15
  export * from './src/Providers/HttpServerProvider';
17
16
  export * from './src/Handlers/HttpExceptionHandler';
package/index.js CHANGED
@@ -23,7 +23,6 @@ __exportStar(require("./src/Facades/Server"), exports);
23
23
  __exportStar(require("./src/Http"), exports);
24
24
  __exportStar(require("./src/Router/Router"), exports);
25
25
  __exportStar(require("./src/Kernels/HttpKernel"), exports);
26
- __exportStar(require("./src/Exceptions/Exception"), exports);
27
26
  __exportStar(require("./src/Providers/HttpRouteProvider"), exports);
28
27
  __exportStar(require("./src/Providers/HttpServerProvider"), exports);
29
28
  __exportStar(require("./src/Handlers/HttpExceptionHandler"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@athenna/http",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "description": "The Athenna Http server. Built on top of fastify",
5
5
  "license": "MIT",
6
6
  "author": "João Lenon <lenon@athenna.io>",
@@ -1,12 +0,0 @@
1
- /**
2
- * @athenna/http
3
- *
4
- * (c) João Lenon <lenon@athenna.io>
5
- *
6
- * For the full copyright and license information, please view the LICENSE
7
- * file that was distributed with this source code.
8
- */
9
- import { Exception as SecException } from '@secjs/utils';
10
- export declare class Exception extends SecException {
11
- constructor(message?: string, statusCode?: number, code?: string, help?: string);
12
- }
@@ -1,18 +0,0 @@
1
- "use strict";
2
- /**
3
- * @athenna/http
4
- *
5
- * (c) João Lenon <lenon@athenna.io>
6
- *
7
- * For the full copyright and license information, please view the LICENSE
8
- * file that was distributed with this source code.
9
- */
10
- Object.defineProperty(exports, "__esModule", { value: true });
11
- exports.Exception = void 0;
12
- const utils_1 = require("@secjs/utils");
13
- class Exception extends utils_1.Exception {
14
- constructor(message = 'Internal server exception.', statusCode = 500, code = 'INTERNAL_SERVER_ERROR', help) {
15
- super(message, statusCode, code, help);
16
- }
17
- }
18
- exports.Exception = Exception;