Update sdk
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 totransactionHandler
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 thenotificationObject
. This object now includes aneventCode
parameter and if one is not included, then it defaults to aneventCode
of"customNotification"
Changelog: