@hot-updater/react-native 0.6.3 → 0.6.5
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/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +3 -3
- package/src/index.ts +2 -2
- package/src/native.ts +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { checkForUpdate } from "./checkUpdate";
|
|
2
2
|
import { wrap } from "./wrap";
|
|
3
|
-
export type
|
|
4
|
-
export type
|
|
3
|
+
export type { HotUpdaterConfig } from "./wrap";
|
|
4
|
+
export type { HotUpdaterEvent } from "./native";
|
|
5
5
|
export * from "./store";
|
|
6
6
|
export declare const HotUpdater: {
|
|
7
7
|
wrap: typeof wrap;
|
package/dist/index.js
CHANGED
|
@@ -1664,9 +1664,9 @@ var __webpack_exports__ = {};
|
|
|
1664
1664
|
this.name = "HotUpdaterError";
|
|
1665
1665
|
}
|
|
1666
1666
|
}
|
|
1667
|
-
const
|
|
1667
|
+
const NIL_UUID = "00000000-0000-0000-0000-000000000000";
|
|
1668
1668
|
const HotUpdater = {
|
|
1669
|
-
HOT_UPDATER_BUNDLE_ID:
|
|
1669
|
+
HOT_UPDATER_BUNDLE_ID: NIL_UUID
|
|
1670
1670
|
};
|
|
1671
1671
|
const LINKING_ERROR = `The package '@hot-updater/react-native' doesn't seem to be linked. Make sure: \n\n` + external_react_native_.Platform.select({
|
|
1672
1672
|
ios: "- You have run 'pod install'\n",
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/*! For license information please see index.mjs.LICENSE.txt */
|
|
2
2
|
import * as __WEBPACK_EXTERNAL_MODULE_react_native_4af9217e__ from "react-native";
|
|
3
3
|
import * as __WEBPACK_EXTERNAL_MODULE__hot_updater_js_db235456__ from "@hot-updater/js";
|
|
4
|
-
import * as __WEBPACK_EXTERNAL_MODULE__hot_updater_core_132f924c__ from "@hot-updater/core";
|
|
5
4
|
var __webpack_modules__ = {
|
|
6
5
|
"../../node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react.development.js": function(module, exports, __webpack_require__) {
|
|
7
6
|
module = __webpack_require__.nmd(module);
|
|
@@ -1634,8 +1633,9 @@ class HotUpdaterError extends Error {
|
|
|
1634
1633
|
this.name = "HotUpdaterError";
|
|
1635
1634
|
}
|
|
1636
1635
|
}
|
|
1636
|
+
const NIL_UUID = "00000000-0000-0000-0000-000000000000";
|
|
1637
1637
|
const HotUpdater = {
|
|
1638
|
-
HOT_UPDATER_BUNDLE_ID:
|
|
1638
|
+
HOT_UPDATER_BUNDLE_ID: NIL_UUID
|
|
1639
1639
|
};
|
|
1640
1640
|
const LINKING_ERROR = `The package '@hot-updater/react-native' doesn't seem to be linked. Make sure: \n\n` + external_react_native_.Platform.select({
|
|
1641
1641
|
ios: "- You have run 'pod install'\n",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hot-updater/react-native",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.5",
|
|
4
4
|
"description": "React Native OTA solution for self-hosted",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -78,8 +78,8 @@
|
|
|
78
78
|
"react-native-builder-bob": "^0.33.1"
|
|
79
79
|
},
|
|
80
80
|
"dependencies": {
|
|
81
|
-
"@hot-updater/js": "0.6.
|
|
82
|
-
"@hot-updater/core": "0.6.
|
|
81
|
+
"@hot-updater/js": "0.6.5",
|
|
82
|
+
"@hot-updater/core": "0.6.5"
|
|
83
83
|
},
|
|
84
84
|
"scripts": {
|
|
85
85
|
"build": "rslib build",
|
package/src/index.ts
CHANGED
|
@@ -10,8 +10,8 @@ import { runUpdateProcess } from "./runUpdateProcess";
|
|
|
10
10
|
import { hotUpdaterStore } from "./store";
|
|
11
11
|
import { wrap } from "./wrap";
|
|
12
12
|
|
|
13
|
-
export type
|
|
14
|
-
export type
|
|
13
|
+
export type { HotUpdaterConfig } from "./wrap";
|
|
14
|
+
export type { HotUpdaterEvent } from "./native";
|
|
15
15
|
|
|
16
16
|
export * from "./store";
|
|
17
17
|
|
package/src/native.ts
CHANGED