Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 57.0.0 #795

Merged
merged 5 commits into from
Apr 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "metamask-sdk-monorepo",
"version": "56.0.0",
"version": "57.0.0",
"private": true,
"repository": {
"type": "git",
Expand Down
1 change: 1 addition & 0 deletions packages/devnext/src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ const WithSDKConfig = ({ children }: { children: React.ReactNode }) => {
readonlyRPCMap: {
'0x539': process.env.NEXT_PUBLIC_PROVIDER_RPCURL ?? '',
},
preferDesktop: false,
logging: {
developerMode: true,
sdk: true,
Expand Down
8 changes: 7 additions & 1 deletion packages/sdk-ui/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.4.0]
### Added
- feat: allow custom actions in MetaMask floating button ([#768](https://github.com/MetaMask/metamask-sdk/pull/768))
- fix: adapt the "devreactnative" DApp for compatibility with new "metaMask/providers" version ([#757](https://github.com/MetaMask/metamask-sdk/pull/757))

## [0.3.0]
### Added
- feat: activate sourcemap support in all packages and resolve issues ([#730](https://github.com/MetaMask/metamask-sdk/pull/730))
Expand Down Expand Up @@ -60,7 +65,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- feat: optimize rollup builds ([#496](https://github.com/MetaMask/metamask-sdk/pull/496))
- fix: linting changelog issue after updating scripts ([#509](https://github.com/MetaMask/metamask-sdk/pull/509))

[Unreleased]: https://github.com/MetaMask/metamask-sdk/compare/@metamask/[email protected]
[Unreleased]: https://github.com/MetaMask/metamask-sdk/compare/@metamask/[email protected]
[0.4.0]: https://github.com/MetaMask/metamask-sdk/compare/@metamask/[email protected]...@metamask/[email protected]
[0.3.0]: https://github.com/MetaMask/metamask-sdk/compare/@metamask/[email protected]...@metamask/[email protected]
[0.2.0]: https://github.com/MetaMask/metamask-sdk/compare/@metamask/[email protected]...@metamask/[email protected]
[0.1.6]: https://github.com/MetaMask/metamask-sdk/compare/@metamask/[email protected]...@metamask/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/sdk-ui",
"version": "0.3.0",
"version": "0.4.0",
"description": "MetaMask SDK cross-platform ui library",
"module": "dist/esm/index.js",
"types": "dist/esm/dist/src/index.d.ts",
Expand Down
7 changes: 6 additions & 1 deletion packages/sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.18.3]
### Added
- fix: issue preventing opting out of analytics ([#794](https://github.com/MetaMask/metamask-sdk/pull/794))

## [0.18.2]
### Added
- fix: update the EIP_6369 provider info ([#788](https://github.com/MetaMask/metamask-sdk/pull/788))
Expand Down Expand Up @@ -279,7 +283,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- [FEAT] improve logging + update examples ([#99](https://github.com/MetaMask/metamask-sdk/pull/99))

[Unreleased]: https://github.com/MetaMask/metamask-sdk/compare/@metamask/[email protected]
[Unreleased]: https://github.com/MetaMask/metamask-sdk/compare/@metamask/[email protected]
[0.18.3]: https://github.com/MetaMask/metamask-sdk/compare/@metamask/[email protected]...@metamask/[email protected]
[0.18.2]: https://github.com/MetaMask/metamask-sdk/compare/@metamask/[email protected]...@metamask/[email protected]
[0.18.1]: https://github.com/MetaMask/metamask-sdk/compare/@metamask/[email protected]...@metamask/[email protected]
[0.18.0]: https://github.com/MetaMask/metamask-sdk/compare/@metamask/[email protected]...@metamask/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/sdk",
"version": "0.18.2",
"version": "0.18.3",
"description": "",
"homepage": "https://github.com/MetaMask/metamask-sdk#readme",
"bugs": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,16 @@ export async function connect(instance: MetaMaskSDK) {
throw new Error(`SDK state invalid -- undefined provider`);
}

// TODO: enable once MetaMask Mobile v7.21 is out in store.
// It would still work on older wallet but the connection modal may be trigger twice.
// return instance.activeProvider.request({
// method: RPC_METHODS.WALLET_REQUESTPERMISSIONS,
// params: [
// {
// eth_accounts: {},
// },
// ],
// });
return instance.activeProvider.request({
method: RPC_METHODS.ETH_REQUESTACCOUNTS,
params: [],
Expand Down
Loading