Skip to content

Releases: blocknative/notify

Local Networks

11 May 04:18
88d90cc
Compare
Choose a tag to compare

If a networkId is passed in that isn't recognized by our backend, then it will be recognized as a local network and no notifications will be displayed. This is a change to previous behavior where a 'sent' notification would always be shown and when on a local network, the sent notification would hang there as there are no 'pending' or 'confirmed' notifications to replace it.

Changelog:

  • Enhancement: Update SDK (#129)
  • Enhancement: No Local Notifications (#131)

Bitcoin Support

05 May 04:36
7c62987
Compare
Choose a tag to compare

This release adds support for Bitcoin. You can now watch transactions and addresses on the Bitcoin network and display notifications:

import Notify from 'bnc-notify'

const blocknative = Notify({
  dappId: '<API_KEY>',
  system: 'bitcoin',
  networkId: 1 // mainnet - pass in 2 for testnet
}) 

// notifications for all activity on an address
const { emitter } = notify.account(bitcoinAddress)

// notifications for a particular transaction id
const { emitter } = notify.hash(txid)

The TypeScript types have also been fixed in this release as there was a problem with the typings field in the package.json

Changelog:

  • Fix: TypeScript Definitions (#122)
  • Enhancement: Add Eslint and Format (#123)
  • Enhancement: Detailed position Type (#124)
  • Feature: Bitcoin Support (#125)

Internal Changes

16 Apr 03:21
4e2a9e6
Compare
Choose a tag to compare

Just a few internal changes in this release

Changelog:

  • Enhancement: Custom Classname (#114)
  • Add apiUrl to init options (#115)
  • Remove build warnings (#116)

Update SDK

25 Mar 05:03
5fcdd22
Compare
Choose a tag to compare

A small release to update the internal SDK used to communicate with our backend infrastructure to version 2.0.0.

Changelog:

  • Update to version 2.0.0 of sdk (#110)

Unsubscribe

04 Mar 00:04
e512b6d
Compare
Choose a tag to compare

The release adds a new unsubscribe method to the API, which allows you to unsubscribe from account addresses and transaction hashes:

// unsubscribe from watched address
notify.unsubscribe(address)

// unsubscribe from watched transaction
notify.unsubscribe(hash)

Changelog:

  • Add unsubscribe method (#105)

Fix i18n Formatter Bug

20 Jan 03:02
a5ef7ec
Compare
Choose a tag to compare

Just a small release that fixes a bug where transaction messages were not getting formatted correctly when watching an address. This was due to a dependency making a breaking change to their library. Also included is a small change to make sure that the font-family is always inherited, making it easy to over-ride.

Changelog:

  • Fix formatter bug (#103)
  • Make sure the font-family is always inherited (#101)

Update SDK Dependency

05 Dec 05:32
f77b765
Compare
Choose a tag to compare

In this release, bnc-sdk has been updated to the latest version to fix a small bug where confirmed transaction notifications wouldn't be received if the browser was refreshed mid transaction.

Also added more data that is sent to the message formatter for transactions, so that they can be used in the notifyMessages object.

Changelog:

  • Pass extra data to message formatter (#97)
  • Update sdk (#98)

Fix Window Undefined Error

26 Nov 03:42
48c1e12
Compare
Choose a tag to compare

A small release to fix an error in SSR environments.

Changelog:

  • Remove module context which was causing window error ssr environment (#84)

Update SDK version

25 Nov 21:52
189069e
Compare
Choose a tag to compare

A release that updates the bnc-sdk version.

Style changes

06 Nov 05:01
84512db
Compare
Choose a tag to compare

Just a small release to address some style issues with rem units.

Changelog:

  • Change to em's (#47)