trm-core 10.1.0 → 10.2.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/changelog.txt CHANGED
@@ -8,6 +8,10 @@ Legend
8
8
  + : added
9
9
  - : removed
10
10
 
11
+ 2026-10-13 v10.2.0
12
+ -------------------
13
+ * request of import /ATRM/ (fixed $)
14
+
11
15
  2026-10-12 v10.1.0
12
16
  -------------------
13
17
  * trm-server/trm-rest upgrade from a backend before trm-server 7.0.0/trm-rest 6.0.0
@@ -116,6 +116,11 @@ exports.addNamespace = {
116
116
  context.runtime.namespace = getInstallNamespace(context);
117
117
  if (context.runtime.namespace[0] !== '/') {
118
118
  trm_commons_1.Logger.log(`Package install namespace is ${context.runtime.namespace}, continue`, true);
119
+ // trm-server and trm-rest are fixed into `$` packages: the backend assigns their /ATRM/ objects with
120
+ if (context.runtime.isTrmServer || context.runtime.isTrmRest) {
121
+ trm_commons_1.Logger.log(`Skipping namespace ${originalNamespace} import: ${context.rawInput.packageData.name} objects are assigned to ${context.runtime.namespace} packages`, true);
122
+ return;
123
+ }
119
124
  // Packages renamed out of the original namespace: the objects keep their names, and can only be
120
125
  // assigned to the install packages (and repaired) when their namespace exists.
121
126
  if (originalNamespace[0] === '/' && !((_a = (yield systemConnector_1.SystemConnector.getNamespace(originalNamespace))) === null || _a === void 0 ? void 0 : _a.trnspacet)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trm-core",
3
- "version": "10.1.0",
3
+ "version": "10.2.0",
4
4
  "description": "TRM (Transport Request Manager) Core",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",