From c9f62d14043ae1b57debc21aa2d85d84f16c3cb3 Mon Sep 17 00:00:00 2001 From: Adam Carpenter Date: Mon, 24 Oct 2022 15:46:48 -0600 Subject: [PATCH 1/2] Release 1.9.6 (master) (#240) * 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 --- README.md | 1 + package.json | 2 +- src/interfaces.ts | 1 + src/utilities.ts | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ff21c4f..fd78ecc 100644 --- a/README.md +++ b/README.md @@ -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) }) ``` diff --git a/package.json b/package.json index 52ce2d4..2a38dc5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bnc-notify", - "version": "1.9.5", + "version": "1.9.6", "description": "Show web3 users realtime transaction notifications", "keywords": [ "ethereum", diff --git a/src/interfaces.ts b/src/interfaces.ts index f894c6b..a39dd9a 100644 --- a/src/interfaces.ts +++ b/src/interfaces.ts @@ -25,6 +25,7 @@ export type System = 'bitcoin' | 'ethereum' export type TransactionEventCode = | 'txSent' | 'txPool' + | 'txStuck' | 'txConfirmed' | 'txSpeedUp' | 'txCancel' diff --git a/src/utilities.ts b/src/utilities.ts index e09072b..08ba277 100644 --- a/src/utilities.ts +++ b/src/utilities.ts @@ -98,6 +98,7 @@ export function createEmitter(): Emitter { case 'txAwaitingApproval': case 'txConfirmReminder': case 'txSendFail': + case 'txStuck': case 'txError': case 'txUnderPriced': case 'all': From 0eb9d80436a859ae3b8f715d3612572e58886e06 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 1 Dec 2022 23:59:37 +0000 Subject: [PATCH 2/2] Bump svelte from 3.24.0 to 3.49.0 Bumps [svelte](https://github.com/sveltejs/svelte) from 3.24.0 to 3.49.0. - [Release notes](https://github.com/sveltejs/svelte/releases) - [Changelog](https://github.com/sveltejs/svelte/blob/master/CHANGELOG.md) - [Commits](https://github.com/sveltejs/svelte/compare/v3.24.0...v3.49.0) --- updated-dependencies: - dependency-name: svelte dependency-type: direct:development ... Signed-off-by: dependabot[bot] --- yarn.lock | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/yarn.lock b/yarn.lock index 315e361..97ba30e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4265,11 +4265,16 @@ svelte2tsx@*: dedent-js "^1.0.1" pascal-case "^3.1.1" -svelte@3.24.0, svelte@^3.12.1: +svelte@3.24.0: version "3.24.0" resolved "https://registry.yarnpkg.com/svelte/-/svelte-3.24.0.tgz#6565a42c9705796fa66c6abb4fedc09f4323a4a8" integrity sha512-VFXom6EP2DK83kxy4ZlBbaZklSbZIrpNH3oNXlPYHJUuW4q1OuAr3ZoYbfIVTVYPDgrI7Yq0gQcOhDlAtO4qfw== +svelte@^3.12.1: + version "3.49.0" + resolved "https://registry.yarnpkg.com/svelte/-/svelte-3.49.0.tgz#5baee3c672306de1070c3b7888fc2204e36a4029" + integrity sha512-+lmjic1pApJWDfPCpUUTc1m8azDqYCG1JN9YEngrx/hUyIcFJo6VZhj0A1Ai0wqoHcEIuQy+e9tk+4uDgdtsFA== + table@^6.0.9: version "6.7.1" resolved "https://registry.yarnpkg.com/table/-/table-6.7.1.tgz#ee05592b7143831a8c94f3cee6aae4c1ccef33e2"