diff options
| author | Florian Dold <florian@dold.me> | 2022-03-28 23:21:49 +0200 | 
|---|---|---|
| committer | Florian Dold <florian@dold.me> | 2022-03-28 23:21:49 +0200 | 
| commit | 80e43db2cac84e588c2ef3889e8d90b76bd53714 (patch) | |
| tree | 04297a4ad1838f9c1add039d64ee1b1996cfd6b2 /packages/taler-wallet-core/src/operations/withdraw.ts | |
| parent | c194bd539a9e01d083b953ef1e0022da90574339 (diff) | |
wallet: timeout handling refactoring WIP
Diffstat (limited to 'packages/taler-wallet-core/src/operations/withdraw.ts')
| -rw-r--r-- | packages/taler-wallet-core/src/operations/withdraw.ts | 33 | 
1 files changed, 16 insertions, 17 deletions
| diff --git a/packages/taler-wallet-core/src/operations/withdraw.ts b/packages/taler-wallet-core/src/operations/withdraw.ts index 7997ab5be..4a7adbb9c 100644 --- a/packages/taler-wallet-core/src/operations/withdraw.ts +++ b/packages/taler-wallet-core/src/operations/withdraw.ts @@ -18,32 +18,31 @@   * Imports.   */  import { +  AbsoluteTime,    AmountJson,    Amounts, +  AmountString,    BankWithdrawDetails,    codecForTalerConfigResponse,    codecForWithdrawOperationStatusResponse,    codecForWithdrawResponse, +  DenomKeyType, +  Duration,    durationFromSpec,    ExchangeListItem, +  ExchangeWithdrawRequest, +  LibtoolVersion,    Logger,    NotificationType,    parseWithdrawUri,    TalerErrorCode,    TalerErrorDetail, -  AbsoluteTime, -  WithdrawResponse, +  TalerProtocolTimestamp, +  UnblindedSignature,    URL, -  WithdrawUriInfoResponse,    VersionMatchResult, -  DenomKeyType, -  LibtoolVersion, -  UnblindedSignature, -  ExchangeWithdrawRequest, -  Duration, -  TalerProtocolTimestamp, -  TransactionType, -  AmountString, +  WithdrawResponse, +  WithdrawUriInfoResponse,  } from "@gnu-taler/taler-util";  import {    CoinRecord, @@ -58,18 +57,18 @@ import {    PlanchetRecord,    WithdrawalGroupRecord,  } from "../db.js"; -import { walletCoreDebugFlags } from "../util/debugFlags.js"; -import { -  HttpRequestLibrary, -  readSuccessResponseJsonOrThrow, -} from "../util/http.js"; -import { initRetryInfo, updateRetryInfoTimeout } from "../util/retries.js";  import {    getErrorDetailFromException,    makeErrorDetail,    TalerError,  } from "../errors.js";  import { InternalWalletState } from "../internal-wallet-state.js"; +import { walletCoreDebugFlags } from "../util/debugFlags.js"; +import { +  HttpRequestLibrary, +  readSuccessResponseJsonOrThrow, +} from "../util/http.js"; +import { initRetryInfo, updateRetryInfoTimeout } from "../util/retries.js";  import {    WALLET_BANK_INTEGRATION_PROTOCOL_VERSION,    WALLET_EXCHANGE_PROTOCOL_VERSION, | 
