Comparing version 0.2.2 to 0.2.3
## Changelog | ||
### 0.2.2 (latest) | ||
### 0.2.3 (latest) | ||
+ Added view helpers for rendering transaction errors and payment forms. | ||
### 0.2.2 | ||
+ Added hasErrors() helper to Transaction and PaymentMethod classes. | ||
@@ -6,0 +10,0 @@ + Fixed an issue with Transaction and PaymentMethod forgetting to |
(function() { | ||
var Connection, Message, PaymentMethod, Processor, Transaction; | ||
var Connection, Message, PaymentMethod, Processor, Transaction, Views; | ||
@@ -14,2 +14,4 @@ Connection = require('./connection'); | ||
Views = require('./views'); | ||
module.exports = { | ||
@@ -21,5 +23,7 @@ Connection: Connection, | ||
Message: Message, | ||
setup: Connection.setup | ||
setup: Connection.setup, | ||
renderErrors: Views.renderErrors, | ||
renderPaymentForm: Views.renderPaymentForm | ||
}; | ||
}).call(this); |
{ "name": "samurai" | ||
, "description": "Samurai payment gateway API client module for Node.js" | ||
, "version": "0.2.2" | ||
, "version": "0.2.3" | ||
, "author": "FeeFighters <samurai@feefighters.com>" | ||
@@ -33,2 +33,3 @@ , "homepage": "https://samurai.feefighters.com" | ||
, "xml2json": "0.2.x" | ||
, "eco": "1.1.x" | ||
} | ||
@@ -35,0 +36,0 @@ , "devDependencies": |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
100233
38
929
5
1
+ Addedeco@1.1.x