minotor 1.0.4 → 1.0.6

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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
- ## [1.0.4](https://github.com/aubryio/minotor/compare/v1.0.3...v1.0.4) (2025-02-11)
1
+ ## [1.0.6](https://github.com/aubryio/minotor/compare/v1.0.5...v1.0.6) (2025-02-26)
2
2
 
3
3
 
4
4
  ### Bug Fixes
5
5
 
6
- * expose missing data in APIs ([#9](https://github.com/aubryio/minotor/issues/9)) ([9798022](https://github.com/aubryio/minotor/commit/97980228efc0b87d2da221311cb82d188ab424a0))
6
+ * allow queries without destination ([#12](https://github.com/aubryio/minotor/issues/12)) ([cc38433](https://github.com/aubryio/minotor/commit/cc384335c9ef717aaf7dee47bcd7c2bc578bd4ef))
package/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  ![GitHub Workflow Status](https://github.com/aubryio/minotor/actions/workflows/minotor.yml/badge.svg?branch=main)
4
4
 
5
+ [Documentation and examples](https://minotor.dev)
6
+
5
7
  A lightweight and easy to use public transit router primarily targeting client-side usage for research, data visualization, dynamic web and mobile apps.
6
8
 
7
9
  Unlike most transit planners out there, **minotor** can store all the transit data for a given day in memory on the client, allowing for fast runtime queries using only local data.
@@ -11,6 +13,14 @@ Privacy-conscious applications where the user does not want to share their locat
11
13
  The transit router and the stops index of **minotor** can run in the browser, on react-native or in a Node.js environment.
12
14
  Transit data (GTFS) parsing runs on Node.js, and the resulting data is serialized as a protobuf binary that can be loaded from the router.
13
15
 
16
+ ## Examples
17
+
18
+ ### In-browser transit router
19
+
20
+ An example client-side transit router running in the browser with a web worker.
21
+
22
+ [Demo](https://www.minotor.dev/#example-usage) | [Code](https://github.com/aubryio/minotor.dev/tree/main/app/examples/router)
23
+
14
24
  ## Features
15
25
 
16
26
  - GTFS feed parsing (standard and extended)
package/dist/cli.mjs CHANGED
@@ -19908,6 +19908,7 @@ class Query {
19908
19908
  }
19909
19909
  Query.Builder = class {
19910
19910
  constructor() {
19911
+ this.toValue = [];
19911
19912
  // lastDepartureTimeValue?: Date;
19912
19913
  // via: StopId[] = [];
19913
19914
  this.optionsValue = {