@athenna/http 4.3.0 → 4.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@athenna/http",
3
- "version": "4.3.0",
3
+ "version": "4.5.0",
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>",
@@ -7,7 +7,7 @@
7
7
  * file that was distributed with this source code.
8
8
  */
9
9
  import { Assert } from '@japa/assert';
10
- import type { InjectOptions } from 'fastify';
10
+ import type { InjectOptions } from '#src/types';
11
11
  import { TestResponse } from '#src/testing/plugins/request/TestResponse';
12
12
  export declare class TestRequest {
13
13
  /**
@@ -6,6 +6,8 @@
6
6
  * For the full copyright and license information, please view the LICENSE
7
7
  * file that was distributed with this source code.
8
8
  */
9
+ import { type InjectOptions } from 'fastify';
10
+ export { type InjectOptions };
9
11
  export * from '#src/types/contexts/Context';
10
12
  export * from '#src/types/contexts/ErrorContext';
11
13
  export * from '#src/types/contexts/InterceptContext';
@@ -6,6 +6,8 @@
6
6
  * For the full copyright and license information, please view the LICENSE
7
7
  * file that was distributed with this source code.
8
8
  */
9
+ import {} from 'fastify';
10
+ export {};
9
11
  export * from '#src/types/contexts/Context';
10
12
  export * from '#src/types/contexts/ErrorContext';
11
13
  export * from '#src/types/contexts/InterceptContext';
@@ -1,5 +1,4 @@
1
- import { Controller } from '@athenna/http'
2
- import type { Context } from '@athenna/http/types'
1
+ import { Controller, type Context } from '@athenna/http'
3
2
 
4
3
  @Controller()
5
4
  export class {{ namePascal }} {