@bonfida/spl-name-service 2.0.0-alpha.23 → 2.0.0-alpha.25

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.
@@ -147,7 +147,8 @@ export declare const registerWithNft: (name: string, space: number, nameAccount:
147
147
  * @param {string} subdomain - The subdomain to transfer. It can be with or without .sol suffix (e.g., 'something.bonfida.sol' or 'something.bonfida').
148
148
  * @param {PublicKey} newOwner - The public key of the new owner of the subdomain.
149
149
  * @param {boolean} [isParentOwnerSigner=false] - A flag indicating whether the parent name owner is signing this transfer.
150
+ * @param {PublicKey} [owner] - The public key of the current owner of the subdomain. This is an optional parameter. If not provided, the owner will be resolved automatically. This can be helpful to build transactions when the subdomain does not exist yet.
150
151
  *
151
152
  * @returns {Promise<TransactionInstruction>} - A promise that resolves to a Solana instruction for the transfer operation.
152
153
  */
153
- export declare const transferSubdomain: (connection: Connection, subdomain: string, newOwner: PublicKey, isParentOwnerSigner?: boolean) => Promise<TransactionInstruction>;
154
+ export declare const transferSubdomain: (connection: Connection, subdomain: string, newOwner: PublicKey, isParentOwnerSigner?: boolean, owner?: PublicKey) => Promise<TransactionInstruction>;