added master pub to add-exchange (for validation)

This commit is contained in:
Sebastian 2023-06-26 14:19:35 -03:00
parent 74579ac2f2
commit 1e173e279f
No known key found for this signature in database
GPG Key ID: 173909D1A5F66069

View File

@ -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 {