@layr-labs/ecloud-cli 1.0.0-devep1 → 1.0.0-devep2
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/VERSION +2 -2
- package/dist/commands/billing/__tests__/status.test.js +4 -23
- package/dist/commands/billing/__tests__/status.test.js.map +1 -1
- package/dist/commands/billing/__tests__/top-up.test.js +273 -89
- package/dist/commands/billing/__tests__/top-up.test.js.map +1 -1
- package/dist/commands/billing/list-cards.js +409 -0
- package/dist/commands/billing/list-cards.js.map +1 -0
- package/dist/commands/billing/status.js +4 -23
- package/dist/commands/billing/status.js.map +1 -1
- package/dist/commands/billing/top-up.js +151 -79
- package/dist/commands/billing/top-up.js.map +1 -1
- package/dist/commands/compute/app/deploy.js +1 -1
- package/dist/commands/compute/app/info.js +1 -1
- package/dist/commands/compute/app/list.js +1 -1
- package/dist/commands/compute/app/logs.js +1 -1
- package/dist/commands/compute/app/profile/set.js +1 -1
- package/dist/commands/compute/app/releases.js +1 -1
- package/dist/commands/compute/app/start.js +1 -1
- package/dist/commands/compute/app/stop.js +1 -1
- package/dist/commands/compute/app/terminate.js +1 -1
- package/dist/commands/compute/app/upgrade.js +1 -1
- package/dist/commands/compute/build/info.js +1 -1
- package/dist/commands/compute/build/list.js +1 -1
- package/dist/commands/compute/build/logs.js +1 -1
- package/dist/commands/compute/build/status.js +1 -1
- package/dist/commands/compute/build/submit.js +1 -1
- package/dist/commands/compute/build/verify.js +1 -1
- package/dist/commands/compute/undelegate.js +1 -1
- package/dist/hooks/init/__tests__/version-check.test.js +1 -1
- package/dist/hooks/init/version-check.js +1 -1
- package/package.json +2 -2
package/VERSION
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
version=1.0.0-
|
|
2
|
-
commit=
|
|
1
|
+
version=1.0.0-devep2
|
|
2
|
+
commit=6556c862a68b0eb9962b654b22d428d984c9e6a5
|
|
@@ -524,29 +524,10 @@ ${chalk2.bold(" Line Items:")}`);
|
|
|
524
524
|
}
|
|
525
525
|
}
|
|
526
526
|
}
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
${chalk2.
|
|
530
|
-
|
|
531
|
-
this.log(` Subtotal: $${subtotal.toFixed(2)}`);
|
|
532
|
-
this.log(` Credits Applied: ${chalk2.green(`-$${result.creditsApplied.toFixed(2)}`)}`);
|
|
533
|
-
this.log(` ${"\u2500".repeat(21)}`);
|
|
534
|
-
this.log(` Total Due: $${(result.upcomingInvoiceTotal ?? 0).toFixed(2)}`);
|
|
535
|
-
if (result.remainingCredits !== void 0) {
|
|
536
|
-
this.log(
|
|
537
|
-
`
|
|
538
|
-
${chalk2.bold("Remaining Credits:")} ${chalk2.cyan(`$${result.remainingCredits.toFixed(2)}`)}${formatExpiry(result.nextCreditExpiry)}`
|
|
539
|
-
);
|
|
540
|
-
}
|
|
541
|
-
} else if (result.upcomingInvoiceTotal !== void 0) {
|
|
542
|
-
this.log(`
|
|
543
|
-
Upcoming Invoice: $${result.upcomingInvoiceTotal.toFixed(2)}`);
|
|
544
|
-
if (result.remainingCredits !== void 0 && result.remainingCredits > 0) {
|
|
545
|
-
this.log(
|
|
546
|
-
` ${chalk2.bold("Available Credits:")} ${chalk2.cyan(`$${result.remainingCredits.toFixed(2)}`)}${formatExpiry(result.nextCreditExpiry)}`
|
|
547
|
-
);
|
|
548
|
-
}
|
|
549
|
-
}
|
|
527
|
+
const credits = result.remainingCredits ?? 0;
|
|
528
|
+
this.log(
|
|
529
|
+
` Credits: ${chalk2.cyan(`$${credits.toFixed(2)}`)}${formatExpiry(result.nextCreditExpiry)}`
|
|
530
|
+
);
|
|
550
531
|
if (result.cancelAtPeriodEnd) {
|
|
551
532
|
this.log(`
|
|
552
533
|
${chalk2.yellow("\u26A0 Subscription will cancel at period end")}`);
|