aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/types/walletTypes.ts8
-rw-r--r--src/webex/wxBackend.ts22
2 files changed, 10 insertions, 20 deletions
diff --git a/src/types/walletTypes.ts b/src/types/walletTypes.ts
index a9bf2061f..903852b1b 100644
--- a/src/types/walletTypes.ts
+++ b/src/types/walletTypes.ts
@@ -25,20 +25,16 @@
/**
* Imports.
*/
+import { AmountJson } from "../util/amounts";
import { Checkable } from "../util/checkable";
import * as LibtoolVersion from "../util/libtoolVersion";
-
-import { AmountJson } from "../util/amounts";
-
import {
CoinRecord,
DenominationRecord,
ExchangeRecord,
ExchangeWireInfo,
- WithdrawalSource,
- RetryInfo,
} from "./dbTypes";
-import { CoinPaySig, ContractTerms, PayReq } from "./talerTypes";
+import { CoinPaySig, ContractTerms } from "./talerTypes";
/**
* Response for the create reserve request to the wallet.
diff --git a/src/webex/wxBackend.ts b/src/webex/wxBackend.ts
index f3f4d80eb..547ec35e4 100644
--- a/src/webex/wxBackend.ts
+++ b/src/webex/wxBackend.ts
@@ -23,26 +23,20 @@
/**
* Imports.
*/
-import { BrowserHttpLib } from "../util/http";
+import { BrowserCryptoWorkerFactory } from "../crypto/workers/cryptoApi";
+import { deleteDatabase, exportDatabase, importDatabase, openDatabase } from "../db";
+import { WALLET_DB_VERSION } from "../types/dbTypes";
+import { ConfirmReserveRequest, CreateReserveRequest, ReturnCoinsRequest, WalletDiagnostics } from "../types/walletTypes";
import { AmountJson } from "../util/amounts";
-import {
- ConfirmReserveRequest,
- CreateReserveRequest,
- ReturnCoinsRequest,
- WalletDiagnostics,
-} from "../types/walletTypes";
+import { BrowserHttpLib } from "../util/http";
+import { OpenedPromise, openPromise } from "../util/promiseUtils";
+import { classifyTalerUri, TalerUriType } from "../util/taleruri";
import { Wallet } from "../wallet";
-import { isFirefox } from "./compat";
-import { WALLET_DB_VERSION } from "../types/dbTypes";
-import { openDatabase, exportDatabase, importDatabase, deleteDatabase } from "../db";
import { ChromeBadge } from "./chromeBadge";
+import { isFirefox } from "./compat";
import { MessageType } from "./messages";
import * as wxApi from "./wxApi";
-import Port = chrome.runtime.Port;
import MessageSender = chrome.runtime.MessageSender;
-import { BrowserCryptoWorkerFactory } from "../crypto/workers/cryptoApi";
-import { OpenedPromise, openPromise } from "../util/promiseUtils";
-import { classifyTalerUri, TalerUriType } from "../util/taleruri";
const NeedsWallet = Symbol("NeedsWallet");