How to find the latest version component by REST API

There are multiple versions of team library component(I created a instance of a team library component, and after publishing a new version of this component, I created another instance of this component without updating the first instance
) in a file, and I found two components with the same key from the file data obtained through the REST API. Now I need to know which of these components is the latest, but I don’t find any version information. Is there any way to get version information of team library component?