@transportme/load-ptv-gtfs 1.4.13 → 1.4.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/index.mjs CHANGED
@@ -23,6 +23,8 @@ import GTFSStopsReader from './lib/gtfs-parser/readers/GTFSStopsReader.mjs'
23
23
  import GTFSStopTimesReader from './lib/gtfs-parser/readers/GTFSStopTimesReader.mjs'
24
24
  import GTFSTripReader from './lib/gtfs-parser/readers/GTFSTripReader.mjs'
25
25
 
26
+ import PTVGTFS from './lib/gtfs-package/PTVGTFS.mjs'
27
+
26
28
  const GTFSTypes = {
27
29
  GTFSAgency, GTFSCalendar, GTFSCalendarDate,
28
30
  GTFSRoute, GTFSShape, GTFSShapePoint,
@@ -40,5 +42,5 @@ export {
40
42
  RouteLoader, ShapeLoader,
41
43
  StopsLoader, TripLoader,
42
44
  GTFSTypes, GTFSReaders,
43
- setRouteStops
45
+ setRouteStops, PTVGTFS
44
46
  }
@@ -129,7 +129,8 @@ export class SmartrakTrip extends GTFSTrip {
129
129
  getTripData() {
130
130
  return {
131
131
  ...super.getTripData(),
132
- depotID: this.getDepotID()
132
+ depotID: this.getDepotID(),
133
+ runID: this.getTripID()
133
134
  }
134
135
  }
135
136
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@transportme/load-ptv-gtfs",
3
- "version": "1.4.13",
3
+ "version": "1.4.15",
4
4
  "description": "",
5
5
  "main": "index.mjs",
6
6
  "scripts": {