@fish-under-sea/magpie-neartoken 0.1.0 → 0.1.2
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/package.json +1 -1
- package/page/app.js +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fish-under-sea/magpie-neartoken",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "NearToken for magpie: sign in to neartoken.cc from a page of magpie's own window, see the balance, vouchers and spending, top up without leaving it, and let magpie pick the models as it does for any provider.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
package/page/app.js
CHANGED
|
@@ -162,11 +162,12 @@
|
|
|
162
162
|
if (lastError) frag.append(el('p', { class: 'note bad', text: lastError }))
|
|
163
163
|
if (pendingAct) frag.append(el('p', { class: 'note', text: '正在处理:' + pendingAct }))
|
|
164
164
|
body.replaceChildren(frag)
|
|
165
|
+
if (view.pending) paintCountdown()
|
|
165
166
|
}
|
|
166
167
|
|
|
167
168
|
/** 未连接:说清会发生什么,再给一个按钮。 */
|
|
168
169
|
function connectCard() {
|
|
169
|
-
return card('
|
|
170
|
+
return card('连接中转站',
|
|
170
171
|
el('p', { class: 'brief' },
|
|
171
172
|
'把 ', el('b', { text: 'neartoken.cc' }), ' 接成 magpie 的供应商:登录在站点自己的页面完成,' +
|
|
172
173
|
'插件不接触密码。连接之后模型由 magpie 的供应商页统一选择,这里只管账户与额度。'),
|