@ibm-cloud/cloudant 0.3.0 → 0.4.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 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.3.0
5
+ # IBM Cloudant Node.js SDK Version 0.4.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).
@@ -16,7 +16,7 @@
16
16
  import { Authenticator, UserOptions } from 'ibm-cloud-sdk-core';
17
17
  import { SessionTokenManager } from './sessionTokenManager';
18
18
  /** Configuration options for CouchDB session authentication. */
19
- export declare type CouchdbSessionAuthenticatorOptions = {
19
+ export type CouchdbSessionAuthenticatorOptions = {
20
20
  /** The username to be used in CouchDB session authentication. */
21
21
  username: string;
22
22
  /** The password to be used in CouchDB session authentication. */
package/cloudant/v1.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * (C) Copyright IBM Corp. 2022.
2
+ * (C) Copyright IBM Corp. 2023.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
package/cloudant/v1.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * (C) Copyright IBM Corp. 2022.
3
+ * (C) Copyright IBM Corp. 2023.
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
package/lib/common.d.ts CHANGED
@@ -13,7 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- export declare type SdkHeaders = {
16
+ export type SdkHeaders = {
17
17
  'User-Agent': string;
18
18
  'X-IBMCloud-SDK-Analytics': string;
19
19
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibm-cloud/cloudant",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "IBM Cloudant Node.js SDK",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -35,35 +35,35 @@
35
35
  "node": "^14 || ^16 || ^18"
36
36
  },
37
37
  "dependencies": {
38
- "@types/node": "14.18.32",
39
- "ibm-cloud-sdk-core": "3.2.1"
38
+ "@types/node": "14.18.36",
39
+ "ibm-cloud-sdk-core": "4.0.2"
40
40
  },
41
41
  "devDependencies": {
42
- "@semantic-release/changelog": "6.0.1",
42
+ "@semantic-release/changelog": "6.0.2",
43
43
  "@semantic-release/git": "10.0.1",
44
- "@types/jest": "27.5.0",
45
- "@typescript-eslint/eslint-plugin": "5.41.0",
46
- "@typescript-eslint/parser": "5.41.0",
44
+ "@types/jest": "29.2.5",
45
+ "@typescript-eslint/eslint-plugin": "5.48.0",
46
+ "@typescript-eslint/parser": "5.48.0",
47
47
  "dotenv": "16.0.3",
48
- "eslint": "8.26.0",
48
+ "eslint": "8.31.0",
49
49
  "eslint-config-airbnb-base": "15.0.0",
50
50
  "eslint-config-airbnb-typescript": "17.0.0",
51
- "eslint-config-prettier": "8.5.0",
51
+ "eslint-config-prettier": "8.6.0",
52
52
  "eslint-import-resolver-typescript": "3.5.0",
53
53
  "eslint-plugin-header": "3.1.1",
54
54
  "eslint-plugin-import": "2.26.0",
55
- "eslint-plugin-jest": "27.1.1",
56
- "eslint-plugin-jsdoc": "39.3.0",
55
+ "eslint-plugin-jest": "27.2.0",
56
+ "eslint-plugin-jsdoc": "39.6.1",
57
57
  "eslint-plugin-node": "11.1.0",
58
58
  "eslint-plugin-prettier": "4.2.1",
59
- "jest": "27.5.1",
60
- "jest-junit": "14.0.1",
61
- "prettier": "2.7.1",
59
+ "jest": "29.3.1",
60
+ "jest-junit": "15.0.0",
61
+ "prettier": "2.8.1",
62
62
  "semantic-release": "19.0.5",
63
- "sinon": "14.0.1",
64
- "ts-jest": "27.1.4",
65
- "typedoc": "0.23.18",
66
- "typescript": "4.8.4"
63
+ "sinon": "15.0.1",
64
+ "ts-jest": "29.0.3",
65
+ "typedoc": "0.23.23",
66
+ "typescript": "4.9.4"
67
67
  },
68
68
  "peerDependencies": {
69
69
  "@types/tough-cookie": "^4.0.0",