diff --git a/packages/tendermint-rpc/src/client.ts b/packages/tendermint-rpc/src/client.ts index 1eb06444..1878b6e0 100644 --- a/packages/tendermint-rpc/src/client.ts +++ b/packages/tendermint-rpc/src/client.ts @@ -19,7 +19,7 @@ export class Client { * * Uses HTTP when the URL schema is http or https. Uses WebSockets otherwise. * - * If the adaptor is not set an auto-detection is performed. + * If the adaptor is not set an auto-detection is attempted. */ public static async connect(url: string, adaptor?: Adaptor): Promise { const useHttp = url.startsWith("http://") || url.startsWith("https://"); @@ -30,7 +30,7 @@ export class Client { /** * Creates a new Tendermint client given an RPC client. * - * If the adaptor is not set, an auto-detection is performed. + * If the adaptor is not set an auto-detection is attempted. */ public static async create(rpcClient: RpcClient, adaptor?: Adaptor): Promise { // For some very strange reason I don't understand, tests start to fail on some systems diff --git a/packages/tendermint-rpc/types/client.d.ts b/packages/tendermint-rpc/types/client.d.ts index 836c3058..f6a4830a 100644 --- a/packages/tendermint-rpc/types/client.d.ts +++ b/packages/tendermint-rpc/types/client.d.ts @@ -9,13 +9,13 @@ export declare class Client { * * Uses HTTP when the URL schema is http or https. Uses WebSockets otherwise. * - * If the adaptor is not set an auto-detection is performed. + * If the adaptor is not set an auto-detection is attempted. */ static connect(url: string, adaptor?: Adaptor): Promise; /** * Creates a new Tendermint client given an RPC client. * - * If the adaptor is not set, an auto-detection is performed. + * If the adaptor is not set an auto-detection is attempted. */ static create(rpcClient: RpcClient, adaptor?: Adaptor): Promise; private static detectVersion;