courier_tracking_auspost
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -75,3 +75,5 @@ const uniqWith = require("lodash.uniqwith"); | ||
if (trackingInfo.length > 2) { | ||
pickedupAt = { date: trackingInfo[2].date, time: trackingInfo[2].time }; | ||
console.log(trackingInfo[0]); | ||
const item = trackingInfo[trackingInfo.length - 3]; | ||
pickedupAt = { date: item.date, time: item.time }; | ||
pickedUp = true; | ||
@@ -78,0 +80,0 @@ } |
{ | ||
"name": "courier_tracking_auspost", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "Courier tracking from provided connote for Australia Post", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
95876
253