@artenx/dshb 0.1.51 → 0.1.52

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
@@ -2728,7 +2728,8 @@ window.__ModuleLoader__.load({
2728
2728
  function resultSummary(peer) {
2729
2729
  const result = peer.progress?.lastResult;
2730
2730
  if (!result) return void 0;
2731
- return `节点导入 ${result.imported}、导出 ${result.exported};会话导入 ${result.importedSessions}、导出 ${result.exportedSessions};跳过 ${result.skipped}`;
2731
+ const sessionPart = result.skippedSessions > 0 ? `(其中会话 ${result.skippedSessions})` : "";
2732
+ return `节点导入 ${result.imported}、导出 ${result.exported};会话导入 ${result.importedSessions}、导出 ${result.exportedSessions};跳过 ${result.skipped}${sessionPart}`;
2732
2733
  }
2733
2734
  async function readJsonResponse(response, fallback) {
2734
2735
  try {