@hot-updater/supabase 0.20.3 → 0.20.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/iac/index.cjs +3 -4
- package/dist/iac/index.js +3 -4
- package/dist/index.cjs +5 -8
- package/dist/index.js +5 -8
- package/package.json +4 -4
package/dist/iac/index.cjs
CHANGED
|
@@ -1832,7 +1832,6 @@ const fallbackSymbols = {
|
|
|
1832
1832
|
};
|
|
1833
1833
|
const shouldUseMain = isUnicodeSupported();
|
|
1834
1834
|
const figures = shouldUseMain ? mainSymbols : fallbackSymbols;
|
|
1835
|
-
var figures_default = figures;
|
|
1836
1835
|
const replacements = Object.entries(specialMainSymbols);
|
|
1837
1836
|
|
|
1838
1837
|
//#endregion
|
|
@@ -1914,8 +1913,8 @@ const defaultVerboseFunction = ({ type, message, timestamp, piped, commandId, re
|
|
|
1914
1913
|
const serializeTimestamp = (timestamp) => `${padField(timestamp.getHours(), 2)}:${padField(timestamp.getMinutes(), 2)}:${padField(timestamp.getSeconds(), 2)}.${padField(timestamp.getMilliseconds(), 3)}`;
|
|
1915
1914
|
const padField = (field, padding) => String(field).padStart(padding, "0");
|
|
1916
1915
|
const getFinalIcon = ({ failed, reject }) => {
|
|
1917
|
-
if (!failed) return
|
|
1918
|
-
return reject ?
|
|
1916
|
+
if (!failed) return figures.tick;
|
|
1917
|
+
return reject ? figures.cross : figures.warning;
|
|
1919
1918
|
};
|
|
1920
1919
|
const ICONS = {
|
|
1921
1920
|
command: ({ piped }) => piped ? "|" : "$",
|
|
@@ -7710,7 +7709,7 @@ function App() {
|
|
|
7710
7709
|
|
|
7711
7710
|
export default HotUpdater.wrap({
|
|
7712
7711
|
source: getUpdateSource("%%source%%", {
|
|
7713
|
-
updateStrategy: "
|
|
7712
|
+
updateStrategy: "appVersion", // or "fingerprint"
|
|
7714
7713
|
}),
|
|
7715
7714
|
})(App);`;
|
|
7716
7715
|
const SUPABASE_CONFIG_TEMPLATE = `
|
package/dist/iac/index.js
CHANGED
|
@@ -1835,7 +1835,6 @@ const fallbackSymbols = {
|
|
|
1835
1835
|
};
|
|
1836
1836
|
const shouldUseMain = isUnicodeSupported();
|
|
1837
1837
|
const figures = shouldUseMain ? mainSymbols : fallbackSymbols;
|
|
1838
|
-
var figures_default = figures;
|
|
1839
1838
|
const replacements = Object.entries(specialMainSymbols);
|
|
1840
1839
|
|
|
1841
1840
|
//#endregion
|
|
@@ -1917,8 +1916,8 @@ const defaultVerboseFunction = ({ type, message, timestamp, piped, commandId, re
|
|
|
1917
1916
|
const serializeTimestamp = (timestamp) => `${padField(timestamp.getHours(), 2)}:${padField(timestamp.getMinutes(), 2)}:${padField(timestamp.getSeconds(), 2)}.${padField(timestamp.getMilliseconds(), 3)}`;
|
|
1918
1917
|
const padField = (field, padding) => String(field).padStart(padding, "0");
|
|
1919
1918
|
const getFinalIcon = ({ failed, reject }) => {
|
|
1920
|
-
if (!failed) return
|
|
1921
|
-
return reject ?
|
|
1919
|
+
if (!failed) return figures.tick;
|
|
1920
|
+
return reject ? figures.cross : figures.warning;
|
|
1922
1921
|
};
|
|
1923
1922
|
const ICONS = {
|
|
1924
1923
|
command: ({ piped }) => piped ? "|" : "$",
|
|
@@ -7713,7 +7712,7 @@ function App() {
|
|
|
7713
7712
|
|
|
7714
7713
|
export default HotUpdater.wrap({
|
|
7715
7714
|
source: getUpdateSource("%%source%%", {
|
|
7716
|
-
updateStrategy: "
|
|
7715
|
+
updateStrategy: "appVersion", // or "fingerprint"
|
|
7717
7716
|
}),
|
|
7718
7717
|
})(App);`;
|
|
7719
7718
|
const SUPABASE_CONFIG_TEMPLATE = `
|
package/dist/index.cjs
CHANGED
|
@@ -119,7 +119,7 @@ const supabaseDatabase = (config, hooks) => (0, __hot_updater_plugin_core.create
|
|
|
119
119
|
|
|
120
120
|
//#endregion
|
|
121
121
|
//#region ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/types/other.js
|
|
122
|
-
const types
|
|
122
|
+
const types = {
|
|
123
123
|
"application/prs.cww": ["cww"],
|
|
124
124
|
"application/prs.xsf+xml": ["xsf"],
|
|
125
125
|
"application/vnd.1000minds.decision-model+xml": ["1km"],
|
|
@@ -930,12 +930,11 @@ const types$1 = {
|
|
|
930
930
|
"video/x-smv": ["smv"],
|
|
931
931
|
"x-conference/x-cooltalk": ["ice"]
|
|
932
932
|
};
|
|
933
|
-
Object.freeze(types
|
|
934
|
-
var other_default = types$1;
|
|
933
|
+
Object.freeze(types);
|
|
935
934
|
|
|
936
935
|
//#endregion
|
|
937
936
|
//#region ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/types/standard.js
|
|
938
|
-
const types = {
|
|
937
|
+
const types$1 = {
|
|
939
938
|
"application/andrew-inset": ["ez"],
|
|
940
939
|
"application/appinstaller": ["appinstaller"],
|
|
941
940
|
"application/applixware": ["aw"],
|
|
@@ -1377,8 +1376,7 @@ const types = {
|
|
|
1377
1376
|
"video/quicktime": ["qt", "mov"],
|
|
1378
1377
|
"video/webm": ["webm"]
|
|
1379
1378
|
};
|
|
1380
|
-
Object.freeze(types);
|
|
1381
|
-
var standard_default = types;
|
|
1379
|
+
Object.freeze(types$1);
|
|
1382
1380
|
|
|
1383
1381
|
//#endregion
|
|
1384
1382
|
//#region ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/src/Mime.js
|
|
@@ -1450,11 +1448,10 @@ var Mime = class {
|
|
|
1450
1448
|
}
|
|
1451
1449
|
};
|
|
1452
1450
|
_Mime_extensionToType = /* @__PURE__ */ new WeakMap(), _Mime_typeToExtension = /* @__PURE__ */ new WeakMap(), _Mime_typeToExtensions = /* @__PURE__ */ new WeakMap();
|
|
1453
|
-
var Mime_default = Mime;
|
|
1454
1451
|
|
|
1455
1452
|
//#endregion
|
|
1456
1453
|
//#region ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/src/index.js
|
|
1457
|
-
var src_default = new
|
|
1454
|
+
var src_default = new Mime(types$1, types)._freeze();
|
|
1458
1455
|
|
|
1459
1456
|
//#endregion
|
|
1460
1457
|
//#region src/supabaseStorage.ts
|
package/dist/index.js
CHANGED
|
@@ -96,7 +96,7 @@ const supabaseDatabase = (config, hooks) => createDatabasePlugin("supabaseDataba
|
|
|
96
96
|
|
|
97
97
|
//#endregion
|
|
98
98
|
//#region ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/types/other.js
|
|
99
|
-
const types
|
|
99
|
+
const types = {
|
|
100
100
|
"application/prs.cww": ["cww"],
|
|
101
101
|
"application/prs.xsf+xml": ["xsf"],
|
|
102
102
|
"application/vnd.1000minds.decision-model+xml": ["1km"],
|
|
@@ -907,12 +907,11 @@ const types$1 = {
|
|
|
907
907
|
"video/x-smv": ["smv"],
|
|
908
908
|
"x-conference/x-cooltalk": ["ice"]
|
|
909
909
|
};
|
|
910
|
-
Object.freeze(types
|
|
911
|
-
var other_default = types$1;
|
|
910
|
+
Object.freeze(types);
|
|
912
911
|
|
|
913
912
|
//#endregion
|
|
914
913
|
//#region ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/types/standard.js
|
|
915
|
-
const types = {
|
|
914
|
+
const types$1 = {
|
|
916
915
|
"application/andrew-inset": ["ez"],
|
|
917
916
|
"application/appinstaller": ["appinstaller"],
|
|
918
917
|
"application/applixware": ["aw"],
|
|
@@ -1354,8 +1353,7 @@ const types = {
|
|
|
1354
1353
|
"video/quicktime": ["qt", "mov"],
|
|
1355
1354
|
"video/webm": ["webm"]
|
|
1356
1355
|
};
|
|
1357
|
-
Object.freeze(types);
|
|
1358
|
-
var standard_default = types;
|
|
1356
|
+
Object.freeze(types$1);
|
|
1359
1357
|
|
|
1360
1358
|
//#endregion
|
|
1361
1359
|
//#region ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/src/Mime.js
|
|
@@ -1427,11 +1425,10 @@ var Mime = class {
|
|
|
1427
1425
|
}
|
|
1428
1426
|
};
|
|
1429
1427
|
_Mime_extensionToType = /* @__PURE__ */ new WeakMap(), _Mime_typeToExtension = /* @__PURE__ */ new WeakMap(), _Mime_typeToExtensions = /* @__PURE__ */ new WeakMap();
|
|
1430
|
-
var Mime_default = Mime;
|
|
1431
1428
|
|
|
1432
1429
|
//#endregion
|
|
1433
1430
|
//#region ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/src/index.js
|
|
1434
|
-
var src_default = new
|
|
1431
|
+
var src_default = new Mime(types$1, types)._freeze();
|
|
1435
1432
|
|
|
1436
1433
|
//#endregion
|
|
1437
1434
|
//#region src/supabaseStorage.ts
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hot-updater/supabase",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.20.
|
|
4
|
+
"version": "0.20.5",
|
|
5
5
|
"description": "React Native OTA solution for self-hosted",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@supabase/supabase-js": "^2.47.10",
|
|
43
|
-
"@hot-updater/core": "0.20.
|
|
44
|
-
"@hot-updater/plugin-core": "0.20.
|
|
43
|
+
"@hot-updater/core": "0.20.5",
|
|
44
|
+
"@hot-updater/plugin-core": "0.20.5"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@clack/prompts": "0.10.0",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"execa": "^9.5.2",
|
|
51
51
|
"mime": "^4.0.4",
|
|
52
52
|
"picocolors": "^1.0.0",
|
|
53
|
-
"@hot-updater/postgres": "0.20.
|
|
53
|
+
"@hot-updater/postgres": "0.20.5"
|
|
54
54
|
},
|
|
55
55
|
"scripts": {
|
|
56
56
|
"build": "tsdown",
|