@bonfida/spl-name-service 2.5.0 → 2.5.2

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.
@@ -51,6 +51,7 @@ export declare function transferNameOwnership(connection: Connection, name: stri
51
51
  */
52
52
  export declare function deleteNameRegistry(connection: Connection, name: string, refundTargetKey: PublicKey, nameClass?: PublicKey, nameParent?: PublicKey): Promise<TransactionInstruction>;
53
53
  /**
54
+ * @deprecated This function is deprecated and will be removed in future releases. Use `registerDomainNameV2` instead.
54
55
  * This function can be used to register a .sol domain
55
56
  * @param connection The Solana RPC connection object
56
57
  * @param name The domain name to register e.g bonfida if you want to register bonfida.sol
package/dist/devnet.d.ts CHANGED
@@ -111,6 +111,7 @@ export declare const devnet: {
111
111
  createSubdomain: (connection: Connection, subdomain: string, owner: PublicKey, space?: number) => Promise<TransactionInstruction[][]>;
112
112
  burnDomain: (domain: string, owner: PublicKey, target: PublicKey) => TransactionInstruction;
113
113
  transferSubdomain: (connection: Connection, subdomain: string, newOwner: PublicKey, isParentOwnerSigner?: boolean, owner?: PublicKey) => Promise<TransactionInstruction>;
114
+ registerDomainNameV2: (connection: Connection, name: string, space: number, buyer: PublicKey, buyerTokenAccount: PublicKey, mint?: PublicKey, referrerKey?: PublicKey) => Promise<TransactionInstruction[]>;
114
115
  };
115
116
  };
116
117
  export {};