@hot-updater/aws 0.23.1 → 0.24.1
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/iac/index.cjs +4 -4
- package/dist/iac/index.js +4 -4
- package/package.json +6 -6
package/dist/iac/index.cjs
CHANGED
|
@@ -7603,16 +7603,16 @@ const commonOptions = {
|
|
|
7603
7603
|
return new __hot_updater_cli_tools.ConfigBuilder().setBuildType(build).setStorage(storageConfig).setDatabase(databaseConfig).setIntermediateCode(intermediate).getResult();
|
|
7604
7604
|
};
|
|
7605
7605
|
const SOURCE_TEMPLATE = `// Add this to your App.tsx
|
|
7606
|
-
import { HotUpdater
|
|
7606
|
+
import { HotUpdater } from "@hot-updater/react-native";
|
|
7607
7607
|
|
|
7608
7608
|
function App() {
|
|
7609
7609
|
return ...;
|
|
7610
7610
|
}
|
|
7611
7611
|
|
|
7612
7612
|
export default HotUpdater.wrap({
|
|
7613
|
-
|
|
7614
|
-
|
|
7615
|
-
|
|
7613
|
+
baseURL: "%%source%%",
|
|
7614
|
+
updateStrategy: "appVersion", // or "fingerprint"
|
|
7615
|
+
updateMode: "auto",
|
|
7616
7616
|
})(App);`;
|
|
7617
7617
|
|
|
7618
7618
|
//#endregion
|
package/dist/iac/index.js
CHANGED
|
@@ -7577,16 +7577,16 @@ const commonOptions = {
|
|
|
7577
7577
|
return new ConfigBuilder().setBuildType(build).setStorage(storageConfig).setDatabase(databaseConfig).setIntermediateCode(intermediate).getResult();
|
|
7578
7578
|
};
|
|
7579
7579
|
const SOURCE_TEMPLATE = `// Add this to your App.tsx
|
|
7580
|
-
import { HotUpdater
|
|
7580
|
+
import { HotUpdater } from "@hot-updater/react-native";
|
|
7581
7581
|
|
|
7582
7582
|
function App() {
|
|
7583
7583
|
return ...;
|
|
7584
7584
|
}
|
|
7585
7585
|
|
|
7586
7586
|
export default HotUpdater.wrap({
|
|
7587
|
-
|
|
7588
|
-
|
|
7589
|
-
|
|
7587
|
+
baseURL: "%%source%%",
|
|
7588
|
+
updateStrategy: "appVersion", // or "fingerprint"
|
|
7589
|
+
updateMode: "auto",
|
|
7590
7590
|
})(App);`;
|
|
7591
7591
|
|
|
7592
7592
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hot-updater/aws",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.24.1",
|
|
5
5
|
"description": "React Native OTA solution for self-hosted",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
"execa": "9.5.2",
|
|
45
45
|
"hono": "^4.6.3",
|
|
46
46
|
"mime": "^4.0.4",
|
|
47
|
-
"@hot-updater/
|
|
48
|
-
"@hot-updater/js": "0.
|
|
49
|
-
"@hot-updater/
|
|
47
|
+
"@hot-updater/test-utils": "0.24.1",
|
|
48
|
+
"@hot-updater/js": "0.24.1",
|
|
49
|
+
"@hot-updater/core": "0.24.1"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"@aws-sdk/client-cloudfront": "3.772.0",
|
|
@@ -59,8 +59,8 @@
|
|
|
59
59
|
"@aws-sdk/credential-providers": "3.772.0",
|
|
60
60
|
"@aws-sdk/lib-storage": "3.772.0",
|
|
61
61
|
"aws-lambda": "1.0.7",
|
|
62
|
-
"@hot-updater/cli-tools": "0.
|
|
63
|
-
"@hot-updater/plugin-core": "0.
|
|
62
|
+
"@hot-updater/cli-tools": "0.24.1",
|
|
63
|
+
"@hot-updater/plugin-core": "0.24.1"
|
|
64
64
|
},
|
|
65
65
|
"scripts": {
|
|
66
66
|
"build": "tsdown",
|