@itentialopensource/adapter-utils 5.9.3 → 5.9.4

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 CHANGED
@@ -1,4 +1,12 @@
1
1
 
2
+ ## 5.9.4 [10-14-2024]
3
+
4
+ * Fix ssl conditional
5
+
6
+ See merge request itentialopensource/adapter-utils!308
7
+
8
+ ---
9
+
2
10
  ## 5.9.3 [10-10-2024]
3
11
 
4
12
  * add sts region
@@ -4617,7 +4617,7 @@ class ConnectorRest {
4617
4617
  return callback(false);
4618
4618
  }
4619
4619
  }
4620
- if (sslEnabled && !sslAcceptInvalid && (!sslCAFile || !sslCAFileContent)) {
4620
+ if (sslEnabled && !sslAcceptInvalid && (!sslCAFile && !sslCAFileContent)) {
4621
4621
  log.error(`${origin}: FAILED TO LOAD - missing required CA File`);
4622
4622
  return callback(false);
4623
4623
  }
@@ -4661,7 +4661,7 @@ class ConnectorRest {
4661
4661
  return callback(false);
4662
4662
  }
4663
4663
  }
4664
- if (sslEnabled && !sslAcceptInvalid && (!sslCAFile || !sslCAFileContent)) {
4664
+ if (sslEnabled && !sslAcceptInvalid && (!sslCAFile && !sslCAFileContent)) {
4665
4665
  log.error(`${origin}: FAILED TO LOAD - missing required CA File`);
4666
4666
  return callback(false);
4667
4667
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itentialopensource/adapter-utils",
3
- "version": "5.9.3",
3
+ "version": "5.9.4",
4
4
  "description": "Itential Adapter Utility Libraries",
5
5
  "scripts": {
6
6
  "postinstall": "node utils/setup.js",
Binary file