Skip to content

636.0.0

Choose a tag to compare

@github-actions github-actions released this 22 Oct 15:43
125b4a9

@metamask/shield-controller 0.4.0

Added

  • Added optional constructor params, normalizeSignatureRequest function which normalize the requests for TypedSignature similar to the security-alerts API. (#6906)
  • Added util function, parseSignatureRequestMethod to correctly parse the Json-Rpc method value for the signature request. (#6906)

Changed

  • Bump @metamask/base-controller from ^8.4.1 to ^8.4.2 (#6917)
  • Bump @metamask/transaction-controller from ^60.7.0 to ^60.8.0 (#6883)
  • Updated internal MessagingSystem subscriber for TransactionController and SignatureController stateChange events. (#6906)
    • Removed personal_sign check from the signature-coverage check. Now every signature requests will be sent to ruleset-engine.
    • Updated TransactionMeta.SimulationData check conditional to shallow comparison instead of referential comparison, to avoid triggering unnecessary coverage-check requests.
  • Removed signature data validation from the internal makeInitSignatureCoverageCheckBody function. (#6906)
    • As signature data is not always string (e.g. eth_signTypedData uses Array of Object) and the data is already validated in the SignatureController before adding to the state.