@rnmapbox/maps 10.0.0 → 10.0.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.
@@ -409,7 +409,7 @@ class RCTMGLOfflineModule(private val mReactContext: ReactApplicationContext) :
409
409
  "requiredResourceCount" to region.requiredResourceCount,
410
410
  "completedResourceCount" to region.completedResourceCount,
411
411
  "completedResourceSize" to region.completedResourceSize,
412
- "state" to (if (completed) TileRegionPackState.COMPLETE.rawValue else TileRegionPackState.UNKNOWN ),
412
+ "state" to (if (completed) TileRegionPackState.COMPLETE.rawValue else TileRegionPackState.UNKNOWN.rawValue ),
413
413
  "metadata" to metadataWithName.toString(),
414
414
  "bounds" to jsonBounds,
415
415
  );
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rnmapbox/maps",
3
3
  "description": "A Mapbox react native module for creating custom maps",
4
- "version": "10.0.0",
4
+ "version": "10.0.1",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },