diff options
Diffstat (limited to 'packages/taler-util')
-rw-r--r-- | packages/taler-util/src/wallet-types.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/taler-util/src/wallet-types.ts b/packages/taler-util/src/wallet-types.ts index dc683a232..86db8bdcc 100644 --- a/packages/taler-util/src/wallet-types.ts +++ b/packages/taler-util/src/wallet-types.ts @@ -2044,7 +2044,7 @@ export interface CheckPeerPushDebitRequest { amount: AmountString; } -export const codecForPreparePeerPushPaymentRequest = +export const codecForCheckPeerPushDebitRequest = (): Codec<CheckPeerPushDebitRequest> => buildCodecForObject<CheckPeerPushDebitRequest>() .property("exchangeBaseUrl", codecOptional(codecForString())) @@ -2076,7 +2076,7 @@ export const codecForInitiatePeerPushPaymentRequest = .property("partialContractTerms", codecForPeerContractTerms()) .build("InitiatePeerPushPaymentRequest"); -export interface CheckPeerPushPaymentRequest { +export interface PreparePeerPushCredit { talerUri: string; } @@ -2103,9 +2103,9 @@ export interface PreparePeerPullDebitResponse { peerPullPaymentIncomingId: string; } -export const codecForCheckPeerPushPaymentRequest = - (): Codec<CheckPeerPushPaymentRequest> => - buildCodecForObject<CheckPeerPushPaymentRequest>() +export const codecForPreparePeerPushCreditRequest = + (): Codec<PreparePeerPushCredit> => + buildCodecForObject<PreparePeerPushCredit>() .property("talerUri", codecForString()) .build("CheckPeerPushPaymentRequest"); |