title: arangoDb + nodejs: db.useBasicAuth(...) is not a function
body: <p>So, I have code bellow:</p>
  
  <pre><code>const { Database, aql }  = require("arangojs");
  
  const db = new Database({·
    url: 'http://127.0.0.1:8529'
  } );
  db.useBasicAuth('root', 'password1')
  (async function() {
    const now = Date.now();
    try {
      const cursor = await db.query(aql`RETURN ${now}`);
      const result = await cursor.next();
    } catch (err) { console.log(err) }
  })();
  </code></pre>
  
  <p>which gives me an error:</p>
  
  <pre><code>TypeError: db.useBasicAuth(...) is not a function
  </code></pre>
  
  <p>version of the driver is:</p>
  
  <pre><code>"arangojs": "^6.3.0"
  </code></pre>
  
  <p>Any ideas?</p>