@superhero/eventflow-certificates 4.0.0 → 4.0.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/README.md +1 -15
  2. package/package.json +3 -4
package/README.md CHANGED
@@ -1,19 +1,15 @@
1
- # @superhero/eventflow-certificates
1
+ # Eventflow Certificates
2
2
 
3
3
  **Version:** 4.0.0
4
4
 
5
5
  Eventflow Certificates is a TLS certificates management library designed for use within the Eventflow ecosystem. It handles the creation, management, and lifecycle of root, intermediate, and leaf certificates with encryption and secure storage capabilities.
6
6
 
7
- ---
8
-
9
7
  ## Installation
10
8
 
11
9
  ```bash
12
10
  npm install @superhero/eventflow-certificates
13
11
  ```
14
12
 
15
- ---
16
-
17
13
  ## Features
18
14
 
19
15
  - Root, intermediate, and leaf certificate generation
@@ -23,8 +19,6 @@ npm install @superhero/eventflow-certificates
23
19
  - Lazy-loading with caching to minimize resource usage
24
20
  - Easy integration with Eventflow's database layer
25
21
 
26
- ---
27
-
28
22
  ## Dependencies
29
23
 
30
24
  - [@superhero/eventflow-db](https://npmjs.com/package/@superhero/eventflow-db)
@@ -32,8 +26,6 @@ npm install @superhero/eventflow-certificates
32
26
  - [@superhero/openssl](https://npmjs.com/package/@superhero/openssl)
33
27
  - [@superhero/deep](https://npmjs.com/package/@superhero/deep)
34
28
 
35
- ---
36
-
37
29
  ## Usage
38
30
 
39
31
  ### Example
@@ -68,8 +60,6 @@ const intermediateCert = await certificates.intermediate;
68
60
  const leafCert = await certificates.leaf;
69
61
  ```
70
62
 
71
- ---
72
-
73
63
  ## Configuration
74
64
 
75
65
  The `Certificates` class accepts a configuration object with the following properties:
@@ -83,8 +73,6 @@ The `Certificates` class accepts a configuration object with the following prope
83
73
  | `CERT_ALGORITHM` | `string` | Algorithm used for certificate generation (e.g., `rsa`, `ecdsa`). |
84
74
  | `CERT_HASH` | `string` | Hash function for certificate signing (e.g., `sha256`, `sha512`). |
85
75
 
86
- ---
87
-
88
76
  ## Methods
89
77
 
90
78
  ### Constructor
@@ -157,8 +145,6 @@ Retrieves the leaf certificate.
157
145
  const leafCertificate = await certificates.leaf;
158
146
  ```
159
147
 
160
- ---
161
-
162
148
  ## Testing
163
149
 
164
150
  Run the test suite with the following command:
package/package.json CHANGED
@@ -1,21 +1,20 @@
1
1
  {
2
2
  "name": "@superhero/eventflow-certificates",
3
- "version": "4.0.0",
3
+ "version": "4.0.2",
4
4
  "description": "Eventflow certificates is common tls certificates logic used in the eventflow ecosystem.",
5
5
  "keywords": [
6
6
  "eventflow"
7
7
  ],
8
- "main": "index.js",
9
8
  "license": "MIT",
10
9
  "type": "module",
11
10
  "exports": {
12
11
  ".": "./index.js"
13
12
  },
14
13
  "dependencies": {
15
- "@superhero/eventflow-db": "^4.1.0",
14
+ "@superhero/eventflow-db": "^4.1.1",
16
15
  "@superhero/log": "^4.0.0",
17
16
  "@superhero/openssl": "^4.0.2",
18
- "@superhero/deep": "^4.1.0"
17
+ "@superhero/deep": "^4.2.0"
19
18
  },
20
19
  "devDependencies": {
21
20
  "@superhero/config": "^4.1.2",