@abtnode/blocklet-services 1.16.40-beta-20250227-105359-45d058c9 → 1.16.40-beta-20250227-133316-292acf31
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/api/index.js +4 -1
- package/package.json +21 -21
package/api/index.js
CHANGED
|
@@ -279,6 +279,8 @@ module.exports = function createServer(node, serverOptions = {}) {
|
|
|
279
279
|
const whitelist = uniq([
|
|
280
280
|
'https://www.arcblock.io',
|
|
281
281
|
'https://www.didspaces.com',
|
|
282
|
+
'https://launcher.arcblock.io',
|
|
283
|
+
'https://launcher.staging.arcblock.io',
|
|
282
284
|
...(blocklet.settings.userSpaceHosts || []).map((x) => `https://${x}`),
|
|
283
285
|
]);
|
|
284
286
|
|
|
@@ -298,9 +300,10 @@ module.exports = function createServer(node, serverOptions = {}) {
|
|
|
298
300
|
defaultSrc: ["'self'"],
|
|
299
301
|
scriptSrc: ["'self'", isDev ? "'unsafe-inline'" : '', 'https://unpkg.com'].filter(Boolean),
|
|
300
302
|
styleSrc: ["'self'", "'unsafe-inline'", 'https:'],
|
|
301
|
-
imgSrc: ["'self'", 'data:', ...whitelist],
|
|
303
|
+
imgSrc: ["'self'", 'data:', 'blob:', ...whitelist],
|
|
302
304
|
connectSrc: [
|
|
303
305
|
"'self'",
|
|
306
|
+
'blob:',
|
|
304
307
|
'https://js.stripe.com',
|
|
305
308
|
'https://ipapi.co',
|
|
306
309
|
'https://api.simplesvg.com',
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.16.40-beta-20250227-
|
|
6
|
+
"version": "1.16.40-beta-20250227-133316-292acf31",
|
|
7
7
|
"description": "Provide unified services for every blocklet",
|
|
8
8
|
"main": "api/index.js",
|
|
9
9
|
"files": [
|
|
@@ -33,17 +33,17 @@
|
|
|
33
33
|
"author": "wangshijun <wangshijun2010@gmail.com> (http://github.com/wangshijun)",
|
|
34
34
|
"license": "Apache-2.0",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@abtnode/analytics": "1.16.40-beta-20250227-
|
|
37
|
-
"@abtnode/auth": "1.16.40-beta-20250227-
|
|
38
|
-
"@abtnode/client": "1.16.40-beta-20250227-
|
|
39
|
-
"@abtnode/connect-storage": "1.16.40-beta-20250227-
|
|
40
|
-
"@abtnode/constant": "1.16.40-beta-20250227-
|
|
41
|
-
"@abtnode/core": "1.16.40-beta-20250227-
|
|
42
|
-
"@abtnode/cron": "1.16.40-beta-20250227-
|
|
43
|
-
"@abtnode/logger": "1.16.40-beta-20250227-
|
|
44
|
-
"@abtnode/models": "1.16.40-beta-20250227-
|
|
45
|
-
"@abtnode/router-templates": "1.16.40-beta-20250227-
|
|
46
|
-
"@abtnode/util": "1.16.40-beta-20250227-
|
|
36
|
+
"@abtnode/analytics": "1.16.40-beta-20250227-133316-292acf31",
|
|
37
|
+
"@abtnode/auth": "1.16.40-beta-20250227-133316-292acf31",
|
|
38
|
+
"@abtnode/client": "1.16.40-beta-20250227-133316-292acf31",
|
|
39
|
+
"@abtnode/connect-storage": "1.16.40-beta-20250227-133316-292acf31",
|
|
40
|
+
"@abtnode/constant": "1.16.40-beta-20250227-133316-292acf31",
|
|
41
|
+
"@abtnode/core": "1.16.40-beta-20250227-133316-292acf31",
|
|
42
|
+
"@abtnode/cron": "1.16.40-beta-20250227-133316-292acf31",
|
|
43
|
+
"@abtnode/logger": "1.16.40-beta-20250227-133316-292acf31",
|
|
44
|
+
"@abtnode/models": "1.16.40-beta-20250227-133316-292acf31",
|
|
45
|
+
"@abtnode/router-templates": "1.16.40-beta-20250227-133316-292acf31",
|
|
46
|
+
"@abtnode/util": "1.16.40-beta-20250227-133316-292acf31",
|
|
47
47
|
"@arcblock/did": "^1.19.12",
|
|
48
48
|
"@arcblock/did-auth": "1.19.12",
|
|
49
49
|
"@arcblock/did-ext": "^1.19.12",
|
|
@@ -53,15 +53,15 @@
|
|
|
53
53
|
"@arcblock/jwt": "1.19.12",
|
|
54
54
|
"@arcblock/validator": "^1.19.12",
|
|
55
55
|
"@arcblock/ws": "1.19.12",
|
|
56
|
-
"@blocklet/constant": "1.16.40-beta-20250227-
|
|
56
|
+
"@blocklet/constant": "1.16.40-beta-20250227-133316-292acf31",
|
|
57
57
|
"@blocklet/did-space-js": "^1.0.21",
|
|
58
|
-
"@blocklet/env": "1.16.40-beta-20250227-
|
|
58
|
+
"@blocklet/env": "1.16.40-beta-20250227-133316-292acf31",
|
|
59
59
|
"@blocklet/form-builder": "^0.1.11",
|
|
60
60
|
"@blocklet/form-collector": "^0.1.8",
|
|
61
|
-
"@blocklet/images": "1.16.40-beta-20250227-
|
|
62
|
-
"@blocklet/js-sdk": "1.16.40-beta-20250227-
|
|
63
|
-
"@blocklet/meta": "1.16.40-beta-20250227-
|
|
64
|
-
"@blocklet/sdk": "1.16.40-beta-20250227-
|
|
61
|
+
"@blocklet/images": "1.16.40-beta-20250227-133316-292acf31",
|
|
62
|
+
"@blocklet/js-sdk": "1.16.40-beta-20250227-133316-292acf31",
|
|
63
|
+
"@blocklet/meta": "1.16.40-beta-20250227-133316-292acf31",
|
|
64
|
+
"@blocklet/sdk": "1.16.40-beta-20250227-133316-292acf31",
|
|
65
65
|
"@blocklet/uploader-server": "^0.1.85",
|
|
66
66
|
"@did-connect/authenticator": "^2.2.7",
|
|
67
67
|
"@did-connect/relay-adapter-express": "^2.2.7",
|
|
@@ -110,14 +110,14 @@
|
|
|
110
110
|
"whatwg-url": "14.0.0"
|
|
111
111
|
},
|
|
112
112
|
"devDependencies": {
|
|
113
|
-
"@abtnode/ux": "1.16.40-beta-20250227-
|
|
113
|
+
"@abtnode/ux": "1.16.40-beta-20250227-133316-292acf31",
|
|
114
114
|
"@arcblock/bridge": "^2.11.49",
|
|
115
115
|
"@arcblock/did-connect": "^2.11.49",
|
|
116
116
|
"@arcblock/icons": "^2.11.49",
|
|
117
117
|
"@arcblock/react-hooks": "^2.11.49",
|
|
118
118
|
"@arcblock/ux": "^2.11.49",
|
|
119
119
|
"@blocklet/launcher-layout": "^2.11.49",
|
|
120
|
-
"@blocklet/tracker": "1.16.40-beta-20250227-
|
|
120
|
+
"@blocklet/tracker": "1.16.40-beta-20250227-133316-292acf31",
|
|
121
121
|
"@blocklet/ui-react": "^2.11.49",
|
|
122
122
|
"@blocklet/uploader": "^0.1.71",
|
|
123
123
|
"@emotion/react": "^11.11.4",
|
|
@@ -195,5 +195,5 @@
|
|
|
195
195
|
"url": "https://github.com/ArcBlock/blocklet-server/issues",
|
|
196
196
|
"email": "shijun@arcblock.io"
|
|
197
197
|
},
|
|
198
|
-
"gitHead": "
|
|
198
|
+
"gitHead": "0a710dfeb2614ffbe3269620107aa6a8464c1d98"
|
|
199
199
|
}
|