lfglabs-dev / starknetid.js

A typescript SDK to retrieve all the on-chain data that you need from Starknet ID
MIT License
1 stars 0 forks source link

feat: add identicons option in getProfileData function #18

Closed irisdv closed 10 months ago

irisdv commented 10 months ago

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.