diff --git a/README.md b/README.md index 9c4a794..af1c289 100644 --- a/README.md +++ b/README.md @@ -171,7 +171,9 @@ await blacklist.add_signature(token_id); // the token id is returned from any fu #### Logout function ```js -const {logout} = require('@sapphirecode/auth-server-helper'); +const {GatewayClass} = require('@sapphirecode/auth-server-helper'); + +const gateway = new GatewayClass({ /* options */ }); // create a new express route app.get('logout',(req,res)=>{ diff --git a/package.json b/package.json index 9790b15..25d2c80 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@sapphirecode/auth-server-helper", - "version": "4.0.1", + "version": "4.0.2", "main": "dist/lib/index.js", "author": { "name": "Timo Hocker",