sns-sdk

Solana Name Service SDKs monorepo

MIT License

Downloads
33.8K
Stars
29
Committers
9

Bot releases are visible (Hide)

sns-sdk - @bonfida/[email protected] Latest Release

Published by dr497 2 months ago

Changelog

sns-sdk - @bonfida/[email protected]

Published by dr497 3 months ago

v3.0.0

⚠️ This release introduces breaking changes

This new major version introduces several changes and improvements:

Breaking Changes

  • resolve function now follows SNS IP 5
  • Improved return types of instruction bindings for better consistency

Improvements

  • Better error types to improve error handling on the client side
  • Faster retrieval of tokenized domain owner
  • Improved tree shake-ability
  • Removed unnecessary key derivation of constant PDAs
sns-sdk - @bonfida/[email protected]

Published by dr497 3 months ago

Changelog:

  • This release exports useFavoriteDomain as usePrimaryDomain
sns-sdk - @bonfida/[email protected]

Published by dr497 3 months ago

Changelog:

  • This release exports useFavoriteDomain as usePrimaryDomain
sns-sdk - @bonfida/[email protected]

Published by dr497 5 months ago

Changelog:

This release adds registerDomainNameV2 to the devnet bindings

sns-sdk - @bonfida/[email protected]

Published by dr497 5 months ago

Changelog:

This release introduces a new function registerDomainNameV2 that uses the new Pyth Receiver program on Solana, its arguments remain the same as registerDomainName

sns-sdk - @bonfida/[email protected]

Published by dr497 6 months ago

Changelog:

  • createSubdomain: Allow users to pass an optional feePayer parameter to separate the owner from the fee allocation payer
sns-sdk - @bonfida/[email protected]

Published by dr497 6 months ago

Changelog:

  • Adds new referrers
sns-sdk - @bonfida/[email protected]

Published by dr497 7 months ago

Changelog:

  • Add registerFavorite function
sns-sdk - @bonfida/[email protected]

Published by dr497 8 months ago

Changelog:

  • Adds new referrers
sns-sdk - @bonfida/[email protected]

Published by dr497 8 months ago

Changelog:

Fix staleness validation by utilizing domain owner (tokenized or not) instead of resolve result

sns-sdk - @bonfida/[email protected]

Published by dr497 8 months ago

Changelog:

This major update introduces breaking changes. Notably, react-async-hook has been replaced with @tanstack/react-query. Please adjust your implementations accordingly.

sns-sdk - @bonfida/[email protected]

Published by dr497 9 months ago

Changelog:

  • Updated the vault owner address.
  • Added CNAME to the list of records that can now be verified by the guardians.
  • Updated the Solscan address.
sns-sdk - @bonfida/[email protected]

Published by dr497 9 months ago

Changelog:

  • This release includes a fix for the deserialization of CNAME and TXT records in version 1.
sns-sdk - @bonfida/[email protected]

Published by dr497 9 months ago

Changelog:

  • Updated the Borsh library to version 2.0.0.
sns-sdk - @bonfida/[email protected]

Published by dr497 9 months ago

Changelog:

sns-sdk - @bonfida/[email protected]

Published by dr497 9 months ago

Fix

This PR optimizes the findSubdomains function to handle scenarios where a parent domain has a large number of subdomains. The update significantly reduces the number of RPC calls, enhancing performance and efficiency. This is particularly beneficial in situations where the parent domain has an extensive list of subdomains (e.g thesagadao.sol), as it prevents the system from making an excessive number of RPC calls.

sns-sdk - @bonfida/[email protected]

Published by dr497 9 months ago

New Features

This release introduces several new features to enhance functionality and improve user experience:

  • getMultipleFavoriteDomains: This function allows you to fetch favorite domains for up to 100 users, while only making 4 RPC requests, optimizing network efficiency.
  • getDomainMint: A utility function that computes the mint of a tokenized domain name.
  • getReverseKeyFromDomainKey: This utility function computes the reverse account using the domain public key.
  • deserializeReverse: A utility function that deserializes the reverse domain account data.
  • deserialize: A static method of the NameRegistryState class that deserializes account data

Fix

This release addresses and resolves a previously identified issue of circular dependency

sns-sdk - @bonfida/[email protected]

Published by dr497 10 months ago

New Features

This release introduces minimal devnet constants and functions

sns-sdk - @bonfida/[email protected]

Published by dr497 10 months ago

Fix

This release improves the handling of a referrer's associated token account, particularly when it's not initialized and the function is called in a loop.