Fix promise handling bugs
Bump to version v0.1.1