@zintrust/core 0.5.0 → 0.5.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/package.json +1 -1
- package/src/common/RemoteSignedJson.js +1 -1
- package/src/index.js +3 -3
- package/src/routes/Router.js +1 -1
package/package.json
CHANGED
|
@@ -125,7 +125,7 @@ export const RemoteSignedJson = Object.freeze({
|
|
|
125
125
|
try {
|
|
126
126
|
const resp = await fetch(url, {
|
|
127
127
|
method: 'POST',
|
|
128
|
-
headers: { 'Content-Type': 'application/json', ...signed },
|
|
128
|
+
headers: { 'Content-Type': 'application/json', Connection: 'close', ...signed },
|
|
129
129
|
body,
|
|
130
130
|
signal: nativeSignal,
|
|
131
131
|
});
|
package/src/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @zintrust/core v0.5.
|
|
2
|
+
* @zintrust/core v0.5.1
|
|
3
3
|
*
|
|
4
4
|
* ZinTrust Framework - Production-Grade TypeScript Backend
|
|
5
5
|
* Built for performance, type safety, and exceptional developer experience
|
|
6
6
|
*
|
|
7
7
|
* Build Information:
|
|
8
|
-
* Built: 2026-04-
|
|
8
|
+
* Built: 2026-04-12T19:43:29.581Z
|
|
9
9
|
* Node: >=20.0.0
|
|
10
10
|
* License: MIT
|
|
11
11
|
*
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
* Available at runtime for debugging and health checks
|
|
22
22
|
*/
|
|
23
23
|
export const ZINTRUST_VERSION = '0.1.41';
|
|
24
|
-
export const ZINTRUST_BUILD_DATE = '2026-04-
|
|
24
|
+
export const ZINTRUST_BUILD_DATE = '2026-04-12T19:43:29.544Z'; // Replaced during build
|
|
25
25
|
export { Application } from './boot/Application.js';
|
|
26
26
|
export { AwsSigV4 } from './common/index.js';
|
|
27
27
|
export { SignedRequest } from './security/SignedRequest.js';
|
package/src/routes/Router.js
CHANGED
|
@@ -223,7 +223,7 @@ const del = (router, path, handler, options) => {
|
|
|
223
223
|
};
|
|
224
224
|
const any = (router, path, handler, options) => {
|
|
225
225
|
const fullPath = joinPaths(router.prefix, path);
|
|
226
|
-
['GET', 'POST', 'PUT', 'PATCH', 'DELETE'].forEach((method) => {
|
|
226
|
+
['GET', 'POST', 'PUT', 'PATCH', 'DELETE', 'OPTIONS'].forEach((method) => {
|
|
227
227
|
registerRoute(router, method, fullPath, handler, options);
|
|
228
228
|
});
|
|
229
229
|
};
|