@yarrow-uz/yarrow-map-web-sdk 1.0.45 → 1.0.47
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 +25 -0
- package/README.md +28 -1015
- package/dist/main.js +3 -4
- package/dist/maps/cache.d.ts +17 -0
- package/dist/maps/config.d.ts +18 -0
- package/dist/maps/events.d.ts +13 -0
- package/dist/maps/layers.d.ts +21 -0
- package/dist/maps/markers.d.ts +12 -0
- package/dist/maps/navigation.d.ts +15 -0
- package/dist/maps/routing/builder.d.ts +34 -0
- package/dist/maps/routing/helpers.d.ts +15 -0
- package/dist/maps/routing/renderer.d.ts +8 -0
- package/dist/maps/routing/types.d.ts +41 -0
- package/dist/maps/search.d.ts +23 -0
- package/dist/maps/styles.d.ts +29 -0
- package/dist/maps/types.d.ts +111 -0
- package/dist/maps/yarrow.d.ts +46 -127
- package/dist/maps/yarrowControls.d.ts +0 -1
- package/dist/module.js +3 -4
- package/dist/react/index.js +1 -1
- package/dist/react/useYarrowMap.d.ts +1 -0
- package/package.json +9 -9
- package/dist/yarrow.css +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,31 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project are documented in this file.
|
|
4
4
|
|
|
5
|
+
## [1.0.47] - 2026-04-14
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
- New `buildRoute()` method with customizable colors, widths, opacity, labels, and hover popups showing route duration and distance.
|
|
9
|
+
- `excludePoiLayer` config option (default: false).
|
|
10
|
+
- `enablePoiLayer()` and `disablePoiLayer()` runtime methods.
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
- Improved TypeScript strictness with explicit type annotations.
|
|
14
|
+
- Updated biome to v2.4.11 and rollup to v4.60.1.
|
|
15
|
+
- Added `"type": "module"` to package.json.
|
|
16
|
+
|
|
17
|
+
### Deprecated
|
|
18
|
+
- `buildRouteWithLabels()` - use `buildRoute()` instead.
|
|
19
|
+
- `buildMultiSegmentRouteWithLabels()` - use `buildRoute()` instead.
|
|
20
|
+
|
|
21
|
+
## [1.0.46] - 2026-04-06
|
|
22
|
+
|
|
23
|
+
### Changed
|
|
24
|
+
- Removed `axios` dependency and migrated to native `fetch` API for all HTTP requests.
|
|
25
|
+
- Replaced axios interceptor with `addApiKeyToUrl()` helper to append API key to request URLs.
|
|
26
|
+
|
|
27
|
+
### Added
|
|
28
|
+
- CSS injection implementation for improved style handling.
|
|
29
|
+
|
|
5
30
|
## [1.0.45] - 2026-03-12
|
|
6
31
|
|
|
7
32
|
### Changed
|