@blocklet/sdk 1.16.52-beta-20250916-025146-35d976f4 → 1.16.52-beta-20250918-114058-f5efc10b

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.
@@ -72,6 +72,9 @@ function shouldGenerateToken(req) {
72
72
  * @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods
73
73
  */
74
74
  function shouldVerifyToken(req) {
75
+ if (req.path.includes('/mcp')) {
76
+ return false;
77
+ }
75
78
  return (['POST', 'PUT', 'PATCH', 'DELETE'].includes(req.method) &&
76
79
  !(0, isEmpty_1.default)(req.cookies['x-csrf-token']) &&
77
80
  !(0, wallet_1.isDidWalletConnect)(req.headers));
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.16.52-beta-20250916-025146-35d976f4",
6
+ "version": "1.16.52-beta-20250918-114058-f5efc10b",
7
7
  "description": "graphql client to read/write data on abt node",
8
8
  "main": "lib/index.js",
9
9
  "typings": "lib/index.d.ts",
@@ -27,19 +27,19 @@
27
27
  "author": "linchen1987 <linchen.1987@foxmail.com> (http://github.com/linchen1987)",
28
28
  "license": "Apache-2.0",
29
29
  "dependencies": {
30
- "@abtnode/constant": "1.16.52-beta-20250916-025146-35d976f4",
31
- "@abtnode/db-cache": "1.16.52-beta-20250916-025146-35d976f4",
32
- "@abtnode/util": "1.16.52-beta-20250916-025146-35d976f4",
30
+ "@abtnode/constant": "1.16.52-beta-20250918-114058-f5efc10b",
31
+ "@abtnode/db-cache": "1.16.52-beta-20250918-114058-f5efc10b",
32
+ "@abtnode/util": "1.16.52-beta-20250918-114058-f5efc10b",
33
33
  "@arcblock/did": "1.24.0",
34
34
  "@arcblock/did-connect-js": "1.24.0",
35
35
  "@arcblock/jwt": "1.24.0",
36
36
  "@arcblock/ws": "1.24.0",
37
- "@blocklet/constant": "1.16.52-beta-20250916-025146-35d976f4",
38
- "@blocklet/env": "1.16.52-beta-20250916-025146-35d976f4",
37
+ "@blocklet/constant": "1.16.52-beta-20250918-114058-f5efc10b",
38
+ "@blocklet/env": "1.16.52-beta-20250918-114058-f5efc10b",
39
39
  "@blocklet/error": "^0.2.5",
40
- "@blocklet/meta": "1.16.52-beta-20250916-025146-35d976f4",
41
- "@blocklet/server-js": "1.16.52-beta-20250916-025146-35d976f4",
42
- "@blocklet/theme": "^3.1.40",
40
+ "@blocklet/meta": "1.16.52-beta-20250918-114058-f5efc10b",
41
+ "@blocklet/server-js": "1.16.52-beta-20250918-114058-f5efc10b",
42
+ "@blocklet/theme": "^3.1.41",
43
43
  "@did-connect/authenticator": "^2.2.8",
44
44
  "@did-connect/handler": "^2.2.8",
45
45
  "@nedb/core": "^2.1.5",
@@ -85,5 +85,5 @@
85
85
  "ts-node": "^10.9.1",
86
86
  "typescript": "^5.6.3"
87
87
  },
88
- "gitHead": "a1a95bbc637d8954abcb3b2d675037ec309ad7e3"
88
+ "gitHead": "0ca3d74cc1b1c5e0f1b1ab8322c38db67d674392"
89
89
  }