diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/taler-util/src/wallet-types.ts | 15 | ||||
-rw-r--r-- | packages/taler-wallet-core/src/operations/testing.ts | 4 |
2 files changed, 12 insertions, 7 deletions
diff --git a/packages/taler-util/src/wallet-types.ts b/packages/taler-util/src/wallet-types.ts index e900d76cb..bca8a92a8 100644 --- a/packages/taler-util/src/wallet-types.ts +++ b/packages/taler-util/src/wallet-types.ts @@ -2501,17 +2501,22 @@ export interface PreparePeerPullDebitRequest { export interface PreparePeerPushCreditResponse { contractTerms: PeerContractTerms; - /** - * @deprecated - */ - amount: AmountString; amountRaw: AmountString; amountEffective: AmountString; - peerPushCreditId: string; transactionId: string; exchangeBaseUrl: string; + + /** + * @deprecated use transaction ID instead. + */ + peerPushCreditId: string; + + /** + * @deprecated + */ + amount: AmountString; } export interface PreparePeerPullDebitResponse { diff --git a/packages/taler-wallet-core/src/operations/testing.ts b/packages/taler-wallet-core/src/operations/testing.ts index 1981519f1..b30c5f80b 100644 --- a/packages/taler-wallet-core/src/operations/testing.ts +++ b/packages/taler-wallet-core/src/operations/testing.ts @@ -684,7 +684,7 @@ export async function runIntegrationTest2( type: TalerUriAction.PayPush, exchangeBaseUrl: peerPushInit.exchangeBaseUrl, contractPriv: peerPushInit.contractPriv, - }) + }); const txDetails = await getTransactionById(ws, { transactionId: peerPushInit.transactionId, @@ -703,7 +703,7 @@ export async function runIntegrationTest2( }); await confirmPeerPushCredit(ws, { - peerPushCreditId: peerPushCredit.peerPushCreditId, + transactionId: peerPushCredit.transactionId, }); const peerPullInit = await initiatePeerPullPayment(ws, { |