This repository was archived by the owner on Oct 16, 2025. It is now read-only.
Repository navigation
18.0.0
Changed
- BREAKING:
createFetchMiddlewareno longer takesfetch,btoa,rpcUrl, andoriginHttpHeaderKey(#402)- The existing signature (
rpcServiceandoptions) is now the only way to use this function; please use that instead.
- The existing signature (
- BREAKING: The RPC service object that
createFetchMiddlewaretakes must now come from@metamask/network-controller24.x (#404) - Tweak signature for
createFetchMiddlewareso it now accepts an partial RPC service object (#404)- The only required property is
request
- The only required property is
- Bump
@metamask/utilsto^11.7.0(#404)
Removed
- BREAKING: Remove support for
wallet_getCapabilities,wallet_sendCalls, andwallet_getCallsStatusfrom wallet middleware (#401)- These handlers have been moved to the
@metamask/eip-5792-middlewarepackage.
- These handlers have been moved to the
- BREAKING: Remove
PayloadWithOrigintype (#402)- There is no equivalent.
- BREAKING: Remove
createFetchConfigFromReqfunction (#402)- There is no equivalent.