@egdesk/next-api-plugin 1.5.32 → 1.5.35

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/README.md CHANGED
@@ -6,7 +6,7 @@ Next.js plugin for EGDesk database proxy integration. Provides middleware-based
6
6
 
7
7
  - 🔒 CORS-free database access via Next.js middleware (or `proxy.ts` on Next.js 16+)
8
8
  - 🌐 Works in both local and tunneled environments
9
- - 📝 Type-safe table definitions and helper functions (user data, FinanceHub, internal knowledge / business identity / company research, browser recording)
9
+ - 📝 Type-safe table definitions and helper functions (user data, FinanceHub, internal knowledge / business identity / company research, browser recording replay + live browse)
10
10
  - 🚀 Auto-discovery of database tables
11
11
  - 🔧 Zero configuration after setup
12
12
 
@@ -137,9 +137,9 @@ function generateHelpers(projectPath, options = {}) {
137
137
  const helperContent = `/**
138
138
  * EGDesk Helper Functions for Next.js
139
139
  *
140
- * Type-safe helpers for EGDesk user data, Google Workspace (Sheets / Drive / Gmail / Apps Script sync),
140
+ * Type-safe helpers for EGDesk user data, Google Workspace (Sheets / Drive MCP + sync, Gmail, Apps Script),
141
141
  * FinanceHub (banks, cards, Hometax, promissory notes),
142
- * internal knowledge / business identity / company research (MCP), Korean law (MCP), and browser recorder replay.
142
+ * internal knowledge / business identity / company research (MCP), Korean law (MCP), and browser recorder replay / live browse.
143
143
  * Works in both client and server components.
144
144
  *
145
145
  * Generated by @egdesk/next-api-plugin — do not edit by hand.
@@ -1654,7 +1654,7 @@ export async function searchCompanyResearch(searchText: string) {
1654
1654
  // ==========================================
1655
1655
 
1656
1656
  /**
1657
- * Call EGDesk Browser Recording MCP tool (saved recorder tests, replay with optional dates).
1657
+ * Call EGDesk Browser Recording MCP tool (saved tests, replay, and live site+login sessions).
1658
1658
  *
1659
1659
  * - Server: \`POST {apiUrl}/browser-recording/tools/call\`
1660
1660
  * - Client: \`POST /__browser_recording_proxy\` (see proxy.ts / middleware)
@@ -1818,6 +1818,84 @@ export async function removeBrowserRecordingSyncConfig(opts: {
1818
1818
  return callBrowserRecordingTool('browser_recording_remove_sync_config', opts);
1819
1819
  }
1820
1820
 
1821
+ /** Recorded sites → logins → scripts (passwords never included) */
1822
+ export async function listBrowserRecordingSites(site?: string) {
1823
+ return callBrowserRecordingTool('browser_recording_list_sites', site ? { site } : {});
1824
+ }
1825
+
1826
+ /** One recorded login: identity + login vs post-login actions (no passwords) */
1827
+ export async function getBrowserRecordingAccount(siteKey: string, accountKey: string) {
1828
+ return callBrowserRecordingTool('browser_recording_get_account', { siteKey, accountKey });
1829
+ }
1830
+
1831
+ /**
1832
+ * Open Chrome after the recorded login only. Leaves the session open.
1833
+ * Use inspect / search / click next — do not close after login.
1834
+ */
1835
+ export async function openBrowserRecordingAccount(
1836
+ siteKey: string,
1837
+ accountKey: string,
1838
+ scriptPath?: string
1839
+ ) {
1840
+ return callBrowserRecordingTool('browser_recording_open_account', {
1841
+ siteKey,
1842
+ accountKey,
1843
+ ...(scriptPath ? { scriptPath } : {})
1844
+ });
1845
+ }
1846
+
1847
+ /** Numbered live-page elements, including left-nav / header menus */
1848
+ export async function inspectBrowserRecordingPage(sessionId: string) {
1849
+ return callBrowserRecordingTool('browser_recording_inspect_page', { sessionId });
1850
+ }
1851
+
1852
+ /** Search live-page labels (exact/substring first). Returns indexes for click. */
1853
+ export async function searchBrowserRecordingElements(sessionId: string, query: string) {
1854
+ return callBrowserRecordingTool('browser_recording_search_elements', { sessionId, query });
1855
+ }
1856
+
1857
+ /** Visible form fields; password values redacted */
1858
+ export async function getBrowserRecordingForms(
1859
+ sessionId: string,
1860
+ scroll?: 'none' | 'up' | 'down'
1861
+ ) {
1862
+ return callBrowserRecordingTool('browser_recording_get_forms', {
1863
+ sessionId,
1864
+ ...(scroll && scroll !== 'none' ? { scroll } : {})
1865
+ });
1866
+ }
1867
+
1868
+ /** Click by last-inspect index (prefers the real link over a wrapping table cell) */
1869
+ export async function clickBrowserRecordingElement(sessionId: string, elementIndex: number) {
1870
+ return callBrowserRecordingTool('browser_recording_click_element', { sessionId, elementIndex });
1871
+ }
1872
+
1873
+ /** Fill by field_id from getBrowserRecordingForms. Password fields are rejected. */
1874
+ export async function fillBrowserRecordingForm(
1875
+ sessionId: string,
1876
+ fields: Array<{ field_id: string; value: string }>
1877
+ ) {
1878
+ return callBrowserRecordingTool('browser_recording_fill_form', { sessionId, fields });
1879
+ }
1880
+
1881
+ /** Press Enter / Escape / arrows in the open live session (e.g. after 메뉴검색) */
1882
+ export async function pressBrowserRecordingKey(
1883
+ sessionId: string,
1884
+ key: 'Enter' | 'Escape' | 'Tab' | 'ArrowDown' | 'ArrowUp' | 'ArrowLeft' | 'ArrowRight' | 'Backspace'
1885
+ ) {
1886
+ return callBrowserRecordingTool('browser_recording_press_key', { sessionId, key });
1887
+ }
1888
+
1889
+ /** Open live browse sessions (site, login, url, sessionId) */
1890
+ export async function listBrowserRecordingSessions() {
1891
+ return callBrowserRecordingTool('browser_recording_list_sessions', {});
1892
+ }
1893
+
1894
+ /** Close a live session only when fully done — not after login */
1895
+ export async function closeBrowserRecordingSession(sessionId: string) {
1896
+ return callBrowserRecordingTool('browser_recording_close_session', { sessionId });
1897
+ }
1898
+
1821
1899
  // ==========================================
1822
1900
  // AI CENTER (workflows, entities, relations, tags)
1823
1901
  // ==========================================
@@ -2704,7 +2782,7 @@ export async function deletePageIndexDocument(docId: string) {
2704
2782
  }
2705
2783
 
2706
2784
  // ==========================================
2707
- // Drive (MCP) — change watch / poll / events
2785
+ // Drive (MCP) — files, folders, change watch / poll / events
2708
2786
  // ==========================================
2709
2787
 
2710
2788
  /**
@@ -2832,7 +2910,7 @@ export async function setDriveTargetFolders(folderIds: string[]) {
2832
2910
  return callDriveTool('drive_set_target_folders', { folderIds });
2833
2911
  }
2834
2912
 
2835
- /** Upload a local file into a watched Drive folder (local → Workspace) */
2913
+ /** Upload a local file into a Drive folder (local → Workspace) */
2836
2914
  export async function uploadDriveFile(options: {
2837
2915
  filePath: string;
2838
2916
  folderId?: string;
@@ -2842,6 +2920,84 @@ export async function uploadDriveFile(options: {
2842
2920
  return callDriveTool('drive_upload', options);
2843
2921
  }
2844
2922
 
2923
+ /** List Drive files by folder and/or query */
2924
+ export async function listDriveFiles(options: {
2925
+ folderId?: string;
2926
+ query?: string;
2927
+ pageSize?: number;
2928
+ pageToken?: string;
2929
+ } = {}) {
2930
+ return callDriveTool('drive_list_files', options);
2931
+ }
2932
+
2933
+ /** Get Drive file or folder metadata */
2934
+ export async function getDriveFile(fileId: string) {
2935
+ return callDriveTool('drive_get_file', { fileId });
2936
+ }
2937
+
2938
+ /** Create a Drive folder */
2939
+ export async function createDriveFolder(name: string, parentId?: string) {
2940
+ return callDriveTool('drive_create_folder', { name, parentId });
2941
+ }
2942
+
2943
+ /** Download a Drive file to a local path */
2944
+ export async function downloadDriveFile(fileId: string, destPath: string) {
2945
+ return callDriveTool('drive_download', { fileId, destPath });
2946
+ }
2947
+
2948
+ /** Move a file or folder into destFolderId */
2949
+ export async function moveDriveFile(fileId: string, destFolderId: string) {
2950
+ return callDriveTool('drive_move', { fileId, destFolderId });
2951
+ }
2952
+
2953
+ /** Copy a Drive file */
2954
+ export async function copyDriveFile(options: {
2955
+ fileId: string;
2956
+ destName?: string;
2957
+ destFolderId?: string;
2958
+ }) {
2959
+ return callDriveTool('drive_copy', options);
2960
+ }
2961
+
2962
+ /** Rename a Drive file or folder */
2963
+ export async function renameDriveFile(fileId: string, name: string) {
2964
+ return callDriveTool('drive_rename', { fileId, name });
2965
+ }
2966
+
2967
+ /** Move a Drive file or folder to trash */
2968
+ export async function trashDriveFile(fileId: string) {
2969
+ return callDriveTool('drive_trash', { fileId });
2970
+ }
2971
+
2972
+ /** Find or create the top-level EGDesk Drive folder */
2973
+ export async function findOrCreateEgdeskFolder() {
2974
+ return callDriveTool('drive_find_or_create_egdesk_folder', {});
2975
+ }
2976
+
2977
+ /** Find or create EGDesk/Dev, Transactions, or Tax Invoices */
2978
+ export async function findOrCreateEgdeskSubfolder(
2979
+ subfolder: 'Dev' | 'Transactions' | 'Tax Invoices',
2980
+ ) {
2981
+ return callDriveTool('drive_find_or_create_subfolder', { subfolder });
2982
+ }
2983
+
2984
+ /** Move a file into an EGDesk subfolder */
2985
+ export async function moveDriveFileToEgdeskFolder(
2986
+ fileId: string,
2987
+ subfolder: 'Dev' | 'Transactions' | 'Tax Invoices',
2988
+ ) {
2989
+ return callDriveTool('drive_move_to_egdesk_folder', { fileId, subfolder });
2990
+ }
2991
+
2992
+ /** Create a spreadsheet and organize it into an EGDesk subfolder */
2993
+ export async function createSpreadsheetInEgdeskFolder(options: {
2994
+ title: string;
2995
+ subfolder: 'Dev' | 'Transactions' | 'Tax Invoices';
2996
+ data?: string[][];
2997
+ }) {
2998
+ return callDriveTool('drive_create_spreadsheet_in_folder', options);
2999
+ }
3000
+
2845
3001
  /**
2846
3002
  * Drive HTTP sync (same as GET/POST /drive/sync).
2847
3003
  * Omit options to GET status. Pass \`direction: 'toLocal'\` to download, or
@@ -2860,6 +3016,114 @@ export async function syncDrive(options: {
2860
3016
  });
2861
3017
  }
2862
3018
 
3019
+ // ==========================================
3020
+ // Google Sheets (MCP) — create / read / update / append
3021
+ // ==========================================
3022
+
3023
+ /**
3024
+ * Call EGDesk Sheets MCP tool.
3025
+ *
3026
+ * - Server: \`POST {apiUrl}/sheets/tools/call\`
3027
+ * - Client: \`POST /__sheets_proxy\`
3028
+ */
3029
+ export async function callSheetsTool(
3030
+ toolName: string,
3031
+ args: Record<string, any> = {}
3032
+ ): Promise<any> {
3033
+ const body = JSON.stringify({ tool: toolName, arguments: args });
3034
+
3035
+ const isServer = typeof window === 'undefined';
3036
+
3037
+ let response: Response;
3038
+ if (isServer) {
3039
+ const apiUrl =
3040
+ (typeof process !== 'undefined' && process.env?.NEXT_PUBLIC_EGDESK_API_URL) ||
3041
+ EGDESK_CONFIG.apiUrl;
3042
+ response = await fetch(\`\${apiUrl}/sheets/tools/call\`, {
3043
+ method: 'POST',
3044
+ headers: buildServerEgdeskHeaders(),
3045
+ body
3046
+ });
3047
+ } else {
3048
+ response = await apiFetch('/__sheets_proxy', {
3049
+ method: 'POST',
3050
+ headers: { 'Content-Type': 'application/json' },
3051
+ body
3052
+ });
3053
+ }
3054
+
3055
+ return parseEgdeskMcpToolResponse(response);
3056
+ }
3057
+
3058
+ /** Spreadsheet metadata (tabs, dimensions) */
3059
+ export async function getSpreadsheet(spreadsheetId: string) {
3060
+ return callSheetsTool('sheets_get_spreadsheet', { spreadsheetId });
3061
+ }
3062
+
3063
+ /** Read a range (A1 notation) */
3064
+ export async function getSheetRange(spreadsheetId: string, range: string) {
3065
+ return callSheetsTool('sheets_get_range', { spreadsheetId, range });
3066
+ }
3067
+
3068
+ /** Read a range including formula vs literal per cell */
3069
+ export async function getSheetRangeWithFormulas(spreadsheetId: string, range: string) {
3070
+ return callSheetsTool('sheets_get_range_with_formulas', { spreadsheetId, range });
3071
+ }
3072
+
3073
+ /** Header row of a tab */
3074
+ export async function getSheetHeaders(spreadsheetId: string, sheetName?: string) {
3075
+ return callSheetsTool('sheets_get_headers', { spreadsheetId, sheetName });
3076
+ }
3077
+
3078
+ /** First N rows of a tab */
3079
+ export async function getSheetSampleData(options: {
3080
+ spreadsheetId: string;
3081
+ sheetName?: string;
3082
+ rows?: number;
3083
+ }) {
3084
+ return callSheetsTool('sheets_get_sample_data', options);
3085
+ }
3086
+
3087
+ /** Metadata + headers + sample rows for every tab */
3088
+ export async function getSpreadsheetFullContext(spreadsheetId: string, sampleRows?: number) {
3089
+ return callSheetsTool('sheets_get_full_context', { spreadsheetId, sampleRows });
3090
+ }
3091
+
3092
+ /** Create a spreadsheet, optionally seeding Sheet1 */
3093
+ export async function createSpreadsheet(title: string, data?: string[][]) {
3094
+ return callSheetsTool('sheets_create_spreadsheet', { title, data });
3095
+ }
3096
+
3097
+ /** Add a tab to an existing spreadsheet */
3098
+ export async function createSheetTab(spreadsheetId: string, title: string) {
3099
+ return callSheetsTool('sheets_create_tab', { spreadsheetId, title });
3100
+ }
3101
+
3102
+ /** Overwrite a range */
3103
+ export async function updateSheetRange(spreadsheetId: string, range: string, values: string[][]) {
3104
+ return callSheetsTool('sheets_update_range', { spreadsheetId, range, values });
3105
+ }
3106
+
3107
+ /** Append rows after the last non-empty row in range */
3108
+ export async function appendSheetValues(spreadsheetId: string, range: string, values: string[][]) {
3109
+ return callSheetsTool('sheets_append_values', { spreadsheetId, range, values });
3110
+ }
3111
+
3112
+ /** Clear cell values in a range */
3113
+ export async function clearSheetRange(spreadsheetId: string, range: string) {
3114
+ return callSheetsTool('sheets_clear_range', { spreadsheetId, range });
3115
+ }
3116
+
3117
+ /** Bold + gray the first row of a tab */
3118
+ export async function formatSheetHeaders(spreadsheetId: string, sheetName?: string) {
3119
+ return callSheetsTool('sheets_format_headers', { spreadsheetId, sheetName });
3120
+ }
3121
+
3122
+ /** Tint a synced data tab */
3123
+ export async function tintSheetDataTab(spreadsheetId: string, sheetName: string) {
3124
+ return callSheetsTool('sheets_tint_data_tab', { spreadsheetId, sheetName });
3125
+ }
3126
+
2863
3127
  // ==========================================
2864
3128
  // Google Sheets HTTP sync — My DB ↔ Workspace
2865
3129
  // ==========================================
@@ -3015,6 +3279,32 @@ export async function pullAppsScriptFromGoogle(projectId: string) {
3015
3279
  return callAppsScriptTool('apps_script_pull_from_google', { projectId });
3016
3280
  }
3017
3281
 
3282
+ /** Create a container-bound Apps Script on a Sheet, Doc, Slide, or Form and register it */
3283
+ export async function createAppsScriptBound(options: {
3284
+ fileId: string;
3285
+ title?: string;
3286
+ scriptCode?: string;
3287
+ force?: boolean;
3288
+ }) {
3289
+ return callAppsScriptTool('apps_script_create_bound', options);
3290
+ }
3291
+
3292
+ /** Alias of createAppsScriptBound */
3293
+ export async function createAppsScriptForSpreadsheet(options: {
3294
+ spreadsheetId?: string;
3295
+ fileId?: string;
3296
+ title?: string;
3297
+ scriptCode?: string;
3298
+ force?: boolean;
3299
+ }) {
3300
+ return callAppsScriptTool('apps_script_create_bound', {
3301
+ fileId: options.fileId || options.spreadsheetId,
3302
+ title: options.title,
3303
+ scriptCode: options.scriptCode,
3304
+ force: options.force,
3305
+ });
3306
+ }
3307
+
3018
3308
  /**
3019
3309
  * Apps Script HTTP sync (POST /apps-script/sync).
3020
3310
  * direction toWorkspace = push; toLocal = pull. Does not accept \`both\`.
@@ -73,7 +73,7 @@ import type { NextRequest } from 'next/server';
73
73
  /**
74
74
  * EGDesk Database Proxy Middleware
75
75
  *
76
- * Intercepts __user_data_proxy, __browser_recording_proxy, __internal_knowledge_proxy, __company_research_proxy, __kakao_proxy, __drive_proxy, __egdesk_http_proxy, __gmail_proxy, __apps_script_proxy, __visitor_auth_proxy, and __visitor_google_proxy requests
76
+ * Intercepts __user_data_proxy, __browser_recording_proxy, __internal_knowledge_proxy, __company_research_proxy, __kakao_proxy, __drive_proxy, __sheets_proxy, __egdesk_http_proxy, __gmail_proxy, __apps_script_proxy, __visitor_auth_proxy, and __visitor_google_proxy requests
77
77
  * and forwards them to the EGDesk MCP HTTP server.
78
78
  * This allows CORS-free database access in both local and tunneled environments.
79
79
  *
@@ -282,6 +282,29 @@ export async function middleware(request: NextRequest) {
282
282
  }
283
283
  }
284
284
 
285
+ if (pathname.includes('__sheets_proxy')) {
286
+ try {
287
+ const body = await request.text();
288
+ const apiKey = process.env.NEXT_PUBLIC_EGDESK_API_KEY;
289
+ const apiUrl = process.env.NEXT_PUBLIC_EGDESK_API_URL || 'http://localhost:8080';
290
+ const headers: HeadersInit = { 'Content-Type': 'application/json' };
291
+ if (apiKey) headers['X-Api-Key'] = apiKey;
292
+
293
+ const response = await fetch(\`\${apiUrl}/sheets/tools/call\`, {
294
+ method: 'POST',
295
+ headers,
296
+ body,
297
+ });
298
+ const result = await response.json();
299
+ return NextResponse.json(result, { status: response.status });
300
+ } catch (error: any) {
301
+ return NextResponse.json(
302
+ { error: 'Proxy error', message: error.message },
303
+ { status: 500 }
304
+ );
305
+ }
306
+ }
307
+
285
308
  if (pathname.includes('__egdesk_http_proxy')) {
286
309
  try {
287
310
  const payload = await request.json().catch(() => ({} as Record<string, unknown>));
@@ -75,7 +75,7 @@ import type { NextRequest } from 'next/server';
75
75
  /**
76
76
  * EGDesk Database Proxy (Next.js 16+)
77
77
  *
78
- * Intercepts __user_data_proxy, __browser_recording_proxy, __internal_knowledge_proxy, __company_research_proxy, __ai_center_proxy, __korean_law_proxy, __seo_proxy, __ssl_proxy, __local_agent_proxy, __pageindex_proxy, __drive_proxy, __egdesk_http_proxy, __gmail_proxy, __apps_script_proxy, __knowledge_wiki_proxy, __egdesk_config_proxy, __ai_caller_proxy, __kakao_proxy, __phone_proxy, __instagram_proxy, __financehub_proxy, __blog_proxy, __youtube_proxy, __visitor_auth_proxy, and __visitor_google_proxy requests
78
+ * Intercepts __user_data_proxy, __browser_recording_proxy, __internal_knowledge_proxy, __company_research_proxy, __ai_center_proxy, __korean_law_proxy, __seo_proxy, __ssl_proxy, __local_agent_proxy, __pageindex_proxy, __drive_proxy, __sheets_proxy, __egdesk_http_proxy, __gmail_proxy, __apps_script_proxy, __knowledge_wiki_proxy, __egdesk_config_proxy, __ai_caller_proxy, __kakao_proxy, __phone_proxy, __instagram_proxy, __financehub_proxy, __blog_proxy, __youtube_proxy, __visitor_auth_proxy, and __visitor_google_proxy requests
79
79
  * and forwards them to the EGDesk MCP HTTP server. This avoids CORS in local and tunneled environments.
80
80
  *
81
81
  * Generated by @egdesk/next-api-plugin
@@ -349,6 +349,28 @@ export async function proxy(request: NextRequest) {
349
349
  }
350
350
  }
351
351
 
352
+ if (pathname.includes('__sheets_proxy')) {
353
+ try {
354
+ const body = await request.text();
355
+ const apiUrl = process.env.NEXT_PUBLIC_EGDESK_API_URL || 'http://localhost:8080';
356
+
357
+ const response = await fetch(\`\${apiUrl}/sheets/tools/call\`, {
358
+ method: 'POST',
359
+ headers: buildEgdeskHeaders(),
360
+ body,
361
+ });
362
+
363
+ const result = await response.json();
364
+
365
+ return NextResponse.json(result, { status: response.status });
366
+ } catch (error: any) {
367
+ return NextResponse.json(
368
+ { error: 'Proxy error', message: error.message },
369
+ { status: 500 }
370
+ );
371
+ }
372
+ }
373
+
352
374
  if (pathname.includes('__egdesk_http_proxy')) {
353
375
  try {
354
376
  const payload = await request.json().catch(() => ({} as Record<string, unknown>));
@@ -671,7 +693,7 @@ export const config = {
671
693
  matcher: [
672
694
  /*
673
695
  * Match all paths except static assets
674
- * The proxy function filters for __user_data_proxy / __browser_recording_proxy / __internal_knowledge_proxy / __company_research_proxy / __ai_center_proxy / __korean_law_proxy / __seo_proxy / __ssl_proxy / __local_agent_proxy / __pageindex_proxy / __drive_proxy / __egdesk_http_proxy / __gmail_proxy / __apps_script_proxy / __knowledge_wiki_proxy / __egdesk_config_proxy / __ai_caller_proxy / __kakao_proxy / __phone_proxy / __instagram_proxy / __financehub_proxy / __blog_proxy / __youtube_proxy / __visitor_auth_proxy / __visitor_google_proxy
696
+ * The proxy function filters for __user_data_proxy / __browser_recording_proxy / __internal_knowledge_proxy / __company_research_proxy / __ai_center_proxy / __korean_law_proxy / __seo_proxy / __ssl_proxy / __local_agent_proxy / __pageindex_proxy / __drive_proxy / __sheets_proxy / __egdesk_http_proxy / __gmail_proxy / __apps_script_proxy / __knowledge_wiki_proxy / __egdesk_config_proxy / __ai_caller_proxy / __kakao_proxy / __phone_proxy / __instagram_proxy / __financehub_proxy / __blog_proxy / __youtube_proxy / __visitor_auth_proxy / __visitor_google_proxy
675
697
  */
676
698
  '/:path*',
677
699
  ],
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.45";
11
+ export declare const COMPATIBLE_APP_VERSION = "1.4.47";
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.45';
49
+ exports.COMPATIBLE_APP_VERSION = '1.4.47';
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.32",
3
+ "version": "1.5.35",
4
4
  "description": "Next.js plugin for EGDesk database proxy integration",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",