@zintrust/core 2.8.7 → 2.9.0

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": "2.8.7",
3
+ "version": "2.9.0",
4
4
  "description": "Production-grade TypeScript backend framework for JavaScript",
5
5
  "homepage": "https://zintrust.com",
6
6
  "repository": {
@@ -224,8 +224,8 @@
224
224
  "jsonwebtoken": "^9.0.3",
225
225
  "mysql2": "^3.22.5",
226
226
  "pg": "^8.22.0",
227
- "redis": "^6.0.1",
228
- "tsx": "^4.22.4"
227
+ "redis": "^6.1.0",
228
+ "tsx": "^4.22.5"
229
229
  },
230
230
  "overrides": {
231
231
  "ajv": "^8.18.0",
@@ -328,7 +328,7 @@ const createDirectRedisConnection = (config, maxRetries, options) => {
328
328
  export const createRedisConnection = (config, maxRetries = 3, options) => {
329
329
  const subsystem = options?.subsystem ?? '';
330
330
  const skipProxy = BULLMQ_SUBSYSTEMS.has(subsystem);
331
- const mode = skipProxy ? 'direct' : ensureRedisTransportMode(config, options);
331
+ const mode = skipProxy && subsystem !== 'queue-monitor' ? 'direct' : ensureRedisTransportMode(config, options);
332
332
  // In zedgi mode, allow proxy connection for queue-monitor since we have a Zedgi-native driver
333
333
  const allowProxyForZedgi = mode === 'zedgi' && subsystem === 'queue-monitor';
334
334
  if (mode === 'proxy' || mode === 'rpc' || mode === 'zedgi') {
package/src/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @zintrust/core v2.8.7
2
+ * @zintrust/core v2.9.0
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-07-01T08:12:40.260Z
8
+ * Built: 2026-07-02T15:52:01.052Z
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-07-01T08:12:40.225Z'; // Replaced during build
24
+ export const ZINTRUST_BUILD_DATE = '2026-07-02T15:52:01.021Z'; // 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';
@@ -1 +1 @@
1
- {"version":3,"file":"DatabaseRuntimeRegistration.d.ts","sourceRoot":"","sources":["../../../src/orm/DatabaseRuntimeRegistration.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,KAAK,EACV,mBAAmB,EAGpB,MAAM,cAAc,CAAC;AA6EtB;;;;;;;GAOG;AACH,wBAAgB,kCAAkC,CAAC,MAAM,EAAE,mBAAmB,GAAG,IAAI,CAsBpF"}
1
+ {"version":3,"file":"DatabaseRuntimeRegistration.d.ts","sourceRoot":"","sources":["../../../src/orm/DatabaseRuntimeRegistration.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,KAAK,EACV,mBAAmB,EAGpB,MAAM,cAAc,CAAC;AAmDtB;;;;;;;GAOG;AACH,wBAAgB,kCAAkC,CAAC,MAAM,EAAE,mBAAmB,GAAG,IAAI,CAsBpF"}
@@ -17,8 +17,10 @@ const toOrmConfig = (cfg) => {
17
17
  case 'd1-remote':
18
18
  return { driver: 'd1-remote' };
19
19
  case 'postgresql':
20
+ case 'mysql':
21
+ case 'sqlserver':
20
22
  return {
21
- driver: 'postgresql',
23
+ driver: cfg.driver,
22
24
  host: cfg.host,
23
25
  port: cfg.port,
24
26
  database: cfg.database,
@@ -28,43 +30,15 @@ const toOrmConfig = (cfg) => {
28
30
  };
29
31
  case 'postgres-zedgi':
30
32
  case 'pg-zedgi':
31
- return {
32
- driver: 'postgres-zedgi',
33
- database: cfg.database,
34
- username: cfg.username,
35
- password: cfg.password,
36
- ssl: cfg.ssl,
37
- ...(cfg.header === undefined ? {} : { header: cfg.header }),
38
- };
39
- case 'mysql':
40
- return {
41
- driver: 'mysql',
42
- host: cfg.host,
43
- port: cfg.port,
44
- database: cfg.database,
45
- username: cfg.username,
46
- password: cfg.password,
47
- readHosts: cfg.readHosts,
48
- };
49
33
  case 'mysql-zedgi':
50
34
  return {
51
- driver: 'mysql-zedgi',
35
+ driver: cfg.driver === 'pg-zedgi' ? 'postgres-zedgi' : cfg.driver,
52
36
  database: cfg.database,
53
37
  username: cfg.username,
54
38
  password: cfg.password,
55
39
  ssl: cfg.ssl,
56
40
  ...(cfg.header === undefined ? {} : { header: cfg.header }),
57
41
  };
58
- case 'sqlserver':
59
- return {
60
- driver: 'sqlserver',
61
- host: cfg.host,
62
- port: cfg.port,
63
- database: cfg.database,
64
- username: cfg.username,
65
- password: cfg.password,
66
- readHosts: cfg.readHosts,
67
- };
68
42
  default:
69
43
  // Exhaustive check (kept for future driver additions)
70
44
  return cfg;
@@ -1 +1 @@
1
- {"version":3,"file":"QueueRuntimeRegistration.d.ts","sourceRoot":"","sources":["../../../../src/tools/queue/QueueRuntimeRegistration.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAuJjD,wBAAsB,+BAA+B,CAAC,MAAM,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,CAkDxF"}
1
+ {"version":3,"file":"QueueRuntimeRegistration.d.ts","sourceRoot":"","sources":["../../../../src/tools/queue/QueueRuntimeRegistration.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AA8JjD,wBAAsB,+BAA+B,CAAC,MAAM,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,CAkDxF"}
@@ -30,13 +30,25 @@ const isDriverRegistered = (name) => {
30
30
  return false;
31
31
  }
32
32
  };
33
+ const getLocalPackageUrl = (pkgFolder) => {
34
+ try {
35
+ const cwd = typeof process !== 'undefined' && typeof process.cwd === 'function' ? process.cwd() : '';
36
+ if (cwd.trim() === '')
37
+ return null;
38
+ const localEntry = path.join(cwd, 'dist', 'packages', pkgFolder, 'src', 'index.js');
39
+ if (!existsSync(localEntry))
40
+ return null;
41
+ return pathToFileURL(localEntry).href;
42
+ }
43
+ catch {
44
+ return null;
45
+ }
46
+ };
33
47
  const registerRedisDriverIfAvailable = async () => {
34
48
  if (isDriverRegistered('redis')) {
35
49
  return true;
36
50
  }
37
- // Fall back to dynamic import only if not already registered
38
- try {
39
- const mod = (await import(/* @vite-ignore */ QUEUE_REDIS_PACKAGE));
51
+ const tryRegister = (mod) => {
40
52
  if (mod.RedisQueue !== undefined) {
41
53
  Queue.register('redis', mod.RedisQueue);
42
54
  return true;
@@ -45,27 +57,26 @@ const registerRedisDriverIfAvailable = async () => {
45
57
  Queue.register('redis', mod.BullMQRedisQueue);
46
58
  return true;
47
59
  }
60
+ return false;
61
+ };
62
+ // Fall back to dynamic import only if not already registered
63
+ try {
64
+ const mod = (await import(/* @vite-ignore */ QUEUE_REDIS_PACKAGE));
65
+ if (tryRegister(mod)) {
66
+ return true;
67
+ }
48
68
  }
49
69
  catch {
50
70
  // Fall back to local dist build output when running inside the core repo Docker image.
51
71
  // In that environment, `@zintrust/queue-redis` is not installed in node_modules,
52
72
  // but the compiled package is available at `dist/packages/queue-redis`.
53
73
  try {
54
- const cwd = typeof process !== 'undefined' && typeof process.cwd === 'function' ? process.cwd() : '';
55
- if (cwd.trim() === '')
56
- return false;
57
- const localEntry = path.join(cwd, 'dist', 'packages', 'queue-redis', 'src', 'index.js');
58
- if (!existsSync(localEntry))
59
- return false;
60
- const url = pathToFileURL(localEntry).href;
61
- const localMod = (await import(url));
62
- if (localMod.RedisQueue !== undefined) {
63
- Queue.register('redis', localMod.RedisQueue);
64
- return true;
65
- }
66
- if (localMod.BullMQRedisQueue !== undefined) {
67
- Queue.register('redis', localMod.BullMQRedisQueue);
68
- return true;
74
+ const url = getLocalPackageUrl('queue-redis');
75
+ if (url !== null) {
76
+ const localMod = (await import(url));
77
+ if (tryRegister(localMod)) {
78
+ return true;
79
+ }
69
80
  }
70
81
  }
71
82
  catch {
@@ -79,27 +90,28 @@ const registerZedgiQueueDriverIfAvailable = async (config) => {
79
90
  if (isDriverRegistered('queue-zedgi')) {
80
91
  return true;
81
92
  }
93
+ const tryRegister = (mod) => {
94
+ if (mod.ZedgiQueueDriver !== undefined) {
95
+ Queue.register('queue-zedgi', mod.ZedgiQueueDriver.create(config.drivers['queue-zedgi']));
96
+ return true;
97
+ }
98
+ return false;
99
+ };
82
100
  // Fall back to dynamic import only if not already registered
83
101
  try {
84
102
  const mod = (await import(/* @vite-ignore */ ZEDGI_PACKAGE));
85
- if (mod.ZedgiQueueDriver !== undefined) {
86
- Queue.register('queue-zedgi', mod.ZedgiQueueDriver.create(config.drivers['queue-zedgi']));
103
+ if (tryRegister(mod)) {
87
104
  return true;
88
105
  }
89
106
  }
90
107
  catch {
91
108
  try {
92
- const cwd = typeof process !== 'undefined' && typeof process.cwd === 'function' ? process.cwd() : '';
93
- if (cwd.trim() === '')
94
- return false;
95
- const localEntry = path.join(cwd, 'dist', 'packages', 'zedgi', 'src', 'index.js');
96
- if (!existsSync(localEntry))
97
- return false;
98
- const url = pathToFileURL(localEntry).href;
99
- const localMod = (await import(url));
100
- if (localMod.ZedgiQueueDriver !== undefined) {
101
- Queue.register('queue-zedgi', localMod.ZedgiQueueDriver.create(config.drivers['queue-zedgi']));
102
- return true;
109
+ const url = getLocalPackageUrl('zedgi');
110
+ if (url !== null) {
111
+ const localMod = (await import(url));
112
+ if (tryRegister(localMod)) {
113
+ return true;
114
+ }
103
115
  }
104
116
  }
105
117
  catch {
@@ -1 +1 @@
1
- {"version":3,"file":"RedisTransport.d.ts","sourceRoot":"","sources":["../../../../src/tools/redis/RedisTransport.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAKhD,MAAM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AA0B,GAAI,UAAU,OAAO,kBAAkB,KAAG,IAEhF,CAAC;AAEF,eAAO,MAAM,8BAA8B,QAAO,OAA2C,CAAC;AAma9F,eAAO,MAAM,yBAAyB,QAAO,kBAI5C,CAAC;AAEF,eAAO,MAAM,0BAA0B,GACrC,QAAQ,WAAW,EACnB,UAAU,qBAAqB,KAC9B,oBAqDF,CAAC;AAEF,eAAO,MAAM,wBAAwB,GACnC,QAAQ,WAAW,EACnB,UAAU,qBAAqB,KAC9B,kBAaF,CAAC"}
@@ -358,16 +358,6 @@ export const createRedisProxyConnection = (config, options) => {
358
358
  return Reflect.get(obj, prop);
359
359
  if (prop === 'then')
360
360
  return undefined;
361
- if (prop === 'setMaxListeners') {
362
- return function (_count) {
363
- return client;
364
- };
365
- }
366
- if (prop === 'getMaxListeners') {
367
- return function () {
368
- return Infinity;
369
- };
370
- }
371
361
  if (prop in obj)
372
362
  return Reflect.get(obj, prop);
373
363
  return async (...args) => requestRedisCommand(mode, settings, prop.toUpperCase(), args);
@@ -1,10 +1,7 @@
1
1
  /**
2
- * ZinTrust plugin auto-imports
3
- *
4
- * In real projects, this file is managed by `zin plugin install` and contains
5
- * side-effect imports (e.g. `@zintrust/db-sqlite/register`) that register
6
- * optional adapters/drivers into core registries.
7
- *
2
+ * Auto-generated fallback module.
3
+ * This file is created by scripts/ensure-worker-plugins.mjs when missing.
4
+ * It allows optional runtime plugin imports to resolve in CI/scaffolded setups.
8
5
  */
9
6
  export type {};
10
7
  export declare const __zintrustGeneratedPluginStub = "zintrust.plugins.ts";
@@ -1 +1 @@
1
- {"version":3,"file":"zintrust.plugins.d.ts","sourceRoot":"","sources":["../../src/zintrust.plugins.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,YAAY,EAAE,CAAC;AAgBf,eAAO,MAAM,6BAA6B,wBAAwB,CAAC;;AACnE,wBAAkB"}
1
+ {"version":3,"file":"zintrust.plugins.d.ts","sourceRoot":"","sources":["../../src/zintrust.plugins.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,YAAY,EAAE,CAAC;AAgBf,eAAO,MAAM,6BAA6B,wBAAwB,CAAC;;AACnE,wBAAkB"}
@@ -1,10 +1,7 @@
1
1
  /**
2
- * ZinTrust plugin auto-imports
3
- *
4
- * In real projects, this file is managed by `zin plugin install` and contains
5
- * side-effect imports (e.g. `@zintrust/db-sqlite/register`) that register
6
- * optional adapters/drivers into core registries.
7
- *
2
+ * Auto-generated fallback module.
3
+ * This file is created by scripts/ensure-worker-plugins.mjs when missing.
4
+ * It allows optional runtime plugin imports to resolve in CI/scaffolded setups.
8
5
  */
9
6
  import * as TraceRuntime from './runtime/plugins/trace-runtime.js';
10
7
  globalThis.__zintrust_system_trace_plugin_requested__ = true;