@superhero/eventflow-certificates 4.3.10 → 4.4.2

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/index.js +3 -3
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -9,7 +9,6 @@ import deepassign from '@superhero/deep/assign'
9
9
  export default class Certificates
10
10
  {
11
11
  #db
12
- log = new Log({ label: '[EVENTFLOW:CERTIFICATES]' })
13
12
  #map = new Map()
14
13
  openSSL = new OpenSSL()
15
14
  config =
@@ -27,9 +26,10 @@ export default class Certificates
27
26
 
28
27
  constructor(intermediateUID, leafUID, config, db)
29
28
  {
30
- this.intermediateUID = intermediateUID
31
- this.leafUID = leafUID
29
+ this.intermediateUID = intermediateUID.toUpperCase()
30
+ this.leafUID = leafUID.toUpperCase()
32
31
  this.#db = db
32
+ this.log = new Log({ label: `[EVENTFLOW:CERTIFICATES:${leafUID}]` })
33
33
 
34
34
  deepassign(this.config, config)
35
35
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superhero/eventflow-certificates",
3
- "version": "4.3.10",
3
+ "version": "4.4.2",
4
4
  "description": "Eventflow certificates is common tls certificates logic used in the eventflow ecosystem.",
5
5
  "keywords": [
6
6
  "eventflow"
@@ -16,7 +16,7 @@
16
16
  "@superhero/deep": "^4.2.0"
17
17
  },
18
18
  "devDependencies": {
19
- "@superhero/eventflow-db": "^4.3.10",
19
+ "@superhero/eventflow-db": "^4.4.0",
20
20
  "@superhero/locator": "^4.3.7"
21
21
  },
22
22
  "scripts": {