dsh-tokenbank 0.1.5 → 0.1.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.
- package/lib/client.js +7 -6
- package/package.json +1 -1
package/lib/client.js
CHANGED
|
@@ -1133,14 +1133,13 @@ window.__ModuleLoader__.load({
|
|
|
1133
1133
|
),
|
|
1134
1134
|
h(Field, { label: t('email') },
|
|
1135
1135
|
h('input', { style: inputStyle, type: 'email', value: email[0], onChange: function (e) { email[1](e.target.value) } })),
|
|
1136
|
-
h(Field, { label: t('password') },
|
|
1137
|
-
h('input', { style: inputStyle, type: 'password', value: password[0], onChange: function (e) { password[1](e.target.value) } })),
|
|
1138
1136
|
mode === 'register'
|
|
1139
|
-
? h('div',
|
|
1140
|
-
h(
|
|
1141
|
-
h(
|
|
1137
|
+
? h('div', { style: { display: 'flex', gap: 8, alignItems: 'flex-end' } },
|
|
1138
|
+
h('div', { style: { flex: 1 } },
|
|
1139
|
+
h(Field, { label: t('code') },
|
|
1140
|
+
h('input', { style: inputStyle, value: code[0], onChange: function (e) { code[1](e.target.value) } }))),
|
|
1142
1141
|
h('button', {
|
|
1143
|
-
type: 'button', style:
|
|
1142
|
+
type: 'button', style: buttonStyle, disabled: busy[0] || sent[0],
|
|
1144
1143
|
onClick: async function () {
|
|
1145
1144
|
busy[1](true); error[1]('')
|
|
1146
1145
|
try {
|
|
@@ -1163,6 +1162,8 @@ window.__ModuleLoader__.load({
|
|
|
1163
1162
|
})
|
|
1164
1163
|
: null,
|
|
1165
1164
|
),
|
|
1165
|
+
h(Field, { label: t('password') },
|
|
1166
|
+
h('input', { style: inputStyle, type: 'password', value: password[0], onChange: function (e) { password[1](e.target.value) } })),
|
|
1166
1167
|
error[0] ? h('div', { style: errorStyle }, error[0]) : null,
|
|
1167
1168
|
h('button', {
|
|
1168
1169
|
type: 'button', style: primaryButtonStyle, disabled: busy[0],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-tokenbank",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
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",
|