caccl-send-request 2.2.12 → 2.2.13
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/package.json +2 -2
- package/src/index.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "caccl-send-request",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.13",
|
|
4
4
|
"description": "The default request sender used throughout the CACCL project.",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"typescript": "^4.5.5"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"caccl-error": "^2.2.
|
|
39
|
+
"caccl-error": "^2.2.13",
|
|
40
40
|
"qs": "^6.9.6"
|
|
41
41
|
}
|
|
42
42
|
}
|
package/src/index.ts
CHANGED
|
@@ -21,7 +21,7 @@ import ErrorCode from './types/ErrorCode';
|
|
|
21
21
|
* fails
|
|
22
22
|
* @param [opts.sendCrossDomainCredentials=true if in development mode] if true,
|
|
23
23
|
* send cross-domain credentials even if not in dev mode
|
|
24
|
-
* @param [opts.responseType=
|
|
24
|
+
* @param [opts.responseType=JSON] expected response type
|
|
25
25
|
* @returns { body, status, headers } on success
|
|
26
26
|
*/
|
|
27
27
|
const sendRequest = async (
|