title: unable to find newEventHub function
body: <p>I am new to hyperledger fabric. I have downloaded the fabric v1.2.0 and I tried to run fabcar example from the fabric-sample folder. My querying on the chaincode went well, but when I tried to invoke the chaincode I got the below error from the cmd.</p>
  
  <p>This is my request to the chaincode</p>
  
  <pre><code>var request = {
      //targets: let default to the peer assigned to the client
      chaincodeId: 'fabcar',
      fcn: 'changeCarOwner',
      args: ['CAR4', 'Dave'],
      chainId: 'mychannel',
      txId: tx_id
  };
  </code></pre>
  
  <p>Error:</p>
  
  <blockquote>
    <p>Failed to invoke successfully :: TypeError: fabric_client.newEventHub is not a function</p>
  </blockquote>
  
  <p>When I tried to find newEventHub in <strong>index.t.ds</strong>, I could not find the function. Can anyone help me with this.Thanks in advance.</p>