@hot-updater/supabase 1.0.0-rc.46 → 1.0.0
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/init/index.cjs +1 -4
- package/dist/init/index.mjs +1 -4
- package/package.json +8 -8
package/dist/init/index.cjs
CHANGED
|
@@ -6555,10 +6555,7 @@ const supabaseApi = (supabaseUrl, supabaseServiceRoleKey) => {
|
|
|
6555
6555
|
const marker = await supabase.from(SUPABASE_SETTINGS_TABLE).select("value").eq("key", "schema.engine").maybeSingle();
|
|
6556
6556
|
if (!marker.error) return marker.data?.value === "1" ? "v1" : "incompatible";
|
|
6557
6557
|
if (!missing(marker.error.code)) throw marker.error;
|
|
6558
|
-
|
|
6559
|
-
if (!legacy.error) return "incompatible";
|
|
6560
|
-
if (missing(legacy.error.code)) return "fresh";
|
|
6561
|
-
throw legacy.error;
|
|
6558
|
+
return "fresh";
|
|
6562
6559
|
},
|
|
6563
6560
|
listBuckets: async () => {
|
|
6564
6561
|
const { data, error } = await supabase.storage.listBuckets();
|
package/dist/init/index.mjs
CHANGED
|
@@ -6550,10 +6550,7 @@ const supabaseApi = (supabaseUrl, supabaseServiceRoleKey) => {
|
|
|
6550
6550
|
const marker = await supabase.from(SUPABASE_SETTINGS_TABLE).select("value").eq("key", "schema.engine").maybeSingle();
|
|
6551
6551
|
if (!marker.error) return marker.data?.value === "1" ? "v1" : "incompatible";
|
|
6552
6552
|
if (!missing(marker.error.code)) throw marker.error;
|
|
6553
|
-
|
|
6554
|
-
if (!legacy.error) return "incompatible";
|
|
6555
|
-
if (missing(legacy.error.code)) return "fresh";
|
|
6556
|
-
throw legacy.error;
|
|
6553
|
+
return "fresh";
|
|
6557
6554
|
},
|
|
6558
6555
|
listBuckets: async () => {
|
|
6559
6556
|
const { data, error } = await supabase.storage.listBuckets();
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hot-updater/supabase",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.0
|
|
4
|
+
"version": "1.0.0",
|
|
5
5
|
"description": "React Native OTA solution for self-hosted",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
7
7
|
"module": "dist/index.mjs",
|
|
@@ -51,10 +51,10 @@
|
|
|
51
51
|
"@supabase/supabase-js": "2.76.1",
|
|
52
52
|
"hono": "4.12.34",
|
|
53
53
|
"uuidv7": "^1.0.2",
|
|
54
|
-
"@hot-updater/protocol": "1.0.0
|
|
55
|
-
"@hot-updater/plugin-core": "1.0.0
|
|
56
|
-
"@hot-updater/
|
|
57
|
-
"@hot-updater/
|
|
54
|
+
"@hot-updater/protocol": "1.0.0",
|
|
55
|
+
"@hot-updater/plugin-core": "1.0.0",
|
|
56
|
+
"@hot-updater/server": "1.0.0",
|
|
57
|
+
"@hot-updater/cli-tools": "1.0.0"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@electric-sql/pglite": "0.4.1",
|
|
@@ -64,9 +64,9 @@
|
|
|
64
64
|
"execa": "9.5.2",
|
|
65
65
|
"@types/node": "^20",
|
|
66
66
|
"mime": "^4.0.4",
|
|
67
|
-
"@hot-updater/mock": "1.0.0
|
|
68
|
-
"@hot-updater/
|
|
69
|
-
"@hot-updater/
|
|
67
|
+
"@hot-updater/mock": "1.0.0",
|
|
68
|
+
"@hot-updater/test-utils": "1.0.0",
|
|
69
|
+
"@hot-updater/postgres": "1.0.0"
|
|
70
70
|
},
|
|
71
71
|
"scripts": {
|
|
72
72
|
"build": "tsdown",
|