diff --git a/components/airtop/actions/create-window/create-window.mjs b/components/airtop/actions/create-window/create-window.mjs index ca7c2fd086cbe..0fd48b5e6002f 100644 --- a/components/airtop/actions/create-window/create-window.mjs +++ b/components/airtop/actions/create-window/create-window.mjs @@ -4,7 +4,7 @@ export default { key: "airtop-create-window", name: "Create Window", description: "Create a new browser window in an active session. [See the documentation](https://docs.airtop.ai/api-reference/airtop-api/windows/create)", - version: "0.0.1", + version: "0.0.2", type: "action", props: { app, @@ -61,9 +61,7 @@ export default { }, }); - const windowId = response.id; - - $.export("$summary", `Successfully created window ${windowId}`); + $.export("$summary", `Successfully created window ${response.windowId}`); return response; }, }; diff --git a/components/airtop/actions/query-page/query-page.mjs b/components/airtop/actions/query-page/query-page.mjs index 2824c4c36bc30..9814ba4068e5d 100644 --- a/components/airtop/actions/query-page/query-page.mjs +++ b/components/airtop/actions/query-page/query-page.mjs @@ -4,7 +4,7 @@ export default { key: "airtop-query-page", name: "Query Page", description: "Extract data or ask questions about page content using AI. [See the documentation](https://docs.airtop.ai/api-reference/airtop-api/windows/page-query)", - version: "0.0.1", + version: "0.0.2", type: "action", props: { app, @@ -63,11 +63,9 @@ export default { windowId, data: { prompt, - configuration: { - followPaginationLinks, - costThresholdCredits, - timeThresholdSeconds, - }, + followPaginationLinks, + costThresholdCredits, + timeThresholdSeconds, }, }); diff --git a/components/airtop/package.json b/components/airtop/package.json index a5c0920e5a800..58a66dc05f506 100644 --- a/components/airtop/package.json +++ b/components/airtop/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/airtop", - "version": "0.1.0", + "version": "0.1.1", "description": "Pipedream Airtop Components", "main": "airtop.app.mjs", "keywords": [