trm-client 11.1.0 → 11.1.1

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/changelog.txt CHANGED
@@ -8,6 +8,10 @@ Legend
8
8
  + : added
9
9
  - : removed
10
10
 
11
+ 2026-07-28 v11.1.1
12
+ -------------------
13
+ + pass system packages from api
14
+
11
15
  2026-07-28 v11.1.0
12
16
  -------------------
13
17
  ! trm-core ^9.10.4
@@ -5,6 +5,7 @@ import * as Core from "trm-core";
5
5
  import { Package } from "trm-registry-types";
6
6
  export interface AbstractCommandRunOptions {
7
7
  registry?: Core.AbstractRegistry;
8
+ systemPackages?: Core.TrmPackage[];
8
9
  }
9
10
  export declare abstract class AbstractCommand {
10
11
  protected command: Command;
@@ -405,6 +405,9 @@ class AbstractCommand {
405
405
  this.args = this.normalizeArgs(args);
406
406
  this.onArgs();
407
407
  this.registry = options.registry;
408
+ if (options.systemPackages !== undefined) {
409
+ this.systemPackages = options.systemPackages;
410
+ }
408
411
  try {
409
412
  yield this.handler();
410
413
  }
@@ -1,6 +1,4 @@
1
- import type * as Core from "trm-core";
1
+ import type { AbstractCommandRunOptions } from "./AbstractCommand";
2
2
  export type CommandHandlerValues = Record<string, unknown>;
3
- export interface CommandHandlerOptions {
4
- registry?: Core.AbstractRegistry;
5
- }
3
+ export type CommandHandlerOptions = AbstractCommandRunOptions;
6
4
  export declare function runCommandHandler(id: string, values?: CommandHandlerValues, options?: CommandHandlerOptions): Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trm-client",
3
- "version": "11.1.0",
3
+ "version": "11.1.1",
4
4
  "description": "TRM (Transport Request Manager) Client",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",