Skip to content

Releases: blocknative/sdk

WS Event Register Fix

09 Jan 19:57
7fc29c3
Compare
Choose a tag to compare

This release includes a small bug fix for a race condition for re-registering events on the WS upon reconnection.

Changelog:

  • Ensure the WS is present before registering a listener (#163)

Dispatch Timestamp Field

19 Oct 04:52
039973e
Compare
Choose a tag to compare

Just a small release to add the dispatchTimestamp field to the transaction payload. This field indicates when the Blocknative server dispatched the WebSocket message.
Also included is a security update patch for the ansi-regex package.

Changelog:

  • Bump ansi-regex from 5.0.0 to 5.0.1 (#153)
  • 3.6.0-0.1.0: [enhancement] - Add Dispatch Timestamp (#154)

Connection Timeout

06 Oct 03:42
d6baa95
Compare
Choose a tag to compare

This release increases the default WebSocket timeout to 10 seconds to allow for slower connections and to prevent a loop of reconnections.

Also included is a fix to the EthereumTransactionData type.

Changelog:

  • 3.5.0-0.1.0: [enhancement] - Connect Timeout (#147)
  • 3.5.0-0.1.1: [fix] - EthereumTransactionData Types (#150)

Polygon Matic

16 Aug 00:02
8c5e011
Compare
Choose a tag to compare

This release:

  • Adds Polygon Matic network support (networkId: 137).
  • Fixes Ethereum transaction type definitions to include internalTransactions
  • Updates dependencies to address security warnings

Changelog:

  • 3.4.1-0.1.0: [feature] - Matic Main Network (#139)
  • 3.4.1-0.1.1: [fix] - Eth Transaction Types (#140)
  • 3.4.1-0.1.2: [chore] - Update Deps (#141)
  • Bump path-parse from 1.0.6 to 1.0.7 (#142)

Configuration Error Handling

08 Jul 00:29
a5c9f53
Compare
Choose a tag to compare

A small release to fix a bug where errors returned from the server for configuration messages were not correctly handled and passed to the Promise rejection.

Changelog:

  • 3.4.0-0.0.1: [fix] - Config Error (#135)

Add types for searchjs filters

01 Jun 22:40
acc498c
Compare
Choose a tag to compare

This release adds types for the searchjs filters. Previously, the type for the filter used in the Config interface was string[]. Aside from the fact that it was the wrong type, it caused issues when using strict typing. Now when using blocknative.configuration() with strict typing, passing the filters object in will have the correct typings.

Changelog:

  • 3.3.4-0.1.0: Add searchjs filter types (#130)
  • Bump browserslist from 4.11.0 to 4.16.6 (#129)

🐞 Bug Fix: Account Emitter

20 May 01:33
5c03ede
Compare
Choose a tag to compare

There was an bug where the account emitter result was being mangled by a boolean issue and this effected Notify.js's feature where returning false in the emitter callback would prevent a notification from displaying.

Changelog:

  • 3.3.3-0.0.1: [fix] Fixes account emitter result (#126)

Fixes: blocknative/notify#189

Fixes txCancel & txSpeedUp events not emitting

12 May 03:16
c104e95
Compare
Choose a tag to compare

This release fixes a bug where the transaction hash of a replaced transaction was not getting matched and replaced with the new transaction hash. This caused the txCancel & txSpeedUp events not to emit.

Changelog:

  • 3.3.2-0.0.1: [fix] -Transaction Replace Status Emitter (#123)

Bump lodash

11 May 04:24
97da682
Compare
Choose a tag to compare

This release includes an update that bumps the lodash version due to a security flaw. Also included is a small refactor so that new simulation rate limit messages are correctly handled.

Changelog:

  • 3.3.1-0.0.1: [refactor] error message matcher (#118)
  • Bump lodash from 4.17.19 to 4.17.21 (#119)

Timeout Error Fix

22 Apr 05:33
1d466d8
Compare
Choose a tag to compare

This release includes a bug fix for a timeout error when sending an Ethereum address scoped configuration. The configuration would still work, but the SDK would reject with an error unnecessarily due to a casing issue.

Changelog:

  • 3.3.0-0.0.1: [fix] - Ensure Correct Casing for Config Scope (#115)