From 65c1e4b5c85abc3ac4a20895b1d9b08b8c397dc4 Mon Sep 17 00:00:00 2001 From: Nidheeshdas Thavorath Date: Sat, 23 Jan 2021 09:09:50 +0530 Subject: [PATCH] Update index.js return claims instead of just `true` --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 7b00187..6bac1e2 100644 --- a/index.js +++ b/index.js @@ -83,7 +83,7 @@ class Verifier { } } } - return true; + return claims; } catch (e) { if (this.debug) console.log(e); return false;