trm-client 3.1.0 → 3.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.
@@ -25,7 +25,8 @@ function list(commandArgs) {
25
25
  const version = oPackage.manifest.get().version || '';
26
26
  const registry = oPackage.registry.getRegistryType() === trm_core_1.RegistryType.PUBLIC ? 'public' : oPackage.registry.endpoint;
27
27
  const devclass = oPackage.getDevclass() || '';
28
- const importTransport = oPackage.manifest.getLinkedTransport().trkorr;
28
+ const linkedTransport = oPackage.manifest.getLinkedTransport();
29
+ const importTransport = linkedTransport ? linkedTransport.trkorr : '';
29
30
  tableData.push([
30
31
  packageName,
31
32
  version,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trm-client",
3
- "version": "3.1.0",
3
+ "version": "3.1.1",
4
4
  "description": "TRM (Transport Request Manager) Client",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",