This repository has been archived by the owner on May 10, 2021. It is now read-only.
Version 1.1.1
Personal Sign Flow
The uPort mobile app now supports "personal sign" functionality, and there is a new message to make such a request to a uPort mobile app. For uport-connect
, support for this feature includes:
- New method
Connect.requestPersonalSign(data, id, sendOpts)
which creates and sends a personal sign request message to a mobile app. Its response may be listened for withConnect.onResponse
as all other messages. - Support for
personal_sign
RPC call (invoked byweb3.personal.sign
, e.g.) inUportSubprovider
, via the above method onConnect
Typed Data (ERC712) Signature Flow
The uPort mobile app also supports the new eth_signTypedData
RPC call defined by the EIP712 Specification. Correspondingly, this library now includes:
- New method
Connect.requestTypeDataSignature(typedData, id, sendOpts)
, which creates and sends a typed data signature request message to a mobile app. Its response may be listened for withConnect.onResponse
as all other messages. - Support for
eth_signTypedData
andeth_signTypedData_v3
RPC calls inUportSubprovider
, via the above method onConnect