Fix promise typings
Update version