@zintrust/cloudflare-kv-proxy 0.7.9 → 0.9.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-kv-proxy",
3
- "version": "0.7.9",
4
- "buildDate": "2026-04-20T20:59:45.308Z",
3
+ "version": "0.9.0",
4
+ "buildDate": "2026-04-21T11:56:19.673Z",
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": "7e043ee7",
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": "16ecf8e9daae610fd9d1fc8367fe00c315e3c93ffa9e79d6b884fbfb04213982"
35
- },
36
32
  "index.d.ts": {
37
33
  "size": 1352,
38
34
  "sha256": "549fb10f7f52c85ed38ee9f6627c43579b77b164f2791747b5daa760e50aab53"
39
35
  },
40
36
  "index.js": {
41
37
  "size": 12757,
42
- "sha256": "d2db5b641bc317c4296d81e90f72aa45d8fa460a2c94129f613cad3ee3aacdbd"
38
+ "sha256": "b8e1f4f05e5a560c9083442d5086f6bcab07816f2e66870ab88cbb780ffbc7df"
43
39
  }
44
40
  }
45
41
  }
package/dist/index.js CHANGED
@@ -1,14 +1,3 @@
1
- /**
2
- * @zintrust/cloudflare-kv-proxy v0.7.9
3
- *
4
- * Cloudflare KV proxy package for ZinTrust.
5
- *
6
- * Build Information:
7
- * Built: 2026-04-20T20:59:45.237Z
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;
@@ -312,7 +301,7 @@ const handleList = async (request, env) => {
312
301
  };
313
302
  export const ZintrustKvProxy = Object.freeze({
314
303
  _ZINTRUST_CLOUDFLARE_KV_PROXY_VERSION: '0.1.15',
315
- _ZINTRUST_CLOUDFLARE_KV_PROXY_BUILD_DATE: '2026-04-20T20:59:45.272Z',
304
+ _ZINTRUST_CLOUDFLARE_KV_PROXY_BUILD_DATE: '__BUILD_DATE__',
316
305
  async fetch(request, env) {
317
306
  const url = new URL(request.url);
318
307
  const methodError = RequestValidator.requirePost(request.method);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zintrust/cloudflare-kv-proxy",
3
- "version": "0.7.9",
3
+ "version": "0.9.0",
4
4
  "description": "Cloudflare KV 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.7.0 <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
  }