Skip to content

Releases: MetaMask/ppom-validator

0.39.0

27 Oct 21:34
de8b1a2

Choose a tag to compare

Changed

  • BREAKING: Migrate PPOMController to new Messenger from @metamask/messenger (#249)
  • BREAKING: Metadata property anonymous renamed to includeInDebugSnapshot (#249)
  • BREAKING: Bump @metamask/network-controller peer dependency from ^24.0.O to ^25.0.0 (#249)
  • BREAKING: Bump @metamask/error-reporting-service peer dependency from ^2.0.0 to ^3.0.0 (#249)
  • Bump @metamask/base-controller from ^8.3.0 to ^9.0.0(#249)
  • Set module and moduleResolution option to Node16 (#251)

0.38.0

05 Sep 13:07
59514f3

Choose a tag to compare

Added

  • Add two new controller state metadata properties: includeInStateLogs and usedInUi (#246)

0.37.0

04 Sep 21:21
7dfd9a8

Choose a tag to compare

Changed

  • BREAKING: Bump @metamask/network-controller peer dependency to ^24.0.0 (#244)
  • BREAKING: Add @metamask/error-reporting-service peer dependency (#244)
  • Bump @metamask/base-controller from ^7.0.1 to ^8.3.0 (#244)

0.36.0

05 Dec 13:25
cec8c5a

Choose a tag to compare

Changed

  • BREAKING: Bump @metamask/network-controller peer dependency to ^22.0.0 (#4841)

0.35.1

17 Oct 16:46
9fbfbb5

Choose a tag to compare

Fixed

  • Update usePPOM method to handle errors by returning them instead of throwing exceptions (#226)

0.35.0

07 Oct 10:45
0ecd808

Choose a tag to compare

Changed

  • BREAKING: Bump @metamask/base-controller from ^6.0.2 to ^7.0.1
  • BREAKING: Bump @metamask/controller-utils from ^8.0.1 to ^11.3.0
  • BREAKING: Bump @metamask/utils from ^8.3.0 to ^9.2.1
  • Bump @metamask/rpc-errors from ^6.3.1 to ^6.4.0

Fixed

  • BREAKING: Add @metamask/network-controller as dev dependency (^21.0.1) and peer dependency (^21.0.0)
    • Remove @metamask/network-controller as dependency.
    • This peer dependency relationship was already relied upon since 0.16.0, when PPOMController started communicating with NetworkController via messenger, but was not reflected in the package manifest until now.

0.34.0

05 Sep 14:08
b9c074e

Choose a tag to compare

Changed

  • fix: update berachain chainid (#205)
  • feat: add support for multichain in PPOM Controller (#204)

0.33.0

23 Aug 20:53
bcf4762

Choose a tag to compare

Added

  • Add and export types PPOMControllerGetStateAction, PPOMControllerStateChangeEvent, PPOMControllerEvents (#193)

Changed

  • BREAKING: Bump @metamask/base-controller from ^3.0.0 to ^6.0.2 (#193)
  • BREAKING: Adapt to EIP-1193 provider changes by replacing the deprecated sendAsync method with the request method (#190)
  • PPOMControllerMessenger must allow PPOMController:getState action and PPOMController:stateChange event (#193)
    • Widen PPOMControllerActions to include PPOMControllerGetStateAction.

Fixed

  • Subscribe PPOMControllerMessenger to NetworkController:networkDidChange event and remove subscription to NetworkController:stateChange event (#192)

0.32.0

28 Jun 12:13
2b36579

Choose a tag to compare

Changed

  • Add support for blockaid validation in new networks (#188)

0.31.0

06 Jun 16:04
873a7c6

Choose a tag to compare

Changed

  • fix: treat all 2XX or 3XX HTTP response codes as success (#186)