MetaMask / metamask-sdk

The simplest yet most secure way to connect your blockchain-based applications to millions of MetaMask Wallet users.
https://metamask.io/sdk/
Other
188 stars 115 forks source link

fix: sdk-react for react-native #1011

Closed abretonc7s closed 2 months ago

abretonc7s commented 2 months ago

Explanation

React Native demos have been errored since they were migrated to sdk-react as sdk-react wasn't exporting rn specific builds similar to sdk. This PR fixes it.

References

Checklist

socket-security[bot] commented 2 months ago

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@metamask/sdk-install-modal-web@0.28.1 None 0 550 kB metamaskbot
npm/@metamask/sdk-react@0.28.1 None 0 10.2 MB metamaskbot
npm/@metamask/sdk@0.28.1 None 0 29.4 MB metamaskbot

🚮 Removed packages: npm/@metamask/sdk-react@0.28.0), npm/@metamask/sdk@0.28.0)

View full report↗︎

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.

Project coverage is 80.00%. Comparing base (903397a) to head (092bec6). Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...kages/sdk/src/provider/initializeMobileProvider.ts 0.00% 3 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1011 +/- ## ========================================== - Coverage 80.20% 80.00% -0.21% ========================================== Files 178 177 -1 Lines 4057 4025 -32 Branches 1011 997 -14 ========================================== - Hits 3254 3220 -34 - Misses 803 805 +2 ```

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

sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud