@itentialopensource/adapter-utils 5.3.2 → 5.3.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 +20 -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,24 @@
|
|
|
1
1
|
|
|
2
|
+
## 5.3.4 [01-10-2024]
|
|
3
|
+
|
|
4
|
+
* fix forward networks path issue
|
|
5
|
+
|
|
6
|
+
Closes ADAPT-3220
|
|
7
|
+
|
|
8
|
+
See merge request itentialopensource/adapter-utils!283
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## 5.3.3 [01-10-2024]
|
|
13
|
+
|
|
14
|
+
* Add metadata callProperties
|
|
15
|
+
|
|
16
|
+
Closes ADAPT-3021
|
|
17
|
+
|
|
18
|
+
See merge request itentialopensource/adapter-utils!282
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
2
22
|
## 5.3.2 [11-27-2023]
|
|
3
23
|
|
|
4
24
|
* fix proxy issue resulting from npm change
|
package/lib/connectorRest.js
CHANGED
|
@@ -711,10 +711,10 @@ function makeRequest(request, entitySchema, callProperties, startTrip, attempt,
|
|
|
711
711
|
if (mykeys[k] === 'file') {
|
|
712
712
|
let fileVal = mybody[mykeys[k]];
|
|
713
713
|
if (fileVal.indexOf('@') === 0) {
|
|
714
|
-
// if there are multiple parts - first part is file, other part can be name
|
|
714
|
+
// if there are multiple parts - first part is full path to file, other part can be name (starts with name=)
|
|
715
715
|
const filePart = fileVal.split(';');
|
|
716
716
|
let fileName = null;
|
|
717
|
-
fileVal = fs.readFileSync(
|
|
717
|
+
fileVal = fs.readFileSync(filePart[0].substring(1));
|
|
718
718
|
|
|
719
719
|
// see if we have a filename that we should add to the formdata
|
|
720
720
|
for (let p = 1; p < filePart.length; p += 1) {
|
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
|