[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] branch master updated: wallet-core/dbless: use http
From: |
gnunet |
Subject: |
[taler-wallet-core] branch master updated: wallet-core/dbless: use http lib and set auth for TalerCorebankApiClient |
Date: |
Fri, 13 Dec 2024 14:20:51 +0100 |
This is an automated email from the git hooks/post-receive script.
mikolai-guetschow pushed a commit to branch master
in repository wallet-core.
The following commit(s) were added to refs/heads/master by this push:
new 8bc98bd7f wallet-core/dbless: use http lib and set auth for
TalerCorebankApiClient
8bc98bd7f is described below
commit 8bc98bd7ff78b9cc10e7faebb572df6aaa12c6e1
Author: Mikolai Gütschow <mikolai.guetschow@tu-dresden.de>
AuthorDate: Fri Dec 13 14:20:42 2024 +0100
wallet-core/dbless: use http lib and set auth for TalerCorebankApiClient
---
packages/taler-wallet-core/src/dbless.ts | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/packages/taler-wallet-core/src/dbless.ts
b/packages/taler-wallet-core/src/dbless.ts
index adf403352..7cd1270cf 100644
--- a/packages/taler-wallet-core/src/dbless.ts
+++ b/packages/taler-wallet-core/src/dbless.ts
@@ -97,8 +97,9 @@ export interface TopupReserveWithBankArgs {
export async function topupReserveWithBank(args: TopupReserveWithBankArgs) {
const { http, corebankApiBaseUrl, amount, exchangeInfo, reservePub } = args;
- const bankClient = new TalerCorebankApiClient(corebankApiBaseUrl);
+ const bankClient = new TalerCorebankApiClient(corebankApiBaseUrl, {
httpClient: http });
const bankUser = await bankClient.createRandomBankUser();
+ bankClient.setAuth(bankUser);
const wopi = await bankClient.createWithdrawalOperation(
bankUser.username,
amount,
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-wallet-core] branch master updated: wallet-core/dbless: use http lib and set auth for TalerCorebankApiClient,
gnunet <=