T1B1 firmware currently does not support constructing EIP-712 hashes. However, it supports signing pre-constructed hashes.
EIP-712 hashes can be constructed with the plugin function transformTypedData
You may also wish to construct your own hashes using a different library.
For more information refer to docs/ethereumSignTypedData
Follow instructions how to publish @trezor package to npm registry.