gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] branch master updated: -complete rename


From: gnunet
Subject: [taler-wallet-core] branch master updated: -complete rename
Date: Mon, 09 Sep 2024 11:18:35 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository wallet-core.

The following commit(s) were added to refs/heads/master by this push:
     new e0f7f23b1 -complete rename
e0f7f23b1 is described below

commit e0f7f23b16358ff7c2e0663fcda10e9e0cc1601d
Author: Florian Dold <florian@dold.me>
AuthorDate: Mon Sep 9 11:18:30 2024 +0200

    -complete rename
---
 packages/taler-wallet-core/src/wallet-api-types.ts | 23 ++++++++++++++++------
 1 file changed, 17 insertions(+), 6 deletions(-)

diff --git a/packages/taler-wallet-core/src/wallet-api-types.ts 
b/packages/taler-wallet-core/src/wallet-api-types.ts
index 6927fce45..f652dd83d 100644
--- a/packages/taler-wallet-core/src/wallet-api-types.ts
+++ b/packages/taler-wallet-core/src/wallet-api-types.ts
@@ -42,6 +42,8 @@ import {
   BalancesResponse,
   CanonicalizeBaseUrlRequest,
   CanonicalizeBaseUrlResponse,
+  CheckDepositRequest,
+  CheckDepositResponse,
   CheckPayTemplateReponse,
   CheckPayTemplateRequest,
   CheckPeerPullCreditRequest,
@@ -109,8 +111,6 @@ import {
   ListKnownBankAccountsRequest,
   PrepareBankIntegratedWithdrawalRequest,
   PrepareBankIntegratedWithdrawalResponse,
-  CheckDepositRequest,
-  CheckDepositResponse,
   PreparePayRequest,
   PreparePayResult,
   PreparePayTemplateRequest,
@@ -235,8 +235,6 @@ export enum WalletApiOperation {
   ExportBackupRecovery = "exportBackupRecovery",
   ImportBackupRecovery = "importBackupRecovery",
   GetBackupInfo = "getBackupInfo",
-  // Deprecated alias
-  PrepareDeposit = "prepareDeposit",
   CheckDeposit = "checkDeposit",
   GetVersion = "getVersion",
   GenerateDepositGroupTxId = "generateDepositGroupTxId",
@@ -292,6 +290,11 @@ export enum WalletApiOperation {
   StartExchangeWalletKyc = "startExchangeWalletKyc",
   TestingWaitExchangeWalletKyc = "testingWaitWalletKyc",
   HintApplicationResumed = "hintApplicationResumed",
+
+  /**
+   * @deprecated use checkDeposit instead
+   */
+  PrepareDeposit = "prepareDeposit",
 }
 
 // group: Initialization
@@ -837,7 +840,15 @@ export type CreateDepositGroupOp = {
   response: CreateDepositGroupResponse;
 };
 
-// FIXME: Rename to checkDeposit, as it does not create a transaction, just 
computes fees!
+export type CheckDepositOp = {
+  op: WalletApiOperation.CheckDeposit;
+  request: CheckDepositRequest;
+  response: CheckDepositResponse;
+};
+
+/**
+ * @deprecated use CheckDepositOp instead
+ */
 export type PrepareDepositOp = {
   op: WalletApiOperation.PrepareDeposit;
   request: CheckDepositRequest;
@@ -1347,7 +1358,7 @@ export type WalletOperations = {
   [WalletApiOperation.GetExchangeDetailedInfo]: GetExchangeDetailedInfoOp;
   [WalletApiOperation.GetExchangeEntryByUrl]: GetExchangeEntryByUrlOp;
   [WalletApiOperation.PrepareDeposit]: PrepareDepositOp;
-  [WalletApiOperation.CheckDeposit]: PrepareDepositOp;
+  [WalletApiOperation.CheckDeposit]: CheckDepositOp;
   [WalletApiOperation.GenerateDepositGroupTxId]: GenerateDepositGroupTxIdOp;
   [WalletApiOperation.CreateDepositGroup]: CreateDepositGroupOp;
   [WalletApiOperation.SetWalletDeviceId]: SetWalletDeviceIdOp;

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]