Releases: blocknative/notify
Mobile Styling
Typescript
In this release the code base has been converted from vanilla JavaScript to TypeScript.
Changelog:
- Convert to TypeScript (#37)
Fix Svelte Build Issues
A small release to fix a build issue in non Svelte environments by changing the rollup
config.
Changelog:
- Svelte build change (#35)
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: