You’re meant to provide a manifest that includes a version. That way you can simply check the version, and even have scripts define a specific version dependency, if desired. Ideally, you’d have your module in a repo that PowerShellGet can access, so you can easily check the repo version and update if needed.
However, checking a file hash is an approach that would probably work.