diff options
author | Sebastian <sebasjm@gmail.com> | 2023-07-10 09:44:01 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-07-10 09:44:01 -0300 |
commit | 2f072a4c121d33fbad02683216ed8b3eb6c36e8d (patch) | |
tree | e4874115ea4d84f98699fdf82e8693515bed4c0b /packages | |
parent | bf3e99ea27ef7321a05a7a0a422ab9d1a48d52a3 (diff) |
mark proposalid as depreacted
Diffstat (limited to 'packages')
-rw-r--r-- | packages/taler-util/src/wallet-types.ts | 10 |
1 files 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 { |