gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] branch master updated (eb71c788a -> ef95914cf)


From: gnunet
Subject: [taler-wallet-core] branch master updated (eb71c788a -> ef95914cf)
Date: Mon, 10 Oct 2022 19:54:25 +0200

This is an automated email from the git hooks/post-receive script.

sebasjm pushed a change to branch master
in repository wallet-core.

    from eb71c788a -fix typos
     new f184ecb06 pretty
     new ef95914cf fix compilation

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 packages/taler-wallet-core/src/bank-api-client.ts       |  5 ++++-
 .../src/crypto/workers/synchronousWorkerWeb.ts          |  9 ++-------
 packages/taler-wallet-core/src/dbless.ts                | 17 ++++++++++++++---
 packages/taler-wallet-core/src/operations/merchants.ts  |  2 +-
 .../taler-wallet-core/src/operations/pay-merchant.ts    |  1 -
 .../src/wallet/DeveloperPage.stories.tsx                |  2 ++
 6 files changed, 23 insertions(+), 13 deletions(-)

diff --git a/packages/taler-wallet-core/src/bank-api-client.ts 
b/packages/taler-wallet-core/src/bank-api-client.ts
index 557b8c315..bfb06bb0f 100644
--- a/packages/taler-wallet-core/src/bank-api-client.ts
+++ b/packages/taler-wallet-core/src/bank-api-client.ts
@@ -34,7 +34,10 @@ import {
   TalerErrorCode,
 } from "@gnu-taler/taler-util";
 import { TalerError } from "./errors.js";
-import { HttpRequestLibrary, readSuccessResponseJsonOrThrow } from 
"./util/http.js";
+import {
+  HttpRequestLibrary,
+  readSuccessResponseJsonOrThrow,
+} from "./util/http.js";
 
 const logger = new Logger("bank-api-client.ts");
 
diff --git 
a/packages/taler-wallet-core/src/crypto/workers/synchronousWorkerWeb.ts 
b/packages/taler-wallet-core/src/crypto/workers/synchronousWorkerWeb.ts
index 780f6c634..0ba365fa1 100644
--- a/packages/taler-wallet-core/src/crypto/workers/synchronousWorkerWeb.ts
+++ b/packages/taler-wallet-core/src/crypto/workers/synchronousWorkerWeb.ts
@@ -23,9 +23,7 @@ import {
   TalerCryptoInterfaceR,
 } from "../cryptoImplementation.js";
 import { CryptoWorker } from "./cryptoWorkerInterface.js";
-import {
-  processRequestWithImpl,
-} from "./worker-common.js";
+import { processRequestWithImpl } from "./worker-common.js";
 
 const logger = new Logger("synchronousWorker.ts");
 
@@ -77,10 +75,7 @@ export class SynchronousCryptoWorker implements CryptoWorker 
{
    */
   postMessage(msg: any): void {
     const handleRequest = async () => {
-      const responseMsg = await processRequestWithImpl(
-        msg,
-        this.cryptoImplR,
-      );
+      const responseMsg = await processRequestWithImpl(msg, this.cryptoImplR);
       try {
         setTimeout(() => this.dispatchMessage(responseMsg), 0);
       } catch (e) {
diff --git a/packages/taler-wallet-core/src/dbless.ts 
b/packages/taler-wallet-core/src/dbless.ts
index 9d709e8e3..076e5f215 100644
--- a/packages/taler-wallet-core/src/dbless.ts
+++ b/packages/taler-wallet-core/src/dbless.ts
@@ -50,9 +50,20 @@ import {
 } from "@gnu-taler/taler-util";
 import { TalerCryptoInterface } from "./crypto/cryptoImplementation.js";
 import { DenominationRecord } from "./db.js";
-import { BankAccessApi, BankApi, BankServiceHandle } from 
"./bank-api-client.js";
-import { HttpRequestLibrary, readSuccessResponseJsonOrThrow } from 
"./util/http.js";
-import { getBankStatusUrl, getBankWithdrawalInfo, isWithdrawableDenom } from 
"./operations/withdraw.js";
+import {
+  BankAccessApi,
+  BankApi,
+  BankServiceHandle,
+} from "./bank-api-client.js";
+import {
+  HttpRequestLibrary,
+  readSuccessResponseJsonOrThrow,
+} from "./util/http.js";
+import {
+  getBankStatusUrl,
+  getBankWithdrawalInfo,
+  isWithdrawableDenom,
+} from "./operations/withdraw.js";
 import { ExchangeInfo } from "./operations/exchanges.js";
 import { assembleRefreshRevealRequest } from "./operations/refresh.js";
 
diff --git a/packages/taler-wallet-core/src/operations/merchants.ts 
b/packages/taler-wallet-core/src/operations/merchants.ts
index f5b3ca38c..eeefc0f79 100644
--- a/packages/taler-wallet-core/src/operations/merchants.ts
+++ b/packages/taler-wallet-core/src/operations/merchants.ts
@@ -40,7 +40,7 @@ export async function getMerchantInfo(
     return existingInfo;
   }
 
-const configUrl = new URL("config", canonBaseUrl);
+  const configUrl = new URL("config", canonBaseUrl);
   const resp = await ws.http.get(configUrl.href);
 
   const configResp = await readSuccessResponseJsonOrThrow(
diff --git a/packages/taler-wallet-core/src/operations/pay-merchant.ts 
b/packages/taler-wallet-core/src/operations/pay-merchant.ts
index e805c0ea1..750b3b9a6 100644
--- a/packages/taler-wallet-core/src/operations/pay-merchant.ts
+++ b/packages/taler-wallet-core/src/operations/pay-merchant.ts
@@ -1796,7 +1796,6 @@ export async function processPurchase(
       return processPurchaseQueryRefund(ws, proposalId, options);
     case PurchaseStatus.ProposalDownloadFailed:
     case PurchaseStatus.Paid:
-    case PurchaseStatus.AbortingWithRefund:
     case PurchaseStatus.RepurchaseDetected:
       return {
         type: OperationAttemptResultType.Finished,
diff --git 
a/packages/taler-wallet-webextension/src/wallet/DeveloperPage.stories.tsx 
b/packages/taler-wallet-webextension/src/wallet/DeveloperPage.stories.tsx
index ae1581009..73bcbc6bc 100644
--- a/packages/taler-wallet-webextension/src/wallet/DeveloperPage.stories.tsx
+++ b/packages/taler-wallet-webextension/src/wallet/DeveloperPage.stories.tsx
@@ -44,6 +44,8 @@ export const AllOff = createExample(TestedComponent, {
         t_ms: 123123213,
       },
       retryInfo: undefined,
+      isDue: false,
+      isLongpolling: false,
     },
   ],
   coins: [],

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]