@ibm-cloud/cloudant 0.9.1 → 0.9.2

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 CHANGED
@@ -2,7 +2,7 @@
2
2
  [![Release](https://img.shields.io/github/v/release/IBM/cloudant-node-sdk?include_prereleases&sort=semver)](https://github.com/IBM/cloudant-node-sdk/releases/latest)
3
3
  [![Docs](https://img.shields.io/static/v1?label=TypeDoc&message=latest&color=blue)](https://ibm.github.io/cloudant-node-sdk/)
4
4
 
5
- # IBM Cloudant Node.js SDK Version 0.9.1
5
+ # IBM Cloudant Node.js SDK Version 0.9.2
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).
@@ -942,7 +942,7 @@ You have deleted the document.
942
942
 
943
943
  #### Further code examples
944
944
 
945
- For a complete list of code examples, see the [examples directory](https://github.com/IBM/cloudant-node-sdk/tree/v0.9.1/examples#examples-for-node).
945
+ For a complete list of code examples, see the [examples directory](https://github.com/IBM/cloudant-node-sdk/tree/v0.9.2/examples#examples-for-node).
946
946
 
947
947
  ### Error handling
948
948
 
@@ -1040,7 +1040,7 @@ The changes follower requires the client to have HTTP timeouts of at least 1 min
1040
1040
  instantiation if it is insufficient. The default client configuration has sufficiently long timeouts.
1041
1041
 
1042
1042
  For use-cases where these configuration limitations are deemed too restrictive then it is recommended to
1043
- write code to use the SDK's [POST `_changes` API](https://github.com/IBM/cloudant-node-sdk/tree/v0.9.1/examples#postchanges) instead of the follower.
1043
+ write code to use the SDK's [POST `_changes` API](https://github.com/IBM/cloudant-node-sdk/tree/v0.9.2/examples#postchanges) instead of the follower.
1044
1044
 
1045
1045
  #### Error suppression
1046
1046
 
@@ -1075,7 +1075,7 @@ The follower is not optimized for some use cases and it is not recommended to us
1075
1075
  * The volume of changes is very high (if the rate of changes in the database exceeds the follower's rate of pulling them it will never catch-up).
1076
1076
 
1077
1077
  In these cases use-case specific control over the number of change requests made and the content size of the responses
1078
- may be achieved by using the SDK's [POST `_changes` API](https://github.com/IBM/cloudant-node-sdk/tree/v0.9.1/examples#postchanges).
1078
+ may be achieved by using the SDK's [POST `_changes` API](https://github.com/IBM/cloudant-node-sdk/tree/v0.9.2/examples#postchanges).
1079
1079
 
1080
1080
  #### Checkpointing
1081
1081
 
@@ -1586,7 +1586,7 @@ If you encounter an issue with the project, you are welcome to submit a
1586
1586
 
1587
1587
  Before you submit a bug report, search for
1588
1588
  [similar issues](https://github.com/IBM/cloudant-node-sdk/issues?q=is%3Aissue) and review the
1589
- [KNOWN_ISSUES file](https://github.com/IBM/cloudant-node-sdk/tree/v0.9.1/KNOWN_ISSUES.md) to verify that your issue hasn't been reported yet.
1589
+ [KNOWN_ISSUES file](https://github.com/IBM/cloudant-node-sdk/tree/v0.9.2/KNOWN_ISSUES.md) to verify that your issue hasn't been reported yet.
1590
1590
 
1591
1591
  Please consult the [security policy](https://github.com/IBM/cloudant-node-sdk/security/policy) before opening security related issues.
1592
1592
 
@@ -1616,8 +1616,8 @@ Find more open source projects on the [IBM GitHub](http://ibm.github.io/) page.
1616
1616
 
1617
1617
  ## Contributing
1618
1618
 
1619
- For more information, see [CONTRIBUTING](https://github.com/IBM/cloudant-node-sdk/tree/v0.9.1/CONTRIBUTING.md).
1619
+ For more information, see [CONTRIBUTING](https://github.com/IBM/cloudant-node-sdk/tree/v0.9.2/CONTRIBUTING.md).
1620
1620
 
1621
1621
  ## License
1622
1622
 
1623
- 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.9.1/LICENSE).
1623
+ 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.9.2/LICENSE).
package/cloudant/v1.d.ts CHANGED
@@ -6368,6 +6368,10 @@ declare namespace CloudantV1 {
6368
6368
  docDelCount: number;
6369
6369
  /** The engine used for the database. */
6370
6370
  engine?: string;
6371
+ /** An opaque string to detect whether a database has been recreated. The field name is for compatibility with
6372
+ * old replicator versions. Do not use the value to infer timing infromation. Typically only used by replicators.
6373
+ */
6374
+ instanceStartTime: string;
6371
6375
  /** Schema for database properties. */
6372
6376
  props: DatabaseInformationProps;
6373
6377
  /** Schema for size information of content. */
@@ -6394,6 +6398,7 @@ declare namespace CloudantV1 {
6394
6398
  doc_count: number;
6395
6399
  doc_del_count: number;
6396
6400
  engine?: string;
6401
+ instance_start_time: string;
6397
6402
  props: DatabaseInformationProps.Transport;
6398
6403
  sizes: ContentInformationSizes.Transport;
6399
6404
  update_seq: string;
package/cloudant/v1.js CHANGED
@@ -7810,6 +7810,10 @@ class CloudantV1 extends cloudantBaseService_1.default {
7810
7810
  docDelCount;
7811
7811
  /** The engine used for the database. */
7812
7812
  engine;
7813
+ /** An opaque string to detect whether a database has been recreated. The field name is for compatibility with
7814
+ * old replicator versions. Do not use the value to infer timing infromation. Typically only used by replicators.
7815
+ */
7816
+ instanceStartTime;
7813
7817
  /** Schema for database properties. */
7814
7818
  props;
7815
7819
  /** Schema for size information of content. */
@@ -7854,6 +7858,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
7854
7858
  if (obj.engine !== undefined) {
7855
7859
  copy.engine = obj.engine;
7856
7860
  }
7861
+ if (obj.instanceStartTime !== undefined) {
7862
+ copy.instance_start_time = obj.instanceStartTime;
7863
+ }
7857
7864
  if (obj.props !== undefined) {
7858
7865
  copy.props = DatabaseInformationProps.serialize(obj.props);
7859
7866
  }
@@ -7903,6 +7910,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
7903
7910
  if (obj.engine !== undefined) {
7904
7911
  copy.engine = obj.engine;
7905
7912
  }
7913
+ if (obj.instance_start_time !== undefined) {
7914
+ copy.instanceStartTime = obj.instance_start_time;
7915
+ }
7906
7916
  if (obj.props !== undefined) {
7907
7917
  copy.props = DatabaseInformationProps.deserialize(obj.props);
7908
7918
  }