mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-09-16 13:01:38 +08:00
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
ab9c40bf2e | ||
![]() |
d184beabaf |
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "react-native-update",
|
||||
"version": "10.1.1",
|
||||
"version": "10.1.2",
|
||||
"description": "react-native hot update",
|
||||
"main": "src/index.ts",
|
||||
"scripts": {
|
||||
|
@@ -12,7 +12,7 @@ export const defaultContext = {
|
||||
markSuccess: noop,
|
||||
dismissError: noop,
|
||||
downloadUpdate: asyncNoop,
|
||||
downloadAndInstallApk: noop,
|
||||
downloadAndInstallApk: asyncNoop,
|
||||
currentHash: '',
|
||||
packageVersion: '',
|
||||
};
|
||||
@@ -24,7 +24,7 @@ export const PushyContext = createContext<{
|
||||
markSuccess: () => void;
|
||||
dismissError: () => void;
|
||||
downloadUpdate: () => Promise<void>;
|
||||
downloadAndInstallApk: (url: string) => void;
|
||||
downloadAndInstallApk: (url: string) => Promise<void>;
|
||||
currentHash: string;
|
||||
packageVersion: string;
|
||||
client?: Pushy;
|
||||
|
Reference in New Issue
Block a user