Comparing version 0.1.7 to 0.1.8
@@ -127,2 +127,3 @@ (function() { | ||
'Out for Delivery': ShipperClient.STATUS_TYPES.OUT_FOR_DELIVERY, | ||
'Delivered': ShipperClient.STATUS_TYPES.DELIVERED, | ||
'Notice Left': ShipperClient.STATUS_TYPES.DELAYED, | ||
@@ -138,3 +139,3 @@ 'Refused': ShipperClient.STATUS_TYPES.DELAYED, | ||
var regex, status, statusCode, text; | ||
status = null; | ||
status = ShipperClient.STATUS_TYPES.UNKNOWN; | ||
for (text in STATUS_MAP) { | ||
@@ -159,3 +160,3 @@ statusCode = STATUS_MAP[text]; | ||
return ShipperClient.STATUS_TYPES.DELIVERED; | ||
case 'In Transit': | ||
default: | ||
return this.findStatusFromMap(shipment != null ? (_ref3 = shipment['Status']) != null ? _ref3[0] : void 0 : void 0); | ||
@@ -162,0 +163,0 @@ } |
{ | ||
"name": "shipit", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"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
80424
1830