Skip to content

Commit b7a8455

Browse files
committed
Update docs
1 parent e12677b commit b7a8455

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ import * as ShopifyClient from 'shopify-api-node';
4747
import { NestjsShopifyService } from 'nestjs-shopify';
4848
```
4949

50-
In your Nest Provider, instantiate the client and service:
50+
In your Nest Provider, instantiate the client:
5151

5252
```javascript
5353
@Injectable()
@@ -57,6 +57,7 @@ export class ShopifyService {
5757
constructor(
5858
private shopifyService: NestjsShopifyService
5959
) {
60+
// Returns a new instance of the Shopify class
6061
this.shopifyClient = this.shopifyService.getShopify();
6162
}
6263
```

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
{
22
"name": "nestjs-shopify",
3-
"version": "1.0.0",
4-
"description": "",
5-
"author": "",
3+
"version": "0.1.0",
4+
"description": "NestJS wrapper for the official shopify-api-node library",
5+
"author": "Luke Heath",
66
"license": "MIT",
7+
"homepage": "https://github.com/lukeheath/nestjs-shopify#readme",
78
"main": "dist/index.js",
89
"scripts": {
910
"start:dev": "tsc-watch -p tsconfig.build.json --onSuccess \"node dist/main.js\"",

0 commit comments

Comments
 (0)