@yarrow-uz/rn-map-sdk 0.0.1 → 0.1.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/package.json +1 -1
package/CHANGELOG.md ADDED
@@ -0,0 +1,8 @@
1
+ # @yarrow-uz/rn-map-sdk
2
+
3
+ ## 0.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 45b65f6: Add the React Native SDK: `@yarrow-uz/rn-map-sdk` ships `YarrowMapView` (MapLibre Native with Yarrow styles), `RouteLayer` + `useYarrowRouting` for routing, `useYarrowSearch` for search, and an AsyncStorage user-token adapter. Core gains an exported `USER_TOKEN_STORAGE_KEY` and an optional `sdkType` argument on `trackDau` (the web SDK keeps reporting `javascript`); the web-sdk patch republishes the rebuilt bundle with that core.
8
+ - adf31db: Add offline region support: `YarrowOfflineManager` downloads MapLibre Native offline packs for a bounding box + zoom range (idempotent by name, resumable, typed error codes, tile-count/size estimation), `useYarrowOfflineRegions` exposes region state for offline settings screens, and ambient-cache sizing/invalidation is available on the manager. Regions are staleness-flagged via `maxAgeDays` and refreshed with native revalidation. Replaces the inert web-style `yarrowcache` behavior on native, where `addProtocol` does not exist.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yarrow-uz/rn-map-sdk",
3
- "version": "0.0.1",
3
+ "version": "0.1.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Yarrow Map SDK for React Native: interactive MapLibre maps, search and routing on iOS and Android.",