Skip to content

Commit

Permalink
Release 0.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sudoplatform-engineering committed Feb 7, 2022
1 parent 37cac7a commit 1859311
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 9 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
},
"dependencies": {
"@ant-design/icons": "^4.0.5",
"@sudoplatform-labs/sudo-di-cloud-agent": "^0.6.1",
"@sudoplatform-labs/sudo-di-cloud-agent": "^0.6.3",
"antd": "4.9.4",
"antd-mask-input": "^0.1.13",
"color": "^3.2.0",
Expand Down Expand Up @@ -121,7 +121,7 @@
"typescript": "~4.4.3"
},
"resolutions": {
"**/node-fetch": "^2.6.1",
"**/node-fetch": "^2.6.7",
"**/yargs-parser": "^13.1.2",
"**/axios": "^0.21.1",
"**/lodash": "^4.17.21",
Expand Down
1 change: 1 addition & 0 deletions src/containers/App/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ export const App: React.FC = () => {
const cloudAgentConfiguration = new Configuration({
apiKey: environmentInfo.acapyAdminKey,
basePath: environmentInfo.acapyAdminUri,
headers: { 'x-api-key': environmentInfo.acapyAdminKey },
});

const cloudAgentAPIs: CloudAgentAPI = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ export const IssuedCredentialsCard: React.FC = () => {
role: IssueCredentialRecordsGetRoleEnum.Issuer,
states: [
IssueCredentialRecordsGetStateEnum.CredentialIssued,
IssueCredentialRecordsGetStateEnum.CredentialReceived,
IssueCredentialRecordsGetStateEnum.CredentialAcked,
IssueCredentialRecordsGetStateEnum.CredentialRevoked,
],
},
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ export const PreparePresentationForm: React.FC<Props> = (props) => {
const presentationOptions: PresentationSchemaAttribute[] = [];

for (const matchingCredential of matchedCredentials) {
if (matchingCredential.pres_referents) {
for (const attributeName of matchingCredential.pres_referents) {
if (matchingCredential.presentation_referents) {
for (const attributeName of matchingCredential.presentation_referents) {
const possibleOption = {
possibleValue: matchingCredential?.cred_info?.attrs
? matchingCredential.cred_info.attrs[attributeName]
Expand Down
17 changes: 12 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1541,10 +1541,10 @@
"@nodelib/fs.scandir" "2.1.5"
fastq "^1.6.0"

"@sudoplatform-labs/sudo-di-cloud-agent@^0.6.1":
version "0.6.1"
resolved "https://registry.yarnpkg.com/@sudoplatform-labs/sudo-di-cloud-agent/-/sudo-di-cloud-agent-0.6.1.tgz#c229d4b2a767f89d905b7d9a1c5bfc7075a0274e"
integrity sha512-N2V8JhbMUBvto1h9greVrW3gjZtGb9NXVCKk3pFsn+o3qnHsng0FX9zsVt3Cfuen3mAai2xj6XCHzk1dWrbnnA==
"@sudoplatform-labs/sudo-di-cloud-agent@^0.6.3":
version "0.6.3"
resolved "https://registry.yarnpkg.com/@sudoplatform-labs/sudo-di-cloud-agent/-/sudo-di-cloud-agent-0.6.3.tgz#f9816e6c597e1606e40817e29b975820cc8ab572"
integrity sha512-Jsm5eP7WIGCNJ6YTwckuYOygrhyqAozNE17bdKb1wkt8qcTSAvdGFAT/vpN/c0MWQd6p7/MvuWYkL6BsX8vu4w==
dependencies:
portable-fetch "^3.0.0"

Expand Down Expand Up @@ -9405,7 +9405,14 @@ no-case@^3.0.4:
lower-case "^2.0.2"
tslib "^2.0.3"

node-fetch@^1.0.1, node-fetch@^2.6.1:
node-fetch@^1.0.1, node-fetch@^2.6.7:
version "2.6.7"
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.7.tgz#24de9fba827e3b4ae44dc8b20256a379160052ad"
integrity sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==
dependencies:
whatwg-url "^5.0.0"

node-fetch@^2.6.1:
version "2.6.5"
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.5.tgz#42735537d7f080a7e5f78b6c549b7146be1742fd"
integrity sha512-mmlIVHJEu5rnIxgEgez6b9GgWXbkZj5YZ7fx+2r94a2E+Uirsp6HsPTPlomfdHtpt/B0cdKviwkoaM6pyvUOpQ==
Expand Down

0 comments on commit 1859311

Please sign in to comment.