summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/wallet.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2020-12-14 16:45:15 +0100
committerFlorian Dold <florian@dold.me>2020-12-14 16:45:15 +0100
commitf332d61fb68fbc394f31337ddeb7d1fc114772d0 (patch)
treeeeb9e7dd527ab7efcaa7812f4440e8901185e9aa /packages/taler-wallet-core/src/wallet.ts
parentc4b44a51097e67a357b490adf407f1a6afb0d8ee (diff)
downloadwallet-core-f332d61fb68fbc394f31337ddeb7d1fc114772d0.tar.gz
wallet-core-f332d61fb68fbc394f31337ddeb7d1fc114772d0.tar.bz2
wallet-core-f332d61fb68fbc394f31337ddeb7d1fc114772d0.zip
formatting pass
Diffstat (limited to 'packages/taler-wallet-core/src/wallet.ts')
-rw-r--r--packages/taler-wallet-core/src/wallet.ts17
1 files changed, 12 insertions, 5 deletions
diff --git a/packages/taler-wallet-core/src/wallet.ts b/packages/taler-wallet-core/src/wallet.ts
index 4491a167b..07af32bb8 100644
--- a/packages/taler-wallet-core/src/wallet.ts
+++ b/packages/taler-wallet-core/src/wallet.ts
@@ -132,7 +132,11 @@ import {
PendingOperationType,
} from "./types/pending";
import { WalletNotification, NotificationType } from "./types/notifications";
-import { processPurchaseQueryRefund, applyRefund, abortFailedPayWithRefund } from "./operations/refund";
+import {
+ processPurchaseQueryRefund,
+ applyRefund,
+ abortFailedPayWithRefund,
+} from "./operations/refund";
import { durationMin, Duration } from "./util/time";
import { processRecoupGroup } from "./operations/recoup";
import {
@@ -152,7 +156,12 @@ import {
testPay,
} from "./operations/testing";
import { TalerErrorCode } from ".";
-import { addBackupProvider, codecForAddBackupProviderRequest, runBackupCycle, exportBackup } from './operations/backup';
+import {
+ addBackupProvider,
+ codecForAddBackupProviderRequest,
+ runBackupCycle,
+ exportBackup,
+} from "./operations/backup";
const builtinCurrencies: CurrencyRecord[] = [
{
@@ -721,9 +730,7 @@ export class Wallet {
* Accept a refund, return the contract hash for the contract
* that was involved in the refund.
*/
- async applyRefund(
- talerRefundUri: string,
- ): Promise<ApplyRefundResponse> {
+ async applyRefund(talerRefundUri: string): Promise<ApplyRefundResponse> {
return applyRefund(this.ws, talerRefundUri);
}