delivery-tracker
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -0,1 +1,4 @@ | ||
# 2.1.1 | ||
* update sicepat error. | ||
# 2.1.0 | ||
@@ -2,0 +5,0 @@ * add sicepat. |
@@ -60,3 +60,3 @@ 'use strict' | ||
if (!opts.apikey) { | ||
return cb('required apikey') | ||
return cb(tracker.error(tracker.ERROR.REQUIRED_APIKEY)) | ||
} | ||
@@ -63,0 +63,0 @@ |
@@ -98,6 +98,8 @@ 'use strict' | ||
INVALID_NUMBER_HEADER: 12, | ||
INVALID_NUMBER_COUNTRY: 13 | ||
INVALID_NUMBER_COUNTRY: 13, | ||
REQUIRED_APIKEY: 30 | ||
} | ||
var ERROR_MESSAGE = { | ||
30: 'required apikey.', | ||
20: 'shipment does not support.', | ||
@@ -104,0 +106,0 @@ 21: 'working on it. Please search it again.', |
{ | ||
"name": "delivery-tracker", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"author": { | ||
@@ -5,0 +5,0 @@ "name": "egg", |
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
64606
1800