@tomtom-org/maps-sdk 0.30.2 → 0.31.1

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
@@ -2,6 +2,20 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [0.31.0](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.30.2...v0.31.0) (2025-11-11)
6
+
7
+
8
+ ### Features
9
+
10
+ * improve places module configuration and examples ([674ee83](https://github.com/tomtom-internal/maps-sdk-js/commit/674ee83599ce59751e3183b9b3e00569e52cbfd3))
11
+ * sdk automatically loads MapLibre CSS if not done by the caller ([626a597](https://github.com/tomtom-internal/maps-sdk-js/commit/626a59751c468c6d5deb02ce34779c348ec868f2))
12
+ * upgrade to new map style with new traffic incident icons ([1b228b5](https://github.com/tomtom-internal/maps-sdk-js/commit/1b228b586a59232765d4c33c05b8b334d5246416))
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * search exports and using typeahead true for fuzzy search examples ([8601314](https://github.com/tomtom-internal/maps-sdk-js/commit/8601314a4c1f40a364d713bda8e2e7806cf69baa))
18
+
5
19
  ## [0.30.2](https://github.com/tomtom-internal/maps-sdk-js/compare/v0.30.1...v0.30.2) (2025-11-06)
6
20
 
7
21
 
package/README.md CHANGED
@@ -17,8 +17,9 @@ to seamlessly integrate TomTom maps and services with convenient out-of-the-box
17
17
 
18
18
  ## ⚠️ Public Preview Notice
19
19
  We have released some capabilities in the Maps SDK under [Public Preview](https://docs.tomtom.com/legal/public-preview) to collect feedback from the community.
20
- While our goal is to keep the design of the interface stable, breaking changes may occur.
21
- We will do our utmost to communicate these breaking changes in advance, whenever possible.
20
+ - While our goal is to keep the design of the interface stable, breaking changes will occur, particularly in the earlier versions.
21
+ - The versions will follow a 0.MAJOR.MINOR pattern for the time being.
22
+ - Stay tuned with our release `CHANGELOG.md` files.
22
23
  <br/><br/>
23
24
 
24
25
  ## 🚀 Getting Started using npm
@@ -45,7 +46,7 @@ Explore comprehensive guides and interactive examples to get the most out of Map
45
46
  - **[API Reference](https://docs.tomtom.com/maps-sdk-js/reference/overview)** - Complete API documentation
46
47
 
47
48
  ### 📝 Latest Updates
48
- - **[Release Notes](https://docs.tomtom.com/maps-sdk-js/overview/release-notes)** - What's new and breaking changes
49
+ - **[Release Notes](https://docs.tomtom.com/maps-sdk-js/introduction/release-notes)** - What's new and breaking changes
49
50
  <br/><br/>
50
51
 
51
52
  ## 🌍 Where can you run it on?
@@ -154,6 +154,23 @@ const avoidableTypes = [
154
154
  "carTrains",
155
155
  "lowEmissionZones"
156
156
  ];
157
+ const trafficCategories = [
158
+ "jam",
159
+ "accident",
160
+ "roadworks",
161
+ "road-closed",
162
+ "narrow-lanes",
163
+ "danger",
164
+ "animals-on-road",
165
+ "broken-down-vehicle",
166
+ "lane-closed",
167
+ "wind",
168
+ "fog",
169
+ "rain",
170
+ "frost",
171
+ "flooding",
172
+ "other"
173
+ ];
157
174
  const inputSectionTypes = [
158
175
  "carTrain",
159
176
  "ferry",
@@ -273,7 +290,7 @@ const validateTrackingId = (trackingId) => {
273
290
  return trackingId;
274
291
  };
275
292
  const generateTomTomHeaders = (params) => ({
276
- "TomTom-User-Agent": `${TOMTOM_USER_AGENT_SDK_NAME}/${"0.30.2"}`,
293
+ "TomTom-User-Agent": `${TOMTOM_USER_AGENT_SDK_NAME}/${"0.31.1"}`,
277
294
  // TODO: restore if we implement oauth2 access
278
295
  // optional oauth2 access token:
279
296
  // ...(params.apiAccessToken && { Authorization: `Bearer ${params.apiAccessToken}` }),
@@ -508,5 +525,6 @@ exports.placeTypes = placeTypes;
508
525
  exports.plugTypes = plugTypes;
509
526
  exports.sectionTypes = sectionTypes;
510
527
  exports.toPointFeature = toPointFeature;
528
+ exports.trafficCategories = trafficCategories;
511
529
  exports.views = views;
512
530
  //# sourceMappingURL=core.cjs.js.map