@hot-updater/cloudflare 1.0.0-rc.38 → 1.0.0-rc.39
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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hot-updater/cloudflare",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.0-rc.
|
|
4
|
+
"version": "1.0.0-rc.39",
|
|
5
5
|
"description": "React Native OTA solution for self-hosted",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
7
7
|
"module": "dist/index.mjs",
|
|
@@ -56,10 +56,10 @@
|
|
|
56
56
|
"cloudflare": "4.2.0",
|
|
57
57
|
"hono": "4.12.34",
|
|
58
58
|
"uuidv7": "^1.0.2",
|
|
59
|
-
"@hot-updater/
|
|
60
|
-
"@hot-updater/protocol": "1.0.0-rc.
|
|
61
|
-
"@hot-updater/
|
|
62
|
-
"@hot-updater/
|
|
59
|
+
"@hot-updater/plugin-core": "1.0.0-rc.39",
|
|
60
|
+
"@hot-updater/protocol": "1.0.0-rc.39",
|
|
61
|
+
"@hot-updater/server": "1.0.0-rc.39",
|
|
62
|
+
"@hot-updater/cli-tools": "1.0.0-rc.39"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"@cloudflare/vitest-pool-workers": "0.13.0",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"vitest": "4.1.4",
|
|
76
76
|
"wrangler": "^4.69.0",
|
|
77
77
|
"xdg-app-paths": "^8.3.0",
|
|
78
|
-
"@hot-updater/test-utils": "1.0.0-rc.
|
|
78
|
+
"@hot-updater/test-utils": "1.0.0-rc.39"
|
|
79
79
|
},
|
|
80
80
|
"scripts": {
|
|
81
81
|
"build": "tsdown && pnpm build:worker",
|
package/worker/dist/README.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
This folder contains the built output assets for the worker "hot-updater" generated at 2026-10-
|
|
1
|
+
This folder contains the built output assets for the worker "hot-updater" generated at 2026-10-07T10:42:49.668Z.
|
package/worker/dist/index.js
CHANGED
|
@@ -4511,7 +4511,7 @@ var createSqlAdapter = /* @__PURE__ */ __name(({ executor, tablePrefix = "", max
|
|
|
4511
4511
|
}, "createSqlAdapter");
|
|
4512
4512
|
|
|
4513
4513
|
// ../../packages/server/dist/package.mjs
|
|
4514
|
-
var version = "1.0.0-rc.
|
|
4514
|
+
var version = "1.0.0-rc.39";
|
|
4515
4515
|
|
|
4516
4516
|
// ../../packages/server/dist/version.mjs
|
|
4517
4517
|
var HOT_UPDATER_SERVER_VERSION = version;
|
|
@@ -11178,13 +11178,18 @@ var countEvent = /* @__PURE__ */ __name((tx, event) => {
|
|
|
11178
11178
|
}, "countEvent");
|
|
11179
11179
|
var countOutcome = /* @__PURE__ */ __name((tx, event) => {
|
|
11180
11180
|
const shardBy = event.install_id;
|
|
11181
|
-
|
|
11181
|
+
const hour2 = /* @__PURE__ */ __name((type, bundleRef) => tx.aggregate("insights_outcomes", {
|
|
11182
11182
|
platform: event.platform,
|
|
11183
11183
|
channel: event.channel,
|
|
11184
|
-
type
|
|
11184
|
+
type,
|
|
11185
11185
|
bundle_ref: bundleRef,
|
|
11186
11186
|
bucket_start_ms: hourOf(event.received_at_ms)
|
|
11187
|
-
}, { events: 1 }, { shardBy });
|
|
11187
|
+
}, { events: 1 }, { shardBy }), "hour");
|
|
11188
|
+
for (const bundleRef of bundleRefsOf(event)) hour2(event.type, bundleRef);
|
|
11189
|
+
if (event.metadata.implied_download === true) hour2("UPDATE_DOWNLOADED", bundleRefOfFilter({
|
|
11190
|
+
type: "UPDATE_DOWNLOADED",
|
|
11191
|
+
toBundleId: event.type === "RECOVERED" ? event.from_bundle_id : event.to_bundle_id
|
|
11192
|
+
}));
|
|
11188
11193
|
tx.aggregate("insights_outcomes", {
|
|
11189
11194
|
...DAILY_EVENTS,
|
|
11190
11195
|
bucket_start_ms: dayOf(event.received_at_ms)
|