@iasiv5/dsh-quota-watch 0.0.12 → 0.0.13

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/lib/client.js CHANGED
@@ -106,7 +106,7 @@ var COPY = {
106
106
  todayCalls: "\u8C03\u7528\u6B21\u6570",
107
107
  weekUnlimited: "\u6BCF\u5468\u989D\u5EA6",
108
108
  unlimited: "\u267E\uFE0F",
109
- unlimitedNote: "\uFF08\u65E0\u9650\uFF09",
109
+ unlimitedNote: "\uFF08 \u65E0\u9650 \uFF09",
110
110
  windows: {
111
111
  "5h": "5 \u5C0F\u65F6\u989D\u5EA6",
112
112
  week: "\u6BCF\u5468\u989D\u5EA6",
@@ -133,7 +133,7 @@ var COPY = {
133
133
  todayCalls: "Calls",
134
134
  weekUnlimited: "Weekly quota",
135
135
  unlimited: "\u267E\uFE0F",
136
- unlimitedNote: " (unlimited)",
136
+ unlimitedNote: " ( unlimited )",
137
137
  windows: {
138
138
  "5h": "5-hour quota",
139
139
  week: "Weekly quota",
@@ -535,7 +535,7 @@ function mountQuotaCard({
535
535
  wins.append(text(doc, "span", "dqw-win-mid", "\xB7"));
536
536
  wins.append(text(doc, "span", "dqw-win-used", copy.windowUsed));
537
537
  wins.append(text(doc, "span", "dqw-win-val", percent !== void 0 ? formatPercent(percent, locale) : "\u2014"));
538
- wins.append(text(doc, "span", "dqw-kv-sub", reset ? `\uFF08${copy.reset}: ${reset}\uFF09` : ""));
538
+ wins.append(text(doc, "span", "dqw-kv-sub", reset ? `\uFF08 ${copy.reset}: ${reset} \uFF09` : ""));
539
539
  }
540
540
  detail.append(wins);
541
541
  if (Array.isArray(usage?.models) && usage.models.length > 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iasiv5/dsh-quota-watch",
3
- "version": "0.0.12",
3
+ "version": "0.0.13",
4
4
  "description": "DSH Web sidebar monitor for GLM Coding Plan quotas and GitHub Copilot credits",
5
5
  "type": "module",
6
6
  "main": "./src/host.mjs",
package/src/client.mjs CHANGED
@@ -27,7 +27,7 @@ const COPY = {
27
27
  todayCalls: '调用次数',
28
28
  weekUnlimited: '每周额度',
29
29
  unlimited: '♾️',
30
- unlimitedNote: '(无限)',
30
+ unlimitedNote: '( 无限 )',
31
31
  windows: {
32
32
  '5h': '5 小时额度',
33
33
  week: '每周额度',
@@ -54,7 +54,7 @@ const COPY = {
54
54
  todayCalls: 'Calls',
55
55
  weekUnlimited: 'Weekly quota',
56
56
  unlimited: '♾️',
57
- unlimitedNote: ' (unlimited)',
57
+ unlimitedNote: ' ( unlimited )',
58
58
  windows: {
59
59
  '5h': '5-hour quota',
60
60
  week: 'Weekly quota',
@@ -488,7 +488,7 @@ export function mountQuotaCard({
488
488
  wins.append(text(doc, 'span', 'dqw-win-mid', '·'))
489
489
  wins.append(text(doc, 'span', 'dqw-win-used', copy.windowUsed))
490
490
  wins.append(text(doc, 'span', 'dqw-win-val', percent !== undefined ? formatPercent(percent, locale) : '—'))
491
- wins.append(text(doc, 'span', 'dqw-kv-sub', reset ? `(${copy.reset}: ${reset})` : ''))
491
+ wins.append(text(doc, 'span', 'dqw-kv-sub', reset ? `( ${copy.reset}: ${reset} )` : ''))
492
492
  }
493
493
  detail.append(wins)
494
494
  if (Array.isArray(usage?.models) && usage.models.length > 0) {