Skip to content
This repository was archived by the owner on Oct 16, 2025. It is now read-only.

18.0.0

Choose a tag to compare

@github-actions github-actions released this 10 Sep 20:14
1f41907

Changed

  • BREAKING: createFetchMiddleware no longer takes fetch, btoa, rpcUrl, and originHttpHeaderKey (#402)
    • The existing signature (rpcService and options) is now the only way to use this function; please use that instead.
  • BREAKING: The RPC service object that createFetchMiddleware takes must now come from @metamask/network-controller 24.x (#404)
  • Tweak signature for createFetchMiddleware so it now accepts an partial RPC service object (#404)
    • The only required property is request
  • Bump @metamask/utils to ^11.7.0 (#404)

Removed

  • BREAKING: Remove support for wallet_getCapabilities, wallet_sendCalls, and wallet_getCallsStatus from wallet middleware (#401)
    • These handlers have been moved to the @metamask/eip-5792-middleware package.
  • BREAKING: Remove PayloadWithOrigin type (#402)
    • There is no equivalent.
  • BREAKING: Remove createFetchConfigFromReq function (#402)
    • There is no equivalent.