Skip to content

Commit 7abb20d

Browse files
Merge pull request #4 from companieshouse/hotfix/S4-229-correct-repo-naming
hotfix/S4-229: Correct references to repo name in code.
2 parents d637f31 + 1bf0e42 commit 7abb20d

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The following snippet shows how to get up and running quickly using TypeScript.
1414

1515
```typescript
1616

17-
import {createApiClient} from "ch-sdk-node";
17+
import {createApiClient} from "api-sdk-node";
1818

1919
(async () => {
2020
const api = createApiClient("your-api-key");
@@ -28,7 +28,7 @@ import {createApiClient} from "ch-sdk-node";
2828
There is an alternative way of calling some of the services, which forces you to check for errors. It borrows concepts from the Either class found in functional programming.
2929
```typescript
3030

31-
import {createApiClient} from "ch-sdk-node";
31+
import {createApiClient} from "api-sdk-node";
3232

3333
(async () => {
3434
const api = createApiClient("your-api-key");
@@ -56,7 +56,7 @@ From within this directory, run the following command to make symbolic links to
5656

5757
Then from within your local project, simply link it with the following command
5858

59-
npm link ch-sdk-node
59+
npm link api-sdk-node
6060

6161
Note that if your local project is running within a Vagrant Virtual Machine, this command will need to be run on the VM.
6262

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
11
{
2-
"name": "ch-sdk-node",
2+
"name": "api-sdk-node",
33
"version": "1.0.0",
4-
"description": "",
54
"main": "./dist/index.js",
65
"types": "./dist/index.d.ts",
6+
"license": "ISC",
77
"scripts": {
88
"build": "tsc",
99
"prebuild": "rm -rf dist/*",
1010
"test": "mocha",
1111
"lint": "eslint 'src/*.ts' 'src/**/*.ts' 'test/**/*.ts'",
1212
"lint:fix": "eslint 'src/*.ts' 'src/**/*.ts' 'test/**/*.ts' --fix"
1313
},
14-
"keywords": [],
15-
"author": "",
16-
"license": "ISC",
1714
"dependencies": {
1815
"camelcase-keys": "~6.2.2",
1916
"request": "~2.88.0",

0 commit comments

Comments
 (0)