@bonfida/spl-name-service 2.4.2 → 2.5.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.
@@ -62,6 +62,18 @@ export declare function deleteNameRegistry(connection: Connection, name: string,
62
62
  * @returns
63
63
  */
64
64
  export declare const registerDomainName: (connection: Connection, name: string, space: number, buyer: PublicKey, buyerTokenAccount: PublicKey, mint?: PublicKey, referrerKey?: PublicKey) => Promise<TransactionInstruction[][]>;
65
+ /**
66
+ * This function can be used to register a .sol domain
67
+ * @param connection The Solana RPC connection object
68
+ * @param name The domain name to register e.g bonfida if you want to register bonfida.sol
69
+ * @param space The domain name account size (max 10kB)
70
+ * @param buyer The public key of the buyer
71
+ * @param buyerTokenAccount The buyer token account (USDC)
72
+ * @param mint Optional mint used to purchase the domain, defaults to USDC
73
+ * @param referrerKey Optional referrer key
74
+ * @returns
75
+ */
76
+ export declare const registerDomainNameV2: (connection: Connection, name: string, space: number, buyer: PublicKey, buyerTokenAccount: PublicKey, mint?: PublicKey, referrerKey?: PublicKey) => Promise<TransactionInstruction[]>;
65
77
  /**
66
78
  *
67
79
  * @param nameAccount The name account to create the reverse account for
@@ -53,3 +53,5 @@ export declare const VAULT_OWNER: PublicKey;
53
53
  export declare const CUSTOM_BG_TLD: PublicKey;
54
54
  export declare const WOLVES_COLLECTION_METADATA: PublicKey;
55
55
  export declare const METAPLEX_ID: PublicKey;
56
+ export declare const DEFAULT_PYTH_PUSH_PROGRAM: PublicKey;
57
+ export declare const PYTH_PULL_FEEDS: Map<string, number[]>;