@oneblink/sdk-core
Advanced tools
Comparing version 0.4.3 to 0.4.4-beta.1
@@ -37,2 +37,5 @@ "use strict"; | ||
email: typeof jwtPayload.email === 'string' ? jwtPayload.email : undefined, | ||
emailVerified: typeof jwtPayload.email_verified === 'boolean' | ||
? jwtPayload.email_verified | ||
: undefined, | ||
firstName: typeof jwtPayload.given_name === 'string' | ||
@@ -61,2 +64,8 @@ ? jwtPayload.given_name | ||
}, | ||
phoneNumber: typeof jwtPayload['custom:phone_number'] === 'string' | ||
? jwtPayload['custom:phone_number'] | ||
: undefined, | ||
phoneNumberVerified: typeof jwtPayload['custom:phone_number_verified'] === 'boolean' | ||
? jwtPayload['custom:phone_number_verified'] | ||
: undefined, | ||
}; | ||
@@ -63,0 +72,0 @@ if (!((_a = userProfile.supervisor) === null || _a === void 0 ? void 0 : _a.fullName) && |
{ | ||
"name": "@oneblink/sdk-core", | ||
"description": "OneBlink SDK for JavaScript (works in Browsers and NodeJS)", | ||
"version": "0.4.3", | ||
"version": "0.4.4-beta.1", | ||
"author": "OneBlink <developers@oneblink.io> (https://oneblink.io)", | ||
@@ -6,0 +6,0 @@ "bugs": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
228106
2563