@zintrust/cloudflare-d1-proxy 0.7.9 → 0.8.0

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.
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@zintrust/cloudflare-d1-proxy",
3
- "version": "0.7.9",
4
- "buildDate": "2026-04-20T20:59:39.877Z",
3
+ "version": "0.8.0",
4
+ "buildDate": "2026-04-21T06:22:58.137Z",
5
5
  "buildEnvironment": {
6
- "node": "v22.22.1",
7
- "platform": "darwin",
8
- "arch": "arm64"
6
+ "node": "v20.20.2",
7
+ "platform": "linux",
8
+ "arch": "x64"
9
9
  },
10
10
  "git": {
11
- "commit": "e04d1cae",
12
- "branch": "release"
11
+ "commit": "33bd67e0",
12
+ "branch": "master"
13
13
  },
14
14
  "package": {
15
15
  "engines": {
@@ -29,17 +29,13 @@
29
29
  "size": 5398,
30
30
  "sha256": "5be1bc4b1ad88b1980c28e5ca45c1e564f44466bd5d0cda8bc07403031ce87a1"
31
31
  },
32
- "build-manifest.json": {
33
- "size": 1112,
34
- "sha256": "7ab95afeeaab1ef9f3e3b9c01f6d63ab79302145c4b739ab69138fc7bb1299ec"
35
- },
36
32
  "index.d.ts": {
37
33
  "size": 1510,
38
34
  "sha256": "d67887da027057cab5a12e732cacd3b8c014c9ff5067734d82d946304c5f8cf5"
39
35
  },
40
36
  "index.js": {
41
37
  "size": 14083,
42
- "sha256": "68851c99815f0fb331c75eae2f90b5f057eb84ca719211812378e9f837905316"
38
+ "sha256": "6efd78cc682de530a933a2fdaf21954bd22e1dd3302373d5a094097689b15f0a"
43
39
  }
44
40
  }
45
41
  }
package/dist/index.js CHANGED
@@ -1,14 +1,3 @@
1
- /**
2
- * @zintrust/cloudflare-d1-proxy v0.7.9
3
- *
4
- * Cloudflare D1 proxy package for ZinTrust.
5
- *
6
- * Build Information:
7
- * Built: 2026-04-20T20:59:39.807Z
8
- * Node: >=20.0.0
9
- * License: MIT
10
- *
11
- */
12
1
  import { ErrorHandler, RequestValidator, SigningService } from '@zintrust/core/proxy';
13
2
  const DEFAULT_SIGNING_WINDOW_MS = 60_000;
14
3
  const DEFAULT_MAX_BODY_BYTES = 128 * 1024;
@@ -374,7 +363,7 @@ const handleStatement = async (request, env) => {
374
363
  };
375
364
  export const ZintrustD1Proxy = Object.freeze({
376
365
  _ZINTRUST_CLOUDFLARE_D1_PROXY_VERSION: '0.1.15',
377
- _ZINTRUST_CLOUDFLARE_D1_PROXY_BUILD_DATE: '2026-04-20T20:59:39.840Z',
366
+ _ZINTRUST_CLOUDFLARE_D1_PROXY_BUILD_DATE: '__BUILD_DATE__',
378
367
  async fetch(request, env) {
379
368
  const url = new URL(request.url);
380
369
  const methodError = RequestValidator.requirePost(request.method);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zintrust/cloudflare-d1-proxy",
3
- "version": "0.7.9",
3
+ "version": "0.8.0",
4
4
  "description": "Cloudflare D1 proxy package for ZinTrust.",
5
5
  "type": "module",
6
6
  "private": false,
@@ -20,7 +20,7 @@
20
20
  "access": "public"
21
21
  },
22
22
  "peerDependencies": {
23
- "@zintrust/core": "^0.7.9"
23
+ "@zintrust/core": "^0.8.0"
24
24
  },
25
25
  "keywords": [
26
26
  "zintrust",
@@ -31,6 +31,7 @@
31
31
  ],
32
32
  "scripts": {
33
33
  "build": "tsc -p tsconfig.json && tsc-alias -p tsconfig.json",
34
+ "prepublishOnly": "npm run build",
34
35
  "type-check": "tsc -p tsconfig.json --noEmit"
35
36
  }
36
37
  }