dsh-tokenbank 0.1.37 → 0.1.39

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 +6 -6
  2. package/package.json +1 -1
package/lib/client.js CHANGED
@@ -581,7 +581,7 @@ window.__ModuleLoader__.load({
581
581
  h('span', { style: { background: '#ff4f1f', color: '#fff', borderRadius: 4, padding: '1px 5px', fontSize: 11, fontWeight: 700 } }, '最优惠'),
582
582
  humanTokens(tbTokens) + ' TOKEN')),
583
583
  h('div', { style: { display: 'flex', justifyContent: 'space-between' } },
584
- h('span', null, 'OpenAI/Anthropic'),
584
+ h('span', null, 'OpenAI/Anthropic 等'),
585
585
  h('span', null, humanTokens(vendorTokens) + ' TOKEN')),
586
586
  h('div', { style: { display: 'flex', justifyContent: 'space-between' } },
587
587
  h('span', null, '国内中转站均价'),
@@ -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]
@@ -735,6 +730,11 @@ window.__ModuleLoader__.load({
735
730
  onClick: function () { rechargeOpen[1](function (v) { return !v }) },
736
731
  }, pageT('recharge'))
737
732
  : null,
733
+ data && data.loggedIn ? h('button', {
734
+ type: 'button', title: pageT('depositManageTip'),
735
+ style: Object.assign({}, buttonStyle, { height: 26, padding: '0 12px', fontSize: 12, borderColor: 'var(--dsw-alias-border-l2, #c9ccd1)' }),
736
+ onClick: function () { tbStore.set({ authOpen: false }); openSettingsPage() },
737
+ }, pageT('depositManage')) : null,
738
738
  ),
739
739
  ),
740
740
  rechargeOpen[0] ? h(InlineRecharge, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-tokenbank",
3
- "version": "0.1.37",
3
+ "version": "0.1.39",
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",