@lls-a1/dsh-balance-float 1.1.42 → 1.1.44
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/README.md +3 -3
- package/client.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,13 +5,13 @@ Host 半边自己维护本地用量账本(按轮记账 + 余额轮询),浏
|
|
|
5
5
|
|
|
6
6
|
## 安装
|
|
7
7
|
|
|
8
|
-
插件以 DSH profile bundle 的方式挂载(Host + Client
|
|
8
|
+
插件以 DSH profile bundle 的方式挂载(Host + Client 两半,无构建步骤),已发布到 npm:
|
|
9
9
|
|
|
10
10
|
```text
|
|
11
|
-
|
|
11
|
+
@lls-a1/dsh-balance-float
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
-
在 DSH
|
|
14
|
+
在 DSH 的插件管理里**只输入包名**即可安装和更新(安装源可选国内镜像)。GitHub 仓库仅作为源码地址:https://github.com/ming-a1/dsh-balance-float
|
|
15
15
|
本地开发可以用 `link:/path/to/balance-float`,改完刷新页面即可生效。
|
|
16
16
|
|
|
17
17
|
启用后 profile 里会多出一行 `id: balance-float`,可在 `config` 里覆盖账本路径、轮询间隔和 `apiKeyRef`(默认 `DEEPSEEK_API_KEY`,取不到时余额相关数字保持不动,不会归零)。
|
package/client.js
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* goes through the Client locale service so it follows the active language.
|
|
11
11
|
*/
|
|
12
12
|
window.__ModuleLoader__.load({
|
|
13
|
-
id: 'dsh-balance-float',
|
|
13
|
+
id: '@lls-a1/dsh-balance-float',
|
|
14
14
|
factory(require) {
|
|
15
15
|
const React = require('react');
|
|
16
16
|
// The shell keeps `shell.overlay` in a z-index:20 stacking context, so the
|