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