@goodandready/dsh-subscriptions 0.4.5 → 0.4.6

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/index.js +2 -2
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -898,10 +898,10 @@ export function apply(ctx, config) {
898
898
  const reset = a.quota && a.quota.resetAt ? new Date(a.quota.resetAt).toLocaleString() : ''
899
899
  const status = a.validationUrl ? 'verify' : (a.cooldownUntil && a.cooldownUntil > Date.now() ? 'cooldown' : (a.configured ? 'ok' : 'none'))
900
900
  return '<tr><td>' + escapeHtml(a.provider) + '</td><td>' + (a.index||1) + '</td>' +
901
- '<td>' + esc(a.label || a.email || '') + '</td><td>' + status + '</td>' +
901
+ '<td>' + escapeHtml(a.label || a.email || '') + '</td><td>' + status + '</td>' +
902
902
  '<td>' + (pct != null ? Math.round(pct) + '%' : '—') + '</td>' +
903
903
  '<td>' + (rem != null ? (rem + (lim != null ? '/' + lim : '')) : '—') + '</td>' +
904
- '<td>' + esc(reset) + '</td><td>' + esc(a.refreshError || '') + '</td></div>'
904
+ '<td>' + escapeHtml(reset) + '</td><td>' + escapeHtml(a.refreshError || '') + '</td></tr>'
905
905
  })
906
906
  const body = rows.length
907
907
  ? '<div class="grid">' + rows.join('') + '</div>'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodandready/dsh-subscriptions",
3
- "version": "0.4.5",
3
+ "version": "0.4.6",
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",