taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit 45fbbf276dce47c8d0b309053bd2513a2cd1665f
parent 7c61a6d955cb678430a04e9b54e7af216d6a131b
Author: Florian Dold <florian@dold.me>
Date:   Wed, 22 Jul 2026 14:27:36 +0200

wallet-core: get rid of unused experimenalUserData

Diffstat:
Mpackages/taler-util/src/notifications.ts | 11-----------
Mpackages/taler-wallet-core/src/transactions.ts | 2--
Mpackages/taler-wallet-webextension/src/components/WalletActivity.tsx | 4+---
3 files changed, 1 insertion(+), 16 deletions(-)

diff --git a/packages/taler-util/src/notifications.ts b/packages/taler-util/src/notifications.ts @@ -83,17 +83,6 @@ export interface TransactionStateTransitionNotification { * Short summary of the error for an error transition. */ errorInfo?: ErrorInfoSummary; - - /** - * Additional "user data" that is dependent on the - * state transition. - * - * Usage should be avoided. - * - * Currently used to notify the iOS app about - * the KYC URL. - */ - experimentalUserData?: any; } export interface ExchangeStateTransitionNotification { diff --git a/packages/taler-wallet-core/src/transactions.ts b/packages/taler-wallet-core/src/transactions.ts @@ -957,7 +957,6 @@ export function applyNotifyTransition( notify: (n: WalletNotification) => void, transactionId: string, transitionInfo: TransitionInfo | undefined, - experimentalUserData: any = undefined, ): void { if ( transitionInfo && @@ -972,7 +971,6 @@ export function applyNotifyTransition( oldTxState: transitionInfo.oldTxState, newTxState: transitionInfo.newTxState, transactionId, - experimentalUserData, newStId: transitionInfo.newStId, }); diff --git a/packages/taler-wallet-webextension/src/components/WalletActivity.tsx b/packages/taler-wallet-webextension/src/components/WalletActivity.tsx @@ -295,9 +295,7 @@ function ShowTransactionStateTransition({ ) : undefined} <dt>Experimental</dt> <dd> - <pre style={{ whiteSpace: "pre-wrap", wordBreak: "break-word" }}> - {JSON.stringify(not.experimentalUserData, undefined, 2)} - </pre> + <p>None</p> </dd> </Fragment> );