@social-mail/social-mail-client 1.0.106 → 1.0.108

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.
@@ -19576,13 +19576,13 @@ System.register([], function (_export, _context) {
19576
19576
  if (!n) {
19577
19577
  return def + "";
19578
19578
  }
19579
- if (n > b) {
19579
+ if (n >= b) {
19580
19580
  return toCompactFixed(n / b, decimals) + "B";
19581
19581
  }
19582
- if (n > m) {
19582
+ if (n >= m) {
19583
19583
  return toCompactFixed(n / m, decimals) + "M";
19584
19584
  }
19585
- if (n > k) {
19585
+ if (n >= k) {
19586
19586
  return toCompactFixed(n / k, decimals) + "K";
19587
19587
  }
19588
19588
  return toCompactFixed(n, 0);
@@ -19595,19 +19595,19 @@ System.register([], function (_export, _context) {
19595
19595
  if (!n) {
19596
19596
  return def + "";
19597
19597
  }
19598
- if (n > pb) {
19599
- return toCompactFixed(n / gb, decimals) + " PB";
19598
+ if (n >= pb) {
19599
+ return toCompactFixed(n / pb, decimals) + " PB";
19600
19600
  }
19601
- if (n > tb) {
19602
- return toCompactFixed(n / gb, decimals) + " TB";
19601
+ if (n >= tb) {
19602
+ return toCompactFixed(n / tb, decimals) + " TB";
19603
19603
  }
19604
- if (n > gb) {
19604
+ if (n >= gb) {
19605
19605
  return toCompactFixed(n / gb, decimals) + " GB";
19606
19606
  }
19607
- if (n > mb) {
19607
+ if (n >= mb) {
19608
19608
  return toCompactFixed(n / mb, decimals) + " MB";
19609
19609
  }
19610
- if (n > kb) {
19610
+ if (n >= kb) {
19611
19611
  return toCompactFixed(n / kb, decimals) + " KB";
19612
19612
  }
19613
19613
  return toCompactFixed(n, 0);