@jadamsbit/react-native-mapbox-navigation 1.0.14 → 1.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lefthook.yml ADDED
@@ -0,0 +1,35 @@
1
+ # EXAMPLE USAGE:
2
+ #
3
+ # Refer for explanation to following link:
4
+ # https://github.com/evilmartians/lefthook/blob/master/docs/configuration.md
5
+ #
6
+ # pre-push:
7
+ # commands:
8
+ # packages-audit:
9
+ # tags: frontend security
10
+ # run: yarn audit
11
+ # gems-audit:
12
+ # tags: backend security
13
+ # run: bundle audit
14
+ #
15
+ # pre-commit:
16
+ # parallel: true
17
+ # commands:
18
+ # eslint:
19
+ # glob: "*.{js,ts,jsx,tsx}"
20
+ # run: yarn eslint {staged_files}
21
+ # rubocop:
22
+ # tags: backend style
23
+ # glob: "*.rb"
24
+ # exclude: '(^|/)(application|routes)\.rb$'
25
+ # run: bundle exec rubocop --force-exclusion {all_files}
26
+ # govet:
27
+ # tags: backend style
28
+ # files: git ls-files -m
29
+ # glob: "*.go"
30
+ # run: go vet {files}
31
+ # scripts:
32
+ # "hello.js":
33
+ # runner: node
34
+ # "any.go":
35
+ # runner: go run
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jadamsbit/react-native-mapbox-navigation",
3
3
  "title": "React Native Mapbox Navigation",
4
- "version": "1.0.14",
4
+ "version": "1.0.15",
5
5
  "description": "Smart Mapbox turn-by-turn routing based on real-time traffic for React Native.",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
package/src/typings.ts CHANGED
@@ -37,4 +37,5 @@ export interface IMapboxNavigationProps {
37
37
  showsEndOfRouteFeedback?: boolean;
38
38
  hideStatusView?: boolean;
39
39
  mute?: boolean;
40
+ waypoints?: Coordinate[];
40
41
  }