[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] branch master updated: -rename
From: |
gnunet |
Subject: |
[taler-wallet-core] branch master updated: -rename |
Date: |
Tue, 01 Nov 2022 15:36:13 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository wallet-core.
The following commit(s) were added to refs/heads/master by this push:
new ab48d3df6 -rename
ab48d3df6 is described below
commit ab48d3df6ed738251ffdb8c028ceb0d981534137
Author: Florian Dold <florian@dold.me>
AuthorDate: Tue Nov 1 15:36:10 2022 +0100
-rename
---
packages/taler-util/src/wallet-types.ts | 4 ++--
packages/taler-wallet-core/src/operations/common.ts | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/packages/taler-util/src/wallet-types.ts
b/packages/taler-util/src/wallet-types.ts
index 3eafe7522..24a97ba12 100644
--- a/packages/taler-util/src/wallet-types.ts
+++ b/packages/taler-util/src/wallet-types.ts
@@ -919,7 +919,7 @@ export interface ExchangeListItem {
paytoUris: string[];
tosStatus: ExchangeTosStatus;
exchangeStatus: ExchangeEntryStatus;
- supportedAgeGroups: number[];
+ ageRestrictionOptions: number[];
/**
* Permanently added to the wallet, as opposed to just
* temporarily queried.
@@ -999,7 +999,7 @@ export const codecForExchangeListItem = ():
Codec<ExchangeListItem> =>
.property("tosStatus", codecForAny())
.property("exchangeStatus", codecForAny())
.property("permanent", codecForBoolean())
- .property("supportedAgeGroups", codecForList(codecForNumber()))
+ .property("ageRestrictionOptions", codecForList(codecForNumber()))
.build("ExchangeListItem");
export const codecForExchangesListResponse = (): Codec<ExchangesListResponse>
=>
diff --git a/packages/taler-wallet-core/src/operations/common.ts
b/packages/taler-wallet-core/src/operations/common.ts
index 3ac003da3..e29065390 100644
--- a/packages/taler-wallet-core/src/operations/common.ts
+++ b/packages/taler-wallet-core/src/operations/common.ts
@@ -366,7 +366,7 @@ export function makeExchangeListItem(
paytoUris: [],
exchangeStatus: ExchangeEntryStatus.Unknown,
permanent: r.permanent,
- supportedAgeGroups: [],
+ ageRestrictionOptions: [],
};
}
let exchangeStatus;
@@ -378,7 +378,7 @@ export function makeExchangeListItem(
paytoUris: exchangeDetails.wireInfo.accounts.map((x) => x.payto_uri),
exchangeStatus,
permanent: r.permanent,
- supportedAgeGroups: exchangeDetails.ageMask
+ ageRestrictionOptions: exchangeDetails.ageMask
? AgeRestriction.getAgeGroupsFromMask(exchangeDetails.ageMask)
: [],
};
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-wallet-core] branch master updated: -rename,
gnunet <=