Skip to content

Commit 4e86717

Browse files
author
Joy Chang
committed
fix: enable axios debug, disable gzip
1 parent cd9689d commit 4e86717

File tree

4 files changed

+45
-16
lines changed

4 files changed

+45
-16
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Node.js client library to use the Watson APIs.
1111

1212
<details>
1313
<summary>Table of Contents</summary>
14-
14+
1515
* [Before you begin](#before-you-begin)
1616
* [Installation](#installation)
1717
* [Usage](#usage)
@@ -786,12 +786,12 @@ var assistant = new watson.AssistantV1({
786786
787787
## Debug
788788
789-
This library relies on the `request` npm module writted by
790-
[request][request_github] to call the Watson Services. To debug the apps, add
791-
'request' to the `NODE_DEBUG` environment variable:
789+
This library relies on the `axios` npm module written by
790+
[axios](https://github.com/axios/axios) to call the Watson Services. To debug the apps, add
791+
'axios' to the `NODE_DEBUG` environment variable:
792792
793793
```sh
794-
$ NODE_DEBUG='request' node app.js
794+
$ NODE_DEBUG='axios' node app.js
795795
```
796796
where `app.js` is your Node.js file.
797797

package-lock.json

+38-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
"extend": "~3.0.2",
9090
"file-type": "^10.11.0",
9191
"form-data": "^2.3.3",
92-
"ibm-cloud-sdk-core": "^0.2.4",
92+
"ibm-cloud-sdk-core": "^0.2.6",
9393
"isstream": "~0.1.2",
9494
"mime-types": "^2.1.21",
9595
"object.omit": "~3.0.0",

test/integration/compare_comply.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ describe('compare_comply_integration', () => {
6969
done();
7070
})
7171
);
72-
});
72+
}, 10000);
7373
});
7474

7575
describe('comparison', () => {

0 commit comments

Comments
 (0)