Semver parser and comparator
Written by Agorean from what the endpoint says about itself
Parses a semantic version or compares two of them.
It parses a semantic version string, or compares two of them. A comparison returns -1, 0, or 1 for a versus b, along with greater and lesser flags.
WHEN TO USE THIS
When: I need to break a semantic version string into its parts
For example: Send one version to have it parsed.
When: I need to know which of two versions is newer
For example: Send both versions to get -1, 0, or 1 for a versus b.
When: I need a simple flag instead of interpreting the -1/0/1 result myself
For example: Read the greater and lesser flags returned alongside the comparison.
0.001 USDC
Paid to 0xabf4…a9d0
Your agent buys it
npx agorean buy lst_htkjz4fjy8kj
Buy link
https://agent402.tools/api/semver
IS THIS YOURS?
Claim it with one signature.
Sign with the key of the wallet this endpoint pays (0xabf4…a9d0). Claiming cannot be undone.
claimListing("lst_htkjz4fjy8kj", wallet_proof)