carcass-stripe
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -21,1 +21,6 @@ | ||
* Not fetch real stripe event in development | ||
0.1.4 / 2014-09-24 | ||
================== | ||
* Not fetch real stripe event in testing |
@@ -9,4 +9,5 @@ var debug; | ||
} | ||
debug('Options: %j', options); | ||
return function(req, res, next) { | ||
if (options.dev) { | ||
if (options.dev || options.test) { | ||
req.stripeEvent = req.body || {}; | ||
@@ -13,0 +14,0 @@ return next(); |
{ | ||
"name": "carcass-stripe", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "(Node.js) A simple wrap of stripe APIs, in Carcass style.", | ||
@@ -5,0 +5,0 @@ "author": { |
Sorry, the diff of this file is not supported yet
36869
808