In order to quickly warn the user if the amman-client used is incompatible with the amman
CLI used due to the latter being out of date a version check is performed.
If this version check fails then an error is raised and printed to the console.
Sample Error Message
Error: It appears you're using an outdated amman cli version v0.10.0
Make sure to use amman cli version >= v0.11.0 by updating amman updating it from npm:
https://www.npmjs.com/package/@metaplex-foundation/amman
Sample Succes Debug Message Logged
amman:relay:debug Verified that v0.11.0 >= v0.11.0. +90ms
Summary
In order to quickly warn the user if the
amman-client
used is incompatible with theamman
CLI used due to the latter being out of date a version check is performed.If this version check fails then an error is raised and printed to the console.
Sample Error Message
Sample Succes Debug Message Logged