From 910099285b27ea428d25d095e8386fbef913a323 Mon Sep 17 00:00:00 2001 From: Timo Hocker Date: Fri, 9 Sep 2022 16:38:49 +0200 Subject: [PATCH] fix readme --- README.md | 4 +++- package.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) 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",