commit 6b29d873fcd1dcecff5f2957ed6542f8fa5f1089 parent 3090d60068a6a4a3441fd0e6481190a03c407847 Author: Florian Dold <florian@dold.me> Date: Fri, 22 Nov 2024 10:57:09 +0100 fix inconsistent spelling Diffstat:
5 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/packages/taler-util/src/types-taler-wallet.ts b/packages/taler-util/src/types-taler-wallet.ts @@ -1130,7 +1130,7 @@ export interface WalletCoreVersion { export interface KnownBankAccountsInfo { uri: PaytoUri; - kyc_completed: boolean; + kycCompleted: boolean; currency: string; alias: string; } diff --git a/packages/taler-wallet-core/src/wallet.ts b/packages/taler-wallet-core/src/wallet.ts @@ -519,7 +519,7 @@ async function handleListKnownBankAccounts( accounts.push({ uri: payto, alias: r.alias, - kyc_completed: r.kycCompleted, + kycCompleted: r.kycCompleted, currency: r.currency, }); } diff --git a/packages/taler-wallet-webextension/src/wallet/DepositPage/test.ts b/packages/taler-wallet-webextension/src/wallet/DepositPage/test.ts @@ -142,13 +142,13 @@ describe("DepositPage states", () => { const ibanPayto = { uri: parsePaytoUri("payto://iban/ES8877998399652238")!, - kyc_completed: false, + kycCompleted: false, currency: "EUR", alias: "my iban account", }; const talerBankPayto = { uri: parsePaytoUri("payto://x-taler-bank/ES8877998399652238")!, - kyc_completed: false, + kycCompleted: false, currency: "EUR", alias: "my taler account", }; diff --git a/packages/taler-wallet-webextension/src/wallet/ManageAccount/stories.tsx b/packages/taler-wallet-webextension/src/wallet/ManageAccount/stories.tsx @@ -53,7 +53,7 @@ export const JustTwoBitcoinAccounts = tests.createExample(ReadyView, { { alias: "my bitcoin addr", currency: "BTC", - kyc_completed: false, + kycCompleted: false, uri: { targetType: "bitcoin", segwitAddrs: [], @@ -66,7 +66,7 @@ export const JustTwoBitcoinAccounts = tests.createExample(ReadyView, { { alias: "my other addr", currency: "BTC", - kyc_completed: true, + kycCompleted: true, uri: { targetType: "bitcoin", segwitAddrs: [], @@ -106,7 +106,7 @@ export const WithAllTypeOfAccounts = tests.createExample(ReadyView, { { alias: "my bank", currency: "ARS", - kyc_completed: true, + kycCompleted: true, uri: { targetType: "iban", iban: "ASDQWEQWE", @@ -120,7 +120,7 @@ export const WithAllTypeOfAccounts = tests.createExample(ReadyView, { { alias: "my xtaler bank", currency: "ARS", - kyc_completed: true, + kycCompleted: true, uri: { targetType: "x-taler-bank", host: "localhost", @@ -135,7 +135,7 @@ export const WithAllTypeOfAccounts = tests.createExample(ReadyView, { { alias: "my bitcoin addr", currency: "BTC", - kyc_completed: false, + kycCompleted: false, uri: { targetType: "bitcoin", segwitAddrs: [], @@ -148,7 +148,7 @@ export const WithAllTypeOfAccounts = tests.createExample(ReadyView, { { alias: "my other addr", currency: "BTC", - kyc_completed: true, + kycCompleted: true, uri: { targetType: "bitcoin", segwitAddrs: [], @@ -188,7 +188,7 @@ export const AddingIbanAccount = tests.createExample(ReadyView, { { alias: "my bank", currency: "ARS", - kyc_completed: true, + kycCompleted: true, uri: { targetType: "iban", iban: "ASDQWEQWE", diff --git a/packages/taler-wallet-webextension/src/wallet/ManageAccount/views.tsx b/packages/taler-wallet-webextension/src/wallet/ManageAccount/views.tsx @@ -220,7 +220,7 @@ function IbanTable({ <td>{p.iban}</td> <td>{p.params["receiver-name"]}</td> <td class="kyc"> - {account.kyc_completed ? ( + {account.kycCompleted ? ( <SvgIcon title={i18n.str`KYC done`} dangerouslySetInnerHTML={{ __html: checkIcon }} @@ -295,7 +295,7 @@ function TalerBankTable({ <td>{p.host}</td> <td>{p.account}</td> <td class="kyc"> - {account.kyc_completed ? ( + {account.kycCompleted ? ( <SvgIcon title={i18n.str`KYC done`} dangerouslySetInnerHTML={{ __html: checkIcon }} @@ -366,7 +366,7 @@ function BitcoinTable({ <td>{account.alias}</td> <td>{p.targetPath}</td> <td class="kyc"> - {account.kyc_completed ? ( + {account.kycCompleted ? ( <SvgIcon title={i18n.str`KYC done`} dangerouslySetInnerHTML={{ __html: checkIcon }}