Agoric / agoric-sdk

monorepo for the Agoric Javascript smart contract platform
Apache License 2.0
327 stars 207 forks source link

chore(agoric-cli): Condense `agoric wallet show` output #10519

Closed gibson042 closed 2 days ago

gibson042 commented 3 days ago

Description

Render empty purses/usedInvitations/offers on one line rather than three:

 {
   "purses": [
     ["board0074",0]
   ],
-  "usedInvitations": [
-
-  ],
-  "offers": [
-
-  ]
+  "usedInvitations": [],
+  "offers": []
 }

Security Considerations

n/a

Scaling Considerations

n/a

Documentation Considerations

n/a

Testing Considerations

n/a

Upgrade Considerations

We don't guarantee stability of the output AFAIK, and I'm not aware of anything that depends upon it.

cloudflare-workers-and-pages[bot] commented 3 days ago

Deploying agoric-sdk with  Cloudflare Pages  Cloudflare Pages

Latest commit: 35895bc
Status: ✅  Deploy successful!
Preview URL: https://6106795f.agoric-sdk.pages.dev
Branch Preview URL: https://gibson-2024-11-condense-agor.agoric-sdk.pages.dev

View logs