dsh-tokenbank 0.1.38 → 0.1.40

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 +5 -5
  2. package/package.json +1 -1
package/lib/client.js CHANGED
@@ -666,11 +666,6 @@ window.__ModuleLoader__.load({
666
666
  'aria-label': 'TokenBank',
667
667
  }, h('span', { className: 'tb-wordmark', style: { fontFamily: "'Frizon','FrizonLocal',sans-serif", fontSize: 17, fontWeight: 400, letterSpacing: 0.5, lineHeight: 1, color: '#111111' } }, 'TOKENBANK')),
668
668
  h('span', { style: { flex: 1 } }),
669
- data && data.loggedIn ? h('button', {
670
- type: 'button', title: pageT('depositManageTip'),
671
- style: Object.assign({}, buttonStyle, { height: 24, padding: '0 10px', fontSize: 12, borderColor: 'var(--dsw-alias-border-l2, #c9ccd1)' }),
672
- onClick: function () { tbStore.set({ authOpen: false }); openSettingsPage() },
673
- }, pageT('depositManage')) : null,
674
669
  data && data.loggedIn ? h('button', {
675
670
  type: 'button', title: pageT('logout'), 'aria-label': pageT('logout'),
676
671
  style: logoutArm[0]
@@ -728,6 +723,11 @@ window.__ModuleLoader__.load({
728
723
  }
729
724
  },
730
725
  }, checkin[0].done ? pageT('checkinDone') : pageT('checkin')),
726
+ data && data.loggedIn ? h('button', {
727
+ type: 'button', title: pageT('depositManageTip'),
728
+ style: Object.assign({}, buttonStyle, { height: 26, padding: '0 12px', fontSize: 12, borderColor: 'var(--dsw-alias-border-l2, #c9ccd1)' }),
729
+ onClick: function () { tbStore.set({ authOpen: false }); openSettingsPage() },
730
+ }, pageT('depositManage')) : null,
731
731
  (checkin[0].done || (data.account && typeof data.account.balance_nano_usd === 'number' && data.account.balance_nano_usd < 1e9))
732
732
  ? h('button', {
733
733
  type: 'button',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-tokenbank",
3
- "version": "0.1.38",
3
+ "version": "0.1.40",
4
4
  "description": "DSH 免费模型:一键注册 TokenBank 领免费 APIKey 送 $5 体验金,免费 GLM 模型直接进模型列表;自带余额查询、API Key 密钥托管(临时额度转永久)、每日签到、充值入口(支付宝),获取免费模型无需自建中转。致敬 dsh-our-free-model。官网 https://bank.skillpie.cn",
5
5
  "type": "module",
6
6
  "license": "MIT",