Repository navigation
Upgrade Taquito 25 and enable native Oxc React Compiler - #6
Merged
Merged
Conversation
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Upgrade the wallet dependencies from Taquito 23 to the latest stable 25.0.0 and enable the experimental native Oxc React Compiler in a separate commit.
Taquito packages now share one version and use its maintained Beacon fork. Beacon enums come through Taquito's supported exports, removing the separate AirGap SDK dependency. Logout uses the newer reconnectable session-disconnect API. The upgrade removes the previous fs/crypto browser-externalization warnings and reduces the entry bundle from about 978 KB to 902 KB gzip.
The Vite React plugin enables native compilation using the compatible pinned oxc-transform-react 0.152.0, with compiler diagnostics enabled. Vitest shares that configuration. Transfer form normalization and a direct disconnected-error result avoid unsupported compiler syntax. No Babel compiler packages or configuration are retained.
Validation:
Limitations: native Oxc React Compiler support is experimental, as requested. The large-bundle warning and Beacon startup subscription warning remain. Logout/reconnect and transfers were verified with mocked SDK tests and installed SDK inspection; no real wallet transaction was performed.