Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

shipit

Package Overview
Dependencies
Maintainers
1
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shipit - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

lib/amazon.js

7

lib/main.js
(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",

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