From 44aeaba7b4d21e518928ca545b114e2a8e8c2a24 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sat, 5 Aug 2023 23:56:07 +0200 Subject: wallet-core: introduce tiny digits --- packages/taler-util/src/wallet-types.ts | 1 + packages/taler-wallet-core/src/wallet.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/taler-util/src/wallet-types.ts b/packages/taler-util/src/wallet-types.ts index 42d54752a..3179cd6f3 100644 --- a/packages/taler-util/src/wallet-types.ts +++ b/packages/taler-util/src/wallet-types.ts @@ -420,6 +420,7 @@ export const codecForGetCurrencyInfoRequest = export interface GetCurrencyInfoResponse { decimalSeparator: string; numFractionalDigits: number; + numTinyDigits: number; /** * Is the currency name leading or trailing? */ diff --git a/packages/taler-wallet-core/src/wallet.ts b/packages/taler-wallet-core/src/wallet.ts index 78fb8789e..796a96f14 100644 --- a/packages/taler-wallet-core/src/wallet.ts +++ b/packages/taler-wallet-core/src/wallet.ts @@ -1404,6 +1404,7 @@ async function dispatchRequestInternal( decimalSeparator: ",", isCurrencyNameLeading: false, numFractionalDigits: 2, + numTinyDigits: 1, }; return resp; } -- cgit v1.2.3