aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/wallet-api-types.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-10-19 15:36:57 +0200
committerFlorian Dold <florian@dold.me>2022-10-19 15:36:57 +0200
commitf697b20a91362c9b7978107973cfe9aaf376baf8 (patch)
tree0dac7c2eedf8564b6a174fde393d2680437c99af /packages/taler-wallet-core/src/wallet-api-types.ts
parent81d6f2c7969f595faf9dc00e889b087f16e4298d (diff)
downloadwallet-core-f697b20a91362c9b7978107973cfe9aaf376baf8.tar.xz
wallet-core: return versions in init response
Diffstat (limited to 'packages/taler-wallet-core/src/wallet-api-types.ts')
-rw-r--r--packages/taler-wallet-core/src/wallet-api-types.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/taler-wallet-core/src/wallet-api-types.ts b/packages/taler-wallet-core/src/wallet-api-types.ts
index 2eac18249..097518263 100644
--- a/packages/taler-wallet-core/src/wallet-api-types.ts
+++ b/packages/taler-wallet-core/src/wallet-api-types.ts
@@ -65,6 +65,7 @@ import {
InitiatePeerPullPaymentResponse,
InitiatePeerPushPaymentRequest,
InitiatePeerPushPaymentResponse,
+ InitResponse,
IntegrationTestArgs,
KnownBankAccounts,
ListKnownBankAccountsRequest,
@@ -91,6 +92,7 @@ import {
TransactionsRequest,
TransactionsResponse,
WalletBackupContentV1,
+ WalletCoreVersion,
WalletCurrencyInfo,
WithdrawFakebankRequest,
WithdrawTestBalanceRequest,
@@ -183,13 +185,13 @@ export enum WalletApiOperation {
export type InitWalletOp = {
op: WalletApiOperation.InitWallet;
request: {};
- response: {};
+ response: InitResponse;
};
export type GetVersionOp = {
op: WalletApiOperation.GetVersion;
request: {};
- response: {};
+ response: WalletCoreVersion;
};
// group: Basic Wallet Information