Closed rhyslbw closed 2 years ago
This can possibly be introduced as a non-breaking change right?
export const getServerHealth = async (
connection? : Connection
|
options? {
connection?: Connection,
logger?: Logger
}
): Promise<ServerHealth> => {
After https://github.com/CardanoSolutions/ogmios/pull/134 is merged there will be two optional parameters in the
getServerHealth
function. To align with the pattern of defining a singleoptions
argument, we would need to introduce a breaking change.https://github.com/CardanoSolutions/ogmios/blob/efabffa9dcac8b1ebedf0f11f61615752908ce81/clients/TypeScript/packages/client/src/ServerHealth.ts#L53-L55