@abtnode/ux 1.6.29 → 1.7.0
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/lib/lost-passport.js +4 -2
- package/package.json +4 -4
package/lib/lost-passport.js
CHANGED
|
@@ -90,7 +90,8 @@ function LostPassport(_ref2) {
|
|
|
90
90
|
let {
|
|
91
91
|
SessionContext,
|
|
92
92
|
webWalletUrl,
|
|
93
|
-
createPassportSvg
|
|
93
|
+
createPassportSvg,
|
|
94
|
+
passportColor
|
|
94
95
|
} = _ref2;
|
|
95
96
|
const {
|
|
96
97
|
api,
|
|
@@ -197,7 +198,8 @@ function LostPassport(_ref2) {
|
|
|
197
198
|
issuerDid: x.issuer.id,
|
|
198
199
|
ownerName: user.fullName,
|
|
199
200
|
ownerAvatarUrl: user.avatar,
|
|
200
|
-
isDataUrl: true
|
|
201
|
+
isDataUrl: true,
|
|
202
|
+
preferredColor: passportColor || 'auto'
|
|
201
203
|
}),
|
|
202
204
|
name: x.title
|
|
203
205
|
};
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.
|
|
6
|
+
"version": "1.7.0",
|
|
7
7
|
"description": "UX components shared across abtnode packages",
|
|
8
8
|
"main": "lib/index.js",
|
|
9
9
|
"files": [
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"author": "linchen <linchen1987@foxmail.com> (http://github.com/linchen1987)",
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@arcblock/did-connect": "^1.16.
|
|
24
|
-
"@arcblock/ux": "^1.16.
|
|
23
|
+
"@arcblock/did-connect": "^1.16.43",
|
|
24
|
+
"@arcblock/ux": "^1.16.43",
|
|
25
25
|
"@material-ui/core": "^4.12.3",
|
|
26
26
|
"@material-ui/icons": "^4.11.2",
|
|
27
27
|
"notistack": "^1.0.6",
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"babel-plugin-inline-react-svg": "^1.1.1",
|
|
40
40
|
"babel-plugin-styled-components": "^1.10.7"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "fc949a5e8a1017fbe17533d3bd78b166c7dad132"
|
|
43
43
|
}
|