From 4bca80d18fbc43d9da4b0b23e533bb709cc423ff Mon Sep 17 00:00:00 2001 From: Thomas Eizinger Date: Fri, 6 Aug 2021 17:51:10 +1000 Subject: [PATCH] Fix bad type reference in wasm proxy --- extension/src/wasmProxy.ts | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/extension/src/wasmProxy.ts b/extension/src/wasmProxy.ts index 621d33be..80703135 100644 --- a/extension/src/wasmProxy.ts +++ b/extension/src/wasmProxy.ts @@ -1,5 +1,15 @@ import Debug from "debug"; -import { Address, BalanceUpdate, CreateSwapPayload, LoanDetails, Status, Trade, Txid, WalletStatus } from "./models"; +import { + Address, + BalanceUpdate, + CreateSwapPayload, + LoanDetails, + LoanRequestPayload, + Status, + Trade, + Txid, + WalletStatus, +} from "./models"; Debug.enable("*"); const debug = Debug("wasmProxy"); @@ -59,7 +69,7 @@ export async function makeLoanRequestPayload( name: string, collateral: string, fee_rate: string, -): Promise { +): Promise { const { make_loan_request } = await import("./wallet"); debug("makeLoanRequestPayload");