@mailmodo/cli 0.0.26-beta.pr28.43 → 0.0.26-beta.pr28.45
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.
|
@@ -152,9 +152,8 @@ export default class Billing extends BaseCommand {
|
|
|
152
152
|
formatUsageBlock(block) {
|
|
153
153
|
const allowance = block.blockAllowance ?? Math.max(block.blocksCount * block.blockSize, 0);
|
|
154
154
|
const used = Math.max(block.emailsSent ?? 0, 0);
|
|
155
|
-
const
|
|
156
|
-
|
|
157
|
-
? `, activated ${new Date(activatedAt).toLocaleDateString('en-US')}`
|
|
155
|
+
const activationSuffix = block.activatedAt
|
|
156
|
+
? `, activated ${new Date(block.activatedAt).toLocaleDateString('en-US')}`
|
|
158
157
|
: '';
|
|
159
158
|
return `${block.type} block: ${used.toLocaleString()} / ${allowance.toLocaleString()} used (${block.status}${activationSuffix})`;
|
|
160
159
|
}
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED