Skip to content

Commit

Permalink
Merge pull request #155 from blocknative/release/3.7.0
Browse files Browse the repository at this point in the history
Release 3.7.0
  • Loading branch information
lnbc1QWFyb24 authored Oct 19, 2021
2 parents d6baa95 + fcd06b2 commit 039973e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bnc-sdk",
"version": "3.6.0",
"version": "3.7.0",
"description": "SDK to connect to the blocknative backend via a websocket connection",
"keywords": [
"ethereum",
Expand Down
1 change: 1 addition & 0 deletions src/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export interface CommonTransactionData {
serverVersion: string
monitorId: string
monitorVersion: string
dispatchTimestamp: string
}

export interface BitcoinTransactionData extends CommonTransactionData {
Expand Down
5 changes: 4 additions & 1 deletion src/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ export function handleMessage(this: any, msg: { data: string }): void {
serverVersion,
retryMs,
limitRules,
blockedMsg
blockedMsg,
dispatchTimestamp
} = JSON.parse(msg.data)

if (connectionId) {
Expand Down Expand Up @@ -215,6 +216,7 @@ export function handleMessage(this: any, msg: { data: string }): void {
serverVersion,
eventCode,
timeStamp,
dispatchTimestamp,
system,
network,
contractCall
Expand All @@ -224,6 +226,7 @@ export function handleMessage(this: any, msg: { data: string }): void {
serverVersion,
eventCode,
timeStamp,
dispatchTimestamp,
system,
network
}
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -992,9 +992,9 @@ ansi-colors@^4.1.1:
integrity sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==

ansi-regex@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.0.tgz#388539f55179bf39339c81af30a654d69f87cb75"
integrity sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==
version "5.0.1"
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304"
integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==

ansi-styles@^3.2.1:
version "3.2.1"
Expand Down

0 comments on commit 039973e

Please sign in to comment.