@zintrust/core 1.8.1 → 1.8.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/bin/z.js +13 -1
- package/bin/zin.js +13 -1
- package/bin/zintrust.js +13 -1
- package/bin/zt.js +13 -1
- package/package.json +1 -1
- package/src/index.js +3 -3
package/bin/z.js
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
3
3
|
* ZinTrust CLI Shortcut - 'z'
|
|
4
4
|
* Mirrors bin/zintrust.ts for convenience
|
|
5
5
|
*/
|
|
6
|
-
const
|
|
6
|
+
const importCliWrapper = async () => {
|
|
7
|
+
try {
|
|
8
|
+
return await import(new URL('./launcher.ts', import.meta.url).href);
|
|
9
|
+
}
|
|
10
|
+
catch (error) {
|
|
11
|
+
if (!(error instanceof Error) ||
|
|
12
|
+
error.code !== 'ERR_MODULE_NOT_FOUND') {
|
|
13
|
+
throw error;
|
|
14
|
+
}
|
|
15
|
+
return import(new URL('./launcher.js', import.meta.url).href);
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
const { runCliWrapper } = await importCliWrapper();
|
|
7
19
|
await runCliWrapper();
|
|
8
20
|
export {};
|
package/bin/zin.js
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
3
3
|
* ZinTrust CLI Shortcut - 'zin'
|
|
4
4
|
* Mirrors bin/zintrust.ts for convenience
|
|
5
5
|
*/
|
|
6
|
-
const
|
|
6
|
+
const importCliWrapper = async () => {
|
|
7
|
+
try {
|
|
8
|
+
return await import(new URL('./launcher.ts', import.meta.url).href);
|
|
9
|
+
}
|
|
10
|
+
catch (error) {
|
|
11
|
+
if (!(error instanceof Error) ||
|
|
12
|
+
error.code !== 'ERR_MODULE_NOT_FOUND') {
|
|
13
|
+
throw error;
|
|
14
|
+
}
|
|
15
|
+
return import(new URL('./launcher.js', import.meta.url).href);
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
const { runCliWrapper } = await importCliWrapper();
|
|
7
19
|
await runCliWrapper({ traceName: 'cli-wrapper' });
|
|
8
20
|
export {};
|
package/bin/zintrust.js
CHANGED
|
@@ -6,6 +6,18 @@
|
|
|
6
6
|
* bin/zintrust-main.ts. Keeping the implementation hashbang-free allows other
|
|
7
7
|
* shortcuts (zin/z/zt) to reuse the same launcher behavior.
|
|
8
8
|
*/
|
|
9
|
-
const
|
|
9
|
+
const importCliWrapper = async () => {
|
|
10
|
+
try {
|
|
11
|
+
return await import(new URL('./launcher.ts', import.meta.url).href);
|
|
12
|
+
}
|
|
13
|
+
catch (error) {
|
|
14
|
+
if (!(error instanceof Error) ||
|
|
15
|
+
error.code !== 'ERR_MODULE_NOT_FOUND') {
|
|
16
|
+
throw error;
|
|
17
|
+
}
|
|
18
|
+
return import(new URL('./launcher.js', import.meta.url).href);
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
const { runCliWrapper } = await importCliWrapper();
|
|
10
22
|
await runCliWrapper();
|
|
11
23
|
export {};
|
package/bin/zt.js
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
3
3
|
* ZinTrust CLI Shortcut - 'zt'
|
|
4
4
|
* Mirrors bin/zintrust.ts for convenience
|
|
5
5
|
*/
|
|
6
|
-
const
|
|
6
|
+
const importCliWrapper = async () => {
|
|
7
|
+
try {
|
|
8
|
+
return await import(new URL('./launcher.ts', import.meta.url).href);
|
|
9
|
+
}
|
|
10
|
+
catch (error) {
|
|
11
|
+
if (!(error instanceof Error) ||
|
|
12
|
+
error.code !== 'ERR_MODULE_NOT_FOUND') {
|
|
13
|
+
throw error;
|
|
14
|
+
}
|
|
15
|
+
return import(new URL('./launcher.js', import.meta.url).href);
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
const { runCliWrapper } = await importCliWrapper();
|
|
7
19
|
await runCliWrapper();
|
|
8
20
|
export {};
|
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @zintrust/core v1.8.
|
|
2
|
+
* @zintrust/core v1.8.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-05-
|
|
8
|
+
* Built: 2026-05-06T12:08:48.296Z
|
|
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-05-
|
|
24
|
+
export const ZINTRUST_BUILD_DATE = '2026-05-06T12:08:48.262Z'; // 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';
|