@live-change/framework 0.9.196 → 0.9.198

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.
@@ -12,7 +12,7 @@ class Action {
12
12
  constructor(definition, service) {
13
13
  this.definition = definition
14
14
  this.service = service
15
- this.loggingHelpers = loggingHelpers(this.service.name, this.service.app.config.clientConfig.version, {
15
+ this.loggingHelpers = loggingHelpers(this.service.name, this.service.app?.config?.clientConfig?.version || 'unknown', {
16
16
  action: this.definition.name,
17
17
  })
18
18
  }
@@ -7,7 +7,7 @@ class EventHandler {
7
7
  this.definition = definition
8
8
  this.service = service
9
9
 
10
- this.loggingHelpers = loggingHelpers(service.name, service.app.config.clientConfig.version, {
10
+ this.loggingHelpers = loggingHelpers(service.name, service.app?.config?.clientConfig?.version || 'unknown', {
11
11
  eventType: definition.name,
12
12
  })
13
13
  }
@@ -30,7 +30,7 @@ class TriggerHandler {
30
30
  (c) => JSON.stringify(c[queuedBy]) )
31
31
  }
32
32
 
33
- this.loggingHelpers = loggingHelpers(service.name, service.app.config.clientConfig.version, {
33
+ this.loggingHelpers = loggingHelpers(service.name, service.app?.config?.clientConfig?.version || 'unknown', {
34
34
  triggerType: definition.name,
35
35
  })
36
36
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/framework",
3
- "version": "0.9.196",
3
+ "version": "0.9.198",
4
4
  "description": "Live Change Framework - ultimate solution for real time mobile/web apps",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -22,11 +22,11 @@
22
22
  },
23
23
  "homepage": "https://github.com/live-change/live-change-stack",
24
24
  "devDependencies": {
25
- "@live-change/dao": "^0.9.196",
26
- "@live-change/uid": "^0.9.196",
25
+ "@live-change/dao": "^0.9.198",
26
+ "@live-change/uid": "^0.9.198",
27
27
  "typedoc": "0.28.3",
28
28
  "typedoc-plugin-markdown": "^4.6.3",
29
29
  "typedoc-plugin-rename-defaults": "^0.7.3"
30
30
  },
31
- "gitHead": "7f358a1cc16fb35069f6ce3f897412232f766843"
31
+ "gitHead": "7e485dcbaa2af7fb17052a40238210dc8bdf0c09"
32
32
  }