Fwiw, the api changed from 0.17.3 to 0.17.4, and then again to 0.18
I raised it a few times in various places but nobody seemed to care so i gave up complaining. At least hopefully eventually nobody will be running pre-0.18, and the js docs will be updated to be accurate