pmcf 6.3.4 → 6.3.5

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": "pmcf",
3
- "version": "6.3.4",
3
+ "version": "6.3.5",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
package/src/base.mjs CHANGED
@@ -237,8 +237,7 @@ export class Base {
237
237
  }
238
238
 
239
239
  get typeName() {
240
- const type = this.constructor;
241
- return type.specializationOf?.name || type.name;
240
+ return this.constructor.name;
242
241
  }
243
242
 
244
243
  /**
@@ -12,7 +12,7 @@ export class SkeletonNetworkInterface extends ServiceOwner {
12
12
  static get typeName() {
13
13
  return "network_interface";
14
14
  }
15
-
15
+
16
16
  static commonNamePattern = new RegExp(`^${this.name}\d+$`);
17
17
 
18
18
  static isCommonName(name) {
@@ -25,6 +25,11 @@ export class SkeletonNetworkInterface extends ServiceOwner {
25
25
 
26
26
  _network;
27
27
 
28
+ get typeName() {
29
+ const type = this.constructor;
30
+ return type.specializationOf?.name || type.name;
31
+ }
32
+
28
33
  get kind() {
29
34
  return this.constructor.name;
30
35
  }