diff options
Diffstat (limited to 'packages/taler-util/src/wallet-types.ts')
-rw-r--r-- | packages/taler-util/src/wallet-types.ts | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/packages/taler-util/src/wallet-types.ts b/packages/taler-util/src/wallet-types.ts index 40476f4cc..82f62ceb7 100644 --- a/packages/taler-util/src/wallet-types.ts +++ b/packages/taler-util/src/wallet-types.ts @@ -2090,12 +2090,12 @@ export interface CheckPeerPushDebitResponse { amountEffective: AmountString; } -export interface InitiatePeerPushPaymentRequest { +export interface InitiatePeerPushDebitRequest { exchangeBaseUrl?: string; partialContractTerms: PeerContractTerms; } -export interface InitiatePeerPushPaymentResponse { +export interface InitiatePeerPushDebitResponse { exchangeBaseUrl: string; pursePub: string; mergePriv: string; @@ -2104,11 +2104,11 @@ export interface InitiatePeerPushPaymentResponse { transactionId: string; } -export const codecForInitiatePeerPushPaymentRequest = - (): Codec<InitiatePeerPushPaymentRequest> => - buildCodecForObject<InitiatePeerPushPaymentRequest>() +export const codecForInitiatePeerPushDebitRequest = + (): Codec<InitiatePeerPushDebitRequest> => + buildCodecForObject<InitiatePeerPushDebitRequest>() .property("partialContractTerms", codecForPeerContractTerms()) - .build("InitiatePeerPushPaymentRequest"); + .build("InitiatePeerPushDebitRequest"); export interface PreparePeerPushCredit { talerUri: string; |