@bonfida/sns-vue
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

SNS Vue


This library provides a set of reusable Vue composables to help make your components more efficient and easier to read.


Installation


npm install @bonfida/sns-vue

or

yarn add @bonfida/sns-vue

Available composables


Below is a brief description of the composables available in this library. Detailed usage and API guides are available in each composable's respective documentation.

  • useDomainOwner - allows to resolve the owner of a domain name.
  • useDomainsForOwner - allows to retrieve all the domains owned by a wallet
  • useDomainSize - allows to retrive the size of a domain name account
  • useFavoriteDomain - allows to retrieve the favorite domain of a wallet if it exists
  • useProfilePic - allows to retrieve the profile picture of a domain name if it exists
  • useRecords - allows to retrieve the content of multiple records
  • useReverseLookup - allows to retrieve the reverse of domain name from this public key
  • useSubdomains - allows to retrieve the subdomains of .sol domain name
  • useSearch - enables searching for domains and subdomains. You can use it to look up specific domains and subdomains and see if they have been registered
  • useDomainSuggestions - allows to load suggestions for the provided domain. It assists in finding related domains that are not registered
  • useTopDomainsSales - displays the top domain sales for the specified period. It provides insight into the most popular domains and their pricing trends

Contributing


Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.


License


SNS Vue is an open-source project licensed under MIT. Feel free to explore, expand, and improve!

Package Sidebar

Install

npm i @bonfida/sns-vue

Weekly Downloads

1

Version

1.1.0

License

MIT

Unpacked Size

39.5 kB

Total Files

22

Last publish

Collaborators

  • bonfida