Skip to content

Commit

Permalink
Merge pull request #1 from onready/develop
Browse files Browse the repository at this point in the history
fix imports in readme
  • Loading branch information
Juan Cernadas authored Jun 16, 2020
2 parents dcdb2b5 + 84da2d6 commit 5465ba0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ yarn add @onreadydesa/vtex-node-sdk
First, import the SDK:

```javascript
const { VTEX } = require('vtex-node-sdk');
const { VTEX } = require('@onreadydesa/vtex-node-sdk');
```

##### Using ES6 imports
```javascript
import { VTEX } from 'vtex-node-sdk';
import { VTEX } from '@onreadydesa/vtex-node-sdk';
```

Then, use the SDK like this:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@onreadydesa/vtex-node-sdk",
"version": "1.0.0-alpha",
"version": "1.0.1-alpha",
"description": "VTEX Node SDK, built 100% with Typescript and 0 dependencies!",
"author": "Onready",
"private": false,
Expand Down

0 comments on commit 5465ba0

Please sign in to comment.