@itentialopensource/adapter-utils 5.0.1 → 5.0.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,20 @@
1
1
 
2
+ ## 5.0.3 [07-18-2023]
3
+
4
+ * fix bad return
5
+
6
+ See merge request itentialopensource/adapter-utils!263
7
+
8
+ ---
9
+
10
+ ## 5.0.2 [07-17-2023]
11
+
12
+ * remove ds files and fix to expanded generic
13
+
14
+ See merge request itentialopensource/adapter-utils!262
15
+
16
+ ---
17
+
2
18
  ## 5.0.1 [07-14-2023]
3
19
 
4
20
  * Update file CHANGELOG.md
@@ -62,10 +62,10 @@ class GenericHandler {
62
62
 
63
63
  // if metadata says not to use BasePath
64
64
  if (metadata && metadata.basepath && metadata.basepath.toUpperCase() === 'NOBASE') {
65
- this.genericAdapterRequestNoBasePath(uriPath, restMethod, queryData, requestBody, addlHeaders, callback);
65
+ return this.genericAdapterRequestNoBasePath(uriPath, restMethod, queryData, requestBody, addlHeaders, callback);
66
66
  }
67
67
  // use BasePath
68
- this.genericAdapterRequest(uriPath, restMethod, queryData, requestBody, addlHeaders, callback);
68
+ return this.genericAdapterRequest(uriPath, restMethod, queryData, requestBody, addlHeaders, callback);
69
69
  }
70
70
 
71
71
  /**
@@ -1313,7 +1313,7 @@ class RequestHandler {
1313
1313
  }
1314
1314
 
1315
1315
  // validate the action files for the adapter
1316
- return callback(this.connector.makeTokenRequest('/none/token/path', useUser, reqBody, null, callProperties, callback));
1316
+ return this.connector.makeTokenRequest('/none/token/path', useUser, reqBody, null, callProperties, callback);
1317
1317
  } catch (e) {
1318
1318
  // handle any exception
1319
1319
  const errorObj = this.transUtil.checkAndReturn(e, origin, 'Issue getting token');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itentialopensource/adapter-utils",
3
- "version": "5.0.1",
3
+ "version": "5.0.3",
4
4
  "description": "Itential Adapter Utility Libraries",
5
5
  "scripts": {
6
6
  "postinstall": "node utils/setup.js",
Binary file