diff options
Diffstat (limited to 'packages/taler-wallet-core/src/internal-wallet-state.ts')
-rw-r--r-- | packages/taler-wallet-core/src/internal-wallet-state.ts | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/internal-wallet-state.ts b/packages/taler-wallet-core/src/internal-wallet-state.ts index 8dc83c65a..d97703dc1 100644 --- a/packages/taler-wallet-core/src/internal-wallet-state.ts +++ b/packages/taler-wallet-core/src/internal-wallet-state.ts @@ -35,6 +35,7 @@ import { DenominationInfo, RefreshGroupId, RefreshReason, + TransactionState, WalletNotification, } from "@gnu-taler/taler-util"; import { HttpRequestLibrary } from "@gnu-taler/taler-util/http"; @@ -145,7 +146,7 @@ export interface ActiveLongpollInfo { } /** - * Internal, shard wallet state that is used by the implementation + * Internal, shared wallet state that is used by the implementation * of wallet operations. * * FIXME: This should not be exported anywhere from the taler-wallet-core package, @@ -183,6 +184,12 @@ export interface InternalWalletState { merchantOps: MerchantOperations; refreshOps: RefreshOperations; + getTransactionState( + ws: InternalWalletState, + tx: GetReadOnlyAccess<typeof WalletStoresV1>, + transactionId: string, + ): Promise<TransactionState | undefined>; + getDenomInfo( ws: InternalWalletState, tx: GetReadOnlyAccess<{ |