Skip to content

Commit 9ae9d77

Browse files
committed
updates
1 parent 1a30a76 commit 9ae9d77

File tree

9 files changed

+15
-9
lines changed

9 files changed

+15
-9
lines changed

components/apify/actions/get-dataset-items/get-dataset-items.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
key: "apify-get-dataset-items",
66
name: "Get Dataset Items",
77
description: "Returns data stored in a dataset. [See the documentation](https://docs.apify.com/api/v2/dataset-items-get)",
8-
version: "0.0.1",
8+
version: "0.0.2",
99
type: "action",
1010
props: {
1111
apify,

components/apify/actions/run-actor/run-actor.mjs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
key: "apify-run-actor",
66
name: "Run Actor",
77
description: "Performs an execution of a selected actor in Apify. [See the documentation](https://docs.apify.com/api/v2#/reference/actors/run-collection/run-actor)",
8-
version: "0.0.2",
8+
version: "0.0.3",
99
type: "action",
1010
props: {
1111
apify,
@@ -104,6 +104,12 @@ export default {
104104
};
105105
const options = this.prepareOptions(value);
106106
if (options) props[key].options = options;
107+
if (value.default) {
108+
props[key].description += ` Default: \`${JSON.stringify(value.default)}\``;
109+
if (props[key].type !== "object") { // default values don't work properly for object props
110+
props[key].default = value.default;
111+
}
112+
}
107113
}
108114
}
109115
return props;

components/apify/actions/run-task-synchronously/run-task-synchronously.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "apify-run-task-synchronously",
55
name: "Run Task Synchronously",
66
description: "Run a specific task and return its dataset items. [See the documentation](https://docs.apify.com/api/v2/actor-task-run-sync-get-dataset-items-get)",
7-
version: "0.0.1",
7+
version: "0.0.2",
88
type: "action",
99
props: {
1010
apify,

components/apify/actions/scrape-single-url/scrape-single-url.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
key: "apify-scrape-single-url",
66
name: "Scrape Single URL",
77
description: "Executes a scraper on a specific website and returns its content as text. This action is perfect for extracting content from a single page.",
8-
version: "0.0.2",
8+
version: "0.0.3",
99
type: "action",
1010
props: {
1111
apify,

components/apify/actions/set-key-value-store-record/set-key-value-store-record.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
key: "apify-set-key-value-store-record",
66
name: "Set Key-Value Store Record",
77
description: "Create or update a record in the key-value store of Apify. [See the documentation](https://docs.apify.com/api/v2#/reference/key-value-stores/record-collection/put-record)",
8-
version: "0.0.2",
8+
version: "0.0.3",
99
type: "action",
1010
props: {
1111
apify,

components/apify/apify.app.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ export default {
174174
}) {
175175
return this._makeRequest({
176176
method: "POST",
177-
path: `/acts/${actorId}/runs`,
177+
path: `/acts/${actorId}/run-sync`,
178178
...opts,
179179
});
180180
},

components/apify/package.json

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

components/apify/sources/new-finished-actor-run-instant/new-finished-actor-run-instant.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
key: "apify-new-finished-actor-run-instant",
77
name: "New Finished Actor Run (Instant)",
88
description: "Emit new event when a selected actor is run and finishes.",
9-
version: "0.0.2",
9+
version: "0.0.3",
1010
type: "source",
1111
dedupe: "unique",
1212
props: {

components/apify/sources/new-finished-task-run-instant/new-finished-task-run-instant.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
key: "apify-new-finished-task-run-instant",
77
name: "New Finished Task Run (Instant)",
88
description: "Emit new event when a selected task is run and finishes.",
9-
version: "0.0.2",
9+
version: "0.0.3",
1010
type: "source",
1111
dedupe: "unique",
1212
props: {

0 commit comments

Comments
 (0)