@zintrust/core 0.4.51 → 0.4.52

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.4.51",
3
+ "version": "0.4.52",
4
4
  "description": "Production-grade TypeScript backend framework for JavaScript",
5
5
  "homepage": "https://zintrust.com",
6
6
  "repository": {
package/src/boot.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"boot.d.ts","sourceRoot":"","sources":["../../src/boot.ts"],"names":[],"mappings":"AAoCA,OAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"boot.d.ts","sourceRoot":"","sources":["../../src/boot.ts"],"names":[],"mappings":"AA4CA,OAAO,EAAE,CAAC"}
package/src/boot.js CHANGED
@@ -1,7 +1,12 @@
1
- import { isNodeRuntime } from './runtime/detectRuntime.js';
2
1
  import { resolveNodeProjectRoot } from './runtime/resolveNodeProjectRoot.js';
2
+ const isNodeProcessRuntime = () => {
3
+ return (typeof process !== 'undefined' &&
4
+ typeof process === 'object' &&
5
+ process !== null &&
6
+ typeof process.versions === 'object');
7
+ };
3
8
  const ensureNodeBootstrapEnv = async () => {
4
- if (!isNodeRuntime())
9
+ if (!isNodeProcessRuntime())
5
10
  return;
6
11
  const projectRoot = await resolveNodeProjectRoot();
7
12
  if ((process.env?.['ZINTRUST_PROJECT_ROOT'] ?? '').trim() === '') {
package/src/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @zintrust/core v0.4.51
2
+ * @zintrust/core v0.4.52
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-04T14:42:05.898Z
8
+ * Built: 2026-04-04T14:55:22.232Z
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-04T14:42:05.863Z'; // Replaced during build
24
+ export const ZINTRUST_BUILD_DATE = '2026-04-04T14:55:22.199Z'; // 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';