@cocreate/acme 1.2.7 → 1.2.9
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/CHANGELOG.md +14 -0
- package/package.json +4 -4
- package/src/index.js +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [1.2.9](https://github.com/CoCreate-app/CoCreate-acme/compare/v1.2.8...v1.2.9) (2024-04-10)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* handling organization_id if undefined ([c537cd1](https://github.com/CoCreate-app/CoCreate-acme/commit/c537cd18ef84d4b6d102e2028321a623756c0dfc))
|
|
7
|
+
|
|
8
|
+
## [1.2.8](https://github.com/CoCreate-app/CoCreate-acme/compare/v1.2.7...v1.2.8) (2024-03-18)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* removed uppercase ([c273578](https://github.com/CoCreate-app/CoCreate-acme/commit/c2735787b95f6c50e5f06fb133a5d6cac2d0d00d))
|
|
14
|
+
|
|
1
15
|
## [1.2.7](https://github.com/CoCreate-app/CoCreate-acme/compare/v1.2.6...v1.2.7) (2024-03-18)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cocreate/acme",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.9",
|
|
4
4
|
"description": "Dynamic SSL certificate management leveraging the ACME protocol, designed for direct API accessibility within applications. Automates certificate creation, renewal, and retrieval, ideal for distributed applications requiring real-time, secure certificate operations.",
|
|
5
5
|
"keywords": [
|
|
6
|
-
"
|
|
7
|
-
"
|
|
6
|
+
"acme",
|
|
7
|
+
"ssl",
|
|
8
8
|
"certificates",
|
|
9
9
|
"automation",
|
|
10
|
-
"
|
|
10
|
+
"api",
|
|
11
11
|
"distributed-applications",
|
|
12
12
|
"security",
|
|
13
13
|
"cocreate",
|
package/src/index.js
CHANGED
|
@@ -197,6 +197,8 @@ class CoCreateAcme {
|
|
|
197
197
|
let organization = await this.crud.getOrganization({ host, organization_id });
|
|
198
198
|
if (organization.error)
|
|
199
199
|
return false
|
|
200
|
+
if (!organization_id)
|
|
201
|
+
organization_id = organization._id
|
|
200
202
|
|
|
201
203
|
if (organization.host) {
|
|
202
204
|
for (let i = 0; i < organization.host.length; i++) {
|