quantum-flow 1.0.5 → 1.0.6

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.
Files changed (2) hide show
  1. package/README.md +1 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -66,8 +66,6 @@ server.listen().catch(console.error);
66
66
  - Use `@Headers` to access request headers.
67
67
  - Use `@Query` to handle query parameters.
68
68
  - Use `@Params` to access route parameters.
69
- - Use `@Host` to configure the server host.
70
- - Use `@Port` to configure the server port.
71
69
  - Use `@Multipart` for handling multipart/form-data requests.
72
70
  - Use `@Request` to access the entire request object.
73
71
  - Use `@Response` to access the response object.
@@ -248,6 +246,7 @@ class App {}
248
246
  Method or class decorator to validate request parameters (query, body, params, headers) against a DTO class using class-validator.
249
247
 
250
248
  ```typescript
249
+ import { IsEmail } from 'class-validator';
251
250
  class UserDTO {
252
251
  @IsEmail()
253
252
  email: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quantum-flow",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Decorator-based API framework",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",