After #134 is merged there will be two optional parameters in the getServerHealth function. To align with the pattern of defining a single options argument, we would need to introduce a breaking change.
|
export const getServerHealth = async ( |
|
connection?: Connection |
|
): Promise<ServerHealth> => { |
export const getServerHealth = async (
options? {
connection?: Connection,
logger?: Logger
}
): Promise<ServerHealth> => {
After #134 is merged there will be two optional parameters in the
getServerHealthfunction. To align with the pattern of defining a singleoptionsargument, we would need to introduce a breaking change.ogmios/clients/TypeScript/packages/client/src/ServerHealth.ts
Lines 53 to 55 in efabffa