Skip to content

Commit

Permalink
feat: proof ls command shows proof aud (#174)
Browse files Browse the repository at this point in the history
Motivation:
* i found myself using `w3 proof ls` but wanting to know the audience of
the proofs I'm seeing
  • Loading branch information
gobengo authored Jan 14, 2025
1 parent 74e9c4c commit 29d2400
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 @@ -535,6 +535,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 29d2400

Please sign in to comment.