dsh-tokenbank 0.1.5 → 0.1.7

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 -4
  2. package/package.json +1 -1
package/lib/client.js CHANGED
@@ -1136,11 +1136,12 @@ window.__ModuleLoader__.load({
1136
1136
  h(Field, { label: t('password') },
1137
1137
  h('input', { style: inputStyle, type: 'password', value: password[0], onChange: function (e) { password[1](e.target.value) } })),
1138
1138
  mode === 'register'
1139
- ? h('div', null,
1140
- h(Field, { label: t('code') },
1141
- h('input', { style: inputStyle, value: code[0], onChange: function (e) { code[1](e.target.value) } })),
1139
+ ? h('div', { style: { display: 'flex', gap: 8, alignItems: 'flex-end' } },
1140
+ h('div', { style: { flex: 1 } },
1141
+ h(Field, { label: t('code') },
1142
+ h('input', { style: inputStyle, value: code[0], onChange: function (e) { code[1](e.target.value) } }))),
1142
1143
  h('button', {
1143
- type: 'button', style: Object.assign({}, buttonStyle, { marginTop: 4, width: '100%' }), disabled: busy[0] || sent[0],
1144
+ type: 'button', style: buttonStyle, disabled: busy[0] || sent[0],
1144
1145
  onClick: async function () {
1145
1146
  busy[1](true); error[1]('')
1146
1147
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-tokenbank",
3
- "version": "0.1.5",
3
+ "version": "0.1.7",
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",