@hot-updater/cloudflare 1.2.0-rc.49 → 1.2.0-rc.50
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 +7 -7
- package/src/d1Executor.ts +4 -3
- package/worker/dist/README.md +1 -1
- package/worker/dist/index.js +391 -156
- package/worker/dist/index.js.map +4 -4
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hot-updater/cloudflare",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.2.0-rc.
|
|
4
|
+
"version": "1.2.0-rc.50",
|
|
5
5
|
"description": "React Native OTA solution for self-hosted",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
7
7
|
"module": "dist/index.mjs",
|
|
@@ -52,11 +52,11 @@
|
|
|
52
52
|
"cloudflare": "4.2.0",
|
|
53
53
|
"hono": "4.12.34",
|
|
54
54
|
"uuidv7": "^1.0.2",
|
|
55
|
-
"@hot-updater/cli-tools": "1.2.0-rc.
|
|
56
|
-
"@hot-updater/protocol": "1.2.0-rc.
|
|
57
|
-
"@hot-updater/
|
|
58
|
-
"@hot-updater/
|
|
59
|
-
"@hot-updater/storage-s3": "1.2.0-rc.
|
|
55
|
+
"@hot-updater/cli-tools": "1.2.0-rc.50",
|
|
56
|
+
"@hot-updater/protocol": "1.2.0-rc.50",
|
|
57
|
+
"@hot-updater/server": "1.2.0-rc.50",
|
|
58
|
+
"@hot-updater/plugin-core": "1.2.0-rc.50",
|
|
59
|
+
"@hot-updater/storage-s3": "1.2.0-rc.50"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@aws-sdk/client-s3": "3.1066.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.2.0-rc.
|
|
78
|
+
"@hot-updater/test-utils": "1.2.0-rc.50"
|
|
79
79
|
},
|
|
80
80
|
"scripts": {
|
|
81
81
|
"build": "tsdown && pnpm build:worker",
|
package/src/d1Executor.ts
CHANGED
|
@@ -45,9 +45,10 @@ const withSqliteCode = (error: unknown): unknown => {
|
|
|
45
45
|
};
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
|
-
* The most ops one write sends
|
|
49
|
-
*
|
|
50
|
-
*
|
|
48
|
+
* The most ops one write sends: one `batch` of at most two statements an op
|
|
49
|
+
* besides its three own, so at most 903 statements. A Worker counts a batch
|
|
50
|
+
* as one query against its invocation's queries, whatever statements it
|
|
51
|
+
* holds (D1's limits), so this bounds one batch, not an invocation.
|
|
51
52
|
*/
|
|
52
53
|
export const D1_MAX_OPS = 450;
|
|
53
54
|
|
package/worker/dist/README.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
This folder contains the built output assets for the worker "hot-updater" generated at 2026-11-
|
|
1
|
+
This folder contains the built output assets for the worker "hot-updater" generated at 2026-11-20T17:49:09.553Z.
|