From 5f68f060a67ad36b87a25ca5d182c6f2dd9eb450 Mon Sep 17 00:00:00 2001 From: Marcos Gutierrez Date: Fri, 31 Jan 2020 11:21:23 -0300 Subject: add fulfillmentUrl to OrderShortInfo --- src/operations/history.ts | 1 + src/types/history.ts | 5 +++++ 2 files changed, 6 insertions(+) (limited to 'src') diff --git a/src/operations/history.ts b/src/operations/history.ts index b2b78fe13..2fb7854d2 100644 --- a/src/operations/history.ts +++ b/src/operations/history.ts @@ -60,6 +60,7 @@ function getOrderShortInfo( } return { amount: Amounts.toString(download.contractData.amount), + fulfillmentUrl: download.contractData.fulfillmentUrl, orderId: download.contractData.orderId, merchantBaseUrl: download.contractData.merchantBaseUrl, proposalId: proposal.proposalId, diff --git a/src/types/history.ts b/src/types/history.ts index 52148cb04..30fe8e529 100644 --- a/src/types/history.ts +++ b/src/types/history.ts @@ -392,6 +392,11 @@ export interface OrderShortInfo { * Summary of the proposal, given by the merchant. */ summary: string; + + /** + * URL of the fulfillment, given by the merchant. + */ + fulfillmentUrl: string; } /** -- cgit v1.2.3