@hot-updater/react-native 0.21.6 → 0.21.7
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.
|
@@ -10,7 +10,7 @@ export interface HotUpdaterOptions extends CheckForUpdateOptions {
|
|
|
10
10
|
* When an update exists and the bundle is being downloaded, this component will block access
|
|
11
11
|
* to the entry point and show download progress.
|
|
12
12
|
*
|
|
13
|
-
* @see {@link https://hot-updater.dev/
|
|
13
|
+
* @see {@link https://hot-updater.dev/docs/react-native-api/wrap#fallback-component}
|
|
14
14
|
*
|
|
15
15
|
* ```tsx
|
|
16
16
|
* HotUpdater.wrap({
|
|
@@ -42,7 +42,7 @@ export interface HotUpdaterOptions extends CheckForUpdateOptions {
|
|
|
42
42
|
/**
|
|
43
43
|
* Callback function that is called when the update process is completed.
|
|
44
44
|
*
|
|
45
|
-
* @see {@link https://hot-updater.dev/
|
|
45
|
+
* @see {@link https://hot-updater.dev/docs/react-native-api/wrap#onupdateprocesscompleted}
|
|
46
46
|
*/
|
|
47
47
|
onUpdateProcessCompleted?: (response: RunUpdateProcessResponse) => void;
|
|
48
48
|
}
|
|
@@ -10,7 +10,7 @@ export interface HotUpdaterOptions extends CheckForUpdateOptions {
|
|
|
10
10
|
* When an update exists and the bundle is being downloaded, this component will block access
|
|
11
11
|
* to the entry point and show download progress.
|
|
12
12
|
*
|
|
13
|
-
* @see {@link https://hot-updater.dev/
|
|
13
|
+
* @see {@link https://hot-updater.dev/docs/react-native-api/wrap#fallback-component}
|
|
14
14
|
*
|
|
15
15
|
* ```tsx
|
|
16
16
|
* HotUpdater.wrap({
|
|
@@ -42,7 +42,7 @@ export interface HotUpdaterOptions extends CheckForUpdateOptions {
|
|
|
42
42
|
/**
|
|
43
43
|
* Callback function that is called when the update process is completed.
|
|
44
44
|
*
|
|
45
|
-
* @see {@link https://hot-updater.dev/
|
|
45
|
+
* @see {@link https://hot-updater.dev/docs/react-native-api/wrap#onupdateprocesscompleted}
|
|
46
46
|
*/
|
|
47
47
|
onUpdateProcessCompleted?: (response: RunUpdateProcessResponse) => void;
|
|
48
48
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hot-updater/react-native",
|
|
3
|
-
"version": "0.21.
|
|
3
|
+
"version": "0.21.7",
|
|
4
4
|
"description": "React Native OTA solution for self-hosted",
|
|
5
5
|
"main": "lib/commonjs/index",
|
|
6
6
|
"module": "lib/module/index",
|
|
@@ -119,13 +119,13 @@
|
|
|
119
119
|
"react-native": "0.79.1",
|
|
120
120
|
"react-native-builder-bob": "^0.40.10",
|
|
121
121
|
"typescript": "^5.8.3",
|
|
122
|
-
"hot-updater": "0.21.
|
|
122
|
+
"hot-updater": "0.21.7"
|
|
123
123
|
},
|
|
124
124
|
"dependencies": {
|
|
125
125
|
"use-sync-external-store": "1.5.0",
|
|
126
|
-
"@hot-updater/core": "0.21.
|
|
127
|
-
"@hot-updater/plugin-core": "0.21.
|
|
128
|
-
"@hot-updater/js": "0.21.
|
|
126
|
+
"@hot-updater/core": "0.21.7",
|
|
127
|
+
"@hot-updater/plugin-core": "0.21.7",
|
|
128
|
+
"@hot-updater/js": "0.21.7"
|
|
129
129
|
},
|
|
130
130
|
"scripts": {
|
|
131
131
|
"build": "bob build && tsc -p plugin/tsconfig.json",
|
package/src/wrap.tsx
CHANGED
|
@@ -18,7 +18,7 @@ export interface HotUpdaterOptions extends CheckForUpdateOptions {
|
|
|
18
18
|
* When an update exists and the bundle is being downloaded, this component will block access
|
|
19
19
|
* to the entry point and show download progress.
|
|
20
20
|
*
|
|
21
|
-
* @see {@link https://hot-updater.dev/
|
|
21
|
+
* @see {@link https://hot-updater.dev/docs/react-native-api/wrap#fallback-component}
|
|
22
22
|
*
|
|
23
23
|
* ```tsx
|
|
24
24
|
* HotUpdater.wrap({
|
|
@@ -50,7 +50,7 @@ export interface HotUpdaterOptions extends CheckForUpdateOptions {
|
|
|
50
50
|
/**
|
|
51
51
|
* Callback function that is called when the update process is completed.
|
|
52
52
|
*
|
|
53
|
-
* @see {@link https://hot-updater.dev/
|
|
53
|
+
* @see {@link https://hot-updater.dev/docs/react-native-api/wrap#onupdateprocesscompleted}
|
|
54
54
|
*/
|
|
55
55
|
onUpdateProcessCompleted?: (response: RunUpdateProcessResponse) => void;
|
|
56
56
|
}
|