marketcloud-node
Version:
Marketcloud NodeJS sdk
31 lines (22 loc) • 603 B
Markdown
# 2.1.0
* Added Invoices resource
* Added taxes resource
* Updated dependencies (Superagent) to avoid potential security issues (https://snyk.io/vuln/npm:ms:20170412)
# 2.0.0
This version breaks compatibility since now all methods return
the whole API response and not only the data. That was a not so good design choice and we are changing it now.
Before
'''javascript
client.products.list()
.then((products) => {
//products is an array of products
})
'''
Now
'''javascript
client.products.list()
.then((response) => {
var products = response.data;
//products is an array of products
})
'''