-minor rename
This commit is contained in:
parent
98a351aa4c
commit
77849fdf5d
@ -2358,7 +2358,7 @@ export const codecForInitiatePeerPushDebitRequest =
|
|||||||
.property("partialContractTerms", codecForPeerContractTerms())
|
.property("partialContractTerms", codecForPeerContractTerms())
|
||||||
.build("InitiatePeerPushDebitRequest");
|
.build("InitiatePeerPushDebitRequest");
|
||||||
|
|
||||||
export interface PreparePeerPushCredit {
|
export interface PreparePeerPushCreditRequest {
|
||||||
talerUri: string;
|
talerUri: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2395,8 +2395,8 @@ export interface PreparePeerPullDebitResponse {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export const codecForPreparePeerPushCreditRequest =
|
export const codecForPreparePeerPushCreditRequest =
|
||||||
(): Codec<PreparePeerPushCredit> =>
|
(): Codec<PreparePeerPushCreditRequest> =>
|
||||||
buildCodecForObject<PreparePeerPushCredit>()
|
buildCodecForObject<PreparePeerPushCreditRequest>()
|
||||||
.property("talerUri", codecForString())
|
.property("talerUri", codecForString())
|
||||||
.build("CheckPeerPushPaymentRequest");
|
.build("CheckPeerPushPaymentRequest");
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ import {
|
|||||||
HttpStatusCode,
|
HttpStatusCode,
|
||||||
Logger,
|
Logger,
|
||||||
PeerContractTerms,
|
PeerContractTerms,
|
||||||
PreparePeerPushCredit,
|
PreparePeerPushCreditRequest,
|
||||||
PreparePeerPushCreditResponse,
|
PreparePeerPushCreditResponse,
|
||||||
TalerErrorCode,
|
TalerErrorCode,
|
||||||
TalerPreciseTimestamp,
|
TalerPreciseTimestamp,
|
||||||
@ -83,7 +83,7 @@ const logger = new Logger("pay-peer-push-credit.ts");
|
|||||||
|
|
||||||
export async function preparePeerPushCredit(
|
export async function preparePeerPushCredit(
|
||||||
ws: InternalWalletState,
|
ws: InternalWalletState,
|
||||||
req: PreparePeerPushCredit,
|
req: PreparePeerPushCreditRequest,
|
||||||
): Promise<PreparePeerPushCreditResponse> {
|
): Promise<PreparePeerPushCreditResponse> {
|
||||||
const uri = parsePayPushUri(req.talerUri);
|
const uri = parsePayPushUri(req.talerUri);
|
||||||
|
|
||||||
|
@ -82,7 +82,7 @@ import {
|
|||||||
PreparePayTemplateRequest,
|
PreparePayTemplateRequest,
|
||||||
PreparePeerPullDebitRequest,
|
PreparePeerPullDebitRequest,
|
||||||
PreparePeerPullDebitResponse,
|
PreparePeerPullDebitResponse,
|
||||||
PreparePeerPushCredit,
|
PreparePeerPushCreditRequest,
|
||||||
PreparePeerPushCreditResponse,
|
PreparePeerPushCreditResponse,
|
||||||
PrepareRefundRequest,
|
PrepareRefundRequest,
|
||||||
PrepareTipRequest,
|
PrepareTipRequest,
|
||||||
@ -729,7 +729,7 @@ export type InitiatePeerPushDebitOp = {
|
|||||||
*/
|
*/
|
||||||
export type PreparePeerPushCreditOp = {
|
export type PreparePeerPushCreditOp = {
|
||||||
op: WalletApiOperation.PreparePeerPushCredit;
|
op: WalletApiOperation.PreparePeerPushCredit;
|
||||||
request: PreparePeerPushCredit;
|
request: PreparePeerPushCreditRequest;
|
||||||
response: PreparePeerPushCreditResponse;
|
response: PreparePeerPushCreditResponse;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user