jolocom / jolocom-lib

Library for interacting with the identity solution provided by Jolocom.
MIT License
24 stars 18 forks source link

Feat/generic messages #399

Closed chunningham closed 4 years ago

chunningham commented 4 years ago

removes any restrictions imposed by JSONWebToken being generic over T extends JWTEncodable. These changes are not breaking. In future, the interaction tokens which currently remain in the library can be migrated out in a breaking change.

Custom messages can be created with the IdentityWallet.create.message public function. They will sign and validate like any other.