howsmydriving-nyc
Advanced tools
Comparing version 0.1.38 to 0.1.39
@@ -9,2 +9,3 @@ import { ICitation } from 'howsmydriving-utils'; | ||
ProcessCitationsForRequest(citations: ICitation[], query_count: number): Array<string>; | ||
GetRecentCollisions(): Promise<Array<ICollision>>; | ||
GetLastFatalCollision(): Promise<ICollision>; | ||
@@ -11,0 +12,0 @@ GetLastSeriousInjuryCollision(): Promise<ICollision>; |
@@ -151,2 +151,9 @@ "use strict"; | ||
}; | ||
NewYorkCity.prototype.GetRecentCollisions = function () { | ||
return Promise.all([ | ||
this.GetLastFatalCollision(), | ||
this.GetLastSeriousInjuryCollision(), | ||
this.GetLastInjuryCollision() | ||
]); | ||
}; | ||
NewYorkCity.prototype.GetLastFatalCollision = function () { | ||
@@ -153,0 +160,0 @@ return this.GetLastCollisionsWithCondition('FATALITIES>0', 1); |
{ | ||
"name": "howsmydriving-nyc", | ||
"version": "0.1.38", | ||
"version": "0.1.39", | ||
"description": "NYC region plug-in for @HowsMyDrivingWA.", | ||
@@ -5,0 +5,0 @@ "declaration": true, |
Sorry, the diff of this file is too big to display
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
129001
2615