v3.20.0
Description
Added
Support existence of several attributes with the same name in the profile.
// Additions
BaseProfile.getAttributesByName(attrName) // returns Attribute[]
BaseProfile.getAttributesList() // returns Attribute[]
// Usage
const someProfile = activityDetails.getProfile();
someProfile.getAttributesByName('family_name');
someProfile.getAttributesList();
Changed
Internal usage only
BaseProfile.constructor()
now accepts both Object[] and Object.<string, Object>, to support multiple attributes with the same name
Deprecated
BaseProfile.profileData
BaseProfile.propertyExists