braintree-as-promised
Advanced tools
Comparing version 0.2.0 to 0.3.0
{ | ||
"name": "braintree-as-promised", | ||
"description": "Add native promises to braintree gateway", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"homepage": "https://github.com/enhancv/braintree-as-promised", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -31,5 +31,5 @@ # braintree-as-promised | ||
## Documantation | ||
## Documentation | ||
calling `promised(gateway)` will return a new gateway object with all the methods converted to promise-based, using native promises. You can continue to use your gateway object normall, as it does not change anything there | ||
calling `promised(gateway)` will return a new gateway object with all the methods converted to promise-based ones, using native promises. You can continue to use your gateway object normal, as it does not change anything on the original object. | ||
@@ -36,0 +36,0 @@ Additionally it handles the "result.success" parameter, so that if success === false, the promise is rejected with the returned error message. |
@@ -85,2 +85,5 @@ 'use strict'; | ||
}, | ||
webhookNotification: { | ||
parse: null, | ||
}, | ||
}; | ||
@@ -87,0 +90,0 @@ |
9438
144