Skip to content

Commit d8dd844

Browse files
Feature/snap penalty on isochrones (#73)
* audit fix * add snap_penalty support * 5.7.0
1 parent fa16c82 commit d8dd844

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "traveltime-api",
3-
"version": "5.6.3",
3+
"version": "5.7.0",
44
"description": "TravelTime API SDK for node js with TypeScript",
55
"main": "target/index.js",
66
"types": "target/index.d.ts",

src/types/timeMap.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export type TimeMapRequestSearchBase = {
2424
single_shape?: boolean
2525
polygons_filter?: PolygonsFilter
2626
no_holes?: boolean
27+
snap_penalty?: 'enabled' | 'disabled'
2728
}
2829

2930
export type TimeMapRequestDepartureSearch = TimeMapRequestSearchBase & {

0 commit comments

Comments
 (0)