@goodandready/dsh-subscriptions 0.4.7 → 0.4.8

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
@@ -467,7 +467,8 @@ function PluginCard(props) {
467
467
  // в карточке не оставалось подчёркиваний из чужого протокола.
468
468
  function windowLabel(w){
469
469
  var id=String((w&&w.id)||'')
470
- if(w&&w.ru)return w.ru
470
+ var given=w&&(w.ru||w.en)
471
+ if(given&&given!==id)return given
471
472
  if(id==='primary_window')return t('windowPrimary')
472
473
  if(id==='secondary_window')return t('windowSecondary')
473
474
  if(!id)return t('quota')
package/lib/usage.js CHANGED
@@ -58,6 +58,8 @@ const WINDOW_LABELS = {
58
58
  weekly_limit_7_days: { ru: "7д", en: "7d" },
59
59
  primary: { ru: "осн.", en: "primary" },
60
60
  secondary: { ru: "втор.", en: "secondary" },
61
+ primary_window: { ru: "осн.", en: "primary" },
62
+ secondary_window: { ru: "втор.", en: "secondary" },
61
63
  monthly: { ru: "месяц", en: "month" },
62
64
  credits: { ru: "кредиты", en: "credits" },
63
65
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodandready/dsh-subscriptions",
3
- "version": "0.4.7",
3
+ "version": "0.4.8",
4
4
  "description": "Use ChatGPT Codex, Claude, Grok, and Antigravity subscriptions as DeepSeek Harness LLM providers via OAuth.",
5
5
  "license": "MIT",
6
6
  "type": "module",