Skip to content

Commit

Permalink
Release 1.9.6 (master) (#240)
Browse files Browse the repository at this point in the history
* Update version for release (#236)
* [1.9.5-0.0.1]: Fix - txStuck validation (#239)
* Add txStuck to validation check and docs, bump version for release
* Add txStuck to TansactionEventCode
* Bump version for release
  • Loading branch information
Adamj1232 authored Oct 24, 2022
1 parent 054b42a commit c9f62d1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ web3.eth
emitter.on('txSpeedUp', console.log)
emitter.on('txCancel', console.log)
emitter.on('txFailed', console.log)
emitter.on('txStuck', console.log)
emitter.on('all', console.log)
})
```
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bnc-notify",
"version": "1.9.5",
"version": "1.9.6",
"description": "Show web3 users realtime transaction notifications",
"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 @@ -25,6 +25,7 @@ export type System = 'bitcoin' | 'ethereum'
export type TransactionEventCode =
| 'txSent'
| 'txPool'
| 'txStuck'
| 'txConfirmed'
| 'txSpeedUp'
| 'txCancel'
Expand Down
1 change: 1 addition & 0 deletions src/utilities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ export function createEmitter(): Emitter {
case 'txAwaitingApproval':
case 'txConfirmReminder':
case 'txSendFail':
case 'txStuck':
case 'txError':
case 'txUnderPriced':
case 'all':
Expand Down

0 comments on commit c9f62d1

Please sign in to comment.