When I review source code for the SDK, I found this warning:
https://github.com/ethereum/eth-account/blob/main/eth_account/messages.py#L130
The usage for encode_typed_data
: encode_typed_data(domain, types, message)
.
I can submit PR for this replacement.