@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 +1 -1
- package/src/boot/bootstrap.js +11 -9
- package/src/index.js +3 -3
package/package.json
CHANGED
package/src/boot/bootstrap.js
CHANGED
|
@@ -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
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
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.
|
|
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-
|
|
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-
|
|
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';
|