dsh-tokenbank 0.1.35 → 0.1.36
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 +2 -1
- package/package.json +1 -1
package/lib/client.js
CHANGED
|
@@ -429,7 +429,8 @@ window.__ModuleLoader__.load({
|
|
|
429
429
|
function rechargeHint(fen, creditNano) {
|
|
430
430
|
var tokens = RECHARGE_HINTS[fen]
|
|
431
431
|
var usd = (creditNano ? creditNano / 1e9 : (fen / 100 / 6.5)).toFixed(2)
|
|
432
|
-
|
|
432
|
+
var turns = Math.round(tokens / 2000) // 旧口径:1 轮对话 ≈ 2000 TOKEN
|
|
433
|
+
return '获得 $' + usd + ' ≈ ' + humanTokens(turns) + ' 轮对话'
|
|
433
434
|
}
|
|
434
435
|
|
|
435
436
|
/** 词元数 → "1.2亿"/"3.4万"/"5000"。 */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-tokenbank",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.36",
|
|
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",
|