@hot-updater/supabase 0.31.1 → 0.31.3
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/edge.d.cts +1 -1
- package/dist/edge.d.mts +1 -1
- package/dist/iac/index.cjs +6 -6
- package/dist/iac/index.mjs +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +3 -4
- package/dist/index.d.mts +3 -4
- package/dist/{supabaseEdgeFunctionStorage-BRxGvt-r.d.mts → supabaseEdgeFunctionStorage-CXmcRBZ2.d.mts} +2 -3
- package/dist/{supabaseEdgeFunctionStorage-CU396KO3.d.cts → supabaseEdgeFunctionStorage-hkokSgXP.d.cts} +2 -3
- package/package.json +9 -9
package/dist/edge.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as supabaseEdgeFunctionDatabase, n as supabaseEdgeFunctionStorage } from "./supabaseEdgeFunctionStorage-
|
|
1
|
+
import { i as supabaseEdgeFunctionDatabase, n as supabaseEdgeFunctionStorage } from "./supabaseEdgeFunctionStorage-hkokSgXP.cjs";
|
|
2
2
|
export { supabaseEdgeFunctionDatabase, supabaseEdgeFunctionStorage };
|
package/dist/edge.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as supabaseEdgeFunctionDatabase, n as supabaseEdgeFunctionStorage } from "./supabaseEdgeFunctionStorage-
|
|
1
|
+
import { i as supabaseEdgeFunctionDatabase, n as supabaseEdgeFunctionStorage } from "./supabaseEdgeFunctionStorage-CXmcRBZ2.mjs";
|
|
2
2
|
export { supabaseEdgeFunctionDatabase, supabaseEdgeFunctionStorage };
|
package/dist/iac/index.cjs
CHANGED
|
@@ -6,7 +6,7 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
6
6
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
7
|
var __getProtoOf = Object.getPrototypeOf;
|
|
8
8
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
-
var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
9
|
+
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
10
10
|
var __copyProps = (to, from, except, desc) => {
|
|
11
11
|
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
12
12
|
key = keys[i];
|
|
@@ -23,21 +23,21 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
23
23
|
}) : target, mod));
|
|
24
24
|
//#endregion
|
|
25
25
|
let fs_promises = require("fs/promises");
|
|
26
|
-
fs_promises = __toESM(fs_promises);
|
|
26
|
+
fs_promises = __toESM(fs_promises, 1);
|
|
27
27
|
let node_module = require("node:module");
|
|
28
28
|
let path = require("path");
|
|
29
|
-
path = __toESM(path);
|
|
29
|
+
path = __toESM(path, 1);
|
|
30
30
|
let _hot_updater_cli_tools = require("@hot-updater/cli-tools");
|
|
31
31
|
let node_url = require("node:url");
|
|
32
32
|
let node_child_process = require("node:child_process");
|
|
33
33
|
let node_string_decoder = require("node:string_decoder");
|
|
34
34
|
let node_util = require("node:util");
|
|
35
35
|
let node_process = require("node:process");
|
|
36
|
-
node_process = __toESM(node_process);
|
|
36
|
+
node_process = __toESM(node_process, 1);
|
|
37
37
|
let node_tty = require("node:tty");
|
|
38
|
-
node_tty = __toESM(node_tty);
|
|
38
|
+
node_tty = __toESM(node_tty, 1);
|
|
39
39
|
let node_path = require("node:path");
|
|
40
|
-
node_path = __toESM(node_path);
|
|
40
|
+
node_path = __toESM(node_path, 1);
|
|
41
41
|
let node_timers_promises = require("node:timers/promises");
|
|
42
42
|
let node_os = require("node:os");
|
|
43
43
|
let node_events = require("node:events");
|
package/dist/iac/index.mjs
CHANGED
|
@@ -25,7 +25,7 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
25
25
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
26
26
|
var __getProtoOf = Object.getPrototypeOf;
|
|
27
27
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
28
|
-
var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
28
|
+
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
29
29
|
var __copyProps = (to, from, except, desc) => {
|
|
30
30
|
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
31
31
|
key = keys[i];
|
package/dist/index.cjs
CHANGED
|
@@ -25,9 +25,9 @@ const require_supabaseEdgeFunctionStorage = require("./supabaseEdgeFunctionStora
|
|
|
25
25
|
let _hot_updater_plugin_core = require("@hot-updater/plugin-core");
|
|
26
26
|
let _supabase_supabase_js = require("@supabase/supabase-js");
|
|
27
27
|
let fs_promises = require("fs/promises");
|
|
28
|
-
fs_promises = __toESM(fs_promises);
|
|
28
|
+
fs_promises = __toESM(fs_promises, 1);
|
|
29
29
|
let path = require("path");
|
|
30
|
-
path = __toESM(path);
|
|
30
|
+
path = __toESM(path, 1);
|
|
31
31
|
//#region src/supabaseStorage.ts
|
|
32
32
|
const supabaseStorage = (0, _hot_updater_plugin_core.createUniversalStoragePlugin)({
|
|
33
33
|
name: "supabaseStorage",
|
package/dist/index.d.cts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { i as supabaseEdgeFunctionDatabase, n as supabaseEdgeFunctionStorage, r as SupabaseEdgeFunctionDatabaseConfig, t as SupabaseEdgeFunctionStorageConfig } from "./supabaseEdgeFunctionStorage-
|
|
2
|
-
import * as _$_hot_updater_plugin_core0 from "@hot-updater/plugin-core";
|
|
1
|
+
import { i as supabaseEdgeFunctionDatabase, n as supabaseEdgeFunctionStorage, r as SupabaseEdgeFunctionDatabaseConfig, t as SupabaseEdgeFunctionStorageConfig } from "./supabaseEdgeFunctionStorage-hkokSgXP.cjs";
|
|
3
2
|
|
|
4
3
|
//#region src/supabaseDatabase.d.ts
|
|
5
4
|
interface SupabaseDatabaseConfig {
|
|
6
5
|
supabaseUrl: string;
|
|
7
6
|
supabaseAnonKey: string;
|
|
8
7
|
}
|
|
9
|
-
declare const supabaseDatabase: (config: SupabaseDatabaseConfig, hooks?:
|
|
8
|
+
declare const supabaseDatabase: (config: SupabaseDatabaseConfig, hooks?: import("@hot-updater/plugin-core").DatabasePluginHooks) => () => import("@hot-updater/plugin-core").DatabasePlugin<unknown>;
|
|
10
9
|
//#endregion
|
|
11
10
|
//#region src/supabaseStorage.d.ts
|
|
12
11
|
interface SupabaseStorageConfig {
|
|
@@ -18,6 +17,6 @@ interface SupabaseStorageConfig {
|
|
|
18
17
|
*/
|
|
19
18
|
basePath?: string;
|
|
20
19
|
}
|
|
21
|
-
declare const supabaseStorage: (config: SupabaseStorageConfig, hooks?:
|
|
20
|
+
declare const supabaseStorage: (config: SupabaseStorageConfig, hooks?: import("@hot-updater/plugin-core").StoragePluginHooks) => () => import("@hot-updater/plugin-core").UniversalStoragePlugin<unknown>;
|
|
22
21
|
//#endregion
|
|
23
22
|
export { SupabaseDatabaseConfig, SupabaseEdgeFunctionDatabaseConfig, SupabaseEdgeFunctionStorageConfig, SupabaseStorageConfig, supabaseDatabase, supabaseEdgeFunctionDatabase, supabaseEdgeFunctionStorage, supabaseStorage };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { i as supabaseEdgeFunctionDatabase, n as supabaseEdgeFunctionStorage, r as SupabaseEdgeFunctionDatabaseConfig, t as SupabaseEdgeFunctionStorageConfig } from "./supabaseEdgeFunctionStorage-
|
|
2
|
-
import * as _$_hot_updater_plugin_core0 from "@hot-updater/plugin-core";
|
|
1
|
+
import { i as supabaseEdgeFunctionDatabase, n as supabaseEdgeFunctionStorage, r as SupabaseEdgeFunctionDatabaseConfig, t as SupabaseEdgeFunctionStorageConfig } from "./supabaseEdgeFunctionStorage-CXmcRBZ2.mjs";
|
|
3
2
|
|
|
4
3
|
//#region src/supabaseDatabase.d.ts
|
|
5
4
|
interface SupabaseDatabaseConfig {
|
|
6
5
|
supabaseUrl: string;
|
|
7
6
|
supabaseAnonKey: string;
|
|
8
7
|
}
|
|
9
|
-
declare const supabaseDatabase: (config: SupabaseDatabaseConfig, hooks?:
|
|
8
|
+
declare const supabaseDatabase: (config: SupabaseDatabaseConfig, hooks?: import("@hot-updater/plugin-core").DatabasePluginHooks) => () => import("@hot-updater/plugin-core").DatabasePlugin<unknown>;
|
|
10
9
|
//#endregion
|
|
11
10
|
//#region src/supabaseStorage.d.ts
|
|
12
11
|
interface SupabaseStorageConfig {
|
|
@@ -18,6 +17,6 @@ interface SupabaseStorageConfig {
|
|
|
18
17
|
*/
|
|
19
18
|
basePath?: string;
|
|
20
19
|
}
|
|
21
|
-
declare const supabaseStorage: (config: SupabaseStorageConfig, hooks?:
|
|
20
|
+
declare const supabaseStorage: (config: SupabaseStorageConfig, hooks?: import("@hot-updater/plugin-core").StoragePluginHooks) => () => import("@hot-updater/plugin-core").UniversalStoragePlugin<unknown>;
|
|
22
21
|
//#endregion
|
|
23
22
|
export { SupabaseDatabaseConfig, SupabaseEdgeFunctionDatabaseConfig, SupabaseEdgeFunctionStorageConfig, SupabaseStorageConfig, supabaseDatabase, supabaseEdgeFunctionDatabase, supabaseEdgeFunctionStorage, supabaseStorage };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as _$_hot_updater_plugin_core0 from "@hot-updater/plugin-core";
|
|
2
1
|
import { DatabasePluginHooks } from "@hot-updater/plugin-core";
|
|
3
2
|
|
|
4
3
|
//#region src/supabaseEdgeFunctionDatabase.d.ts
|
|
@@ -6,7 +5,7 @@ interface SupabaseEdgeFunctionDatabaseConfig {
|
|
|
6
5
|
supabaseUrl: string;
|
|
7
6
|
supabaseServiceRoleKey: string;
|
|
8
7
|
}
|
|
9
|
-
declare const supabaseEdgeFunctionDatabase: (config: SupabaseEdgeFunctionDatabaseConfig, hooks?: DatabasePluginHooks) => () =>
|
|
8
|
+
declare const supabaseEdgeFunctionDatabase: (config: SupabaseEdgeFunctionDatabaseConfig, hooks?: DatabasePluginHooks) => () => import("@hot-updater/plugin-core").DatabasePlugin<unknown>;
|
|
10
9
|
//#endregion
|
|
11
10
|
//#region src/supabaseEdgeFunctionStorage.d.ts
|
|
12
11
|
interface SupabaseEdgeFunctionStorageConfig {
|
|
@@ -14,6 +13,6 @@ interface SupabaseEdgeFunctionStorageConfig {
|
|
|
14
13
|
supabaseServiceRoleKey: string;
|
|
15
14
|
signedUrlExpiresIn?: number;
|
|
16
15
|
}
|
|
17
|
-
declare const supabaseEdgeFunctionStorage: (config: SupabaseEdgeFunctionStorageConfig, hooks?:
|
|
16
|
+
declare const supabaseEdgeFunctionStorage: (config: SupabaseEdgeFunctionStorageConfig, hooks?: import("@hot-updater/plugin-core").StoragePluginHooks) => () => import("@hot-updater/plugin-core").RuntimeStoragePlugin<unknown>;
|
|
18
17
|
//#endregion
|
|
19
18
|
export { supabaseEdgeFunctionDatabase as i, supabaseEdgeFunctionStorage as n, SupabaseEdgeFunctionDatabaseConfig as r, SupabaseEdgeFunctionStorageConfig as t };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as _$_hot_updater_plugin_core0 from "@hot-updater/plugin-core";
|
|
2
1
|
import { DatabasePluginHooks } from "@hot-updater/plugin-core";
|
|
3
2
|
|
|
4
3
|
//#region src/supabaseEdgeFunctionDatabase.d.ts
|
|
@@ -6,7 +5,7 @@ interface SupabaseEdgeFunctionDatabaseConfig {
|
|
|
6
5
|
supabaseUrl: string;
|
|
7
6
|
supabaseServiceRoleKey: string;
|
|
8
7
|
}
|
|
9
|
-
declare const supabaseEdgeFunctionDatabase: (config: SupabaseEdgeFunctionDatabaseConfig, hooks?: DatabasePluginHooks) => () =>
|
|
8
|
+
declare const supabaseEdgeFunctionDatabase: (config: SupabaseEdgeFunctionDatabaseConfig, hooks?: DatabasePluginHooks) => () => import("@hot-updater/plugin-core").DatabasePlugin<unknown>;
|
|
10
9
|
//#endregion
|
|
11
10
|
//#region src/supabaseEdgeFunctionStorage.d.ts
|
|
12
11
|
interface SupabaseEdgeFunctionStorageConfig {
|
|
@@ -14,6 +13,6 @@ interface SupabaseEdgeFunctionStorageConfig {
|
|
|
14
13
|
supabaseServiceRoleKey: string;
|
|
15
14
|
signedUrlExpiresIn?: number;
|
|
16
15
|
}
|
|
17
|
-
declare const supabaseEdgeFunctionStorage: (config: SupabaseEdgeFunctionStorageConfig, hooks?:
|
|
16
|
+
declare const supabaseEdgeFunctionStorage: (config: SupabaseEdgeFunctionStorageConfig, hooks?: import("@hot-updater/plugin-core").StoragePluginHooks) => () => import("@hot-updater/plugin-core").RuntimeStoragePlugin<unknown>;
|
|
18
17
|
//#endregion
|
|
19
18
|
export { supabaseEdgeFunctionDatabase as i, supabaseEdgeFunctionStorage as n, SupabaseEdgeFunctionDatabaseConfig as r, SupabaseEdgeFunctionStorageConfig as t };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hot-updater/supabase",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.31.
|
|
4
|
+
"version": "0.31.3",
|
|
5
5
|
"description": "React Native OTA solution for self-hosted",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
7
7
|
"module": "dist/index.mjs",
|
|
@@ -47,10 +47,10 @@
|
|
|
47
47
|
"@supabase/supabase-js": "2.76.1",
|
|
48
48
|
"hono": "4.12.9",
|
|
49
49
|
"uuidv7": "^1.0.2",
|
|
50
|
-
"@hot-updater/core": "0.31.
|
|
51
|
-
"@hot-updater/cli-tools": "0.31.
|
|
52
|
-
"@hot-updater/server": "0.31.
|
|
53
|
-
"@hot-updater/plugin-core": "0.31.
|
|
50
|
+
"@hot-updater/core": "0.31.3",
|
|
51
|
+
"@hot-updater/cli-tools": "0.31.3",
|
|
52
|
+
"@hot-updater/server": "0.31.3",
|
|
53
|
+
"@hot-updater/plugin-core": "0.31.3"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@electric-sql/pglite": "0.2.17",
|
|
@@ -60,10 +60,10 @@
|
|
|
60
60
|
"execa": "9.5.2",
|
|
61
61
|
"@types/node": "^20",
|
|
62
62
|
"mime": "^4.0.4",
|
|
63
|
-
"@hot-updater/js": "0.31.
|
|
64
|
-
"@hot-updater/
|
|
65
|
-
"@hot-updater/
|
|
66
|
-
"@hot-updater/
|
|
63
|
+
"@hot-updater/js": "0.31.3",
|
|
64
|
+
"@hot-updater/test-utils": "0.31.3",
|
|
65
|
+
"@hot-updater/postgres": "0.31.3",
|
|
66
|
+
"@hot-updater/mock": "0.31.3"
|
|
67
67
|
},
|
|
68
68
|
"scripts": {
|
|
69
69
|
"build": "tsdown",
|