@hot-updater/react-native 0.21.6 → 0.21.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.
@@ -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/guide/hot-updater/wrap.html#fallback-component}
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/guide/hot-updater/wrap.html#onupdateprocesscompleted}
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/guide/hot-updater/wrap.html#fallback-component}
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/guide/hot-updater/wrap.html#onupdateprocesscompleted}
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.6",
3
+ "version": "0.21.8",
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,14 @@
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.6"
122
+ "hot-updater": "0.21.8"
123
123
  },
124
124
  "dependencies": {
125
125
  "use-sync-external-store": "1.5.0",
126
- "@hot-updater/core": "0.21.6",
127
- "@hot-updater/plugin-core": "0.21.6",
128
- "@hot-updater/js": "0.21.6"
126
+ "@hot-updater/cli-tools": "0.21.8",
127
+ "@hot-updater/core": "0.21.8",
128
+ "@hot-updater/plugin-core": "0.21.8",
129
+ "@hot-updater/js": "0.21.8"
129
130
  },
130
131
  "scripts": {
131
132
  "build": "bob build && tsc -p plugin/tsconfig.json",
@@ -39,7 +39,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
39
39
  return (mod && mod.__esModule) ? mod : { "default": mod };
40
40
  };
41
41
  Object.defineProperty(exports, "__esModule", { value: true });
42
- var plugin_core_1 = require("@hot-updater/plugin-core");
42
+ var cli_tools_1 = require("@hot-updater/cli-tools");
43
43
  var config_plugins_1 = require("expo/config-plugins");
44
44
  var hot_updater_1 = require("hot-updater");
45
45
  var package_json_1 = __importDefault(require("../../package.json"));
@@ -219,7 +219,7 @@ var withHotUpdaterConfigAsync = function (props) { return function (config) {
219
219
  switch (_a.label) {
220
220
  case 0:
221
221
  fingerprintHash = null;
222
- return [4 /*yield*/, (0, plugin_core_1.loadConfig)(null)];
222
+ return [4 /*yield*/, (0, cli_tools_1.loadConfig)(null)];
223
223
  case 1:
224
224
  config = _a.sent();
225
225
  if (!(config.updateStrategy !== "appVersion")) return [3 /*break*/, 3];
@@ -244,7 +244,7 @@ var withHotUpdaterConfigAsync = function (props) { return function (config) {
244
244
  switch (_a.label) {
245
245
  case 0:
246
246
  fingerprintHash = null;
247
- return [4 /*yield*/, (0, plugin_core_1.loadConfig)(null)];
247
+ return [4 /*yield*/, (0, cli_tools_1.loadConfig)(null)];
248
248
  case 1:
249
249
  config = _a.sent();
250
250
  if (!(config.updateStrategy !== "appVersion")) return [3 /*break*/, 3];
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/guide/hot-updater/wrap.html#fallback-component}
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/guide/hot-updater/wrap.html#onupdateprocesscompleted}
53
+ * @see {@link https://hot-updater.dev/docs/react-native-api/wrap#onupdateprocesscompleted}
54
54
  */
55
55
  onUpdateProcessCompleted?: (response: RunUpdateProcessResponse) => void;
56
56
  }