@bonfida/spl-name-service 2.3.8 → 2.4.0
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.
- package/dist/bindings.d.ts +8 -0
- package/dist/index.cjs +10 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +8 -8
- package/dist/index.mjs.map +1 -1
- package/dist/instructions.d.ts +11 -0
- package/package.json +1 -1
package/dist/bindings.d.ts
CHANGED
|
@@ -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[];
|