@roxybrowser/openapi 1.0.13-beta.3 → 1.0.13-beta.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/cli.cjs CHANGED
@@ -2133,16 +2133,16 @@ var ListBrowsers = class {
2133
2133
  const pageSize = params.pageSize ?? 15;
2134
2134
  const totalPages = Math.max(1, Math.ceil((data.total || 0) / pageSize));
2135
2135
  const hasNextPage = currentPage < totalPages;
2136
- const serialNo = `${data.workspaceName?.slice(0, 3).toLocaleUpperCase()}-${data.windowSortNum}`;
2137
2136
  text = `Found ${data.total} browsers in workspace ${params.workspaceId}:
2138
2137
 
2139
- ${data.rows.map(
2140
- (browser) => `**${browser.windowName || "Unnamed"}** (Serial No: ${serialNo})
2138
+ ${data.rows.map((browser) => {
2139
+ const serialNo = `${browser.workspaceName?.slice(0, 3).toLocaleUpperCase()}-${browser.windowSortNum}`;
2140
+ return `**${browser.windowName || "Unnamed"}** (Serial No: ${serialNo})
2141
2141
  - CoreVersion: ${browser.coreVersion} - DirId: ${browser.dirId}
2142
2142
  - OSVersion: ${browser.osVersion}
2143
2143
  - OS: ${browser.os}
2144
- - Remark: ${browser.windowRemark}`
2145
- ).join("\n\n")}
2144
+ - Remark: ${browser.windowRemark}`;
2145
+ }).join("\n\n")}
2146
2146
 
2147
2147
  Pagination:
2148
2148
  - currentPage: ${currentPage}