idea-toolbox
Advanced tools
Comparing version 6.5.12 to 6.5.13
@@ -10,6 +10,6 @@ "use strict"; | ||
constructor(x = {}) { | ||
this.userId = x.userId ?? x.sub; | ||
this.userId = x.userId || x.sub; | ||
this.email = x.email; | ||
this.name = x.name; | ||
this.groups = x.groups ?? this.parseGroupsFromClaims(x['cognito:groups']); | ||
this.groups = x.groups || this.parseGroupsFromClaims(x['cognito:groups']); | ||
if (x.attributes) | ||
@@ -16,0 +16,0 @@ this.attributes = x.attributes; |
{ | ||
"name": "idea-toolbox", | ||
"version": "6.5.12", | ||
"version": "6.5.13", | ||
"description": "IDEA's utility functions", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |