@nmshd/runtime 6.32.0 → 6.33.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/README.md CHANGED
@@ -6,7 +6,7 @@ The enmeshed Runtime defines a framework for enmeshed applications. This framewo
6
6
 
7
7
  In order to simplify the development of those modules, this project delivers wrappers around the functionality of the [transport](https://www.npmjs.com/package/@nmshd/transport)- and [consumption](https://www.npmjs.com/package/@nmshd/consumption)-library which map the data types from their rather technical format to a more consumer-friendly format.
8
8
 
9
- Both the enmeshed Connector and the official enmeshed Apps implement this runtime.
9
+ Both the enmeshed Connector and the official enmeshed Apps implement this Runtime.
10
10
 
11
11
  ## Documentation
12
12
 
@@ -22,7 +22,7 @@ Share your feedback with the enmeshed team by contributing to the [discussions](
22
22
 
23
23
  ## Contribute
24
24
 
25
- Contribution to this project is highly apprecicated. Head over to our [contribution guide](https://github.com/nmshd/.github/blob/main/CONTRIBUTING.md) to learn more.
25
+ Contribution to this project is highly appreciated. Head over to our [contribution guide](https://github.com/nmshd/.github/blob/main/CONTRIBUTING.md) to learn more.
26
26
 
27
27
  ## License
28
28
 
package/dist/Runtime.js CHANGED
@@ -61,7 +61,7 @@ class Runtime {
61
61
  this._eventBus =
62
62
  eventBus ??
63
63
  new ts_utils_1.EventEmitter2EventBus((error, namespace) => {
64
- this.logger.error(`An error was thrown in an event handler of the runtime event bus (namespace: '${namespace}'). Root error: ${error}`);
64
+ this.logger.error(`An error was thrown in an event handler of the Runtime event bus (namespace: '${namespace}'). Root error: ${error}`);
65
65
  });
66
66
  }
67
67
  get isInitialized() {
@@ -7,10 +7,10 @@ const content_1 = require("@nmshd/content");
7
7
  const crypto_1 = require("@nmshd/crypto");
8
8
  const transport_1 = require("@nmshd/transport");
9
9
  exports.buildInformation = {
10
- version: "6.32.0",
11
- build: "208",
12
- date: "2025-03-21T08:30:33+00:00",
13
- commit: "ebd623177301306266342b63ffca0be7ebd23348",
10
+ version: "6.33.0",
11
+ build: "209",
12
+ date: "2025-03-25T10:15:31+00:00",
13
+ commit: "adecb5f2c9659ede0df9e5b055be94110d186371",
14
14
  dependencies: {"@js-soft/docdb-querytranslator":"^1.1.5","@js-soft/logging-abstractions":"^1.0.1","@js-soft/ts-serval":"2.0.12","@js-soft/ts-utils":"^2.3.3","@nmshd/consumption":"*","@nmshd/content":"*","@nmshd/core-types":"*","@nmshd/crypto":"2.1.0","@nmshd/iql":"^1.0.2","@nmshd/transport":"*","@nmshd/typescript-ioc":"3.2.4","ajv":"^8.17.1","ajv-errors":"^3.0.0","ajv-formats":"^3.0.1","json-stringify-safe":"^5.0.1","lodash":"^4.17.21","luxon":"^3.5.0","qrcode":"1.5.4","reflect-metadata":"^0.2.2","ts-simple-nameof":"^1.3.1"},
15
15
  libraries: {
16
16
  serval: ts_serval_1.buildInformation,
@@ -20,11 +20,11 @@ export interface MessageDVO extends DataViewObject {
20
20
  type: "MessageDVO";
21
21
  /**
22
22
  * The device id of the sender's device which sent the message to
23
- * the backbone
23
+ * the Backbone
24
24
  */
25
25
  createdByDevice: string;
26
26
  /**
27
- * The point in time the message has been created on the backbone
27
+ * The point in time the message has been created on the Backbone
28
28
  * (in ISO format)
29
29
  */
30
30
  createdAt: string;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.MessageDeliveredEvent = void 0;
4
4
  const DataEvent_1 = require("../DataEvent");
5
- // This event is currently not triggered because it is disabled in the backbone. (JSSNMSHDD-2372)
5
+ // This event is currently not triggered because it is disabled in the Backbone. (JSSNMSHDD-2372)
6
6
  class MessageDeliveredEvent extends DataEvent_1.DataEvent {
7
7
  static { this.namespace = "transport.messageDelivered"; }
8
8
  constructor(eventTargetAddress, data) {
@@ -8,16 +8,16 @@ class General {
8
8
  return new ts_utils_1.ApplicationError("error.runtime.unknown", message, data);
9
9
  }
10
10
  alreadyInitialized() {
11
- return new ts_utils_1.ApplicationError("error.runtime.alreadyInitialized", "The runtime is already initialized. The init method can only be executed once.");
11
+ return new ts_utils_1.ApplicationError("error.runtime.alreadyInitialized", "The Runtime is already initialized. The init method can only be executed once.");
12
12
  }
13
13
  notInitialized() {
14
- return new ts_utils_1.ApplicationError("error.runtime.notInitialized", "The runtime is not initialized. You must run init before you can start or stop the runtime.");
14
+ return new ts_utils_1.ApplicationError("error.runtime.notInitialized", "The Runtime is not initialized. You must run init before you can start or stop the Runtime.");
15
15
  }
16
16
  alreadyStarted() {
17
- return new ts_utils_1.ApplicationError("error.runtime.alreadyStarted", "The runtime is already started. You should stop it first for a restart.");
17
+ return new ts_utils_1.ApplicationError("error.runtime.alreadyStarted", "The Runtime is already started. You should stop it first for a restart.");
18
18
  }
19
19
  notStarted() {
20
- return new ts_utils_1.ApplicationError("error.runtime.notStarted", "The runtime is not started. You can only stop the runtime if you executed start before.");
20
+ return new ts_utils_1.ApplicationError("error.runtime.notStarted", "The Runtime is not started. You can only stop the Runtime if you executed start before.");
21
21
  }
22
22
  recordNotFound(entityName) {
23
23
  return this.recordNotFoundWithMessage(`${entityName instanceof Function ? entityName.name : entityName} not found. Make sure the ID exists and the record is not expired.`);
@@ -43,7 +43,7 @@ let DecomposeRelationshipUseCase = class DecomposeRelationshipUseCase extends co
43
43
  if (!relationship.cache) {
44
44
  return ts_utils_1.Result.fail(common_1.RuntimeErrors.general.cacheEmpty(transport_1.Relationship, relationship.id.toString()));
45
45
  }
46
- // backbone call first so nothing is deleted in case it goes wrong
46
+ // Backbone call first so nothing is deleted in case it goes wrong
47
47
  await this.relationshipsController.decompose(relationship.id);
48
48
  await this.accountController.cleanupDataOfDecomposedRelationship(relationship);
49
49
  await this.consumptionController.cleanupDataOfDecomposedRelationship(relationship.peer.address, relationship.id);
package/package.json CHANGED
@@ -64,12 +64,12 @@
64
64
  "@js-soft/logging-abstractions": "^1.0.1",
65
65
  "@js-soft/ts-serval": "2.0.12",
66
66
  "@js-soft/ts-utils": "^2.3.3",
67
- "@nmshd/consumption": "6.32.0",
68
- "@nmshd/content": "6.32.0",
69
- "@nmshd/core-types": "6.32.0",
67
+ "@nmshd/consumption": "6.33.0",
68
+ "@nmshd/content": "6.33.0",
69
+ "@nmshd/core-types": "6.33.0",
70
70
  "@nmshd/crypto": "2.1.0",
71
71
  "@nmshd/iql": "^1.0.2",
72
- "@nmshd/transport": "6.32.0",
72
+ "@nmshd/transport": "6.33.0",
73
73
  "@nmshd/typescript-ioc": "3.2.4",
74
74
  "ajv": "^8.17.1",
75
75
  "ajv-errors": "^3.0.0",
@@ -96,5 +96,5 @@
96
96
  "access": "public",
97
97
  "provenance": true
98
98
  },
99
- "version": "6.32.0"
99
+ "version": "6.33.0"
100
100
  }