Releases: blocknative/sdk
WS Event Register Fix
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
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:
Connection Timeout
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:
Polygon Matic
This release:
- Adds Polygon Matic network support (
networkId: 137
). - Fixes Ethereum transaction type definitions to include
internalTransactions
- Updates dependencies to address security warnings
Changelog:
Configuration Error Handling
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
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:
🐞 Bug Fix: Account Emitter
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
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
Timeout Error Fix
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)