NodeJS / JS SDK doesn't work at all

Ok I finally found a solution. I had to call connect() every time I call a method of secrets() and not just one when I initiliazed the class. Which means you have to loginWithAccessToken for every request… Seems weird but it works.