This repository has been archived by the owner on Oct 7, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Narrow return type of
signTypedMessage
and encryption methods (#249)
* Narrow return type of `signTypedMessage` The method `signTypedMessage` always returns a string, but the declared return type was `Bytes` (which is a type union of `string` along with other things). This made the method more difficult to use, as callers had to handle the other `Bytes` types as return values as well. The method has been updated to use `string` as the return type. * Narrow return type for encryption methods as well
- Loading branch information