dsh-ustc-quota 1.1.53 → 1.1.55

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 (3) hide show
  1. package/client.js +5 -2
  2. package/index.js +1 -1
  3. package/package.json +1 -1
package/client.js CHANGED
@@ -11,7 +11,7 @@ window.__ModuleLoader__.load({
11
11
  const UPDATE_ENDPOINT = 'plugins/dsh-ustc-quota/update';
12
12
  const UPDATE_APPLY_ENDPOINT = 'plugins/dsh-ustc-quota/update/apply';
13
13
  const WINDOW_IDS = ['3h', '12h', '24h'];
14
- const CLIENT_VERSION = '1.1.53';
14
+ const CLIENT_VERSION = '1.1.55';
15
15
  const UPDATE_INTERVAL_MS = 24 * 60 * 60 * 1000;
16
16
  const CLIENT_VERSION_KEY = `${NS}:client-version`;
17
17
  const CLIENT_RELOAD_KEY = `${NS}:client-reload`;
@@ -541,6 +541,7 @@ window.__ModuleLoader__.load({
541
541
  key: {
542
542
  display: 'flex',
543
543
  alignItems: 'center',
544
+ justifyContent: 'center',
544
545
  gap: 2,
545
546
  minWidth: 0,
546
547
  color: 'var(--dsw-alias-label-primary)',
@@ -622,6 +623,8 @@ window.__ModuleLoader__.load({
622
623
  flex: '0 0 auto',
623
624
  width: 'var(--ustc-value-w, 44px)',
624
625
  textAlign: 'left',
626
+ padding: 0,
627
+ margin: 0,
625
628
  fontSize: 10,
626
629
  fontWeight: 650,
627
630
  color: 'var(--dsw-alias-label-primary)',
@@ -1950,7 +1953,7 @@ window.__ModuleLoader__.load({
1950
1953
  const tableStyle = {
1951
1954
  ...STYLE.table,
1952
1955
  '--ustc-key-col': `${keyColumnWidth}px`,
1953
- '--ustc-gap': wideLayout ? '8px' : '4px',
1956
+ '--ustc-gap': wideLayout ? '6px' : '4px',
1954
1957
  '--ustc-value-w': valueWidthPx ? `${valueWidthPx}px` : `${Math.min(12, valueChars + 0.5)}ch`,
1955
1958
  };
1956
1959
  const versionTitle = updateInfo && updateInfo.updateAvailable
package/index.js CHANGED
@@ -22,7 +22,7 @@ const ROUTE_PATH = '/plugins/dsh-ustc-quota/snapshot';
22
22
  const UPDATE_PATH = '/plugins/dsh-ustc-quota/update';
23
23
  const UPDATE_APPLY_PATH = '/plugins/dsh-ustc-quota/update/apply';
24
24
  const UPDATE_TOKEN_TTL_MS = 30 * 60 * 1000;
25
- const PLUGIN_VERSION = '1.1.53';
25
+ const PLUGIN_VERSION = '1.1.55';
26
26
  const KEY_INFO_PATH = 'key/info';
27
27
  const USER_INFO_PATH = 'user/info';
28
28
  const DISCOVERY_TTL_MS = 30000;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-ustc-quota",
3
- "version": "1.1.53",
3
+ "version": "1.1.55",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Live 3h/12h/24h USTC token quota card in the DSH sidebar (works with the USTC TokenWorks distribution).",