@kronos-integration/service 10.4.44 → 10.4.45

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/service.mjs +4 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kronos-integration/service",
3
- "version": "10.4.44",
3
+ "version": "10.4.45",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
package/src/service.mjs CHANGED
@@ -7,11 +7,6 @@ import {
7
7
  } from "model-attributes";
8
8
  import { EndpointsMixin } from "./endpoints-mixin.mjs";
9
9
 
10
- /**
11
- * Key of the service description.
12
- */
13
- const DESCRIPTION = Symbol("description");
14
-
15
10
  const _ca = createAttributes({
16
11
  description: {
17
12
  type: "string",
@@ -146,6 +141,8 @@ export class Service extends EndpointsMixin(
146
141
  };
147
142
  }
148
143
 
144
+ #description;
145
+
149
146
  constructor(config, ic) {
150
147
  super();
151
148
 
@@ -192,11 +189,11 @@ export class Service extends EndpointsMixin(
192
189
  }
193
190
 
194
191
  get description() {
195
- return this[DESCRIPTION] || this.constructor.description;
192
+ return this.#description || this.constructor.description;
196
193
  }
197
194
 
198
195
  set description(desc) {
199
- this[DESCRIPTION] = desc;
196
+ this.#description = desc;
200
197
  }
201
198
 
202
199
  /**