Skip to content

Commit e79d389

Browse files
committed
Bumped v0.20.0
Signed-off-by: Vishal Rana <vr@labstack.com>
1 parent a5e252c commit e79d389

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Create a file `app.js` with the following content:
1616
```js
1717
const {Client, APIError} = require('labstack')
1818

19-
const client = new Client('<API_KEY>')
19+
const client = new Client('<ACCOUNT_ID>', '<API_KEY>')
2020

2121
client.barcodeGenerate({
2222
format: 'qr_code',

lib/client.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ const got = require('got')
44
const FormData = require('form-data');
55

66
class Client {
7-
constructor(apiKey) {
7+
constructor(accountID, apiKey) {
8+
this.accountID = accountID
89
this.apiURL = 'https://api.labstack.com'
910
this.apiKey = apiKey
1011
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "labstack",
3-
"version": "0.19.0",
3+
"version": "0.20.0",
44
"description": "Official Node.js client library for the LabStack API",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)