Skip to content

Commit

Permalink
proof ls command shows proof aud
Browse files Browse the repository at this point in the history
  • Loading branch information
gobengo authored Jan 25, 2024
1 parent f042f86 commit d9aac10
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,7 @@ export async function listProofs(opts) {
for (const proof of proofs) {
console.log(chalk.dim(`# ${proof.cid.toString()}`))
console.log(`iss: ${chalk.cyanBright(proof.issuer.did())}`)
console.log(`aud: ${chalk.cyanBright(proof.audience.did())}`)
if (proof.expiration !== Infinity) {
console.log(
`exp: ${chalk.yellow(proof.expiration)} ${chalk.dim(
Expand Down

0 comments on commit d9aac10

Please sign in to comment.