diff options
6 files changed, 7 insertions, 7 deletions
diff --git a/packages/taler-wallet-webextension/src/components/PendingTransactions.tsx b/packages/taler-wallet-webextension/src/components/PendingTransactions.tsx index 9c11170cd..cde74dffe 100644 --- a/packages/taler-wallet-webextension/src/components/PendingTransactions.tsx +++ b/packages/taler-wallet-webextension/src/components/PendingTransactions.tsx @@ -49,7 +49,7 @@ export function PendingTransactions({ goToTransaction }: Props): VNode { useEffect(() => { return api.listener.onUpdateNotification( - [NotificationType.WithdrawGroupFinished], + [NotificationType.TransactionStateTransition], state?.retry, ); }); diff --git a/packages/taler-wallet-webextension/src/cta/Refund/state.ts b/packages/taler-wallet-webextension/src/cta/Refund/state.ts index eb7d8834f..0ba77a19d 100644 --- a/packages/taler-wallet-webextension/src/cta/Refund/state.ts +++ b/packages/taler-wallet-webextension/src/cta/Refund/state.ts @@ -60,7 +60,7 @@ export function useComponentState({ useEffect(() => api.listener.onUpdateNotification( - [NotificationType.RefreshMelted], + [NotificationType.TransactionStateTransition], info?.retry, ), ); diff --git a/packages/taler-wallet-webextension/src/cta/Refund/test.ts b/packages/taler-wallet-webextension/src/cta/Refund/test.ts index 1566b3b5b..bc0e61fcb 100644 --- a/packages/taler-wallet-webextension/src/cta/Refund/test.ts +++ b/packages/taler-wallet-webextension/src/cta/Refund/test.ts @@ -260,7 +260,7 @@ describe("Refund CTA states", () => { // expect(state.products).undefined; // expect(state.amount).deep.eq(Amounts.parseOrThrow("EUR:2")); // // expect(state.progress).closeTo(1 / 3, 0.01) - // handler.notifyEventFromWallet(NotificationType.RefreshMelted); + // handler.notifyEventFromWallet(NotificationType.TransactionStateTransition); // }, // (state) => { // if (state.status !== "in-progress") expect.fail(); @@ -269,7 +269,7 @@ describe("Refund CTA states", () => { // expect(state.products).undefined; // expect(state.amount).deep.eq(Amounts.parseOrThrow("EUR:2")); // // expect(state.progress).closeTo(2 / 3, 0.01) - // handler.notifyEventFromWallet(NotificationType.RefreshMelted); + // handler.notifyEventFromWallet(NotificationType.TransactionStateTransition); // }, // (state) => { // if (state.status !== "ready") expect.fail(); diff --git a/packages/taler-wallet-webextension/src/popup/BalancePage.tsx b/packages/taler-wallet-webextension/src/popup/BalancePage.tsx index 0469e8c40..a8d2d6fcf 100644 --- a/packages/taler-wallet-webextension/src/popup/BalancePage.tsx +++ b/packages/taler-wallet-webextension/src/popup/BalancePage.tsx @@ -87,7 +87,7 @@ function useComponentState({ useEffect(() => api.listener.onUpdateNotification( - [NotificationType.WithdrawGroupFinished], + [NotificationType.TransactionStateTransition], state?.retry, ), ); diff --git a/packages/taler-wallet-webextension/src/wallet/History.tsx b/packages/taler-wallet-webextension/src/wallet/History.tsx index 31c092697..a16590fe8 100644 --- a/packages/taler-wallet-webextension/src/wallet/History.tsx +++ b/packages/taler-wallet-webextension/src/wallet/History.tsx @@ -62,7 +62,7 @@ export function HistoryPage({ useEffect(() => { return api.listener.onUpdateNotification( - [NotificationType.WithdrawGroupFinished], + [NotificationType.TransactionStateTransition], state?.retry, ); }); diff --git a/packages/taler-wallet-webextension/src/wallet/Transaction.tsx b/packages/taler-wallet-webextension/src/wallet/Transaction.tsx index f5ffe4221..8f2d279da 100644 --- a/packages/taler-wallet-webextension/src/wallet/Transaction.tsx +++ b/packages/taler-wallet-webextension/src/wallet/Transaction.tsx @@ -94,7 +94,7 @@ export function TransactionPage({ tid, goToWalletHistory }: Props): VNode { useEffect(() => api.listener.onUpdateNotification( - [NotificationType.WithdrawGroupFinished, NotificationType.KycRequested], + [NotificationType.TransactionStateTransition], state?.retry, ), ); |