coinbase-commerce-node
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "coinbase-commerce-node", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "The Official Coinbase Commerce SDK for Node.js", | ||
@@ -26,3 +26,3 @@ "keywords": [ | ||
"dependencies": { | ||
"lodash": "3.1.0", | ||
"lodash": "4.17.11", | ||
"object-assign": "2.0.0", | ||
@@ -29,0 +29,0 @@ "promise": "^8.0.1", |
@@ -1,2 +0,2 @@ | ||
[![CircleCI](https://circleci.com/gh/adobrzhansky/coinbase-commerce-node.svg?style=svg)](https://circleci.com/gh/adobrzhansky/coinbase-commerce-node) | ||
[![CircleCI](https://circleci.com/gh/coinbase/coinbase-commerce-node.svg?style=svg)](https://circleci.com/gh/coinbase/coinbase-commerce-node) | ||
# Coinbase Commerce | ||
@@ -66,2 +66,7 @@ | ||
``` | ||
Type definitions are available for TypeScript users: | ||
```sh | ||
npm install @types/coinbase-commerce-node --save-dev | ||
``` | ||
## Usage | ||
@@ -85,5 +90,5 @@ ``` js | ||
``` js | ||
Checkout.retrieve(<checkout_id>, function (error, callback) { | ||
Checkout.retrieve(<checkout_id>, function (error, response) { | ||
console.log(error); | ||
console.log(callback); | ||
console.log(response); | ||
}); | ||
@@ -103,5 +108,5 @@ ``` | ||
}; | ||
Checkout.create(checkoutData, function (error, callback) { | ||
Checkout.create(checkoutData, function (error, response) { | ||
console.log(error); | ||
console.log(callback); | ||
console.log(response); | ||
}); | ||
@@ -122,5 +127,5 @@ | ||
checkoutObj.save(function (error, callback) { | ||
checkoutObj.save(function (error, response) { | ||
console.log(error); | ||
console.log(callback); | ||
console.log(response); | ||
}); | ||
@@ -325,3 +330,3 @@ ``` | ||
try { | ||
Webhook.verifySigHeader(signature, body, sharedSecret); | ||
Webhook.verifySigHeader(rawBody, signature, sharedSecret); | ||
console.log('Successfully verified'); | ||
@@ -345,2 +350,2 @@ } catch(error) { | ||
MIT | ||
MIT |
38445
346
+ Addedlodash@4.17.11(transitive)
- Removedlodash@3.1.0(transitive)
Updatedlodash@4.17.11