Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: captcha support on sdk plugins #674

Merged
merged 1 commit into from
Dec 14, 2023
Merged

Conversation

cpaulve-1A
Copy link
Contributor

@cpaulve-1A cpaulve-1A commented Aug 21, 2023

Proposed change

Stop and restart the timeout fetch plugin in case a specific event interrumpts the fetch request.
Add event emitter to pause the timeout if an imperva captcha has been detected.

@github-actions github-actions bot added the enhancement New feature or request label Aug 21, 2023
@nx-cloud
Copy link

nx-cloud bot commented Aug 21, 2023

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 85e29e6. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 1 target

Sent with 💌 from NxCloud.

@cpaulve-1A cpaulve-1A force-pushed the feat/captcha-support branch 3 times, most recently from d2cfa73 to d5a9fe6 Compare August 23, 2023 10:31
@cpaulve-1A cpaulve-1A closed this Aug 29, 2023
@cpaulve-1A cpaulve-1A force-pushed the feat/captcha-support branch from d5a9fe6 to d5e5647 Compare August 29, 2023 12:48
@cpaulve-1A cpaulve-1A reopened this Aug 29, 2023
@cpaulve-1A cpaulve-1A force-pushed the feat/captcha-support branch from 78a66b2 to a94bd88 Compare August 30, 2023 09:35
@cpaulve-1A cpaulve-1A force-pushed the feat/captcha-support branch from a94bd88 to 5092f65 Compare August 31, 2023 12:48
@cpaulve-1A cpaulve-1A force-pushed the feat/captcha-support branch 2 times, most recently from 14d33f7 to f6f74f1 Compare November 22, 2023 15:40
@cpaulve-1A cpaulve-1A force-pushed the feat/captcha-support branch from f6f74f1 to fb6c2a9 Compare December 4, 2023 13:20
@cpaulve-1A cpaulve-1A marked this pull request as ready for review December 11, 2023 08:50
@cpaulve-1A cpaulve-1A requested a review from a team as a code owner December 11, 2023 08:50
@cpaulve-1A cpaulve-1A force-pushed the feat/captcha-support branch 2 times, most recently from 58fa7e6 to 578e911 Compare December 13, 2023 14:15
@@ -1,12 +1,12 @@
import {EmptyResponseError, ResponseTimeoutError} from '../../fwk/errors';
import {TimeoutFetch} from './timeout.fetch';
import {TimeoutFetch, TimeoutStatus} from './timeout.fetch';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isn't TimeoutStatus a type?

/**
* Factory to generate a {@see TimeoutPauseEventHandler} depending on various configurations
*/
export type TimeoutPauseEventHandlerFactory<T> = (config?: Partial<T>) => TimeoutPauseEventHandler;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can add a constraint on T as T extends Record<string, any>

@cpaulve-1A cpaulve-1A added this pull request to the merge queue Dec 14, 2023
Merged via the queue into main with commit 3e02dd0 Dec 14, 2023
25 checks passed
@cpaulve-1A cpaulve-1A deleted the feat/captcha-support branch December 14, 2023 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants