@zintrust/core 0.5.0 → 0.5.2

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": "@zintrust/core",
3
- "version": "0.5.0",
3
+ "version": "0.5.2",
4
4
  "description": "Production-grade TypeScript backend framework for JavaScript",
5
5
  "homepage": "https://zintrust.com",
6
6
  "repository": {
@@ -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.0
2
+ * @zintrust/core v0.5.2
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-12T15:33:16.163Z
8
+ * Built: 2026-04-12T20:00:44.766Z
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-12T15:33:16.124Z'; // Replaced during build
24
+ export const ZINTRUST_BUILD_DATE = '2026-04-12T20:00:44.733Z'; // 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';
@@ -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
  };