Skip to content

v1.0.0

Compare
Choose a tag to compare
@w4ll3 w4ll3 released this 28 Jan 19:05
· 78 commits to main since this release

This updates the library version to 1.0.0, with a newly stabilized API.

  • Renamed signMessage() to prepareMessage(): Functionality remains the same, but signMessage() is deprecated and will be removed in future releases. It will warn upon usage.
  • The SignatureType enum is also deprecated and will be removed in future releases. Type will now be inferred from the version of the message.
  • With the removal of the SignatureType enum there will be no use for the field type, which is now deprecated as well and will be removed.
    The field signature is deprecated and will be removed in future releases.
  • BREAKING CHANGE The method .validate(provider) now require a new argument signature, which until the removal of the field signature from message will be not required and inferred from it. If this method was being used with a provider as an argument the signature will have to be provided.
  • Tests and the Notepad example were updated to work with these changes.