From 6009a26c89c359ae44ef4b6e8a664ed57db24f67 Mon Sep 17 00:00:00 2001 From: Richard Moore Date: Sun, 24 Nov 2019 19:31:02 +0900 Subject: [PATCH] Added provider property to Web3Provider (#641). --- src.ts/providers/web3-provider.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src.ts/providers/web3-provider.ts b/src.ts/providers/web3-provider.ts index 63ac3c91f6..c31260b6f7 100644 --- a/src.ts/providers/web3-provider.ts +++ b/src.ts/providers/web3-provider.ts @@ -55,6 +55,9 @@ export class Web3Provider extends JsonRpcProvider { } defineReadOnly(this, '_web3Provider', web3Provider); + + // @TODO: In v5 remove the above definition; only this one is needed + defineReadOnly(this, 'provider', web3Provider); } send(method: string, params: any): Promise {