@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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hot-updater/cloudflare",
3
3
  "type": "module",
4
- "version": "1.2.0-rc.49",
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.49",
56
- "@hot-updater/protocol": "1.2.0-rc.49",
57
- "@hot-updater/plugin-core": "1.2.0-rc.49",
58
- "@hot-updater/server": "1.2.0-rc.49",
59
- "@hot-updater/storage-s3": "1.2.0-rc.49"
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.49"
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. Each statement of a batch is one query, a
49
- * Worker invocation allows 1,000 queries on the paid plan, and an op takes at
50
- * most two statements besides the batch's three.
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
 
@@ -1 +1 @@
1
- This folder contains the built output assets for the worker "hot-updater" generated at 2026-11-15T18:10:08.909Z.
1
+ This folder contains the built output assets for the worker "hot-updater" generated at 2026-11-20T17:49:09.553Z.