@hot-updater/supabase 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 +5 -5
package/dist/iac/index.cjs
CHANGED
|
@@ -6450,16 +6450,16 @@ const getConfigTemplate = (build) => {
|
|
|
6450
6450
|
}).getResult();
|
|
6451
6451
|
};
|
|
6452
6452
|
const SOURCE_TEMPLATE = `// add this to your App.tsx
|
|
6453
|
-
import { HotUpdater
|
|
6453
|
+
import { HotUpdater } from "@hot-updater/react-native";
|
|
6454
6454
|
|
|
6455
6455
|
function App() {
|
|
6456
6456
|
return ...
|
|
6457
6457
|
}
|
|
6458
6458
|
|
|
6459
6459
|
export default HotUpdater.wrap({
|
|
6460
|
-
|
|
6461
|
-
|
|
6462
|
-
|
|
6460
|
+
baseURL: "%%source%%",
|
|
6461
|
+
updateStrategy: "appVersion", // or "fingerprint"
|
|
6462
|
+
updateMode: "auto",
|
|
6463
6463
|
})(App);`;
|
|
6464
6464
|
const SUPABASE_CONFIG_TEMPLATE = `
|
|
6465
6465
|
project_id = "%%projectId%%"
|
package/dist/iac/index.js
CHANGED
|
@@ -6433,16 +6433,16 @@ const getConfigTemplate = (build) => {
|
|
|
6433
6433
|
}).getResult();
|
|
6434
6434
|
};
|
|
6435
6435
|
const SOURCE_TEMPLATE = `// add this to your App.tsx
|
|
6436
|
-
import { HotUpdater
|
|
6436
|
+
import { HotUpdater } from "@hot-updater/react-native";
|
|
6437
6437
|
|
|
6438
6438
|
function App() {
|
|
6439
6439
|
return ...
|
|
6440
6440
|
}
|
|
6441
6441
|
|
|
6442
6442
|
export default HotUpdater.wrap({
|
|
6443
|
-
|
|
6444
|
-
|
|
6445
|
-
|
|
6443
|
+
baseURL: "%%source%%",
|
|
6444
|
+
updateStrategy: "appVersion", // or "fingerprint"
|
|
6445
|
+
updateMode: "auto",
|
|
6446
6446
|
})(App);`;
|
|
6447
6447
|
const SUPABASE_CONFIG_TEMPLATE = `
|
|
6448
6448
|
project_id = "%%projectId%%"
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hot-updater/supabase",
|
|
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",
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
],
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@supabase/supabase-js": "^2.76.1",
|
|
44
|
-
"@hot-updater/core": "0.
|
|
45
|
-
"@hot-updater/plugin-core": "0.
|
|
46
|
-
"@hot-updater/cli-tools": "0.
|
|
44
|
+
"@hot-updater/core": "0.24.1",
|
|
45
|
+
"@hot-updater/plugin-core": "0.24.1",
|
|
46
|
+
"@hot-updater/cli-tools": "0.24.1"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"dayjs": "^1.11.13",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"execa": "9.5.2",
|
|
52
52
|
"@types/node": "^20",
|
|
53
53
|
"mime": "^4.0.4",
|
|
54
|
-
"@hot-updater/postgres": "0.
|
|
54
|
+
"@hot-updater/postgres": "0.24.1"
|
|
55
55
|
},
|
|
56
56
|
"scripts": {
|
|
57
57
|
"build": "tsdown",
|