Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
etschelp committed Oct 21, 2022
1 parent f31b647 commit 3c8c652
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions backend/business-partner-agent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -443,8 +443,8 @@
</goals>
<configuration>
<!-- See https://nodejs.org/en/download/ -->
<nodeVersion>v16.17.1</nodeVersion>
<npmVersion>8.15.0</npmVersion>
<nodeVersion>v16.18.0</nodeVersion>
<npmVersion>8.19.2</npmVersion>
</configuration>
</execution>
<execution>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,8 @@ public AriesProofExchange toAPIObject(@NonNull PartnerProof p) {
.proofType(e.getValue().getType())
.revealedAttributes(e.getValue().getRevealedAttributes())
.requestedPredicates(e.getValue().getRequestedPredicates())
.identifier(e.getValue().getIdentifier() != null ?
credentialInfoResolver.populateIdentifier(e.getValue().getIdentifier())
.identifier(e.getValue().getIdentifier() != null
? credentialInfoResolver.populateIdentifier(e.getValue().getIdentifier())
: null)
.build()));
proofData = mapper.convertValue(collect, JsonNode.class);
Expand Down
36 changes: 18 additions & 18 deletions frontend/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,78 +160,78 @@ export const ActivityTypes: Readonly<{

export const ActivityStates = Object.freeze({
CONNECTION_REQUEST_ACCEPTED: {
value: "connection_request_accepted",
value: "CONNECTION_REQUEST_ACCEPTED",
label: i18n.t("constants.activityStates.connectionRequest.accepted"),
},
CONNECTION_REQUEST_RECEIVED: {
value: "connection_request_received",
value: "CONNECTION_REQUEST_RECEIVED",
label: i18n.t("constants.activityStates.connectionRequest.received"),
},
CONNECTION_REQUEST_SENT: {
value: "connection_request_sent",
value: "CONNECTION_REQUEST_SENT",
label: i18n.t("constants.activityStates.connectionRequest.sent"),
},
CREDENTIAL_EXCHANGE_ACCEPTED: {
value: "credential_exchange_accepted",
value: "CREDENTIAL_EXCHANGE_ACCEPTED",
label: i18n.t("constants.activityStates.credentialExchange.accepted"),
},
CREDENTIAL_EXCHANGE_DECLINED: {
value: "credential_exchange_declined",
value: "CREDENTIAL_EXCHANGE_DECLINED",
label: i18n.t("constants.activityStates.credentialExchange.declined"),
},
CREDENTIAL_EXCHANGE_RECEIVED: {
value: "credential_exchange_received",
value: "CREDENTIAL_EXCHANGE_RECEIVED",
label: i18n.t("constants.activityStates.credentialExchange.received"),
},
CREDENTIAL_EXCHANGE_PROBLEM: {
value: "credential_exchange_problem",
value: "CREDENTIAL_EXCHANGE_PROBLEM",
label: i18n.t("constants.activityStates.credentialExchange.problem"),
},
CREDENTIAL_EXCHANGE_SENT: {
value: "credential_exchange_sent",
value: "CREDENTIAL_EXCHANGE_SENT",
label: i18n.t("constants.activityStates.credentialExchange.sent"),
},
PRESENTATION_EXCHANGE_ACCEPTED: {
value: "presentation_exchange_accepted",
value: "PRESENTATION_EXCHANGE_ACCEPTED",
label: i18n.t("constants.activityStates.presentationExchange.accepted"),
},
PRESENTATION_EXCHANGE_DECLINED: {
value: "presentation_exchange_declined",
value: "PRESENTATION_EXCHANGE_DECLINED",
label: i18n.t("constants.activityStates.presentationExchange.declined"),
},
PRESENTATION_EXCHANGE_RECEIVED: {
value: "presentation_exchange_received",
value: "PRESENTATION_EXCHANGE_RECEIVED",
label: i18n.t("constants.activityStates.presentationExchange.received"),
},
PRESENTATION_EXCHANGE_SENT: {
value: "presentation_exchange_sent",
value: "PRESENTATION_EXCHANGE_SENT",
label: i18n.t("constants.activityStates.presentationExchange.sent"),
},
});

export const ActivityRoles = Object.freeze({
CONNECTION_REQUEST_SENDER: {
value: "connection_request_sender",
value: "CONNECTION_REQUEST_SENDER",
label: i18n.t("constants.activityRoles.connectionRequest.sender"),
},
CONNECTION_REQUEST_RECIPIENT: {
value: "connection_request_recipient",
value: "CONNECTION_REQUEST_RECIPIENT",
label: i18n.t("constants.activityRoles.connectionRequest.recipient"),
},
CREDENTIAL_EXCHANGE_HOLDER: {
value: "credential_exchange_holder",
value: "CREDENTIAL_EXCHANGE_HOLDER",
label: i18n.t("constants.activityRoles.credentialExchange.holder"),
},
CREDENTIAL_EXCHANGE_ISSUER: {
value: "credential_exchange_issuer",
value: "CREDENTIAL_EXCHANGE_ISSUER",
label: i18n.t("constants.activityRoles.credentialExchange.issuer"),
},
PRESENTATION_EXCHANGE_PROVER: {
value: "presentation_exchange_prover",
value: "PRESENTATION_EXCHANGE_PROVER",
label: i18n.t("constants.activityRoles.presentationExchange.prover"),
},
PRESENTATION_EXCHANGE_VERIFIER: {
value: "presentation_exchange_verifier",
value: "PRESENTATION_EXCHANGE_VERIFIER",
label: i18n.t("constants.activityRoles.presentationExchange.verifier"),
},
});
Expand Down

0 comments on commit 3c8c652

Please sign in to comment.