Comparing version 1.0.6 to 1.0.7
{ | ||
"name": "emt-bus", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "Library that works a layer over the emt API service", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -27,3 +27,3 @@ "use strict"; | ||
Geo.prototype.getArriveStop = function(params) { | ||
this.makeRequest(geo_endpoints.GET_ARRIVE_STOP, params); | ||
return this.makeRequest(geo_endpoints.GET_ARRIVE_STOP, params); | ||
}; | ||
@@ -34,3 +34,3 @@ /** | ||
Geo.prototype.getGroups = function(params) { | ||
this.makeRequest(geo_endpoints.GET_GROUPS, params); | ||
return this.makeRequest(geo_endpoints.GET_GROUPS, params); | ||
}; | ||
@@ -41,3 +41,3 @@ /** | ||
Geo.prototype.getInfoLine = function(params) { | ||
this.makeRequest(geo_endpoints.GET_INFO_LINE, params); | ||
return this.makeRequest(geo_endpoints.GET_INFO_LINE, params); | ||
}; | ||
@@ -48,3 +48,3 @@ /** | ||
Geo.prototype.getInfoLineExtend = function(params) { | ||
this.makeRequest(geo_endpoints.GET_INFO_LINE_EXTEND, params); | ||
return this.makeRequest(geo_endpoints.GET_INFO_LINE_EXTEND, params); | ||
}; | ||
@@ -55,3 +55,3 @@ /** | ||
Geo.prototype.getPointsOfInterest = function(params) { | ||
this.makeRequest(geo_endpoints.GET_POINTS_OF_INTEREST, params); | ||
return this.makeRequest(geo_endpoints.GET_POINTS_OF_INTEREST, params); | ||
}; | ||
@@ -62,3 +62,3 @@ /** | ||
Geo.prototype.getPointsOfInterestTypes = function(params) { | ||
this.makeRequest(geo_endpoints.GET_POINTS_OF_INTEREST_TYPES, params); | ||
return this.makeRequest(geo_endpoints.GET_POINTS_OF_INTEREST_TYPES, params); | ||
}; | ||
@@ -69,3 +69,3 @@ /** | ||
Geo.prototype.getRoutesLineRoute = function(params) { | ||
this.makeRequest(geo_endpoints.GET_ROUTES_LINE_ROUTE, params); | ||
return this.makeRequest(geo_endpoints.GET_ROUTES_LINE_ROUTE, params); | ||
}; | ||
@@ -76,3 +76,3 @@ /** | ||
Geo.prototype.getStopsFromStop = function(params) { | ||
this.makeRequest(geo_endpoints.GET_STOPS_FROM_STOP, params); | ||
return this.makeRequest(geo_endpoints.GET_STOPS_FROM_STOP, params); | ||
}; | ||
@@ -83,3 +83,3 @@ /** | ||
Geo.prototype.getStopsFromXY = function(params) { | ||
this.makeRequest(geo_endpoints.GET_STOPS_FROM_XY, params); | ||
return this.makeRequest(geo_endpoints.GET_STOPS_FROM_XY, params); | ||
}; | ||
@@ -90,3 +90,3 @@ /** | ||
Geo.prototype.getStopsLine = function(params) { | ||
this.makeRequest(geo_endpoints.GET_STOPS_LINE, params); | ||
return this.makeRequest(geo_endpoints.GET_STOPS_LINE, params); | ||
}; | ||
@@ -98,3 +98,3 @@ /** | ||
Geo.prototype.getStreet = function(params) { | ||
this.makeRequest(geo_endpoints.GET_STREET, params); | ||
return this.makeRequest(geo_endpoints.GET_STREET, params); | ||
}; | ||
@@ -105,5 +105,5 @@ /** | ||
Geo.prototype.getStreetFromXY = function(params) { | ||
this.makeRequest(geo_endpoints.GET_STREET_FROM_XY, params); | ||
return this.makeRequest(geo_endpoints.GET_STREET_FROM_XY, params); | ||
}; | ||
module.exports = Geo; |
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
76100