Skip to content

Commit ad642a2

Browse files
committed
Airtop component fixes
1 parent f0ff38b commit ad642a2

File tree

3 files changed

+7
-11
lines changed

3 files changed

+7
-11
lines changed

components/airtop/actions/create-window/create-window.mjs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "airtop-create-window",
55
name: "Create Window",
66
description: "Create a new browser window in an active session. [See the documentation](https://docs.airtop.ai/api-reference/airtop-api/windows/create)",
7-
version: "0.0.1",
7+
version: "0.0.2",
88
type: "action",
99
props: {
1010
app,
@@ -61,9 +61,7 @@ export default {
6161
},
6262
});
6363

64-
const windowId = response.id;
65-
66-
$.export("$summary", `Successfully created window ${windowId}`);
64+
$.export("$summary", `Successfully created window ${response.windowId}`);
6765
return response;
6866
},
6967
};

components/airtop/actions/query-page/query-page.mjs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "airtop-query-page",
55
name: "Query Page",
66
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)",
7-
version: "0.0.1",
7+
version: "0.0.2",
88
type: "action",
99
props: {
1010
app,
@@ -63,11 +63,9 @@ export default {
6363
windowId,
6464
data: {
6565
prompt,
66-
configuration: {
67-
followPaginationLinks,
68-
costThresholdCredits,
69-
timeThresholdSeconds,
70-
},
66+
followPaginationLinks,
67+
costThresholdCredits,
68+
timeThresholdSeconds,
7169
},
7270
});
7371

components/airtop/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/airtop",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "Pipedream Airtop Components",
55
"main": "airtop.app.mjs",
66
"keywords": [

0 commit comments

Comments
 (0)