react-native-steerpath-smart-map 1.17.7 → 1.17.8

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.
@@ -105,9 +105,9 @@ export var SmartMapView = forwardRef(function (props, ref) {
105
105
  latitude,
106
106
  longitude,
107
107
  zoomLevel,
108
- bearing !== null && bearing !== void 0 ? bearing : 0,
109
- pitch !== null && pitch !== void 0 ? pitch : 0,
110
- floorIndex !== null && floorIndex !== void 0 ? floorIndex : 0,
108
+ bearing,
109
+ pitch,
110
+ floorIndex,
111
111
  buildingRef,
112
112
  ]);
113
113
  },
@@ -167,9 +167,9 @@ export var SmartMapView = forwardRef(function (props, ref) {
167
167
  latitude,
168
168
  longitude,
169
169
  zoomLevel,
170
- bearing !== null && bearing !== void 0 ? bearing : 0,
171
- pitch !== null && pitch !== void 0 ? pitch : 0,
172
- floorIndex !== null && floorIndex !== void 0 ? floorIndex : 0,
170
+ bearing,
171
+ pitch,
172
+ floorIndex,
173
173
  buildingRef,
174
174
  ]);
175
175
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-native-steerpath-smart-map",
3
3
  "title": "React Native Steerpath Smart Map",
4
- "version": "1.17.7",
4
+ "version": "1.17.8",
5
5
  "description": "Steerpath SmartMapView for React Native",
6
6
  "main": "dist/index.js",
7
7
  "scripts": {
@@ -24,7 +24,7 @@
24
24
  "licenseFilename": "LICENSE",
25
25
  "readmeFilename": "README.md",
26
26
  "dependencies": {
27
- "steerpath-smart-sdk": "^2.2.4"
27
+ "steerpath-smart-sdk": "^2.2.5"
28
28
  },
29
29
  "peerDependencies": {
30
30
  "react": "^16.5.0",
@@ -166,9 +166,9 @@ export const SmartMapView = forwardRef<SmartMapViewMethods, SmartMapViewProps>(
166
166
  latitude,
167
167
  longitude,
168
168
  zoomLevel,
169
- bearing ?? 0,
170
- pitch ?? 0,
171
- floorIndex ?? 0,
169
+ bearing,
170
+ pitch,
171
+ floorIndex,
172
172
  buildingRef,
173
173
  ]);
174
174
  },
@@ -236,9 +236,9 @@ export const SmartMapView = forwardRef<SmartMapViewMethods, SmartMapViewProps>(
236
236
  latitude,
237
237
  longitude,
238
238
  zoomLevel,
239
- bearing ?? 0,
240
- pitch ?? 0,
241
- floorIndex ?? 0,
239
+ bearing,
240
+ pitch,
241
+ floorIndex,
242
242
  buildingRef,
243
243
  ]);
244
244
  },