version bump for npm
add an ensure function that simplifies async resources in classes