@dougen/dsh-deepseek-usage 0.5.0 → 0.5.1

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.
Files changed (2) hide show
  1. package/lib/client.js +2 -3
  2. package/package.json +1 -1
package/lib/client.js CHANGED
@@ -168,9 +168,8 @@ window.__ModuleLoader__.load({
168
168
  background: data && data.peak ? C.peak : C.idle,
169
169
  boxShadow: "0 0 4px rgba(0,0,0,.3)",
170
170
  };
171
- const peakTitle = data && data.peak
172
- ? t("peak.peak") + (data.peakHours ? " " + data.peakHours : "")
173
- : t("peak.off");
171
+ // 指示灯 hover 提示只显示当前处于高峰/空闲时段,不拼时段明细(太长)。
172
+ const peakTitle = data && data.peak ? t("peak.peak") : t("peak.off");
174
173
 
175
174
  if (!wide) {
176
175
  return h("div", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dougen/dsh-deepseek-usage",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "DeepSeek 余额侧边栏插件:余额(官方 API)、当前档单价与峰谷时段指示灯,支持中/英文界面。",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",