Comparing version 0.1.6-beta to 0.1.7-beta
@@ -23,6 +23,6 @@ /* | ||
req = (protocol).request(opts) | ||
req.setTimeout(timeout, self.timeout(timeout, req, next)) | ||
req.on("response" , self.response(req, next)) | ||
req.on("socket" , self.socket(ubivar, content, req)) | ||
req.on("error" , self.error(req, next)) | ||
req.setTimeout(timeout, self.timeout(timeout, req, next)) | ||
req.on("response" , self.response( req, next)) | ||
req.on("socket" , self.socket(ubivar , content, req, next)) | ||
req.on("error" , self.error( req, next)) | ||
} |
@@ -7,3 +7,3 @@ /* | ||
*/ | ||
module.exports = function(ubivar, content, req){ | ||
module.exports = function(ubivar, content, req, next){ | ||
return function(socket) { | ||
@@ -21,3 +21,3 @@ var isSecure = ubivar.get("protocol") === "https" | ||
req.abort() | ||
return callback.call(self, | ||
return next.call(self, | ||
new Error.UbivarError({ | ||
@@ -35,3 +35,3 @@ "message" : "Revoked SSL Certificate" | ||
req.abort() | ||
return callback.call(self, | ||
return next.call(self, | ||
new Error.UbivarError({ | ||
@@ -38,0 +38,0 @@ "message" : "Socket connection error to Ubivar." |
{ | ||
"name": "ubivar", | ||
"version": "0.1.6-beta", | ||
"version": "0.1.7-beta", | ||
"description": "API wrapper to Ubivar", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
46746