taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit db13a4fc819c188053fda34251c042c9762738c4
parent 75596cc0145e24f341326e57c5245e3851b350de
Author: Florian Dold <florian@dold.me>
Date:   Wed, 27 Nov 2024 15:55:06 +0100

-small fixes from QC

Diffstat:
Mpackages/taler-util/src/codec.ts | 4++--
Mpackages/taler-wallet-core/src/pay-merchant.ts | 3+--
2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/packages/taler-util/src/codec.ts b/packages/taler-util/src/codec.ts @@ -159,8 +159,8 @@ class ObjectCodecBuilder<OutputType, PartialOutputType> { if (allowExtra) { obj[prop] = x[prop]; } else if (deprecatedPros.has(prop)) { - logger.warn( - `Deprecated operty ${prop} for ${objectDisplayName} at ${renderContext( + logger.trace( + `Deprecated property ${prop} for ${objectDisplayName} at ${renderContext( c, )}`, ); diff --git a/packages/taler-wallet-core/src/pay-merchant.ts b/packages/taler-wallet-core/src/pay-merchant.ts @@ -653,7 +653,7 @@ export class RefundTransactionContext implements TransactionContext { refundGroupId: refundRecord.refundGroupId, }), txState, - txActions: [], + txActions: [TransactionAction.Delete], paymentInfo, }; } @@ -670,7 +670,6 @@ export class RefundTransactionContext implements TransactionContext { await tx.refundGroups.delete(refundGroupId); await this.updateTransactionMeta(tx); await tx.tombstones.put({ id: transactionId }); - // FIXME: Also tombstone the refund items, so that they won't reappear. }, ); }