MetaMask / snaps

Extend the functionality of MetaMask using Snaps
https://metamask.io/snaps/
Other
711 stars 546 forks source link

Add files for `react-native` export compatibility #2451

Closed Mrtenz closed 1 month ago

Mrtenz commented 1 month ago

@metamask/snaps-controllers has a /react-native export, but React Native seemingly doesn't support exports (or at least the version we use in the mobile repository)? This adds a react-native.js and react-native.d.ts file to support tools that don't support exports.

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 94.32%. Comparing base (3431866) to head (aa7dd62).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2451 +/- ## ======================================= Coverage 94.32% 94.32% ======================================= Files 438 438 Lines 9021 9021 Branches 1382 1382 ======================================= Hits 8509 8509 Misses 512 512 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.