Published version differ from source code

The library as published does not match the sourced code in this repository. Most notably these lines are missing in the published 0.3.6 version, and well it just doesn't work, I get

TypeError: Cannot read property 'results' of undefined
    at node_modules/node-factorio-api/lib/node-factorio-api.js:402:38

when trying to use it.

Edit: this only happens when having a mod_cache.json from the previous version.

Edit 2: This also breaks when the mod cache is outdated with the following error

ReferenceError: readCache is not defined
    at node_modules/node-factorio-api/lib/node-factorio-api.js:326:25
Edited by Hornwitser
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information