Skip to content

Releases: blocknative/notify

Mobile Styling

31 Oct 05:21
4eac726
Compare
Choose a tag to compare

A small release to fix mobile device detection.

Changelog:

  • Change innerWidth to outerWidth (#40)

Typescript

28 Oct 03:53
3e90afd
Compare
Choose a tag to compare

In this release the code base has been converted from vanilla JavaScript to TypeScript.

Changelog:

  • Convert to TypeScript (#37)

Fix Svelte Build Issues

26 Oct 21:51
7be0d58
Compare
Choose a tag to compare

A small release to fix a build issue in non Svelte environments by changing the rollup config.

Changelog:

  • Svelte build change (#35)

Update sdk

23 Oct 03:47
4b632ee
Compare
Choose a tag to compare

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)

Bug Fixes

16 Oct 06:44
bf22d80
Compare
Choose a tag to compare

This is a small release to fix a few minor bugs and to update documentation for custom notifications.

Change log:

  • Update docs to include notification function (#14)
  • Fix result.hash bug (#15)
  • Avoid exponent notation strings (#17)

Watch Accounts

03 Oct 05:14
8644845
Compare
Choose a tag to compare

This release adds the ability to watch an account address and automatically receive transaction notifications for all incoming and outgoing transactions that involve that account. Typescript definitions have also been added.

Change log:

  • Watch Account feature (#6)
  • Add Typescript definitions (#8)