New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

samurai

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

samurai - npm Package Compare versions

Comparing version 0.2.3 to 0.2.4

test/lib/helpers_spec.coffee

6

lib/message.js

@@ -22,3 +22,3 @@ (function() {

'error processor.bank_info invalid': 'Invalid banking information.',
'error processor.transaction not_allowed': 'Merchant can not accept this card.',
'error processor.transaction not_allowed': 'This transaction type is not allowed.',
'error processor.transaction type_invalid': 'Requested transaction type is not allowed for this card/merchant.',

@@ -53,4 +53,6 @@ 'error processor.transaction method_invalid': 'The requested transaction could not be performed for this merchant.',

'error input.expiry_month not_numeric': 'The expiration month was invalid.',
'error input.expiry_month is_invalid': 'The expiration month was invalid.',
'error input.expiry_year is_blank': 'The expiration year was blank.',
'error input.expiry_year not_numeric': 'The expiration year was invalid.'
'error input.expiry_year not_numeric': 'The expiration year was invalid.',
'error input.expiry_year is_invalid': 'The expiration year was invalid.'
};

@@ -57,0 +59,0 @@

@@ -35,2 +35,3 @@ (function() {

this.attributes = attributes != null ? attributes : {};
this.attributes = extend({}, this.attributes);
if (config.sandbox) {

@@ -37,0 +38,0 @@ extend(this.attributes, {

@@ -36,2 +36,3 @@ (function() {

this.processorToken = processorToken;
this.token = this.processorToken;
}

@@ -41,2 +42,6 @@

if (options == null) options = {};
if (typeof options === 'function') {
callback = options;
options = {};
}
extend(options, {

@@ -51,2 +56,6 @@ payment_method_token: paymentMethodToken,

if (options == null) options = {};
if (typeof options === 'function') {
callback = options;
options = {};
}
extend(options, {

@@ -53,0 +62,0 @@ payment_method_token: paymentMethodToken,

@@ -14,3 +14,3 @@ (function() {

KNOWN_ATTRIBUTES = ['amount', 'type', 'payment_method_token', 'currency_code', 'descriptor', 'custom', 'customer_reference', 'billing_reference'];
KNOWN_ATTRIBUTES = ['amount', 'type', 'payment_method_token', 'currency_code', 'description', 'custom', 'customer_reference', 'billing_reference'];

@@ -27,2 +27,3 @@ Transaction.find = function(referenceId, callback) {

this.attributes = attributes != null ? attributes : {};
this.attributes = extend({}, this.attributes);
this.errors = {};

@@ -29,0 +30,0 @@ this.messages = {};

{ "name": "samurai"
, "description": "Samurai payment gateway API client module for Node.js"
, "version": "0.2.3"
, "version": "0.2.4"
, "author": "FeeFighters <samurai@feefighters.com>"

@@ -36,3 +36,5 @@ , "homepage": "https://samurai.feefighters.com"

, "devDependencies":
{ "vows": "0.5.x" }
{ "mocha": "*"
, "should": "*"
}
, "engines" : { "node" : ">=0.4.1" }

@@ -39,0 +41,0 @@ , "keywords": ["payments", "payment gateway", "payment processing", "samurai", "feefighters"]

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc