dsh-tokenbank 0.1.23 → 0.1.24
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 +3 -3
- package/package.json +1 -1
package/lib/client.js
CHANGED
|
@@ -643,7 +643,7 @@ window.__ModuleLoader__.load({
|
|
|
643
643
|
h('span', { style: { flex: 1 } }),
|
|
644
644
|
data && data.loggedIn ? h('button', {
|
|
645
645
|
type: 'button', title: pageT('depositManageTip'),
|
|
646
|
-
style: Object.assign({}, buttonStyle, { height: 24, padding: '0 10px', fontSize: 12 }),
|
|
646
|
+
style: Object.assign({}, buttonStyle, { height: 24, padding: '0 10px', fontSize: 12, borderColor: 'var(--dsw-alias-border-l2, #c9ccd1)' }),
|
|
647
647
|
onClick: function () { tbStore.set({ authOpen: false }); openSettingsPage() },
|
|
648
648
|
}, pageT('depositManage')) : null,
|
|
649
649
|
data && data.loggedIn ? h('button', {
|
|
@@ -677,7 +677,7 @@ window.__ModuleLoader__.load({
|
|
|
677
677
|
data.account && typeof data.account.balance_nano_usd === 'number'
|
|
678
678
|
? '$' + (data.account.balance_nano_usd / 1e9).toFixed(2) : '—'),
|
|
679
679
|
h('span', { style: { display: 'inline-flex', gap: 6 } },
|
|
680
|
-
h('button', {
|
|
680
|
+
checkin[0].done && !(data.account && typeof data.account.balance_nano_usd === 'number' && data.account.balance_nano_usd < 1e9) ? null : h('button', {
|
|
681
681
|
type: 'button', disabled: checkin[0].busy || checkin[0].done,
|
|
682
682
|
style: Object.assign({}, buttonStyle, {
|
|
683
683
|
height: 26, padding: '0 12px', fontSize: 12,
|
|
@@ -703,7 +703,7 @@ window.__ModuleLoader__.load({
|
|
|
703
703
|
}
|
|
704
704
|
},
|
|
705
705
|
}, checkin[0].done ? pageT('checkinDone') : pageT('checkin')),
|
|
706
|
-
(data.account && typeof data.account.balance_nano_usd === 'number' && data.account.balance_nano_usd < 1e9)
|
|
706
|
+
(checkin[0].done || (data.account && typeof data.account.balance_nano_usd === 'number' && data.account.balance_nano_usd < 1e9))
|
|
707
707
|
? h('button', {
|
|
708
708
|
type: 'button',
|
|
709
709
|
style: Object.assign({}, primaryButtonStyle, { height: 26, padding: '0 12px', fontSize: 12 }),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-tokenbank",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.24",
|
|
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",
|