@motis-project/motis-client 2.5.0 → 2.7.3

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # motis-client
2
2
 
3
- Pre-generated JS client for [MOTIS](https://github.com/motis-project/motis) based on the [OpenAPI definition](https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/motis-project/motis/refs/heads/master/openapi.yaml#tag/routing/operation/plan).
3
+ Pre-generated JS client for [MOTIS](https://github.com/motis-project/motis) based on the [OpenAPI definition](https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/motis-project/motis/refs/heads/master/openapi.yaml#tag/routing/operation/plan). See there for parameters, responses and changes between API versions depending on MOTIS versions (correlating to motis-client versions).
4
4
 
5
5
  For example:
6
6
 
@@ -8,7 +8,9 @@ For example:
8
8
  const response = await stoptimes({
9
9
  throwOnError: true,
10
10
  baseUrl: 'https://api.transitous.org',
11
- userAgent: 'my-user-agent',
11
+ headers: {
12
+ 'User-Agent': 'my-user-agent'
13
+ },
12
14
  query: {
13
15
  stopId: 'de-DELFI_de:06412:7010:1:3',
14
16
  n: 10,