diff options
author | Florian Dold <florian@dold.me> | 2023-02-20 01:44:28 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-02-20 01:44:28 +0100 |
commit | 803d1bf7a7aa6b38771510b0d762d40c5487422b (patch) | |
tree | 3020bc28cc7f95e32fc1fcb5fd5f5706220c195f /packages/taler-util/src/wallet-types.ts | |
parent | fddc6eb4f21e7b85f089d5bf532580c3da874d54 (diff) | |
download | wallet-core-803d1bf7a7aa6b38771510b0d762d40c5487422b.tar.xz |
wallet-core: rename ops with support for old names
Diffstat (limited to 'packages/taler-util/src/wallet-types.ts')
-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"); |