Skip to content

Commit

Permalink
Fix bignumber.js and file-loader to be fixed versions and display the…
Browse files Browse the repository at this point in the history
… i-address of identity that made the login consent request.
  • Loading branch information
mcstoer committed Nov 4, 2024
1 parent 2cbe42c commit 71d2253
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
"@testing-library/react": "11.1.0",
"@testing-library/user-event": "12.1.10",
"base64url": "https://github.com/VerusCoin/base64url.git",
"bignumber.js": "^9.1.2",
"bignumber.js": "9.1.2",
"blake2b": "https://github.com/VerusCoin/blake2b.git",
"crypto-js": "4.2.0",
"file-loader": "^6.2.0",
"file-loader": "6.2.0",
"prop-types": "15.7.2",
"react": "17.0.1",
"react-dom": "17.0.1",
Expand Down
7 changes: 4 additions & 3 deletions src/containers/RequestCard/RequestCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export function RequestCard(props) {
const permissions = props.permissions
const height = props.height

const requestedByDescriptor = `${displayName}@ (${signedBy.identity.identityaddress})`
const systemIdentityDescriptor = `${chainName} (${systemId})`
const revocationIdentityDescriptor = `${revocationIdentity.friendlyname} (${revocationIdentity.identity.identityaddress})`
const recoveryIdentityDescriptor = `${recoveryIdentity.friendlyname} (${recoveryIdentity.identity.identityaddress})`
Expand All @@ -56,8 +57,8 @@ export function RequestCard(props) {
}}>
<List>
<ListItemButton divider onClick={handleIdentityClick}>
<ListItemText primary="Requested by" disableTypography sx={{ fontWeight: 'bold' }}/>
<ListItemText primary={displayName + "@"} disableTypography sx={{textAlign:'right'}}/>
<ListItemText primary="Requested by" disableTypography sx={{ fontWeight: 'bold', pr:4}}/>
<ListItemText primary={requestedByDescriptor} disableTypography sx={{textAlign:'right'}}/>
{openIdentity ? <ExpandLess /> : <ExpandMore />}
</ListItemButton>
<Collapse in={openIdentity} timeout="auto" unmountOnExit>
Expand Down Expand Up @@ -111,7 +112,7 @@ export function RequestCard(props) {
</ListItem>

<ListItem>
<ListItemText primary="Signed on" disableTypography sx={{ fontWeight: 'bold' }}/>
<ListItemText primary="Signed on" disableTypography sx={{ fontWeight: 'bold', pr:4}}/>
<ListItemText primary={unixToDate(time)} disableTypography sx={{textAlign:'right'}}/>
</ListItem>
</List>
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2185,7 +2185,7 @@ big.js@^5.2.2:
resolved "https://registry.yarnpkg.com/big.js/-/big.js-5.2.2.tgz#65f0af382f578bcdc742bd9c281e9cb2d7768328"
integrity sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==

bignumber.js@^9.1.2:
[email protected]:
version "9.1.2"
resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-9.1.2.tgz#b7c4242259c008903b13707983b5f4bbd31eda0c"
integrity sha512-2/mKyZH9K85bzOEfhXDBFZTGd1CTs+5IHpeFQo9luiBG7hghdC851Pj2WAhb6E3R6b9tZj/XKhbg4fum+Kepug==
Expand Down Expand Up @@ -3914,7 +3914,7 @@ figgy-pudding@^3.4.1, figgy-pudding@^3.5.1:
resolved "https://registry.yarnpkg.com/figgy-pudding/-/figgy-pudding-3.5.2.tgz#b4eee8148abb01dcf1d1ac34367d59e12fa61d6e"
integrity sha512-0btnI/H8f2pavGMN8w40mlSKOfTK2SVJmBfBeVIj3kNw0swwgzyRq0d5TJVOwodFmtvpPeWPN/MCcfuWF0Ezbw==

file-loader@^6.2.0:
[email protected]:
version "6.2.0"
resolved "https://registry.yarnpkg.com/file-loader/-/file-loader-6.2.0.tgz#baef7cf8e1840df325e4390b4484879480eebe4d"
integrity sha512-qo3glqyTa61Ytg4u73GultjHGjdRyig3tG6lPtyX/jOEJvHif9uB0/OCI2Kif6ctF3caQTW2G5gym21oAsI4pw==
Expand Down

0 comments on commit 71d2253

Please sign in to comment.