HDWalletProvider Error - TypeError: self.signTypedMessage is not a function

While trying to interact with contracts that need signed data (orders / orderbook)
getting error:

node_modules/@trufflesuite/web3-provider-engine/subproviders/hooked-wallet.js

TypeError: self.signTypedMessage is not a function

more info here:

:1234: Code to reproduce

:computer: Environment

“truffle”: “^5.3.6”

When are you seeing this? Is this related to OpenZeppelin code in any way?

Seeing this while sending transactions, using hdwallet and truffle,
Not related to solidity contracts, more a hdwallet and truffle issue

Ok, closing as there is no real question to answer here.

If you wanted ideas to troubleshoot or work around this issue please check out the link below and create a new topic according to the guidelines.