Comparing version 0.1.5 to 0.1.6
(function() { | ||
var DhlClient, FedexClient, LasershipClient, OnTracClient, UpsClient, UpsMiClient, UspsClient; | ||
var AmazonClient, DhlClient, FedexClient, LasershipClient, OnTracClient, UpsClient, UpsMiClient, UspsClient; | ||
@@ -18,2 +18,4 @@ UpsClient = require('./ups').UpsClient; | ||
AmazonClient = require('./amazon').AmazonClient; | ||
module.exports = { | ||
@@ -26,5 +28,6 @@ UpsClient: UpsClient, | ||
OnTracClient: OnTracClient, | ||
UpsMiClient: UpsMiClient | ||
UpsMiClient: UpsMiClient, | ||
AmazonClient: AmazonClient | ||
}; | ||
}).call(this); |
@@ -82,3 +82,3 @@ (function() { | ||
ShipperClient.prototype.presentResponse = function(response, trk, cb) { | ||
ShipperClient.prototype.presentResponse = function(response, requestData, cb) { | ||
return this.validateResponse(response, (function(_this) { | ||
@@ -102,3 +102,3 @@ return function(err, shipment) { | ||
} | ||
presentedResponse.trackingNumber = trk; | ||
presentedResponse.request = requestData; | ||
return cb(null, presentedResponse); | ||
@@ -118,3 +118,3 @@ }; | ||
} | ||
return _this.presentResponse(body, requestData.trackingNumber, cb); | ||
return _this.presentResponse(body, requestData, cb); | ||
}; | ||
@@ -121,0 +121,0 @@ })(this)); |
{ | ||
"name": "shipit", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"description": "This module allows you to connect to many shipping carriers like UPS and FedEx and download tracking data for your packages in a common schema", | ||
@@ -5,0 +5,0 @@ "main": "lib/main.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
79734
15
1829