File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 55 "type" : " git" ,
66 "url" : " https://github.com/PropelAuth/javascript"
77 },
8- "version" : " 2.0.4 " ,
8+ "version" : " 2.0.5 " ,
99 "keywords" : [
1010 " auth" ,
1111 " user" ,
Original file line number Diff line number Diff line change @@ -37,6 +37,10 @@ export type AuthenticationInfo = {
3737 */
3838 orgIdToOrgMemberInfo ?: OrgIdToOrgMemberInfo
3939 user : User
40+
41+ // If someone on your team is impersonating another user, this will be set to the employee's ID
42+ // By default, user impersonation is turned off and this will be undefined
43+ impersonatorUserId ?: string
4044}
4145
4246
@@ -161,6 +165,8 @@ export function parseJsonConvertingSnakeToCamel(str: string): AuthenticationInfo
161165 this . lastActiveAt = value
162166 } else if ( key === "legacy_user_id" ) {
163167 this . legacyUserId = value
168+ } else if ( key === "impersonator_user" ) {
169+ this . impersonatorUserId = value
164170 } else {
165171 return value
166172 }
You can’t perform that action at this time.
0 commit comments