Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor(
private _rpcClient: RpcClient = new RpcClient(),
private _signer: Signer = new NoopSigner(),
private _proto?: Protocols,
private _config?: Partial,
forger?: Forger,
injector?: Injector
) {
this.config = _config as any;
this._forger = forger ? forger : new RpcForger(this);
this._injector = injector ? injector : new RpcInjector(this);
}