@ibm-cloud/cloudant 0.1.3 → 0.2.0
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/README.md +7 -6
- package/cloudant/v1.d.ts +264 -535
- package/cloudant/v1.js +110 -387
- package/cloudant/v1.js.map +1 -1
- package/package.json +14 -14
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
[](https://github.com/IBM/cloudant-node-sdk/actions/workflows/test.yml)
|
|
2
2
|
[](https://github.com/IBM/cloudant-node-sdk/releases/latest)
|
|
3
3
|
[](https://ibm.github.io/cloudant-node-sdk/)
|
|
4
4
|
|
|
5
|
-
# IBM Cloudant Node.js SDK Version 0.
|
|
5
|
+
# IBM Cloudant Node.js SDK Version 0.2.0
|
|
6
6
|
|
|
7
7
|
IBM Cloudant Node.js SDK is a client library that interacts with the
|
|
8
8
|
[IBM Cloudant APIs](https://cloud.ibm.com/apidocs/cloudant?code=node).
|
|
@@ -184,7 +184,8 @@ CLOUDANT_USERNAME=<username>
|
|
|
184
184
|
CLOUDANT_PASSWORD=<password>
|
|
185
185
|
```
|
|
186
186
|
|
|
187
|
-
**Note**:
|
|
187
|
+
**Note**: There are also additional [*Bearer token*](https://github.com/IBM/node-sdk-core/blob/main/Authentication.md#bearer-token-authentication), [*Container*](https://github.com/IBM/node-sdk-core/blob/main/Authentication.md#container-authentication) and [*VPC Instance*](https://github.com/IBM/node-sdk-core/blob/main/Authentication.md#vpc-instance-authentication) authentication methods. For more details, please follow the provided links.
|
|
188
|
+
We recommend that you use [IAM](#iam-authentication) for Cloudant and
|
|
188
189
|
[Session](#session-cookie-authentication) for CouchDB authentication.
|
|
189
190
|
|
|
190
191
|
### Authentication with external configuration
|
|
@@ -201,16 +202,16 @@ To learn more about how to use programmatic authentication, see the related
|
|
|
201
202
|
documentation in the
|
|
202
203
|
[Cloudant API docs](https://cloud.ibm.com/apidocs/cloudant?code=node#programmatic-authentication)
|
|
203
204
|
or in the
|
|
204
|
-
[Node.js SDK Core document](https://github.com/IBM/node-sdk-core/blob/
|
|
205
|
+
[Node.js SDK Core document](https://github.com/IBM/node-sdk-core/blob/main/Authentication.md) about authentication.
|
|
205
206
|
|
|
206
207
|
## Using the SDK
|
|
207
208
|
|
|
208
|
-
For fundamental SDK usage information and config options, please see the common [IBM Cloud SDK](https://github.com/IBM/ibm-cloud-sdk-common/blob/
|
|
209
|
+
For fundamental SDK usage information and config options, please see the common [IBM Cloud SDK](https://github.com/IBM/ibm-cloud-sdk-common/blob/main/README.md) documentation.
|
|
209
210
|
|
|
210
211
|
### Request timeout configuration
|
|
211
212
|
|
|
212
213
|
No request timeout is defined, but a 2.5m connect and 2.5m read timeout is set by default. Be sure to set a request timeout appropriate to your application usage and environment.
|
|
213
|
-
The [request timeout](https://github.com/IBM/ibm-cloud-sdk-common/blob/
|
|
214
|
+
The [request timeout](https://github.com/IBM/ibm-cloud-sdk-common/blob/main/README.md) section contains details on how to change the value.
|
|
214
215
|
|
|
215
216
|
**Note:** System settings may take precedence over configured timeout values.
|
|
216
217
|
|