diff options
author | Sebastian <sebasjm@gmail.com> | 2023-06-26 14:19:35 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-06-26 14:21:10 -0300 |
commit | 1e173e279f32eadcd9b24f4a8564a2f894a8867a (patch) | |
tree | 46fa3f4f1bbbd301f59e8b05880122c38c8e70b7 /packages/taler-util/src/wallet-types.ts | |
parent | 74579ac2f2a4dd46487fb4d2bb2f2b26961a54f1 (diff) | |
download | wallet-core-1e173e279f32eadcd9b24f4a8564a2f894a8867a.tar.xz |
added master pub to add-exchange (for validation)
Diffstat (limited to 'packages/taler-util/src/wallet-types.ts')
-rw-r--r-- | packages/taler-util/src/wallet-types.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/taler-util/src/wallet-types.ts b/packages/taler-util/src/wallet-types.ts index 3710e6d3c..1b55591b1 100644 --- a/packages/taler-util/src/wallet-types.ts +++ b/packages/taler-util/src/wallet-types.ts @@ -1544,6 +1544,7 @@ export const codecForIntegrationTestV2Args = (): Codec<IntegrationTestV2Args> => export interface AddExchangeRequest { exchangeBaseUrl: string; + masterPub?: string; forceUpdate?: boolean; } @@ -1551,6 +1552,7 @@ export const codecForAddExchangeRequest = (): Codec<AddExchangeRequest> => buildCodecForObject<AddExchangeRequest>() .property("exchangeBaseUrl", codecForString()) .property("forceUpdate", codecOptional(codecForBoolean())) + .property("masterPub", codecOptional(codecForString())) .build("AddExchangeRequest"); export interface ForceExchangeUpdateRequest { |