diff --git a/components/gtmetrix/package.json b/components/gtmetrix/package.json index 6d0b895c4d761..cf831669ec171 100644 --- a/components/gtmetrix/package.json +++ b/components/gtmetrix/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/gtmetrix", - "version": "0.1.0", + "version": "0.1.1", "description": "Pipedream GTmetrix Components", "main": "gtmetrix.app.mjs", "keywords": [ @@ -13,6 +13,6 @@ "access": "public" }, "dependencies": { - "@pipedream/platform": "^1.5.1" + "@pipedream/platform": "^3.1.0" } } diff --git a/components/gtmetrix/sources/new-test-completed/new-test-completed.mjs b/components/gtmetrix/sources/new-test-completed/new-test-completed.mjs index 45d72e55a16ee..ec23a8252f378 100644 --- a/components/gtmetrix/sources/new-test-completed/new-test-completed.mjs +++ b/components/gtmetrix/sources/new-test-completed/new-test-completed.mjs @@ -5,9 +5,25 @@ export default { key: "gtmetrix-new-test-completed", name: "New Test Completed", description: "Emit new event when a test is completed in GTMetrix. [See the documentation](https://gtmetrix.com/api/docs/2.0/#api-test-list)", - version: "0.0.1", + version: "0.0.2", type: "source", dedupe: "unique", + props: { + ...common.props, + testSources: { + type: "string[]", + label: "Test Sources", + description: "The test sources to emit events for", + options: [ + "api", + "on-demand", + "monitored", + ], + default: [ + "api", + ], + }, + }, methods: { ...common.methods, getResourceFn() { @@ -19,6 +35,7 @@ export default { "sort": "-finished", "filter[state]": "completed", "filter[finished:gt]": lastTs, + "filter[source]": this.testSources.join(", "), }, }; }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index afd66a8a07874..609f945da2b74 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -4946,8 +4946,7 @@ importers: specifier: ^3.1.0 version: 3.1.0 - components/financial_data: - specifiers: {} + components/financial_data: {} components/findymail: dependencies: @@ -6281,8 +6280,8 @@ importers: components/gtmetrix: dependencies: '@pipedream/platform': - specifier: ^1.5.1 - version: 1.6.6 + specifier: ^3.1.0 + version: 3.1.0 components/guardrails: {} @@ -7921,8 +7920,7 @@ importers: components/lightpanda: {} - components/lightspeed_ecom_c_series: - specifiers: {} + components/lightspeed_ecom_c_series: {} components/lightspeed_retail_pos: dependencies: @@ -8766,8 +8764,7 @@ importers: components/microsoft_advertising: {} - components/microsoft_authenticator: - specifiers: {} + components/microsoft_authenticator: {} components/microsoft_azure_ai_translator: dependencies: