diff options
author | Sebastian <sebasjm@gmail.com> | 2024-04-11 18:13:35 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-04-11 18:13:35 -0300 |
commit | 516bda58bb53738fa4d2ae0b10a25e53c138180b (patch) | |
tree | 4aed6ddaac6b6cfe08ed0a2afa52277b0f5784f8 | |
parent | 16405fe33ef1e45a7038df9ba66ba88cf0042c6c (diff) | |
download | wallet-core-516bda58bb53738fa4d2ae0b10a25e53c138180b.tar.gz wallet-core-516bda58bb53738fa4d2ae0b10a25e53c138180b.tar.bz2 wallet-core-516bda58bb53738fa4d2ae0b10a25e53c138180b.zip |
rename comments from demobank to bank
-rw-r--r-- | packages/anastasis-webui/src/index.html | 2 | ||||
-rw-r--r-- | packages/auditor-backoffice-ui/src/index.html | 2 | ||||
-rw-r--r-- | packages/bank-ui/README.md | 2 | ||||
-rw-r--r-- | packages/merchant-backoffice-ui/src/index.html | 2 | ||||
-rw-r--r-- | packages/taler-harness/src/index.ts | 23 | ||||
-rw-r--r-- | packages/taler-harness/src/integrationtests/test-exchange-deposit.ts | 4 | ||||
-rw-r--r-- | packages/taler-harness/src/integrationtests/test-exchange-purse.ts | 4 | ||||
-rw-r--r-- | packages/taler-harness/src/integrationtests/test-wallet-dbless.ts | 4 | ||||
-rw-r--r-- | packages/taler-wallet-core/src/dbless.ts | 6 |
9 files changed, 24 insertions, 25 deletions
diff --git a/packages/anastasis-webui/src/index.html b/packages/anastasis-webui/src/index.html index 90a795ae3..d64b627e4 100644 --- a/packages/anastasis-webui/src/index.html +++ b/packages/anastasis-webui/src/index.html @@ -32,7 +32,7 @@ /> <link rel="shortcut icon" href="data:image/x-icon;," type="image/x-icon" /> <title>Anastasis</title> - <!-- Entry point for the demobank SPA. --> + <!-- Entry point for the SPA. --> <script type="module" src="index.js"></script> <link rel="stylesheet" href="index.css" /> </head> diff --git a/packages/auditor-backoffice-ui/src/index.html b/packages/auditor-backoffice-ui/src/index.html index d79bdf130..c73dd1936 100644 --- a/packages/auditor-backoffice-ui/src/index.html +++ b/packages/auditor-backoffice-ui/src/index.html @@ -35,7 +35,7 @@ <title>Auditor Backoffice</title> <!-- Optional customization script. --> <script src="auditor-backoffice-ui-settings.js"></script> - <!-- Entry point for the demobank SPA. --> + <!-- Entry point for the SPA. --> <script type="module" src="index.js"></script> <link rel="stylesheet" href="index.css" /> </head> diff --git a/packages/bank-ui/README.md b/packages/bank-ui/README.md index 3d2e991ff..4275cce57 100644 --- a/packages/bank-ui/README.md +++ b/packages/bank-ui/README.md @@ -1,4 +1,4 @@ -# Taler Demobank UI +# Taler Bank UI Web-based user interface for the libeufin bank ui. diff --git a/packages/merchant-backoffice-ui/src/index.html b/packages/merchant-backoffice-ui/src/index.html index aed14a1de..b005f967d 100644 --- a/packages/merchant-backoffice-ui/src/index.html +++ b/packages/merchant-backoffice-ui/src/index.html @@ -35,7 +35,7 @@ <title>Merchant Backoffice</title> <!-- Optional customization script. --> <script src="merchant-backoffice-ui-settings.js"></script> - <!-- Entry point for the demobank SPA. --> + <!-- Entry point for the SPA. --> <script type="module" src="index.js"></script> <link rel="stylesheet" href="index.css" /> </head> diff --git a/packages/taler-harness/src/index.ts b/packages/taler-harness/src/index.ts index 4a7b13317..2dcde39b9 100644 --- a/packages/taler-harness/src/index.ts +++ b/packages/taler-harness/src/index.ts @@ -55,8 +55,7 @@ import { WalletApiOperation, } from "@gnu-taler/taler-wallet-core"; import { - downloadExchangeInfo, - topupReserveWithDemobank, + downloadExchangeInfo, topupReserveWithBank, } from "@gnu-taler/taler-wallet-core/dbless"; import { deepStrictEqual } from "assert"; import fs from "fs"; @@ -403,7 +402,7 @@ deploymentCli const reserveKeyPair = await cryptoApi.createEddsaKeypair({}); const exchangeBaseUrl = "https://exchange.demo.taler.net/"; const exchangeInfo = await downloadExchangeInfo(exchangeBaseUrl, http); - await topupReserveWithDemobank({ + await topupReserveWithBank({ amount: "KUDOS:10" as AmountString, corebankApiBaseUrl: "https://bank.demo.taler.net/", exchangeInfo, @@ -431,7 +430,7 @@ deploymentCli const reserveKeyPair = await cryptoApi.createEddsaKeypair({}); const exchangeBaseUrl = "https://exchange.test.taler.net/"; const exchangeInfo = await downloadExchangeInfo(exchangeBaseUrl, http); - await topupReserveWithDemobank({ + await topupReserveWithBank({ amount: "TESTKUDOS:10" as AmountString, corebankApiBaseUrl: "https://bank.test.taler.net/", exchangeInfo, @@ -460,7 +459,7 @@ deploymentCli const reserveKeyPair = await cryptoApi.createEddsaKeypair({}); const exchangeBaseUrl = "http://localhost:8081/"; const exchangeInfo = await downloadExchangeInfo(exchangeBaseUrl, http); - await topupReserveWithDemobank({ + await topupReserveWithBank({ amount: "TESTKUDOS:10" as AmountString, corebankApiBaseUrl: "http://localhost:8082/taler-bank-access/", exchangeInfo, @@ -707,9 +706,9 @@ deploymentCli contact_data: email || phone ? { - email: email, - phone: phone, - } + email: email, + phone: phone, + } : undefined, }); @@ -1012,10 +1011,10 @@ deploymentCli credit_facade_credentials: bankUser && bankPassword ? { - type: "basic", - username: bankUser, - password: bankPassword, - } + type: "basic", + username: bankUser, + password: bankPassword, + } : undefined, }); if (createAccountResp.type != "ok") { diff --git a/packages/taler-harness/src/integrationtests/test-exchange-deposit.ts b/packages/taler-harness/src/integrationtests/test-exchange-deposit.ts index 05e6e153b..47a17a1f2 100644 --- a/packages/taler-harness/src/integrationtests/test-exchange-deposit.ts +++ b/packages/taler-harness/src/integrationtests/test-exchange-deposit.ts @@ -34,7 +34,7 @@ import { depositCoin, downloadExchangeInfo, findDenomOrThrow, - topupReserveWithDemobank, + topupReserveWithBank, withdrawCoin, } from "@gnu-taler/taler-wallet-core/dbless"; import { GlobalTestState } from "../harness/harness.js"; @@ -63,7 +63,7 @@ export async function runExchangeDepositTest(t: GlobalTestState) { const reserveKeyPair = await cryptoApi.createEddsaKeypair({}); - await topupReserveWithDemobank({ + await topupReserveWithBank({ http, amount: "TESTKUDOS:10" as AmountString, corebankApiBaseUrl: bank.corebankApiBaseUrl, diff --git a/packages/taler-harness/src/integrationtests/test-exchange-purse.ts b/packages/taler-harness/src/integrationtests/test-exchange-purse.ts index 83ee13d4e..6666e2d0b 100644 --- a/packages/taler-harness/src/integrationtests/test-exchange-purse.ts +++ b/packages/taler-harness/src/integrationtests/test-exchange-purse.ts @@ -40,7 +40,7 @@ import { checkReserve, downloadExchangeInfo, findDenomOrThrow, - topupReserveWithDemobank, + topupReserveWithBank, withdrawCoin, } from "@gnu-taler/taler-wallet-core/dbless"; import { GlobalTestState, harnessHttpLib } from "../harness/harness.js"; @@ -76,7 +76,7 @@ export async function runExchangePurseTest(t: GlobalTestState) { method: "GET", }); - await topupReserveWithDemobank({ + await topupReserveWithBank({ amount: "TESTKUDOS:10" as AmountString, http, reservePub: reserveKeyPair.pub, diff --git a/packages/taler-harness/src/integrationtests/test-wallet-dbless.ts b/packages/taler-harness/src/integrationtests/test-wallet-dbless.ts index fadb34732..a089d99b5 100644 --- a/packages/taler-harness/src/integrationtests/test-wallet-dbless.ts +++ b/packages/taler-harness/src/integrationtests/test-wallet-dbless.ts @@ -35,7 +35,7 @@ import { downloadExchangeInfo, findDenomOrThrow, refreshCoin, - topupReserveWithDemobank, + topupReserveWithBank, withdrawCoin, } from "@gnu-taler/taler-wallet-core/dbless"; import { GlobalTestState, harnessHttpLib } from "../harness/harness.js"; @@ -71,7 +71,7 @@ export async function runWalletDblessTest(t: GlobalTestState) { method: "GET", }); - await topupReserveWithDemobank({ + await topupReserveWithBank({ amount: "TESTKUDOS:10" as AmountString, http, reservePub: reserveKeyPair.pub, diff --git a/packages/taler-wallet-core/src/dbless.ts b/packages/taler-wallet-core/src/dbless.ts index 2d067a1dc..dfefe6ef5 100644 --- a/packages/taler-wallet-core/src/dbless.ts +++ b/packages/taler-wallet-core/src/dbless.ts @@ -105,7 +105,7 @@ export async function checkReserve( } } -export interface TopupReserveWithDemobankArgs { +export interface TopupReserveWithBankArgs { http: HttpRequestLibrary; reservePub: string; corebankApiBaseUrl: string; @@ -113,8 +113,8 @@ export interface TopupReserveWithDemobankArgs { amount: AmountString; } -export async function topupReserveWithDemobank( - args: TopupReserveWithDemobankArgs, +export async function topupReserveWithBank( + args: TopupReserveWithBankArgs, ) { const { http, corebankApiBaseUrl, amount, exchangeInfo, reservePub } = args; const bankClient = new TalerCorebankApiClient(corebankApiBaseUrl); |