summaryrefslogtreecommitdiff
path: root/packages/taler-util/src
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2024-03-08 01:06:13 +0100
committerFlorian Dold <florian@dold.me>2024-03-08 01:06:13 +0100
commitb4ab2fcdf3e1bbc0ca9096661a1812481dca58b3 (patch)
treec6e09a24003360ff377a9cb64247a43d0adba851 /packages/taler-util/src
parentae34a78ff026e2e96b1e15319157d36c57745665 (diff)
downloadwallet-core-b4ab2fcdf3e1bbc0ca9096661a1812481dca58b3.tar.gz
wallet-core-b4ab2fcdf3e1bbc0ca9096661a1812481dca58b3.tar.bz2
wallet-core-b4ab2fcdf3e1bbc0ca9096661a1812481dca58b3.zip
wallet-core: remove deprecated peer...PaymentId
Diffstat (limited to 'packages/taler-util/src')
-rw-r--r--packages/taler-util/src/wallet-types.ts24
1 files changed, 4 insertions, 20 deletions
diff --git a/packages/taler-util/src/wallet-types.ts b/packages/taler-util/src/wallet-types.ts
index 599f65731..4ebaa3668 100644
--- a/packages/taler-util/src/wallet-types.ts
+++ b/packages/taler-util/src/wallet-types.ts
@@ -2766,14 +2766,7 @@ export const codecForCheckPeerPullPaymentRequest =
.build("PreparePeerPullDebitRequest");
export interface ConfirmPeerPushCreditRequest {
- /**
- * Transparent identifier of the incoming peer push payment.
- *
- * @deprecated specify transactionId instead!
- */
- peerPushCreditId?: string;
-
- transactionId?: string;
+ transactionId: string;
}
export interface AcceptPeerPushPaymentResponse {
transactionId: TransactionIdStr;
@@ -2786,19 +2779,11 @@ export interface AcceptPeerPullPaymentResponse {
export const codecForConfirmPeerPushPaymentRequest =
(): Codec<ConfirmPeerPushCreditRequest> =>
buildCodecForObject<ConfirmPeerPushCreditRequest>()
- .property("peerPushCreditId", codecOptional(codecForString()))
- .property("transactionId", codecOptional(codecForString()))
+ .property("transactionId", codecForString())
.build("ConfirmPeerPushCreditRequest");
export interface ConfirmPeerPullDebitRequest {
- /**
- * Transparent identifier of the incoming peer pull payment.
- *
- * @deprecated use transactionId instead
- */
- peerPullDebitId?: string;
-
- transactionId?: TransactionIdStr;
+ transactionId: TransactionIdStr;
}
export interface ApplyDevExperimentRequest {
@@ -2814,8 +2799,7 @@ export const codecForApplyDevExperiment =
export const codecForAcceptPeerPullPaymentRequest =
(): Codec<ConfirmPeerPullDebitRequest> =>
buildCodecForObject<ConfirmPeerPullDebitRequest>()
- .property("peerPullDebitId", codecOptional(codecForString()))
- .property("transactionId", codecOptional(codecForTransactionIdStr()))
+ .property("transactionId", codecForTransactionIdStr())
.build("ConfirmPeerPullDebitRequest");
export interface CheckPeerPullCreditRequest {