@bonfida/spl-name-service 2.3.8 → 2.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -152,3 +152,11 @@ export declare const registerWithNft: (name: string, space: number, nameAccount:
152
152
  * @returns {Promise<TransactionInstruction>} - A promise that resolves to a Solana instruction for the transfer operation.
153
153
  */
154
154
  export declare const transferSubdomain: (connection: Connection, subdomain: string, newOwner: PublicKey, isParentOwnerSigner?: boolean, owner?: PublicKey) => Promise<TransactionInstruction>;
155
+ /**
156
+ * This function can be used to register a domain name as favorite
157
+ * @param nameAccount The name account being registered as favorite
158
+ * @param owner The owner of the name account
159
+ * @param programId The name offer program ID
160
+ * @returns
161
+ */
162
+ export declare const registerFavorite: (nameAccount: PublicKey, owner: PublicKey) => TransactionInstruction[];