Skip to content

Update sdk

Compare
Choose a tag to compare
@lnbc1QWFyb24 lnbc1QWFyb24 released this 23 Oct 03:47
· 289 commits to master since this release
4b632ee

This release updates the version of bnc-sdk that Notify uses, which includes some minor bug fixes. There have been a few minor bug fixes in Notify as well. The dependency on ow has been removed in favor of custom validation due to ow throwing errors in server side rendering apps.

There are a couple of breaking changes in this update:

  • The transactionEvents parameter has been renamed to transactionHandler for consistency between Blocknative libraries.

  • The notification function on the API has been changed from taking two arguments: (eventCode, notificationObject), to just taking one argument which is the notificationObject. This object now includes an eventCode parameter and if one is not included, then it defaults to an eventCode of "customNotification"

Changelog:

  • Simplify custom notification API (#21)
  • Replace transaction data (#26)
  • Fix timer bug (#28)
  • Update to new sdk API (#30)
  • Remove ow dependency (#31)