feat: rename testnet util methods
This commit is contained in:
committed by
Michael Vines
parent
352f296c09
commit
aeedd3867f
10
web3.js/module.d.ts
vendored
10
web3.js/module.d.ts
vendored
@ -662,11 +662,11 @@ declare module '@solana/web3.js' {
|
||||
commitment?: Commitment,
|
||||
): Promise<TransactionSignature>;
|
||||
|
||||
// === src/util/testnet.js ===
|
||||
export function testnetChannelEndpoint(
|
||||
channel?: string,
|
||||
tls?: boolean,
|
||||
): string;
|
||||
// === src/util/cluster.js ===
|
||||
export type Cluster = 'devnet' | 'testnet' | 'mainnet-beta';
|
||||
|
||||
export function clusterApiUrl(cluster?: Cluster, tls?: boolean): string;
|
||||
|
||||
// === src/index.js ===
|
||||
export const LAMPORTS_PER_SOL: number;
|
||||
}
|
||||
|
Reference in New Issue
Block a user