diff options
Diffstat (limited to 'packages/taler-wallet-core/src/wallet-api-types.ts')
-rw-r--r-- | packages/taler-wallet-core/src/wallet-api-types.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/taler-wallet-core/src/wallet-api-types.ts b/packages/taler-wallet-core/src/wallet-api-types.ts index de955e5c7..2860a6972 100644 --- a/packages/taler-wallet-core/src/wallet-api-types.ts +++ b/packages/taler-wallet-core/src/wallet-api-types.ts @@ -92,6 +92,7 @@ export enum WalletApiOperation { WithdrawTestBalance = "withdrawTestBalance", PreparePayForUri = "preparePayForUri", RunIntegrationTest = "runIntegrationTest", + CryptoTest = "cryptoTest", TestPay = "testPay", AddExchange = "addExchange", GetTransactions = "getTransactions", @@ -525,6 +526,15 @@ export type RunIntegrationTestOp = { }; /** + * Test crypto worker. + */ +export type CryptoTestOp = { + op: WalletApiOperation.CryptoTest; + request: {}; + response: any; +}; + +/** * Make withdrawal on a test deployment of the exchange * and merchant. */ @@ -639,6 +649,7 @@ export type WalletOperations = { [WalletApiOperation.AddBackupProvider]: AddBackupProviderOp; [WalletApiOperation.GetBackupInfo]: GetBackupInfoOp; [WalletApiOperation.RunIntegrationTest]: RunIntegrationTestOp; + [WalletApiOperation.CryptoTest]: CryptoTestOp; [WalletApiOperation.WithdrawTestBalance]: WithdrawTestBalanceOp; [WalletApiOperation.TestPay]: TestPayOp; [WalletApiOperation.ExportDb]: ExportDbOp; |