@abtnode/blocklet-services 1.16.33-beta-20241017-014141-ca47ab3d → 1.16.33-beta-20241018-093853-2efbcd5e

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.
@@ -138,7 +138,7 @@ module.exports = {
138
138
 
139
139
  const provider = sourceProvider || LOGIN_PROVIDER.WALLET;
140
140
 
141
- const memberSite = federated.sites.find((item) => item.appPid === appPid);
141
+ const memberSite = federated.sites.find((item) => item.appPid === appPid && item.isMaster === false);
142
142
  const postUser = pick(user, ['did', 'pk', 'fullName', 'locale', 'inviter', 'generation']);
143
143
  postUser.lastLoginAt = getRequestIP(req);
144
144
 
@@ -5,9 +5,9 @@ const loginWalletSchema = Joi.object({
5
5
  provider: LOGIN_PROVIDER.WALLET,
6
6
  did: Joi.DID().trim().required(),
7
7
  pk: Joi.string().required(),
8
- email: Joi.string().optional(),
9
- avatar: Joi.string().optional(),
10
- fullName: Joi.string().optional(),
8
+ email: Joi.string().optional().allow('').default(''),
9
+ avatar: Joi.string().optional().allow('').default(''),
10
+ fullName: Joi.string().optional().allow('').default(''),
11
11
  inviter: Joi.DID().trim().empty(null),
12
12
  }).empty(null);
13
13
 
@@ -15,8 +15,8 @@ const loginOAuthSchema = Joi.object({
15
15
  provider: Joi.string().allow(LOGIN_PROVIDER.AUTH0),
16
16
  id: Joi.string().required(),
17
17
  email: Joi.string().required(),
18
- avatar: Joi.string().optional(),
19
- fullName: Joi.string().optional(),
18
+ avatar: Joi.string().optional().allow('').default(''),
19
+ fullName: Joi.string().optional().allow('').default(''),
20
20
  inviter: Joi.DID().trim().empty(null),
21
21
  }).empty(null);
22
22
 
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.16.33-beta-20241017-014141-ca47ab3d",
6
+ "version": "1.16.33-beta-20241018-093853-2efbcd5e",
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.33-beta-20241017-014141-ca47ab3d",
37
- "@abtnode/auth": "1.16.33-beta-20241017-014141-ca47ab3d",
38
- "@abtnode/client": "1.16.33-beta-20241017-014141-ca47ab3d",
39
- "@abtnode/connect-storage": "1.16.33-beta-20241017-014141-ca47ab3d",
40
- "@abtnode/constant": "1.16.33-beta-20241017-014141-ca47ab3d",
41
- "@abtnode/core": "1.16.33-beta-20241017-014141-ca47ab3d",
42
- "@abtnode/cron": "1.16.33-beta-20241017-014141-ca47ab3d",
43
- "@abtnode/logger": "1.16.33-beta-20241017-014141-ca47ab3d",
44
- "@abtnode/models": "1.16.33-beta-20241017-014141-ca47ab3d",
45
- "@abtnode/router-templates": "1.16.33-beta-20241017-014141-ca47ab3d",
46
- "@abtnode/util": "1.16.33-beta-20241017-014141-ca47ab3d",
36
+ "@abtnode/analytics": "1.16.33-beta-20241018-093853-2efbcd5e",
37
+ "@abtnode/auth": "1.16.33-beta-20241018-093853-2efbcd5e",
38
+ "@abtnode/client": "1.16.33-beta-20241018-093853-2efbcd5e",
39
+ "@abtnode/connect-storage": "1.16.33-beta-20241018-093853-2efbcd5e",
40
+ "@abtnode/constant": "1.16.33-beta-20241018-093853-2efbcd5e",
41
+ "@abtnode/core": "1.16.33-beta-20241018-093853-2efbcd5e",
42
+ "@abtnode/cron": "1.16.33-beta-20241018-093853-2efbcd5e",
43
+ "@abtnode/logger": "1.16.33-beta-20241018-093853-2efbcd5e",
44
+ "@abtnode/models": "1.16.33-beta-20241018-093853-2efbcd5e",
45
+ "@abtnode/router-templates": "1.16.33-beta-20241018-093853-2efbcd5e",
46
+ "@abtnode/util": "1.16.33-beta-20241018-093853-2efbcd5e",
47
47
  "@arcblock/did": "^1.18.135",
48
48
  "@arcblock/did-auth": "1.18.135",
49
49
  "@arcblock/did-ext": "^1.18.135",
@@ -52,11 +52,11 @@
52
52
  "@arcblock/jwt": "1.18.135",
53
53
  "@arcblock/validator": "^1.18.135",
54
54
  "@arcblock/ws": "1.18.135",
55
- "@blocklet/constant": "1.16.33-beta-20241017-014141-ca47ab3d",
55
+ "@blocklet/constant": "1.16.33-beta-20241018-093853-2efbcd5e",
56
56
  "@blocklet/form-builder": "^0.1.11",
57
57
  "@blocklet/form-collector": "^0.1.8",
58
- "@blocklet/meta": "1.16.33-beta-20241017-014141-ca47ab3d",
59
- "@blocklet/sdk": "1.16.33-beta-20241017-014141-ca47ab3d",
58
+ "@blocklet/meta": "1.16.33-beta-20241018-093853-2efbcd5e",
59
+ "@blocklet/sdk": "1.16.33-beta-20241018-093853-2efbcd5e",
60
60
  "@did-connect/authenticator": "^2.2.4",
61
61
  "@did-connect/relay-adapter-express": "^2.2.4",
62
62
  "@ocap/client": "1.18.135",
@@ -102,14 +102,14 @@
102
102
  "minimatch": "9.0.4"
103
103
  },
104
104
  "devDependencies": {
105
- "@abtnode/ux": "1.16.33-beta-20241017-014141-ca47ab3d",
105
+ "@abtnode/ux": "1.16.33-beta-20241018-093853-2efbcd5e",
106
106
  "@arcblock/bridge": "^2.10.45",
107
107
  "@arcblock/did-connect": "^2.10.45",
108
108
  "@arcblock/icons": "^2.10.45",
109
109
  "@arcblock/react-hooks": "^2.10.45",
110
110
  "@arcblock/ux": "^2.10.45",
111
111
  "@blocklet/launcher-layout": "2.10.45",
112
- "@blocklet/tracker": "1.16.33-beta-20241017-014141-ca47ab3d",
112
+ "@blocklet/tracker": "1.16.33-beta-20241018-093853-2efbcd5e",
113
113
  "@blocklet/ui-react": "^2.10.45",
114
114
  "@emotion/react": "^11.11.4",
115
115
  "@emotion/styled": "^11.11.5",
@@ -183,5 +183,5 @@
183
183
  "url": "https://github.com/ArcBlock/blocklet-server/issues",
184
184
  "email": "shijun@arcblock.io"
185
185
  },
186
- "gitHead": "353a9c59dd38eb14664ae755493893200abb1271"
186
+ "gitHead": "d7da547332961a71a6a5994bed3d307be52f0d64"
187
187
  }