blaizejs 0.3.0 → 0.3.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.
- package/dist/{chunk-SRD3AB6T.js → chunk-3A5J5MKL.js} +3 -3
- package/dist/{chunk-TCPQMZ23.js → chunk-SF7ZGOEK.js} +2 -2
- package/dist/{chunk-QQCQRHXJ.js → chunk-ZZEQFU5V.js} +3 -3
- package/dist/index.cjs +8 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +139 -97
- package/dist/index.d.ts +139 -97
- package/dist/index.js +22 -15
- package/dist/index.js.map +1 -1
- package/dist/{internal-server-error-CVRDTBLL.js → internal-server-error-PKVC3ZEU.js} +4 -4
- package/dist/{payload-too-large-error-PAYLDBZT.js → payload-too-large-error-WZMDORKR.js} +3 -3
- package/dist/{unsupported-media-type-error-MQZD7YQJ.js → unsupported-media-type-error-VUXOJ72O.js} +3 -3
- package/dist/{validation-error-CM6IKIJU.js → validation-error-WZFF75S7.js} +4 -4
- package/package.json +4 -4
- /package/dist/{chunk-SRD3AB6T.js.map → chunk-3A5J5MKL.js.map} +0 -0
- /package/dist/{chunk-TCPQMZ23.js.map → chunk-SF7ZGOEK.js.map} +0 -0
- /package/dist/{chunk-QQCQRHXJ.js.map → chunk-ZZEQFU5V.js.map} +0 -0
- /package/dist/{internal-server-error-CVRDTBLL.js.map → internal-server-error-PKVC3ZEU.js.map} +0 -0
- /package/dist/{payload-too-large-error-PAYLDBZT.js.map → payload-too-large-error-WZMDORKR.js.map} +0 -0
- /package/dist/{unsupported-media-type-error-MQZD7YQJ.js.map → unsupported-media-type-error-VUXOJ72O.js.map} +0 -0
- /package/dist/{validation-error-CM6IKIJU.js.map → validation-error-WZFF75S7.js.map} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* blaizejs v0.3.
|
|
2
|
+
* blaizejs v0.3.1
|
|
3
3
|
* A blazing-fast, TypeScript-first Node.js framework with HTTP/2 support, file-based routing, powerful middleware system, and end-to-end type safety for building modern APIs.
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2025 BlaizeJS Contributors
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
import {
|
|
10
10
|
BlaizeError,
|
|
11
11
|
getCurrentCorrelationId
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-SF7ZGOEK.js";
|
|
13
13
|
|
|
14
14
|
// src/errors/validation-error.ts
|
|
15
15
|
var ValidationError = class extends BlaizeError {
|
|
@@ -35,4 +35,4 @@ var ValidationError = class extends BlaizeError {
|
|
|
35
35
|
export {
|
|
36
36
|
ValidationError
|
|
37
37
|
};
|
|
38
|
-
//# sourceMappingURL=chunk-
|
|
38
|
+
//# sourceMappingURL=chunk-3A5J5MKL.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* blaizejs v0.3.
|
|
2
|
+
* blaizejs v0.3.1
|
|
3
3
|
* A blazing-fast, TypeScript-first Node.js framework with HTTP/2 support, file-based routing, powerful middleware system, and end-to-end type safety for building modern APIs.
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2025 BlaizeJS Contributors
|
|
@@ -145,4 +145,4 @@ export {
|
|
|
145
145
|
generateCorrelationId,
|
|
146
146
|
getCurrentCorrelationId
|
|
147
147
|
};
|
|
148
|
-
//# sourceMappingURL=chunk-
|
|
148
|
+
//# sourceMappingURL=chunk-SF7ZGOEK.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* blaizejs v0.3.
|
|
2
|
+
* blaizejs v0.3.1
|
|
3
3
|
* A blazing-fast, TypeScript-first Node.js framework with HTTP/2 support, file-based routing, powerful middleware system, and end-to-end type safety for building modern APIs.
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2025 BlaizeJS Contributors
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
import {
|
|
10
10
|
BlaizeError,
|
|
11
11
|
getCurrentCorrelationId
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-SF7ZGOEK.js";
|
|
13
13
|
|
|
14
14
|
// src/errors/internal-server-error.ts
|
|
15
15
|
var InternalServerError = class extends BlaizeError {
|
|
@@ -35,4 +35,4 @@ var InternalServerError = class extends BlaizeError {
|
|
|
35
35
|
export {
|
|
36
36
|
InternalServerError
|
|
37
37
|
};
|
|
38
|
-
//# sourceMappingURL=chunk-
|
|
38
|
+
//# sourceMappingURL=chunk-ZZEQFU5V.js.map
|
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* blaizejs v0.3.
|
|
2
|
+
* blaizejs v0.3.1
|
|
3
3
|
* A blazing-fast, TypeScript-first Node.js framework with HTTP/2 support, file-based routing, powerful middleware system, and end-to-end type safety for building modern APIs.
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2025 BlaizeJS Contributors
|
|
@@ -518,6 +518,7 @@ var createGetRoute = (config2) => {
|
|
|
518
518
|
const path6 = getRoutePath();
|
|
519
519
|
return {
|
|
520
520
|
GET: config2,
|
|
521
|
+
// Let TypeScript infer the proper types
|
|
521
522
|
path: path6
|
|
522
523
|
};
|
|
523
524
|
};
|
|
@@ -526,6 +527,7 @@ var createPostRoute = (config2) => {
|
|
|
526
527
|
const path6 = getRoutePath();
|
|
527
528
|
return {
|
|
528
529
|
POST: config2,
|
|
530
|
+
// Let TypeScript infer the proper types
|
|
529
531
|
path: path6
|
|
530
532
|
};
|
|
531
533
|
};
|
|
@@ -534,6 +536,7 @@ var createPutRoute = (config2) => {
|
|
|
534
536
|
const path6 = getRoutePath();
|
|
535
537
|
return {
|
|
536
538
|
PUT: config2,
|
|
539
|
+
// Let TypeScript infer the proper types
|
|
537
540
|
path: path6
|
|
538
541
|
};
|
|
539
542
|
};
|
|
@@ -542,6 +545,7 @@ var createDeleteRoute = (config2) => {
|
|
|
542
545
|
const path6 = getRoutePath();
|
|
543
546
|
return {
|
|
544
547
|
DELETE: config2,
|
|
548
|
+
// Let TypeScript infer the proper types
|
|
545
549
|
path: path6
|
|
546
550
|
};
|
|
547
551
|
};
|
|
@@ -550,6 +554,7 @@ var createPatchRoute = (config2) => {
|
|
|
550
554
|
const path6 = getRoutePath();
|
|
551
555
|
return {
|
|
552
556
|
PATCH: config2,
|
|
557
|
+
// Let TypeScript infer the proper types
|
|
553
558
|
path: path6
|
|
554
559
|
};
|
|
555
560
|
};
|
|
@@ -558,6 +563,7 @@ var createHeadRoute = (config2) => {
|
|
|
558
563
|
const path6 = getRoutePath();
|
|
559
564
|
return {
|
|
560
565
|
HEAD: config2,
|
|
566
|
+
// Let TypeScript infer the proper types
|
|
561
567
|
path: path6
|
|
562
568
|
};
|
|
563
569
|
};
|
|
@@ -566,6 +572,7 @@ var createOptionsRoute = (config2) => {
|
|
|
566
572
|
const path6 = getRoutePath();
|
|
567
573
|
return {
|
|
568
574
|
OPTIONS: config2,
|
|
575
|
+
// Let TypeScript infer the proper types
|
|
569
576
|
path: path6
|
|
570
577
|
};
|
|
571
578
|
};
|