gnunet-svn
[Top][All Lists]
Advanced

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

[taler-wallet-core] branch master updated (9d9a88af0 -> b45dd3ed4)


From: gnunet
Subject: [taler-wallet-core] branch master updated (9d9a88af0 -> b45dd3ed4)
Date: Tue, 31 Jan 2023 15:43:10 +0100

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

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

    from 9d9a88af0 fix #7535: fix qr implementation
     new 5ff92139b pretty
     new 33c1759f1 fix accept tip response type
     new b45dd3ed4 fix missing name

The 3 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-util/src/logging.ts                       | 2 +-
 packages/taler-util/src/twrpc.ts                         | 3 ---
 packages/taler-wallet-core/src/operations/tip.ts         | 1 +
 packages/taler-wallet-core/src/wallet-api-types.ts       | 3 ++-
 packages/taler-wallet-webextension/src/mui/InputFile.tsx | 2 +-
 5 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/packages/taler-util/src/logging.ts 
b/packages/taler-util/src/logging.ts
index ae4e2df53..c4b2a3da0 100644
--- a/packages/taler-util/src/logging.ts
+++ b/packages/taler-util/src/logging.ts
@@ -98,7 +98,7 @@ function writeNodeLog(
  * and uses the corresponding console.* method to log in the browser.
  */
 export class Logger {
-  constructor(private tag: string) { }
+  constructor(private tag: string) {}
 
   shouldLogTrace(): boolean {
     const level = byTagLogLevel[this.tag] ?? globalLogLevel;
diff --git a/packages/taler-util/src/twrpc.ts b/packages/taler-util/src/twrpc.ts
index e5485d320..368e04e27 100644
--- a/packages/taler-util/src/twrpc.ts
+++ b/packages/taler-util/src/twrpc.ts
@@ -21,7 +21,6 @@
  * by the wallet for testing purposes.
  */
 
-
 // Platform-specific implementation
 export { connectRpc, runRpcServer } from "#twrpc-impl";
 
@@ -60,5 +59,3 @@ export interface RpcConnectArgs<T> {
     onMessage(m: JsonMessage): void;
   };
 }
-
-
diff --git a/packages/taler-wallet-core/src/operations/tip.ts 
b/packages/taler-wallet-core/src/operations/tip.ts
index f9d20fa03..dabde9f62 100644
--- a/packages/taler-wallet-core/src/operations/tip.ts
+++ b/packages/taler-wallet-core/src/operations/tip.ts
@@ -359,6 +359,7 @@ export async function acceptTip(
       }
       tipRecord.acceptedTimestamp = TalerProtocolTimestamp.now();
       await tx.tips.put(tipRecord);
+
       return true;
     });
   if (found) {
diff --git a/packages/taler-wallet-core/src/wallet-api-types.ts 
b/packages/taler-wallet-core/src/wallet-api-types.ts
index f14018401..61d1417f9 100644
--- a/packages/taler-wallet-core/src/wallet-api-types.ts
+++ b/packages/taler-wallet-core/src/wallet-api-types.ts
@@ -32,6 +32,7 @@ import {
   AcceptPeerPullPaymentRequest,
   AcceptPeerPushPaymentRequest,
   AcceptTipRequest,
+  AcceptTipResponse,
   AcceptWithdrawalResponse,
   AddExchangeRequest,
   AddKnownBankAccountsRequest,
@@ -385,7 +386,7 @@ export type PrepareTipOp = {
 export type AcceptTipOp = {
   op: WalletApiOperation.AcceptTip;
   request: AcceptTipRequest;
-  response: EmptyObject;
+  response: AcceptTipResponse;
 };
 
 // group: Exchange Management
diff --git a/packages/taler-wallet-webextension/src/mui/InputFile.tsx 
b/packages/taler-wallet-webextension/src/mui/InputFile.tsx
index 2b67dc99b..40e9f9ace 100644
--- a/packages/taler-wallet-webextension/src/mui/InputFile.tsx
+++ b/packages/taler-wallet-webextension/src/mui/InputFile.tsx
@@ -49,7 +49,7 @@ export function InputFile<T>({ onChange, children }: Props): 
VNode {
           ref={image}
           style={{ display: "none" }}
           type="file"
-          name={String(name)}
+          // name={String(name)}
           onChange={(e) => {
             const f: FileList | null = e.currentTarget.files;
             if (!f || f.length != 1) {

-- 
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]