We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac0b7cb commit 523f2c6Copy full SHA for 523f2c6
2 files changed
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "react-native-update",
3
- "version": "10.37.3",
+ "version": "10.37.4",
4
"description": "react-native hot update",
5
"main": "src/index",
6
"scripts": {
src/provider.tsx
@@ -162,7 +162,7 @@ export const UpdateProvider = ({
162
);
163
164
const checkUpdate = useCallback(
165
- async ({ extra }: { extra?: Record<string, any> } | undefined = {}) => {
+ async ({ extra }: { extra?: Partial<{ toHash: string }> } = {}) => {
166
const now = Date.now();
167
if (lastChecking.current && now - lastChecking.current < 1000) {
168
return;
0 commit comments