Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ You can import the generated bundle to use the whole library generated by this s
```javascript
import * as tillhub from '@tillhub/javascript-sdk'

var th = new tillhub.TillhubClient();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, but think we need to change another line there.
It should be

import th from '@tillhub/javascript-sdk'

instead of

import * as tillhub from '@tillhub/javascript-sdk'


// configure which API to use. E.g. you can also run staging and sandbox APIs
th.init({
base: 'https://api.tillhub.com'
Expand Down