From 2f072a4c121d33fbad02683216ed8b3eb6c36e8d Mon Sep 17 00:00:00 2001 From: Sebastian Date: Mon, 10 Jul 2023 09:44:01 -0300 Subject: [PATCH] mark proposalid as depreacted --- packages/taler-util/src/wallet-types.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/packages/taler-util/src/wallet-types.ts b/packages/taler-util/src/wallet-types.ts index f2384ad8e..93653240b 100644 --- a/packages/taler-util/src/wallet-types.ts +++ b/packages/taler-util/src/wallet-types.ts @@ -776,7 +776,7 @@ export const codecForPreparePayResultAlreadyConfirmed = .property("amountEffective", codecOptional(codecForAmountString())) .property("amountRaw", codecForAmountString()) .property("paid", codecForBoolean()) - .property("talerUri", codecOptional(codecForString())) + .property("talerUri", codecForString()) .property("contractTerms", codecForAny()) .property("contractTermsHash", codecForString()) .property("transactionId", codecForTransactionIdStr()) @@ -828,6 +828,9 @@ export interface PreparePayResultPaymentPossible { export interface PreparePayResultInsufficientBalance { status: PreparePayResultType.InsufficientBalance; transactionId: TransactionIdStr; + /** + * @deprecated use transactionId + */ proposalId: string; contractTerms: MerchantContractTerms; amountRaw: string; @@ -843,8 +846,11 @@ export interface PreparePayResultAlreadyConfirmed { amountRaw: string; amountEffective: string | undefined; contractTermsHash: string; + /** + * @deprecated use transactionId + */ proposalId: string; - talerUri?: string; + talerUri: string; } export interface BankWithdrawDetails {