auth-net-request
Advanced tools
Comparing version 2.2.1 to 2.2.2
@@ -75,2 +75,3 @@ var https = require('https') | ||
var url = this.getPostUrl(); | ||
var content = new Buffer(string, 'utf-8'); | ||
@@ -86,3 +87,3 @@ var req = https.request({ | ||
headers: { | ||
'Content-Length': string.length, | ||
'Content-Length': content.length, | ||
'Content-Type': 'text/xml' | ||
@@ -92,3 +93,3 @@ } | ||
req.write(string); | ||
req.write(content); | ||
req.on('error', function(err) { | ||
@@ -95,0 +96,0 @@ callback(err); |
{ | ||
"name": "auth-net-request", | ||
"version": "2.2.1", | ||
"version": "2.2.2", | ||
"description": "Authorize.net requests for Node.JS", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6541
122