@zintrust/core 2.5.3 → 2.5.4

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.5.3",
3
+ "version": "2.5.4",
4
4
  "description": "Production-grade TypeScript backend framework for JavaScript",
5
5
  "homepage": "https://zintrust.com",
6
6
  "repository": {
@@ -1 +1 @@
1
- {"version":3,"file":"D1MigrateCommand.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/D1MigrateCommand.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EAAkB,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAuIrE;;;GAGG;AAEH;;GAEG;AACH,eAAO,MAAM,gBAAgB;IAC3B;;OAEG;cACO,YAAY;EA2BtB,CAAC"}
1
+ {"version":3,"file":"D1MigrateCommand.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/D1MigrateCommand.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EAAkB,YAAY,EAAE,MAAM,kBAAkB,CAAC;AA4IrE;;;GAGG;AAEH;;GAEG;AACH,eAAO,MAAM,gBAAgB;IAC3B;;OAEG;cACO,YAAY;EAgCtB,CAAC"}
@@ -36,7 +36,11 @@ const buildExecutionContext = (options) => {
36
36
  const projectRoot = process.cwd();
37
37
  const dbName = getDbName(projectRoot, options);
38
38
  const env = typeof options['env'] === 'string' ? options['env'].trim() : undefined;
39
- const config = typeof options['config'] === 'string' ? options['config'].trim() : undefined;
39
+ const config = (typeof options['config'] === 'string' ? options['config'].trim() : undefined) ??
40
+ (typeof options['wrangler-config'] === 'string'
41
+ ? options['wrangler-config'].trim()
42
+ : undefined) ??
43
+ (typeof options['wc'] === 'string' ? options['wc'].trim() : undefined);
40
44
  const migrationsRelDir = isWorkerCommand
41
45
  ? path.join('database', 'migrations', 'd1')
42
46
  : WranglerConfig.getD1MigrationsDir(projectRoot, dbName);
@@ -114,7 +118,9 @@ export const D1MigrateCommand = Object.freeze({
114
118
  .option('--remote', 'Run against remote D1 database (production)')
115
119
  .option('--database <name>', 'Wrangler D1 identifier. Accepts database_name or binding; defaults to the configured wrangler d1_databases entry when available.')
116
120
  .option('--env <name>', 'Wrangler environment to use (e.g., staging, production)')
117
- .option('--config <path>', 'Path to wrangler config file (e.g., wrangler.dev.jsonc)');
121
+ .option('--config <path>', 'Path to wrangler config file (e.g., wrangler.dev.jsonc)')
122
+ .option('--wrangler-config <path>', 'Path to wrangler config file (e.g., wrangler.dev.jsonc)')
123
+ .option('--wc <path>', 'Path to wrangler config file (e.g., wrangler.dev.jsonc)');
118
124
  };
119
125
  const cmd = BaseCommand.create({
120
126
  name: 'd1:migrate',
@@ -146,7 +146,7 @@ const DashboardFactory = Object.freeze({
146
146
  return dashboard;
147
147
  },
148
148
  });
149
- const DashboardCallable = function DashboardCallable() {
149
+ const DashboardCallable = function () {
150
150
  return DashboardFactory.create();
151
151
  };
152
152
  export const Dashboard = Object.assign(DashboardCallable, DashboardFactory);
package/src/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @zintrust/core v2.5.3
2
+ * @zintrust/core v2.5.4
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-06-11T17:48:46.749Z
8
+ * Built: 2026-06-12T11:47:23.229Z
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-06-11T17:48:46.707Z'; // Replaced during build
24
+ export const ZINTRUST_BUILD_DATE = '2026-06-12T11:47:23.178Z'; // 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';