@tomtom-org/maps-sdk 0.59.0 → 0.60.0

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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@tomtom-org/maps-sdk",
3
3
  "author": "TomTom International B.V.",
4
4
  "license": "See in LICENSE.txt",
5
- "version": "0.59.0",
5
+ "version": "0.60.0",
6
6
  "description": "TomTom maps, search, geocoding, routing, isochrones, EV and traffic for JavaScript — typed GeoJSON services and a MapLibre GL JS map.",
7
7
  "homepage": "https://docs.tomtom.com/maps-sdk-js/introduction/overview",
8
8
  "repository": {
@@ -1248,6 +1248,8 @@ type ChargingModel = {
1248
1248
  * Must contain from zero to up to 20 (inclusive) json objects describing a battery point,
1249
1249
  * each containing stateOfChargeInkWh and maxPowerInkW.
1250
1250
  *
1251
+ * Required for a route with charging stops (`preferences.chargingPreferences`): the service rejects one without it.
1252
+ *
1251
1253
  * None of the stateOfChargeInkWh values from such an object may equal any other stateOfChargeInkWh of an object.
1252
1254
  * maxPowerInkW must be larger than zero.
1253
1255
  */