@zintrust/core 0.1.36 → 0.1.37

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.1.36",
3
+ "version": "0.1.37",
4
4
  "description": "Production-grade TypeScript backend framework for JavaScript",
5
5
  "homepage": "https://zintrust.com",
6
6
  "repository": {
@@ -145,15 +145,17 @@ async function useWorkerStarter() {
145
145
  const { createRequire } = await import('../node-singletons/module.js');
146
146
  const require = createRequire(import.meta.url);
147
147
  const workers = require('@zintrust/workers');
148
- workerInit = workers.WorkerInit;
149
- await workers.WorkerInit.initialize({
150
- enableResourceMonitoring: true,
151
- enableHealthMonitoring: true,
152
- enableAutoScaling: false, // Disabled by default, enable via config
153
- registerShutdownHandlers: true,
154
- resourceMonitoringInterval: 60000,
155
- });
156
- Logger.info('Worker management system initialized');
148
+ if (workers?.WorkerInit !== undefined) {
149
+ workerInit = workers.WorkerInit;
150
+ await workers.WorkerInit.initialize({
151
+ enableResourceMonitoring: true,
152
+ enableHealthMonitoring: true,
153
+ enableAutoScaling: false, // Disabled by default, enable via config
154
+ registerShutdownHandlers: true,
155
+ resourceMonitoringInterval: 60000,
156
+ });
157
+ Logger.info('Worker management system initialized');
158
+ }
157
159
  }
158
160
  catch (error) {
159
161
  Logger.warn('Worker management system initialization failed (non-fatal)', error);
package/src/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @zintrust/core v0.1.36
2
+ * @zintrust/core v0.1.37
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-01-29T10:45:55.711Z
8
+ * Built: 2026-01-29T11:04:05.047Z
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.23';
24
- export const ZINTRUST_BUILD_DATE = '2026-01-29T10:45:55.674Z'; // Replaced during build
24
+ export const ZINTRUST_BUILD_DATE = '2026-01-29T11:04:05.007Z'; // Replaced during build
25
25
  import { Application } from './boot/Application.js';
26
26
  import { AwsSigV4 } from './common/index.js';
27
27
  import { SignedRequest } from './security/SignedRequest.js';