@rnmapbox/maps 10.2.1 → 10.2.2

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.
@@ -466,7 +466,7 @@ open class RNMBXMapView: UIView, RCTInvalidating {
466
466
  func applyPreferredFramesPerSecond() {
467
467
  if let value = preferredFramesPerSecond {
468
468
  if #available(iOS 15.0, *) {
469
- self.mapView.preferredFrameRateRange = CAFrameRateRange(minimum: 1, maximum: Float(value))
469
+ self.mapView.preferredFrameRateRange = CAFrameRateRange(minimum: 1, maximum: Float(value), preferred: Float(value))
470
470
  } else {
471
471
  self.mapView.preferredFramesPerSecond = value
472
472
  }
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@rnmapbox/maps",
3
- "version": "10.2.1",
3
+ "version": "10.2.2",
4
4
  "description": "Community-supported, open-source React Native library for building maps using Mapbox native maps SDK for iOS and Android",
5
5
  "main": "./lib/module/index.js",
6
- "types": "./lib/typescript/src/index.d.ts",
6
+ "types": "./lib/typescript/src/index.native.d.ts",
7
7
  "exports": {
8
8
  ".": {
9
9
  "source": "./src/index.ts",
10
- "types": "./lib/typescript/src/index.d.ts",
10
+ "types": "./lib/typescript/src/index.native.d.ts",
11
11
  "default": "./lib/module/index.js"
12
12
  },
13
13
  "./package.json": "./package.json",