diff options
Diffstat (limited to 'packages/taler-wallet-core/src')
-rw-r--r-- | packages/taler-wallet-core/src/wallet-api-types.ts | 8 | ||||
-rw-r--r-- | packages/taler-wallet-core/src/wallet.ts | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/packages/taler-wallet-core/src/wallet-api-types.ts b/packages/taler-wallet-core/src/wallet-api-types.ts index 0fd0ffbd6..d7f34409f 100644 --- a/packages/taler-wallet-core/src/wallet-api-types.ts +++ b/packages/taler-wallet-core/src/wallet-api-types.ts @@ -154,7 +154,7 @@ import { PaymentBalanceDetails } from "./balance.js"; export enum WalletApiOperation { InitWallet = "initWallet", - SetConfig = "setConfig", + SetWalletRunConfig = "setWalletRunConfig", WithdrawTestkudos = "withdrawTestkudos", WithdrawTestBalance = "withdrawTestBalance", PreparePayForUri = "preparePayForUri", @@ -281,8 +281,8 @@ export type InitWalletOp = { * * Currently an alias for the initWallet request. */ -export type SetConfigOp = { - op: WalletApiOperation.SetConfig; +export type SetWalletRunConfigOp = { + op: WalletApiOperation.SetWalletRunConfig; request: InitRequest; response: InitResponse; }; @@ -1160,7 +1160,7 @@ export type ForceRefreshOp = { export type WalletOperations = { [WalletApiOperation.InitWallet]: InitWalletOp; - [WalletApiOperation.SetConfig]: SetConfigOp; + [WalletApiOperation.SetWalletRunConfig]: SetWalletRunConfigOp; [WalletApiOperation.GetVersion]: GetVersionOp; [WalletApiOperation.PreparePayForUri]: PreparePayForUriOp; [WalletApiOperation.SharePayment]: SharePaymentOp; diff --git a/packages/taler-wallet-core/src/wallet.ts b/packages/taler-wallet-core/src/wallet.ts index b54204d64..fa78cf24b 100644 --- a/packages/taler-wallet-core/src/wallet.ts +++ b/packages/taler-wallet-core/src/wallet.ts @@ -688,7 +688,7 @@ async function dispatchRequestInternal<Op extends WalletApiOperation>( await recoverStoredBackup(wex, req); return {}; } - case WalletApiOperation.SetConfig: + case WalletApiOperation.SetWalletRunConfig: case WalletApiOperation.InitWallet: { const req = codecForInitRequest().decode(payload); |