@hot-updater/supabase 1.0.0-rc.33 → 1.0.0-rc.34
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/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/{supabaseDatabase-BAhAhyKE.d.cts → supabaseDatabase-8UJoPfkM.d.cts} +0 -15
- package/dist/{supabaseDatabase-BAhAhyKE.d.mts → supabaseDatabase-8UJoPfkM.d.mts} +0 -15
- package/package.json +8 -8
- package/supabase/migrations/20260818000000_hot-updater_1.0.0.sql +1 -1
package/dist/edge.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as plugins, n as supabaseDatabase, t as SupabaseDatabaseConfig } from "./supabaseDatabase-
|
|
1
|
+
import { i as plugins, n as supabaseDatabase, t as SupabaseDatabaseConfig } from "./supabaseDatabase-8UJoPfkM.cjs";
|
|
2
2
|
import { StorageAdapterWith } from "@hot-updater/plugin-core";
|
|
3
3
|
//#region src/supabaseEdgeFunctionStorage.d.ts
|
|
4
4
|
interface SupabaseEdgeFunctionStorageConfig {
|
package/dist/edge.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as plugins, n as supabaseDatabase, t as SupabaseDatabaseConfig } from "./supabaseDatabase-
|
|
1
|
+
import { i as plugins, n as supabaseDatabase, t as SupabaseDatabaseConfig } from "./supabaseDatabase-8UJoPfkM.mjs";
|
|
2
2
|
import { StorageAdapterWith } from "@hot-updater/plugin-core";
|
|
3
3
|
//#region src/supabaseEdgeFunctionStorage.d.ts
|
|
4
4
|
interface SupabaseEdgeFunctionStorageConfig {
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as plugins, r as SupabaseServiceRoleConfig, t as SupabaseDatabaseConfig } from "./supabaseDatabase-
|
|
1
|
+
import { i as plugins, r as SupabaseServiceRoleConfig, t as SupabaseDatabaseConfig } from "./supabaseDatabase-8UJoPfkM.cjs";
|
|
2
2
|
import { StorageAdapterWith, ToolingDatabase } from "@hot-updater/plugin-core";
|
|
3
3
|
//#region src/supabaseMigration.d.ts
|
|
4
4
|
/**
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as plugins, r as SupabaseServiceRoleConfig, t as SupabaseDatabaseConfig } from "./supabaseDatabase-
|
|
1
|
+
import { i as plugins, r as SupabaseServiceRoleConfig, t as SupabaseDatabaseConfig } from "./supabaseDatabase-8UJoPfkM.mjs";
|
|
2
2
|
import { StorageAdapterWith, ToolingDatabase } from "@hot-updater/plugin-core";
|
|
3
3
|
//#region src/supabaseMigration.d.ts
|
|
4
4
|
/**
|
|
@@ -18,8 +18,6 @@ type BundleEventFailure = DatabaseJsonObject & {
|
|
|
18
18
|
readonly origin_code?: string;
|
|
19
19
|
readonly error_message?: string;
|
|
20
20
|
readonly error_stack?: string;
|
|
21
|
-
/** Android's `ApplicationExitInfo` reason for the process before this one. */
|
|
22
|
-
readonly previous_process_exit?: string;
|
|
23
21
|
};
|
|
24
22
|
type DatabaseHttpResponse = DatabaseJsonObject & {
|
|
25
23
|
readonly resource: "catalog" | "artifact";
|
|
@@ -42,8 +40,6 @@ type DatabaseBundleEventMetadata = DatabaseJsonObject & {
|
|
|
42
40
|
readonly delivery?: "patch" | "manifest" | "archive" | "unknown";
|
|
43
41
|
/** `UPDATE_DOWNLOADED`: a patch failed and the full files came instead. */
|
|
44
42
|
readonly patch_fallback?: boolean;
|
|
45
|
-
/** `RECOVERED`: Android's `ApplicationExitInfo` reason for the crashed process. */
|
|
46
|
-
readonly previous_process_exit?: string;
|
|
47
43
|
};
|
|
48
44
|
type BundleEventRowBase = {
|
|
49
45
|
readonly id: string;
|
|
@@ -272,17 +268,6 @@ interface InsightsUpdateFailures {
|
|
|
272
268
|
};
|
|
273
269
|
/** Over a time range: failures by stage and reason, most first. */
|
|
274
270
|
readonly breakdown?: readonly InsightsFailureBreakdown[];
|
|
275
|
-
/**
|
|
276
|
-
* Over a time range: failed launches, and the recoveries whose crashed
|
|
277
|
-
* process exited for a reason Android 11+ reported, by reason, most first.
|
|
278
|
-
*/
|
|
279
|
-
readonly recoveries?: {
|
|
280
|
-
readonly failedLaunches: number;
|
|
281
|
-
readonly byExitReason: readonly {
|
|
282
|
-
readonly exitReason: string;
|
|
283
|
-
readonly events: number;
|
|
284
|
-
}[];
|
|
285
|
-
};
|
|
286
271
|
}
|
|
287
272
|
//#endregion
|
|
288
273
|
//#region ../api-keys/dist/server/model.d.mts
|
|
@@ -18,8 +18,6 @@ type BundleEventFailure = DatabaseJsonObject & {
|
|
|
18
18
|
readonly origin_code?: string;
|
|
19
19
|
readonly error_message?: string;
|
|
20
20
|
readonly error_stack?: string;
|
|
21
|
-
/** Android's `ApplicationExitInfo` reason for the process before this one. */
|
|
22
|
-
readonly previous_process_exit?: string;
|
|
23
21
|
};
|
|
24
22
|
type DatabaseHttpResponse = DatabaseJsonObject & {
|
|
25
23
|
readonly resource: "catalog" | "artifact";
|
|
@@ -42,8 +40,6 @@ type DatabaseBundleEventMetadata = DatabaseJsonObject & {
|
|
|
42
40
|
readonly delivery?: "patch" | "manifest" | "archive" | "unknown";
|
|
43
41
|
/** `UPDATE_DOWNLOADED`: a patch failed and the full files came instead. */
|
|
44
42
|
readonly patch_fallback?: boolean;
|
|
45
|
-
/** `RECOVERED`: Android's `ApplicationExitInfo` reason for the crashed process. */
|
|
46
|
-
readonly previous_process_exit?: string;
|
|
47
43
|
};
|
|
48
44
|
type BundleEventRowBase = {
|
|
49
45
|
readonly id: string;
|
|
@@ -272,17 +268,6 @@ interface InsightsUpdateFailures {
|
|
|
272
268
|
};
|
|
273
269
|
/** Over a time range: failures by stage and reason, most first. */
|
|
274
270
|
readonly breakdown?: readonly InsightsFailureBreakdown[];
|
|
275
|
-
/**
|
|
276
|
-
* Over a time range: failed launches, and the recoveries whose crashed
|
|
277
|
-
* process exited for a reason Android 11+ reported, by reason, most first.
|
|
278
|
-
*/
|
|
279
|
-
readonly recoveries?: {
|
|
280
|
-
readonly failedLaunches: number;
|
|
281
|
-
readonly byExitReason: readonly {
|
|
282
|
-
readonly exitReason: string;
|
|
283
|
-
readonly events: number;
|
|
284
|
-
}[];
|
|
285
|
-
};
|
|
286
271
|
}
|
|
287
272
|
//#endregion
|
|
288
273
|
//#region ../api-keys/dist/server/model.d.mts
|
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-rc.
|
|
4
|
+
"version": "1.0.0-rc.34",
|
|
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-rc.
|
|
55
|
-
"@hot-updater/plugin-core": "1.0.0-rc.
|
|
56
|
-
"@hot-updater/cli-tools": "1.0.0-rc.
|
|
57
|
-
"@hot-updater/server": "1.0.0-rc.
|
|
54
|
+
"@hot-updater/protocol": "1.0.0-rc.30",
|
|
55
|
+
"@hot-updater/plugin-core": "1.0.0-rc.30",
|
|
56
|
+
"@hot-updater/cli-tools": "1.0.0-rc.34",
|
|
57
|
+
"@hot-updater/server": "1.0.0-rc.34"
|
|
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-rc.
|
|
68
|
-
"@hot-updater/test-utils": "1.0.0-rc.
|
|
69
|
-
"@hot-updater/postgres": "1.0.0-rc.
|
|
67
|
+
"@hot-updater/mock": "1.0.0-rc.30",
|
|
68
|
+
"@hot-updater/test-utils": "1.0.0-rc.32",
|
|
69
|
+
"@hot-updater/postgres": "1.0.0-rc.34"
|
|
70
70
|
},
|
|
71
71
|
"scripts": {
|
|
72
72
|
"build": "tsdown",
|
|
@@ -196,6 +196,6 @@ INSERT INTO "hot_updater_v1_private_hot_updater_settings" ("key", "value", "_v")
|
|
|
196
196
|
|
|
197
197
|
INSERT INTO "hot_updater_v1_private_hot_updater_settings" ("key", "value", "_v") VALUES ('schema.core', '1.0.0', 0) ON CONFLICT ("key") DO UPDATE SET "value" = excluded."value";
|
|
198
198
|
|
|
199
|
-
INSERT INTO "hot_updater_v1_private_hot_updater_settings" ("key", "value", "_v") VALUES ('schema.insights', '1.
|
|
199
|
+
INSERT INTO "hot_updater_v1_private_hot_updater_settings" ("key", "value", "_v") VALUES ('schema.insights', '1.0.0', 0) ON CONFLICT ("key") DO UPDATE SET "value" = excluded."value";
|
|
200
200
|
|
|
201
201
|
INSERT INTO "hot_updater_v1_private_hot_updater_settings" ("key", "value", "_v") VALUES ('schema.apiKeys', '1.0.0', 0) ON CONFLICT ("key") DO UPDATE SET "value" = excluded."value";
|