@computesdk/cli 2.3.1 → 2.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1594,8 +1594,9 @@ function formatBook(book) {
|
|
|
1594
1594
|
if (book.bids.length === 0) lines.push(pc2.dim(" no open offers"));
|
|
1595
1595
|
for (const bid of book.bids) {
|
|
1596
1596
|
const where = bid.region ? safeTerm(bid.region) : "anywhere";
|
|
1597
|
+
const yours = bid.mine ? pc2.cyan(" (yours)") : "";
|
|
1597
1598
|
lines.push(
|
|
1598
|
-
` ${lane(bid.useCase)} pays up to ${formatRate(bid.maxUsd, bid.per)} ${safeTerm(bid.size)} ${where} ${pc2.dim(`posted ${bid.createdAt}`)}`
|
|
1599
|
+
` ${lane(bid.useCase)} pays up to ${formatRate(bid.maxUsd, bid.per)} ${safeTerm(bid.size)} ${where} ${pc2.dim(`posted ${bid.createdAt}`)}${yours}`
|
|
1599
1600
|
);
|
|
1600
1601
|
}
|
|
1601
1602
|
lines.push("");
|