react-native-maps 1.23.8 → 1.23.9
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/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"author": "Leland Richardson <leland.m.richardson@gmail.com>",
|
|
7
7
|
"homepage": "https://github.com/react-native-maps/react-native-maps#readme",
|
|
8
|
-
"version": "1.23.
|
|
8
|
+
"version": "1.23.9",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"lint": "eslint . --max-warnings 0",
|
|
@@ -73,6 +73,7 @@ export default function decorateMapComponent<Type extends Component>(
|
|
|
73
73
|
const getDefaultComponent = () =>
|
|
74
74
|
requireNativeComponent(getNativeComponentName(undefined, componentName));
|
|
75
75
|
|
|
76
|
+
// @ts-ignore
|
|
76
77
|
Component.contextType = ProviderContext;
|
|
77
78
|
|
|
78
79
|
Component.prototype.getNativeComponent =
|
|
@@ -130,6 +131,7 @@ export default function decorateMapComponent<Type extends Component>(
|
|
|
130
131
|
throw new Error('react-native-maps: provider is not set');
|
|
131
132
|
}
|
|
132
133
|
|
|
134
|
+
// @ts-ignore
|
|
133
135
|
const providerInfo = providers[provider];
|
|
134
136
|
|
|
135
137
|
// quick fix. Previous code assumed android | ios
|