@hot-updater/supabase 0.21.9 → 0.21.11

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
@@ -121,7 +121,7 @@ const supabaseDatabase = (config, hooks) => (0, __hot_updater_plugin_core.create
121
121
 
122
122
  //#endregion
123
123
  //#region src/supabaseStorage.ts
124
- const supabaseStorage = (config, hooks) => (_) => {
124
+ const supabaseStorage = (config, hooks) => () => {
125
125
  const bucket = (0, __supabase_supabase_js.createClient)(config.supabaseUrl, config.supabaseAnonKey).storage.from(config.bucketName);
126
126
  const getStorageKey = (0, __hot_updater_plugin_core.createStorageKeyBuilder)(config.basePath);
127
127
  return {
package/dist/index.d.cts CHANGED
@@ -1,12 +1,12 @@
1
1
  import * as _hot_updater_plugin_core0 from "@hot-updater/plugin-core";
2
- import { BasePluginArgs, DatabasePluginHooks, StoragePlugin, StoragePluginHooks } from "@hot-updater/plugin-core";
2
+ import { DatabasePluginHooks, StoragePlugin, StoragePluginHooks } from "@hot-updater/plugin-core";
3
3
 
4
4
  //#region src/supabaseDatabase.d.ts
5
5
  interface SupabaseDatabaseConfig {
6
6
  supabaseUrl: string;
7
7
  supabaseAnonKey: string;
8
8
  }
9
- declare const supabaseDatabase: (config: SupabaseDatabaseConfig, hooks?: DatabasePluginHooks) => (options: _hot_updater_plugin_core0.BasePluginArgs) => _hot_updater_plugin_core0.DatabasePlugin;
9
+ declare const supabaseDatabase: (config: SupabaseDatabaseConfig, hooks?: DatabasePluginHooks) => () => _hot_updater_plugin_core0.DatabasePlugin;
10
10
  //#endregion
11
11
  //#region src/supabaseStorage.d.ts
12
12
  interface SupabaseStorageConfig {
@@ -18,6 +18,6 @@ interface SupabaseStorageConfig {
18
18
  */
19
19
  basePath?: string;
20
20
  }
21
- declare const supabaseStorage: (config: SupabaseStorageConfig, hooks?: StoragePluginHooks) => (_: BasePluginArgs) => StoragePlugin;
21
+ declare const supabaseStorage: (config: SupabaseStorageConfig, hooks?: StoragePluginHooks) => () => StoragePlugin;
22
22
  //#endregion
23
23
  export { SupabaseDatabaseConfig, SupabaseStorageConfig, supabaseDatabase, supabaseStorage };
package/dist/index.d.ts CHANGED
@@ -1,12 +1,12 @@
1
1
  import * as _hot_updater_plugin_core0 from "@hot-updater/plugin-core";
2
- import { BasePluginArgs, DatabasePluginHooks, StoragePlugin, StoragePluginHooks } from "@hot-updater/plugin-core";
2
+ import { DatabasePluginHooks, StoragePlugin, StoragePluginHooks } from "@hot-updater/plugin-core";
3
3
 
4
4
  //#region src/supabaseDatabase.d.ts
5
5
  interface SupabaseDatabaseConfig {
6
6
  supabaseUrl: string;
7
7
  supabaseAnonKey: string;
8
8
  }
9
- declare const supabaseDatabase: (config: SupabaseDatabaseConfig, hooks?: DatabasePluginHooks) => (options: _hot_updater_plugin_core0.BasePluginArgs) => _hot_updater_plugin_core0.DatabasePlugin;
9
+ declare const supabaseDatabase: (config: SupabaseDatabaseConfig, hooks?: DatabasePluginHooks) => () => _hot_updater_plugin_core0.DatabasePlugin;
10
10
  //#endregion
11
11
  //#region src/supabaseStorage.d.ts
12
12
  interface SupabaseStorageConfig {
@@ -18,6 +18,6 @@ interface SupabaseStorageConfig {
18
18
  */
19
19
  basePath?: string;
20
20
  }
21
- declare const supabaseStorage: (config: SupabaseStorageConfig, hooks?: StoragePluginHooks) => (_: BasePluginArgs) => StoragePlugin;
21
+ declare const supabaseStorage: (config: SupabaseStorageConfig, hooks?: StoragePluginHooks) => () => StoragePlugin;
22
22
  //#endregion
23
23
  export { SupabaseDatabaseConfig, SupabaseStorageConfig, supabaseDatabase, supabaseStorage };
package/dist/index.js CHANGED
@@ -94,7 +94,7 @@ const supabaseDatabase = (config, hooks) => createDatabasePlugin("supabaseDataba
94
94
 
95
95
  //#endregion
96
96
  //#region src/supabaseStorage.ts
97
- const supabaseStorage = (config, hooks) => (_) => {
97
+ const supabaseStorage = (config, hooks) => () => {
98
98
  const bucket = createClient(config.supabaseUrl, config.supabaseAnonKey).storage.from(config.bucketName);
99
99
  const getStorageKey = createStorageKeyBuilder(config.basePath);
100
100
  return {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hot-updater/supabase",
3
3
  "type": "module",
4
- "version": "0.21.9",
4
+ "version": "0.21.11",
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.21.9",
45
- "@hot-updater/plugin-core": "0.21.9",
46
- "@hot-updater/cli-tools": "0.21.9"
44
+ "@hot-updater/core": "0.21.11",
45
+ "@hot-updater/plugin-core": "0.21.11",
46
+ "@hot-updater/cli-tools": "0.21.11"
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.21.9"
54
+ "@hot-updater/postgres": "0.21.11"
55
55
  },
56
56
  "scripts": {
57
57
  "build": "tsdown",