diff options
author | Sebastian <sebasjm@gmail.com> | 2022-09-05 10:04:56 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2022-09-05 13:04:31 -0300 |
commit | e0e33a88db7641775de16f5425bfc08e461a4f75 (patch) | |
tree | 678c656c07e0940706d71c06a5bb6650fee2a8c8 /packages/taler-wallet-webextension/src/wxApi.ts | |
parent | 4a0512884d27f9cf576af00f5a58191b1d189188 (diff) | |
download | wallet-core-e0e33a88db7641775de16f5425bfc08e461a4f75.tar.xz |
adding informantion about the service worker version on the setting page
Diffstat (limited to 'packages/taler-wallet-webextension/src/wxApi.ts')
-rw-r--r-- | packages/taler-wallet-webextension/src/wxApi.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/taler-wallet-webextension/src/wxApi.ts b/packages/taler-wallet-webextension/src/wxApi.ts index 8c5b9a48c..074dbbfb0 100644 --- a/packages/taler-wallet-webextension/src/wxApi.ts +++ b/packages/taler-wallet-webextension/src/wxApi.ts @@ -65,6 +65,7 @@ import { SetWalletDeviceIdRequest, TransactionsResponse, WalletDiagnostics, + WalletCoreVersion, WithdrawUriInfoResponse, } from "@gnu-taler/taler-util"; import { @@ -77,7 +78,7 @@ import { } from "@gnu-taler/taler-wallet-core"; import type { DepositGroupFees } from "@gnu-taler/taler-wallet-core/src/operations/deposits"; import type { ExchangeWithdrawDetails } from "@gnu-taler/taler-wallet-core/src/operations/withdraw"; -import { platform, MessageFromBackend } from "./platform/api.js"; +import { platform, MessageFromBackend, WalletWebExVersion } from "./platform/api.js"; /** * @@ -249,6 +250,9 @@ export function listKnownCurrencies(): Promise<ListOfKnownCurrencies> { export function listExchanges(): Promise<ExchangesListRespose> { return callBackend("listExchanges", {}); } +export function getVersion(): Promise<WalletCoreVersion> { + return callBackend("getVersion", {}); +} export function listKnownBankAccounts( currency?: string, ): Promise<KnownBankAccounts> { |