this JavaScript Library connects to the EDD caching proxy server that wraps our wordpress site.
npm install @geistinteractive/edd
import EDDSL from 'eddsl'
const edd = new EDDSL(proxyURL)
edd.login(username, password).then(result=>{
// do something with result or not
})
//etc see Method documentation
Log in with Wordpress username (or email) and password. This async function will return with some data and store the token for later use.
NOTE! liceseXXX methods don't require being logged in as they are intended to be used with out auth