@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 +18 -0
- package/lib/connectorRest.js +2 -2
- package/lib/genericHandler.js +3 -0
- package/package.json +1 -1
- package/refs?service=git-upload-pack +0 -0
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
|
package/lib/connectorRest.js
CHANGED
|
@@ -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
|
|
package/lib/genericHandler.js
CHANGED
|
@@ -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
|
Binary file
|