@itentialopensource/adapter-utils 5.3.1 → 5.3.3

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,22 @@
1
1
 
2
+ ## 5.3.3 [01-10-2024]
3
+
4
+ * Add metadata callProperties
5
+
6
+ Closes ADAPT-3021
7
+
8
+ See merge request itentialopensource/adapter-utils!282
9
+
10
+ ---
11
+
12
+ ## 5.3.2 [11-27-2023]
13
+
14
+ * fix proxy issue resulting from npm change
15
+
16
+ See merge request itentialopensource/adapter-utils!281
17
+
18
+ ---
19
+
2
20
  ## 5.3.1 [11-17-2023]
3
21
 
4
22
  * logic to convert object to array when specified
@@ -28,8 +28,8 @@ const cookieHandler = require('cookie');
28
28
  const jsonQuery = require('json-query');
29
29
  const xml2js = require('xml2js');
30
30
  const querystring = require('querystring');
31
- const HttpsProxyAgent = require('https-proxy-agent');
32
- const SocksProxyAgent = require('socks-proxy-agent');
31
+ const { HttpsProxyAgent } = require('https-proxy-agent');
32
+ const { SocksProxyAgent } = require('socks-proxy-agent');
33
33
  const AsyncLockCl = require('async-lock');
34
34
  const FormData = require('form-data');
35
35
 
@@ -162,6 +162,9 @@ class GenericHandler {
162
162
  if (metadata && metadata.authData) {
163
163
  reqObj.authData = metadata.authData;
164
164
  }
165
+ if (metadata && metadata.callProperties) {
166
+ reqObj.callProperties = metadata.callProperties;
167
+ }
165
168
 
166
169
  // determine the call and return flag
167
170
  let action = 'getGenerics';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itentialopensource/adapter-utils",
3
- "version": "5.3.1",
3
+ "version": "5.3.3",
4
4
  "description": "Itential Adapter Utility Libraries",
5
5
  "scripts": {
6
6
  "postinstall": "node utils/setup.js",
Binary file