Created by: mlabrum
Hey,
Thanks for this project :D
This adds support for promises within getToken
(if using default network helpers) and NetworkHelpers
methods are now allowed to return a Promise
I've wrapped the return values of both getToken
and the network helpers in a Promise.resolve
to ensure this works in a backwards compatible way as any value returned from them will now be resolved into a promise and await
ed.
Cheers,