Closed Andrmist closed 1 year ago
Hi @Andrmist Thank you for the report
I've never used Akkoma, but it seems your instance has returned "2.7.2 (compatible; Akkoma 3.3.0)"
as their Mastodon version which is not a valid semver. Masto.js requires servers to provide version information for improving backward compatibility and offering more informative error messages.
I can provide an option to disable the version checking in another PR.
@Andrmist I published a new beta version that comes with an option to disable version checking. Could you verify the option suppresses the error? You can try it with:
npm install masto@4.5.0-rc1
And then
const masto = await login({ ..., disableVersionCheck: true });
Thanks, I'll try when I get home
It works like a charm! Thanks a lot for your work
:tada: This issue has been resolved in version 4.5.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Hi, How can I use this package to create an Akkoma bot? Akkoma has Mastodon API which I want to use, but masto.js gives an error due to different versions