Skip to content

Conversation

@swansontec
Copy link
Contributor

@swansontec swansontec commented Feb 12, 2026

This function does not exist in the Hermes runtime, but our fuzzyTimeout is similar enough (and has the extra benefit of ignoring promises that take much too long).

CHANGELOG

Does this branch warrant an entry to the CHANGELOG?

  • Yes
  • No

Dependencies

none

Requirements

If you have made any visual changes to the GUI. Make sure you have:

  • Tested on iOS device
  • Tested on Android device
  • Tested on small-screen device (iPod Touch)
  • Tested on large-screen device (tablet)

Note

Medium Risk
Touches the Aave close-with-collateral path that builds ParaSwap routes/transactions, so any SDK behavioral differences could affect repay execution despite being a mostly mechanical dependency migration.

Overview
Updates the Aave borrow plugin to use @paraswap/sdk instead of the legacy paraswap package, including adapting ParaSwap construction to the new options-object API.

Also tightens TypeScript typing in AaveBorrowEngineFactory (explicit return types, unknown in catch) and refreshes lint config to stop special-casing that file. Dependency lockfile changes reflect the ParaSwap SDK upgrade and removal of the old ParaSwap/Web3-related transitive packages.

Written by Cursor Bugbot for commit fad2e19. This will update automatically on new commits. Configure here.


Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

@swansontec swansontec force-pushed the william/all-settled-error branch 2 times, most recently from 61f78c8 to e6e3520 Compare February 13, 2026 00:35
@swansontec swansontec changed the title Replace Promise.allSettled with fuzzyTimeout Stop Promise.allSettled from being stomped Feb 13, 2026
This old library was stomping on our Promise implementation, removing modern methods we rely on. A recent Hermes change seems to have triggered this behavior (`Promise.resolve().toString` is returning '[object Object]' instead of '[object Promise]'), so this just started happening. Upgrade to a more modern edition of the ParaSwap SDK.
@swansontec swansontec force-pushed the william/all-settled-error branch from e6e3520 to fad2e19 Compare February 13, 2026 01:16
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.

1 participant