diff options
author | Florian Dold <florian@dold.me> | 2024-05-23 19:50:59 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2024-05-23 19:50:59 +0200 |
commit | cdcedf65595393fc186eb2012d3ae6cd55540f59 (patch) | |
tree | 88c4eecce4673c1c2b7b3b6eaadfb4b7f8df0ce8 /packages/taler-util/src/taler-types.ts | |
parent | 527716758f154eb863acb0052f004dd23313f765 (diff) | |
download | wallet-core-cdcedf65595393fc186eb2012d3ae6cd55540f59.tar.xz |
wallet-core: support bank-integrated withdrawal with amount selection by wallet
Diffstat (limited to 'packages/taler-util/src/taler-types.ts')
-rw-r--r-- | packages/taler-util/src/taler-types.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/taler-util/src/taler-types.ts b/packages/taler-util/src/taler-types.ts index e2536b74a..66f98ea9a 100644 --- a/packages/taler-util/src/taler-types.ts +++ b/packages/taler-util/src/taler-types.ts @@ -978,7 +978,7 @@ export class WithdrawOperationStatusResponse { aborted: boolean; - amount: string; + amount: string | undefined; sender_wire?: string; @@ -1557,7 +1557,7 @@ export const codecForWithdrawOperationStatusResponse = .property("selection_done", codecForBoolean()) .property("transfer_done", codecForBoolean()) .property("aborted", codecForBoolean()) - .property("amount", codecForString()) + .property("amount", codecOptional(codecForString())) .property("sender_wire", codecOptional(codecForString())) .property("suggested_exchange", codecOptional(codecForString())) .property("confirm_transfer_url", codecOptional(codecForString())) |