dsh-pocket 1.0.8 β†’ 1.0.9

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/client/client.js CHANGED
@@ -1418,7 +1418,7 @@ function PocketSettingsTab({ rpcCall }) {
1418
1418
  "div",
1419
1419
  { style: { display: "flex", alignItems: "center", justifyContent: "space-between", gap: 8 } },
1420
1420
  (0, import_react2.createElement)("div", { style: { fontWeight: 600, fontSize: 13 } }, `\u{1F4E6} \u65B0\u7248\u672C v${updateInfo.latest} | Update available`),
1421
- updateInfo.result !== "ok" ? (0, import_react2.createElement)("button", { style: styles.primary, onClick: runUpdate, disabled: updateInfo.updating }, updateInfo.updating ? "\u66F4\u65B0\u4E2D\u2026" : `\u66F4\u65B0\u5230 v${updateInfo.latest} | Update`) : null
1421
+ updateInfo.result !== "ok" ? (0, import_react2.createElement)("button", { style: styles.primary, onClick: runUpdate, disabled: updateInfo.updating }, updateInfo.updating ? "\u66F4\u65B0\u4E2D\u2026" : `\u66F4\u65B0\u5230 v${updateInfo.latest} | Update`) : (0, import_react2.createElement)("button", { style: styles.btn, onClick: () => window.location.reload() }, "\u{1F504} \u5237\u65B0\u9875\u9762 | Refresh")
1422
1422
  ),
1423
1423
  (0, import_react2.createElement)(
1424
1424
  "div",
package/client/index.jsx CHANGED
@@ -177,7 +177,7 @@ function PocketSettingsTab({ rpcCall }) {
177
177
  h('div', { style: { fontWeight: 600, fontSize: 13 } }, `πŸ“¦ ζ–°η‰ˆζœ¬ v${updateInfo.latest} | Update available`),
178
178
  updateInfo.result !== 'ok'
179
179
  ? h('button', { style: styles.primary, onClick: runUpdate, disabled: updateInfo.updating }, updateInfo.updating ? '更新中…' : `ζ›΄ζ–°εˆ° v${updateInfo.latest} | Update`)
180
- : null,
180
+ : h('button', { style: styles.btn, onClick: () => window.location.reload() }, 'πŸ”„ εˆ·ζ–°ι‘΅ι’ | Refresh'),
181
181
  ),
182
182
  h('div', { style: styles.muted, marginTop: 4 },
183
183
  updateInfo.result === 'ok' ? 'βœ… ε·²ζ›΄ζ–°οΌŒι‡ε― dsh web η”Ÿζ•ˆ | updated β€” restart dsh web'
package/package.json CHANGED
@@ -77,5 +77,5 @@
77
77
  "access": "public",
78
78
  "registry": "https://registry.npmjs.org/"
79
79
  },
80
- "version": "1.0.8"
80
+ "version": "1.0.9"
81
81
  }