pmcf 4.8.0 → 4.8.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcf",
3
- "version": "4.8.0",
3
+ "version": "4.8.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
package/src/base.mjs CHANGED
@@ -28,6 +28,8 @@ import { asArray } from "./utils.mjs";
28
28
 
29
29
  /**
30
30
  *
31
+ * attributes: essential values
32
+ * properties: use defined values to support attribute value definitions
31
33
  */
32
34
  export class Base {
33
35
  static name = "base";
@@ -376,7 +378,7 @@ export class Base {
376
378
  for (const node of this.walkDirections(["this", "extends"])) {
377
379
  const value = getAttribute(node, name);
378
380
  if (value !== undefined) {
379
- return value;
381
+ return this.expand(value);
380
382
  }
381
383
  }
382
384
  }
@@ -68,7 +68,7 @@ export class OpenLDAPService extends Service {
68
68
  }
69
69
 
70
70
  get base() {
71
- return this.expand(this._base);
71
+ return this.extendedAttribute("_base");
72
72
  }
73
73
 
74
74
  set base(value) {
@@ -76,7 +76,7 @@ export class OpenLDAPService extends Service {
76
76
  }
77
77
 
78
78
  get uri() {
79
- return this._uri;
79
+ return this.extendedAttribute("_uri");
80
80
  }
81
81
 
82
82
  set uri(value) {
package/types/base.d.mts CHANGED
@@ -1,6 +1,8 @@
1
1
  export function extractFrom(object: any, typeDefinition?: any): any;
2
2
  /**
3
3
  *
4
+ * attributes: essential values
5
+ * properties: use defined values to support attribute value definitions
4
6
  */
5
7
  export class Base {
6
8
  static name: string;