You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[blocking] This React 19/ReScript 12 migration needs to be consolidated with #1710 before merge. Both PRs modify the same migration surface (package.json, lockfiles, rescript.json, PortalCapture.res, and Promise.res) with conflicting dependency/config choices, so merging one first will leave the other resolving conflicts by overwriting migration code rather than reviewing a single coherent upgrade.
[blocking] This React 19/ReScript 12 migration needs to be consolidated with #1710 before merge. Both PRs modify the same migration surface (package.json, lockfiles, rescript.json, PortalCapture.res, and Promise.res) with conflicting dependency/config choices, so merging one first will leave the other resolving conflicts by overwriting migration code rather than reviewing a single coherent upgrade.
I have consolidated the dependency versions (react 19.2.8), rescript.json key migrations (compiler-flags, dependencies), and Promise.res / Promise.resi exception handling from PR #1710 into PR #1712. ReScript 12 build completes cleanly with zero configuration deprecation warnings.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1711
Summary
This PR upgrades the HyperSwitch Web SDK build stack to React 19 and ReScript 12 while preserving existing SDK behavior and merchant-facing APIs.
Changes
-bs-super-errorscompiler flagTesting
npm lsNotes
This change preserves existing merchant-facing APIs and maintains compatibility for both v1 and v2 SDKs.