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

refactor(blockapis): replace bluebird with native promises #5754

Merged
merged 1 commit into from
Mar 19, 2025

Conversation

kev-daniell
Copy link
Contributor

Ticket: DX-1126

TICKET: DX-1126

@kev-daniell kev-daniell force-pushed the DX-1126-remove-bluebird-from-blockapis branch from dfe52f3 to 399fbf2 Compare March 12, 2025 17:30
@kev-daniell kev-daniell marked this pull request as ready for review March 12, 2025 18:08
@kev-daniell kev-daniell requested review from a team as code owners March 12, 2025 18:08
@kev-daniell kev-daniell force-pushed the DX-1126-remove-bluebird-from-blockapis branch from 399fbf2 to c61828c Compare March 13, 2025 16:17
@sachushaji sachushaji requested a review from Copilot March 14, 2025 09:07
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR refactors the blockapis module by replacing Bluebird with native Promises. Key changes include:

  • Removing the Bluebird dependency.
  • Replacing the Bluebird.mapSeries call with a native implementation in the mapSeries function.
  • Introducing a custom async mapping implementation intended to mimic sequential processing.

@kev-daniell kev-daniell force-pushed the DX-1126-remove-bluebird-from-blockapis branch from c61828c to 6164d7f Compare March 14, 2025 15:03
@kev-daniell kev-daniell requested a review from Copilot March 14, 2025 17:38

Choose a reason for hiding this comment

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

Pull Request Overview

This PR refactors the blockapis module by replacing Bluebird with native promises. Key changes include:

  • Removal of the Bluebird dependency.
  • Implementation of the mapSeries function using async/await to replicate Bluebird.mapSeries behavior.
zahin-mohammad
zahin-mohammad previously approved these changes Mar 17, 2025
lokesh-bitgo
lokesh-bitgo previously approved these changes Mar 18, 2025
kaustubhbitgo
kaustubhbitgo previously approved these changes Mar 18, 2025
@kev-daniell kev-daniell force-pushed the DX-1126-remove-bluebird-from-blockapis branch from 83e687e to 25b0f53 Compare March 18, 2025 15:00
@shivabitgo shivabitgo merged commit 4b645c5 into master Mar 19, 2025
12 checks passed
@kev-daniell kev-daniell deleted the DX-1126-remove-bluebird-from-blockapis branch March 19, 2025 15:19
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.

9 participants