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

Sequential Preflight Calls #749

Merged
merged 4 commits into from
Sep 15, 2022
Merged

Sequential Preflight Calls #749

merged 4 commits into from
Sep 15, 2022

Conversation

isaacvance1027
Copy link
Contributor

This PR changes our processing of the preflights to run authentication calls and device data collection calls in Promises that resolve sequentially instead of all at once in a Promise.all as before.

This is because the event listeners instantiated in risk strategies during this process were previously all receiving the same event since the events do necessarily have unique identifiers.

@chrissrogers chrissrogers merged commit 3e8f334 into master Sep 15, 2022
@chrissrogers chrissrogers deleted the sequential_preflights branch September 15, 2022 23:34
recurly-integrations pushed a commit that referenced this pull request Sep 16, 2022
[Full Changelog](v4.22.2...v4.22.3)

**Merged Pull Requests**

- Sequential Preflight Calls [#749](#749) ([isaacvance1027](https://github.com/isaacvance1027))

##### Minified MD5 Checksum
```
5797a937176ff92a2936b378d73c0731 ./build/recurly.min.js
```
##### [SRI Hash](https://www.srihash.org/)
```
n8svZwDWXMGeDGXKQAkViehxtxB8GtdeAtFj5y15wTt53ZKtj4rSqcseczjLwGYz
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants