@heyamiko/amiko-cli 0.14.0-beta.1 → 0.14.0-beta.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 +3 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -28644,7 +28644,9 @@ function printCompleted(final, title) {
|
|
|
28644
28644
|
console.log(label("Type", final.assetMime));
|
|
28645
28645
|
console.log("");
|
|
28646
28646
|
if (final.charged) {
|
|
28647
|
-
|
|
28647
|
+
const amt = final.chargeAmount ?? final.costAmiko ?? "?";
|
|
28648
|
+
const tok = final.chargeToken ?? "AMIKO";
|
|
28649
|
+
console.log(success(`Charged ${amt} ${tok}`) + (final.chargeTx ? dim(` tx: ${final.chargeTx.slice(0, 16)}…`) : ""));
|
|
28648
28650
|
} else {
|
|
28649
28651
|
console.log(dim("Not charged (settlement pending or waived)."));
|
|
28650
28652
|
}
|