File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ import * as ShopifyClient from 'shopify-api-node';
4747import { 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` ` `
Original file line number Diff line number Diff line change 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\" " ,
You can’t perform that action at this time.
0 commit comments