This PR adds an optional argument useDefaultPfp in getProfileData function. If sets to true it will return the url of the identicons of that starknetid if the user has not set any nft as profile picture, if sets to false it will return undefined. If not specified by the user it will be set to true.
This PR adds an optional argument
useDefaultPfp
ingetProfileData
function. If sets totrue
it will return the url of the identicons of that starknetid if the user has not set any nft as profile picture, if sets tofalse
it will returnundefined
. If not specified by the user it will be set totrue
.