aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-util/src/taler-types.ts
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2023-02-01 13:00:12 -0300
committerSebastian <sebasjm@gmail.com>2023-02-01 13:00:12 -0300
commitab9a5e1e8ac60bbf55104e84490e581dfad5de02 (patch)
treeac00b38838ee0ca3b600dc505957632b019bf1bb /packages/taler-util/src/taler-types.ts
parentb45dd3ed4d5a43e3622b381e3a2acb16497e9864 (diff)
downloadwallet-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.ts3
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");