Skip to content

Commit

Permalink
Remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Jdu278 committed Aug 27, 2024
1 parent 9087757 commit d7d8c73
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions pages/wallet-redirect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,7 @@ onMounted(async () => {
if (['vc+sd-jwt', 'vc+sd-jwt+zkp'].includes(format)) {
const sdJwtClaims = await getSdJwtClaims(vpToken)
console.log('These are the claims', sdJwtClaims)
if (sdJwtClaims) {
console.log('sdJwtClaims', sdJwtClaims)
dataList.value = Object.entries(sdJwtClaims)
.filter(([key, value]) =>
!['cnf', 'exp', 'iat', 'iss', 'vct'].includes(key) &&
Expand All @@ -79,9 +77,7 @@ onMounted(async () => {
}
else if (['mso_mdoc', 'mso_mdoc+zkp'].includes(format)) {
const mdocClaims = await getMdocClaims(vpToken)
console.log('mdocClaims', mdocClaims)
if (mdocClaims) {
console.log('mdocClaims', mdocClaims)
dataList.value = Object.entries(mdocClaims).map(([, valueObj]) => ({
key: valueObj.key,
value: valueObj.value
Expand Down
1 change: 0 additions & 1 deletion utils/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ export async function getMdocClaims(vpToken: string): Promise<{
preferWeb: true

});
console.log('valueOut', valueOut)
// TODO: edit for multiple Presentations
const namespaces = valueOut.documents[0].issuerSigned.nameSpaces;
const firstNamespace = Object.entries(namespaces)[0][0];
Expand Down

0 comments on commit d7d8c73

Please sign in to comment.