azurajs 2.1.0 → 2.1.1

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/package.json +1 -1
  2. package/src/index.ts +5 -16
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "azurajs",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "Modern TypeScript-first web framework with decorator-based routing, zero dependencies, and built for performance",
5
5
  "main": "./src/index.ts",
6
6
  "module": "./src/index.ts",
package/src/index.ts CHANGED
@@ -1,6 +1,5 @@
1
- // Core Server & Router
2
- export * from "./infra/Server";
3
- export { Router } from "./infra/Router";
1
+ // Core Infrastructure
2
+ export * from "./infra";
4
3
 
5
4
  // Decorators
6
5
  export * from "./decorators";
@@ -9,20 +8,10 @@ export * from "./decorators";
9
8
  export * from "./middleware";
10
9
 
11
10
  // Types
12
- export * from "./types/http/request.type";
13
- export * from "./types/http/response.type";
14
- export * from "./types/common.type";
15
- export * from "./types/routes.type";
16
- export * from "./types/validations.type";
11
+ export * from "./types";
17
12
 
18
13
  // Configuration
19
- export * from "./shared/config/ConfigModule";
14
+ export * from "./shared/config";
20
15
 
21
16
  // Utils
22
- export { logger } from "./utils/Logger";
23
- export { parseQS } from "./utils/Parser";
24
- export { HttpError } from "./infra/utils/HttpError";
25
- export { parseCookiesHeader } from "./utils/cookies/ParserCookie";
26
- export { serializeCookie } from "./utils/cookies/SerializeCookie";
27
- export { validateSchema } from "./utils/validators/SchemaValidator";
28
- export { validateDto, getDtoValidators } from "./utils/validators/DTOValidator";
17
+ export * from "./utils";