diff options
author | Sebastian <sebasjm@gmail.com> | 2023-02-01 13:00:12 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-02-01 13:00:12 -0300 |
commit | ab9a5e1e8ac60bbf55104e84490e581dfad5de02 (patch) | |
tree | ac00b38838ee0ca3b600dc505957632b019bf1bb /packages/taler-util/src/taler-types.ts | |
parent | b45dd3ed4d5a43e3622b381e3a2acb16497e9864 (diff) | |
download | wallet-core-ab9a5e1e8ac60bbf55104e84490e581dfad5de02.tar.xz |
fix #7552, add next_url from the tip information when accepting tips
Diffstat (limited to 'packages/taler-util/src/taler-types.ts')
-rw-r--r-- | packages/taler-util/src/taler-types.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/taler-util/src/taler-types.ts b/packages/taler-util/src/taler-types.ts index 8b680bdd9..a9303ed9c 100644 --- a/packages/taler-util/src/taler-types.ts +++ b/packages/taler-util/src/taler-types.ts @@ -905,6 +905,8 @@ export class TipPickupGetResponse { exchange_url: string; + next_url?: string; + expiration: TalerProtocolTimestamp; } @@ -1464,6 +1466,7 @@ export const codecForTipPickupGetResponse = (): Codec<TipPickupGetResponse> => buildCodecForObject<TipPickupGetResponse>() .property("tip_amount", codecForString()) .property("exchange_url", codecForString()) + .property("next_url", codecOptional(codecForString())) .property("expiration", codecForTimestamp) .build("TipPickupGetResponse"); |