Confirmed to be a bug in the library, and to be fixed in upcoming version 8 which is currently in public beta, releasing to NPM 6th August.