From ef3f5999a9cb50f8cd8176456b406a035ef4915c Mon Sep 17 00:00:00 2001 From: infiinte-persistence Date: Thu, 8 Apr 2021 09:23:17 +0800 Subject: [PATCH] CoinSwap: handle "receiving/received LBC" --- dist/flow-typed/CoinSwap.js | 7 ++++--- flow-typed/CoinSwap.js | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/dist/flow-typed/CoinSwap.js b/dist/flow-typed/CoinSwap.js index 6695616..a41c571 100644 --- a/dist/flow-typed/CoinSwap.js +++ b/dist/flow-typed/CoinSwap.js @@ -2,12 +2,13 @@ declare type CoinSwapInfo = { chargeCode: string, coins: Array, sendAddresses: { [string]: string}, - sendAmounts: { [string]: number }, + sendAmounts: { [string]: any }, lbcAmount: number, status?: { status: string, - receipt_txid: string, - lbc_txid: string, + receiptCurrency: string, + receiptTxid: string, + lbcTxid: string, }, } diff --git a/flow-typed/CoinSwap.js b/flow-typed/CoinSwap.js index 6695616..a41c571 100644 --- a/flow-typed/CoinSwap.js +++ b/flow-typed/CoinSwap.js @@ -2,12 +2,13 @@ declare type CoinSwapInfo = { chargeCode: string, coins: Array, sendAddresses: { [string]: string}, - sendAmounts: { [string]: number }, + sendAmounts: { [string]: any }, lbcAmount: number, status?: { status: string, - receipt_txid: string, - lbc_txid: string, + receiptCurrency: string, + receiptTxid: string, + lbcTxid: string, }, }