@ottttto/dsh-scheduled-send 0.3.4 → 0.3.5

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 CHANGED
@@ -651,7 +651,7 @@ function createClientPluginBody(React) {
651
651
  }, [
652
652
  h("span", { key: "i", style: iconBox }, "⏰"),
653
653
  h("span", { key: "l", style: labelStyle }, "定时任务"),
654
- all.length ? h("span", { key: "bs", style: countStyle }, String(all.length)) : null,
654
+ all.length ? badge(all.length) : null,
655
655
  ]),
656
656
  footer,
657
657
  ]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ottttto/dsh-scheduled-send",
3
- "version": "0.3.4",
3
+ "version": "0.3.5",
4
4
  "description": "DSH plugin: scheduled sending (⏰ composer button, dock list of pending tasks, sidebar 定时任务 panel with cross-session cancel, due-time delivery as a normal user bubble)",
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
@@ -52,4 +52,4 @@
52
52
  "engines": {
53
53
  "node": ">=18"
54
54
  }
55
- }
55
+ }
@@ -387,7 +387,7 @@ function createClientPluginBody(React) {
387
387
  }, [
388
388
  h("span", { key: "i", style: iconBox }, "⏰"),
389
389
  h("span", { key: "l", style: labelStyle }, "定时任务"),
390
- all.length ? h("span", { key: "bs", style: countStyle }, String(all.length)) : null,
390
+ all.length ? badge(all.length) : null,
391
391
  ]),
392
392
  footer,
393
393
  ]);