Skip to content

31.0.0

Choose a tag to compare

@github-actions github-actions released this 21 Apr 21:38
bcb8030

@metamask/connect-evm 1.0.0

Changed

  • BREAKING connectAndSign now returns { accounts: Address[]; chainId: Hex; signature: string } instead of a bare string. Code that previously destructured or assigned the return value as a string must be updated to read .signature. (#266)
  • BREAKING connectWith now returns { accounts: Address[]; chainId: Hex; result: unknown } instead of unknown. Code that previously used the return value as the raw RPC result must be updated to read .result. (#266)

@metamask/connect-solana 1.0.0

Changed

  • BREAKING registerWallet() now registers the MetaMask Connect Solana Provider as MetaMask instead of MetaMask Connect (#275)
  • Prefer the injected Solana provider by no longer announcing the MMC Solana provider if the injected Solana provider is detected (#275)

@metamask/browser-playground 0.7.0

Changed

  • Update LegacyEVMSDKProvider to unwrap .signature from the new connectAndSign return value, which now returns { accounts, chainId, signature } instead of a bare string (#266)
  • Update wagmi metamask-connector to unwrap .signature / .result from the new connectAndSign / connectWith return values (#266)
  • Use any Solana provider that announces itself as MetaMask instead of preferring MetaMask Connect (#275)
  • Bump workspace dependencies:
    • @metamask/connect-evm@1.0.0
    • @metamask/connect-solana@1.0.0