@companieshouse/api-sdk-node 2.0.284 → 2.0.286

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.
Files changed (2) hide show
  1. package/README.md +4 -0
  2. package/package.json +3 -2
package/README.md CHANGED
@@ -4,6 +4,10 @@ This SDK abstract the calls to our public APIs.
4
4
 
5
5
  Intended for use when making cross-web-service calls, supporting ERIC and the propagation of authentication details through to other services.
6
6
 
7
+ ## Compatible Node versions
8
+
9
+ This package has been upgraded to be compatible with Node v24. Presently, it's backward compatible with v20 and v18 but compatibility is primarily required for v24 as all CH Node services are in the process of being upgraded to v24.
10
+
7
11
  ## Quick start
8
12
 
9
13
  Use NPM to install the SDK in your project;
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "@companieshouse/api-sdk-node",
3
- "version": "2.0.284",
3
+ "version": "2.0.286",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
+ "type": "module",
6
7
  "files": [
7
8
  "dist"
8
9
  ],
@@ -53,7 +54,7 @@
53
54
  "nyc": "^15.1.0",
54
55
  "sinon": "^9.2.4",
55
56
  "sinon-chai": "~3.5.0",
56
- "sonarqube-scanner": "^2.8.1",
57
+ "sonarqube-scanner": "^3.5.0",
57
58
  "ts-node": "9.1.1",
58
59
  "typescript": "4.1.6"
59
60
  },