fix: cast has been removed in promise 6.0.0
2.2.1