@abtnode/blocklet-services 1.16.25-beta-822a748c → 1.16.25-beta-023ec101

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.
@@ -244,13 +244,16 @@ function createConnectToDidSpacesForUserRoute(node) {
244
244
  }
245
245
 
246
246
  if (purpose === 'authorize-for-import') {
247
+ // @NOTE: 注意,我们不能使用 x-blocklet-did 获取当前的 componentDid, 而应该使用 x-blocklet-component-id(很坑的一个点就是 x-blocklet-component-id 在开发模式下等于 componentDid)
248
+ const [, componentDid] = request.headers['x-blocklet-component-id'].split('/');
249
+
247
250
  return handleOnAuthForImport({
248
251
  blocklet,
249
252
  claims,
250
253
  challenge,
251
254
  updateSession,
252
255
  extraParams,
253
- componentDid: request.headers['x-blocklet-did'],
256
+ componentDid,
254
257
  });
255
258
  }
256
259
 
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.16.25-beta-822a748c",
6
+ "version": "1.16.25-beta-023ec101",
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.25-beta-822a748c",
37
- "@abtnode/auth": "1.16.25-beta-822a748c",
38
- "@abtnode/client": "1.16.25-beta-822a748c",
39
- "@abtnode/connect-storage": "1.16.25-beta-822a748c",
40
- "@abtnode/constant": "1.16.25-beta-822a748c",
41
- "@abtnode/core": "1.16.25-beta-822a748c",
42
- "@abtnode/cron": "1.16.25-beta-822a748c",
43
- "@abtnode/logger": "1.16.25-beta-822a748c",
44
- "@abtnode/models": "1.16.25-beta-822a748c",
45
- "@abtnode/router-templates": "1.16.25-beta-822a748c",
46
- "@abtnode/util": "1.16.25-beta-822a748c",
36
+ "@abtnode/analytics": "1.16.25-beta-023ec101",
37
+ "@abtnode/auth": "1.16.25-beta-023ec101",
38
+ "@abtnode/client": "1.16.25-beta-023ec101",
39
+ "@abtnode/connect-storage": "1.16.25-beta-023ec101",
40
+ "@abtnode/constant": "1.16.25-beta-023ec101",
41
+ "@abtnode/core": "1.16.25-beta-023ec101",
42
+ "@abtnode/cron": "1.16.25-beta-023ec101",
43
+ "@abtnode/logger": "1.16.25-beta-023ec101",
44
+ "@abtnode/models": "1.16.25-beta-023ec101",
45
+ "@abtnode/router-templates": "1.16.25-beta-023ec101",
46
+ "@abtnode/util": "1.16.25-beta-023ec101",
47
47
  "@arcblock/did": "^1.18.113",
48
48
  "@arcblock/did-auth": "1.18.113",
49
49
  "@arcblock/did-ext": "^1.18.113",
@@ -52,11 +52,11 @@
52
52
  "@arcblock/jwt": "1.18.113",
53
53
  "@arcblock/validator": "^1.18.113",
54
54
  "@arcblock/ws": "1.18.113",
55
- "@blocklet/constant": "1.16.25-beta-822a748c",
55
+ "@blocklet/constant": "1.16.25-beta-023ec101",
56
56
  "@blocklet/form-builder": "^0.1.11",
57
57
  "@blocklet/form-collector": "^0.1.6",
58
- "@blocklet/meta": "1.16.25-beta-822a748c",
59
- "@blocklet/sdk": "1.16.25-beta-822a748c",
58
+ "@blocklet/meta": "1.16.25-beta-023ec101",
59
+ "@blocklet/sdk": "1.16.25-beta-023ec101",
60
60
  "@did-connect/authenticator": "^2.2.1",
61
61
  "@did-connect/relay-adapter-express": "^2.2.1",
62
62
  "@ocap/client": "1.18.113",
@@ -96,12 +96,12 @@
96
96
  },
97
97
  "resolutions": {},
98
98
  "devDependencies": {
99
- "@abtnode/ux": "1.16.25-beta-822a748c",
99
+ "@abtnode/ux": "1.16.25-beta-023ec101",
100
100
  "@arcblock/did-connect": "^2.9.60",
101
101
  "@arcblock/icons": "^2.9.60",
102
102
  "@arcblock/ux": "^2.9.60",
103
103
  "@blocklet/launcher-layout": "2.2.60",
104
- "@blocklet/tracker": "1.16.25-beta-822a748c",
104
+ "@blocklet/tracker": "1.16.25-beta-023ec101",
105
105
  "@blocklet/ui-react": "^2.9.60",
106
106
  "@emotion/react": "^11.11.3",
107
107
  "@emotion/styled": "^11.11.0",
@@ -174,5 +174,5 @@
174
174
  "url": "https://github.com/ArcBlock/blocklet-server/issues",
175
175
  "email": "shijun@arcblock.io"
176
176
  },
177
- "gitHead": "3be787b425f0bb4e4bd26a01b4d361ea44da7642"
177
+ "gitHead": "7e534f8dd1335f42897bf467e261f02bc7a59be0"
178
178
  }