@hot-updater/supabase 0.5.9 → 0.6.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/index.cjs CHANGED
@@ -3448,7 +3448,7 @@ const supabaseStorage = (config, hooks)=>(_)=>{
3448
3448
  contentType: ContentType
3449
3449
  });
3450
3450
  const fullPath = upload.data?.fullPath;
3451
- if (!fullPath) throw new Error("Upload Failed");
3451
+ if (!fullPath) throw new Error("Upload failed. The Supabase key might be incorrect. Please verify the key using the `hot-updater get-plugin-env` command.");
3452
3452
  hooks?.onStorageUploaded?.();
3453
3453
  const fileUrl = new URL(`storage/v1/object/public/${fullPath}`, config.supabaseUrl).toString();
3454
3454
  return {
package/dist/index.js CHANGED
@@ -3400,7 +3400,7 @@ const supabaseStorage = (config, hooks)=>(_)=>{
3400
3400
  contentType: ContentType
3401
3401
  });
3402
3402
  const fullPath = upload.data?.fullPath;
3403
- if (!fullPath) throw new Error("Upload Failed");
3403
+ if (!fullPath) throw new Error("Upload failed. The Supabase key might be incorrect. Please verify the key using the `hot-updater get-plugin-env` command.");
3404
3404
  hooks?.onStorageUploaded?.();
3405
3405
  const fileUrl = new URL(`storage/v1/object/public/${fullPath}`, config.supabaseUrl).toString();
3406
3406
  return {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hot-updater/supabase",
3
3
  "type": "module",
4
- "version": "0.5.9",
4
+ "version": "0.6.0",
5
5
  "description": "React Native OTA solution for self-hosted",
6
6
  "main": "dist/index.cjs",
7
7
  "module": "dist/index.js",
@@ -29,13 +29,13 @@
29
29
  "package.json"
30
30
  ],
31
31
  "dependencies": {
32
- "@hot-updater/core": "0.5.9",
33
- "@hot-updater/plugin-core": "0.5.9",
32
+ "@hot-updater/core": "0.6.0",
33
+ "@hot-updater/plugin-core": "0.6.0",
34
34
  "@supabase/supabase-js": "^2.47.10",
35
35
  "picocolors": "^1.0.0"
36
36
  },
37
37
  "devDependencies": {
38
- "@hot-updater/postgres": "0.5.9",
38
+ "@hot-updater/postgres": "0.6.0",
39
39
  "dayjs": "^1.11.13",
40
40
  "mime": "^4.0.4"
41
41
  },