How to use DeploymentFilter to query deployments
mainWhen using the library's query methods, you can pass an optional DeploymentFilter object to refine your search.
version: A specific version string (e.g.,'1.3.0').released: A boolean. Ifundefined, it returns the latest version even if not yet released. Defaults totrueif not specified.network: The chain ID of the network as a string (e.g.,'5'for Goerli).
interface DeploymentFilter {
version?: string;
released?: boolean; // Defaults to true if no filter is specified
network?: string; // Chain id of the network
}