@egdesk/next-api-plugin 1.5.60 → 1.5.61

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.
@@ -2056,7 +2056,7 @@ export async function listBrowserRecordingSessions() {
2056
2056
  return callBrowserRecordingTool('browser_recording_list_sessions', {});
2057
2057
  }
2058
2058
 
2059
- /** Close Chrome. Does not save a recording or page HTML — only when fully done. */
2059
+ // Close Chrome. Does not save a recording or page HTML — only when fully done.
2060
2060
  export async function closeBrowserRecordingSession(sessionId: string) {
2061
2061
  return callBrowserRecordingTool('browser_recording_close_session', { sessionId });
2062
2062
  }
@@ -5105,6 +5105,7 @@ export async function listYouTubeHistory(options: {
5105
5105
  return callYouTubeTool('youtube_list_history', options);
5106
5106
  }
5107
5107
  `;
5108
- fs.writeFileSync(helperPath, helperContent.replace(/\r?\n/g, os.EOL), 'utf-8');
5108
+ const sanitized = helperContent.replace(/^(\/\*\*[^\n]*\*\/)\}$/gm, '$1');
5109
+ fs.writeFileSync(helperPath, sanitized.replace(/\r?\n/g, os.EOL), 'utf-8');
5109
5110
  console.log(`✅ Generated ${helperPath}`);
5110
5111
  }
package/dist/index.d.ts CHANGED
@@ -8,7 +8,7 @@
8
8
  * The minimum EGDesk app version this plugin version is compatible with.
9
9
  * The app checks this at setup time and warns on mismatch.
10
10
  */
11
- export declare const COMPATIBLE_APP_VERSION = "1.4.68";
11
+ export declare const COMPATIBLE_APP_VERSION = "1.4.69";
12
12
  export interface SetupOptions {
13
13
  egdeskUrl?: string;
14
14
  /** Production EGDesk server URL — written to .env.production.local. Falls back to egdeskUrl. */
package/dist/index.js CHANGED
@@ -46,7 +46,7 @@ exports.setupNextApiPlugin = setupNextApiPlugin;
46
46
  * The minimum EGDesk app version this plugin version is compatible with.
47
47
  * The app checks this at setup time and warns on mismatch.
48
48
  */
49
- exports.COMPATIBLE_APP_VERSION = '1.4.68';
49
+ exports.COMPATIBLE_APP_VERSION = '1.4.69';
50
50
  const fs = __importStar(require("fs"));
51
51
  const path = __importStar(require("path"));
52
52
  const setup_userdata_1 = require("./setup-userdata");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@egdesk/next-api-plugin",
3
- "version": "1.5.60",
3
+ "version": "1.5.61",
4
4
  "description": "Next.js plugin for EGDesk database proxy integration",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",