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.0.13 to 0.0.14

7

lib/main.js
(function() {
var FedexClient, UpsClient;
var FedexClient, UpsClient, UspsClient;

@@ -8,7 +8,10 @@ UpsClient = require('./ups').UpsClient;

UspsClient = require('./usps').UspsClient;
module.exports = {
UpsClient: UpsClient,
FedexClient: FedexClient
FedexClient: FedexClient,
UspsClient: UspsClient
};
}).call(this);

@@ -218,8 +218,9 @@ (function() {

UspsClient.prototype.requestOptions = function(_arg) {
var clientIp, test, trackingNumber, xml;
var clientIp, endpoint, test, trackingNumber, xml;
trackingNumber = _arg.trackingNumber, clientIp = _arg.clientIp, test = _arg.test;
endpoint = test ? 'ShippingAPITest.dll' : 'ShippingAPI.dll';
xml = this.generateRequest(trackingNumber, clientIp);
return {
method: 'GET',
uri: "http://production.shippingapis.com/ShippingAPITest.dll?API=TrackV2&XML=" + xml
uri: "http://production.shippingapis.com/" + endpoint + "?API=TrackV2&XML=" + xml
};

@@ -226,0 +227,0 @@ };

{
"name": "shipit",
"version": "0.0.13",
"version": "0.0.14",
"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