@ibm-cloud/cloudant 0.12.11 → 0.12.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/README.md +14 -14
- package/cloudant/features/changesResultIterator.js.map +1 -1
- package/cloudant/features/pagination/basePageIterator.js.map +1 -1
- package/cloudant/v1.d.ts +366 -249
- package/cloudant/v1.js +197 -136
- package/cloudant/v1.js.map +1 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
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.12.
|
|
5
|
+
# IBM Cloudant Node.js SDK Version 0.12.13
|
|
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).
|
|
@@ -68,8 +68,8 @@ project:
|
|
|
68
68
|
- Handles the authentication.
|
|
69
69
|
- Familiar user experience with IBM Cloud SDKs.
|
|
70
70
|
- Flexibility to use either built-in models or byte-based requests and responses for documents.
|
|
71
|
-
- Built-in [Changes feed follower](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.
|
|
72
|
-
- Built-in [Pagination](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.
|
|
71
|
+
- Built-in [Changes feed follower](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.13/docs/Changes_Follower.md)
|
|
72
|
+
- Built-in [Pagination](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.13/docs/Pagination.md) (beta)
|
|
73
73
|
- `Promise` based design with asynchronous HTTP requests.
|
|
74
74
|
- Use either as native JavaScript or take advantage of TypeScript models.
|
|
75
75
|
- Transparently compresses request and response bodies.
|
|
@@ -99,16 +99,16 @@ account.
|
|
|
99
99
|
|
|
100
100
|
There are several ways to **set** these authentication properties:
|
|
101
101
|
|
|
102
|
-
1. As [environment variables](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.
|
|
103
|
-
2. The [programmatic approach](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.
|
|
104
|
-
3. With an [external credentials file](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.
|
|
102
|
+
1. As [environment variables](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.13/docs/Authentication.md#authentication-with-environment-variables)
|
|
103
|
+
2. The [programmatic approach](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.13/docs/Authentication.md#programmatic-authentication)
|
|
104
|
+
3. With an [external credentials file](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.13/docs/Authentication.md#authentication-with-external-configuration)
|
|
105
105
|
|
|
106
106
|
The following section describes the different authentication types and provides environment variable examples.
|
|
107
107
|
Examples for other configuration methods are available by following the provided links.
|
|
108
108
|
|
|
109
109
|
### Authentication
|
|
110
110
|
|
|
111
|
-
Consult the [authentication document](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.
|
|
111
|
+
Consult the [authentication document](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.13/docs/Authentication.md)
|
|
112
112
|
for comprehensive details of all the available authentication methods and how to configure them with environment settings
|
|
113
113
|
or programmatically.
|
|
114
114
|
|
|
@@ -154,10 +154,10 @@ service.getAllDbs().then(response => {
|
|
|
154
154
|
});
|
|
155
155
|
```
|
|
156
156
|
|
|
157
|
-
[More tutorial examples](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.
|
|
157
|
+
[More tutorial examples](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.13/docs/Examples.md) for creating a database
|
|
158
158
|
and document create, read, update and delete operations.
|
|
159
159
|
|
|
160
|
-
For a complete list of code examples, see the [examples directory](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.
|
|
160
|
+
For a complete list of code examples, see the [examples directory](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.13/examples#examples-for-node).
|
|
161
161
|
|
|
162
162
|
### Error handling
|
|
163
163
|
|
|
@@ -181,7 +181,7 @@ Response byte stream is supported in functions with the suffix of `AsStream`.
|
|
|
181
181
|
The returned byte stream allows the response body to be consumed
|
|
182
182
|
without triggering JSON unmarshalling that is typically performed by the SDK.
|
|
183
183
|
|
|
184
|
-
The [update document](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.
|
|
184
|
+
The [update document](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.13/docs/Examples.md#3-update-your-previously-created-document) section
|
|
185
185
|
contains examples for both request and response byte stream cases.
|
|
186
186
|
|
|
187
187
|
The API reference contains further examples of using byte streams.
|
|
@@ -197,7 +197,7 @@ Expand them to see examples of:
|
|
|
197
197
|
|
|
198
198
|
### Further resources
|
|
199
199
|
|
|
200
|
-
- [Cloudant Node.js SDK feature docs](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.
|
|
200
|
+
- [Cloudant Node.js SDK feature docs](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.13/docs)
|
|
201
201
|
- [Cloudant API docs](https://cloud.ibm.com/apidocs/cloudant?code=node):
|
|
202
202
|
API reference including usage examples for Cloudant Node.js SDK API.
|
|
203
203
|
- [TypeDoc](https://ibm.github.io/cloudant-node-sdk/):
|
|
@@ -282,7 +282,7 @@ If you encounter an issue with the project, you are welcome to submit a
|
|
|
282
282
|
|
|
283
283
|
Before you submit a bug report, search for
|
|
284
284
|
[similar issues](https://github.com/IBM/cloudant-node-sdk/issues?q=is%3Aissue) and review the
|
|
285
|
-
[KNOWN_ISSUES file](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.
|
|
285
|
+
[KNOWN_ISSUES file](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.13/KNOWN_ISSUES.md) to verify that your issue hasn't been reported yet.
|
|
286
286
|
|
|
287
287
|
Please consult the [security policy](https://github.com/IBM/cloudant-node-sdk/security/policy) before opening security related issues.
|
|
288
288
|
|
|
@@ -312,8 +312,8 @@ Find more open source projects on the [IBM GitHub](http://ibm.github.io/) page.
|
|
|
312
312
|
|
|
313
313
|
## Contributing
|
|
314
314
|
|
|
315
|
-
For more information, see [CONTRIBUTING](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.
|
|
315
|
+
For more information, see [CONTRIBUTING](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.13/CONTRIBUTING.md).
|
|
316
316
|
|
|
317
317
|
## License
|
|
318
318
|
|
|
319
|
-
This SDK is released under the Apache 2.0 license. To read the full text of the license, see [LICENSE](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.
|
|
319
|
+
This SDK is released under the Apache 2.0 license. To read the full text of the license, see [LICENSE](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.13/LICENSE).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"changesResultIterator.js","sourceRoot":"","sources":["../../../cloudant/features/changesResultIterator.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,2DAAkD;AAClD,yCAAsC;AACtC,+DAAkE;AAGlE,IAAK,yBAIJ;AAJD,WAAK,yBAAyB;IAC5B,6EAAM,CAAA;IACN,2EAAK,CAAA;IACL,2EAAK,CAAA;AACP,CAAC,EAJI,yBAAyB,KAAzB,yBAAyB,QAI7B;AAED,MAAa,6BAA6B;
|
|
1
|
+
{"version":3,"file":"changesResultIterator.js","sourceRoot":"","sources":["../../../cloudant/features/changesResultIterator.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,2DAAkD;AAClD,yCAAsC;AACtC,+DAAkE;AAGlE,IAAK,yBAIJ;AAJD,WAAK,yBAAyB;IAC5B,6EAAM,CAAA;IACN,2EAAK,CAAA;IACL,2EAAK,CAAA;AACP,CAAC,EAJI,yBAAyB,KAAzB,yBAAyB,QAI7B;AAED,MAAa,6BAA6B;IACvB,cAAc,GAAG,IAAA,qBAAS,EAAC,UAAU,CAAC,CAAC;IACvC,WAAW,GAAG,+BAA+B,CAAC;IAC9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,MAAM,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAAC;YAC9C,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;YACnB,wDAAwD;YACxD,kBAAkB,EAAE,CAAC;QACvB,CAAC,CAAC,CAAC;IACP,CAAC;;AAlQH,sEAmQC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"basePageIterator.js","sourceRoot":"","sources":["../../../../cloudant/features/pagination/basePageIterator.ts"],"names":[],"mappings":";;;AAkBA,MAAsB,gBAAgB;
|
|
1
|
+
{"version":3,"file":"basePageIterator.js","sourceRoot":"","sources":["../../../../cloudant/features/pagination/basePageIterator.ts"],"names":[],"mappings":";;;AAkBA,MAAsB,gBAAgB;IAsB1B,MAAM,CAAa;IACnB,QAAQ,CAAS;IACjB,QAAQ,GAAY,IAAI,CAAC;IACzB,cAAc,CAAI;IAC5B,wDAAwD;IAC9C,MAAM,CAAC,SAAS,GAAG,GAAG,CAAC;IACvB,MAAM,CAAC,SAAS,GAAG,CAAC,CAAC;IAE/B,YAAY,MAAkB,EAAE,MAAS;QACvC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;QACtB,mDAAmD;QACnD,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;QACzC,oDAAoD;QACpD,IAAI,CAAC,cAAc,GAAG,EAAE,GAAG,MAAM,EAAE,KAAK,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC;IAC5D,CAAC;IAEM,KAAK,CAAC,IAAI,CACf,GAAG,CAAC,KAAK,CAAa;QAEtB,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAClB,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,WAAW,EAAE,CAAC;YACvC,MAAM,aAAa,GAAqB,CAAC,GAAG,KAAK,CAAC,CAAC;YACnD,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,KA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