@abtnode/util 1.16.53-beta-20251011-054719-4ed2f6b7 → 1.16.53-beta-20251013-005429-ca3b05de

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.
Files changed (2) hide show
  1. package/lib/security.js +1 -0
  2. package/package.json +6 -6
package/lib/security.js CHANGED
@@ -312,6 +312,7 @@ async function patchResponseHeader(rawConfig, { node, blocklet, trustedDomains =
312
312
  "'self'",
313
313
  // stripe 服务
314
314
  'https://js.stripe.com',
315
+ ...trustedDomains.filter(Boolean).map((x) => `http://${x}`),
315
316
  ]
316
317
  );
317
318
 
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.16.53-beta-20251011-054719-4ed2f6b7",
6
+ "version": "1.16.53-beta-20251013-005429-ca3b05de",
7
7
  "description": "ArcBlock's JavaScript utility",
8
8
  "main": "lib/index.js",
9
9
  "files": [
@@ -18,14 +18,14 @@
18
18
  "author": "polunzh <polunzh@gmail.com> (http://github.com/polunzh)",
19
19
  "license": "Apache-2.0",
20
20
  "dependencies": {
21
- "@abtnode/constant": "1.16.53-beta-20251011-054719-4ed2f6b7",
22
- "@abtnode/db-cache": "1.16.53-beta-20251011-054719-4ed2f6b7",
21
+ "@abtnode/constant": "1.16.53-beta-20251013-005429-ca3b05de",
22
+ "@abtnode/db-cache": "1.16.53-beta-20251013-005429-ca3b05de",
23
23
  "@arcblock/did": "1.25.6",
24
24
  "@arcblock/event-hub": "1.25.6",
25
25
  "@arcblock/pm2": "^6.0.12",
26
- "@blocklet/constant": "1.16.53-beta-20251011-054719-4ed2f6b7",
26
+ "@blocklet/constant": "1.16.53-beta-20251013-005429-ca3b05de",
27
27
  "@blocklet/error": "^0.2.5",
28
- "@blocklet/meta": "1.16.53-beta-20251011-054719-4ed2f6b7",
28
+ "@blocklet/meta": "1.16.53-beta-20251013-005429-ca3b05de",
29
29
  "@blocklet/xss": "^0.2.9",
30
30
  "@ocap/client": "1.25.6",
31
31
  "@ocap/mcrypto": "1.25.6",
@@ -91,5 +91,5 @@
91
91
  "fs-extra": "^11.2.0",
92
92
  "jest": "^29.7.0"
93
93
  },
94
- "gitHead": "26bebabf3b6e72db61ec6b48e679c37b3d5088fe"
94
+ "gitHead": "fa6cf9ee72911e51fb53cfbee9dfc0e781c60bd4"
95
95
  }