// To understand why axios is vendored, check SETUP.md
var axios = require('contentful-sdk-core/vendor-node/axios')
var contentful
try {
  contentful = require('./dist/contentful').default
} catch (err) {
  if (err.code === 'MODULE_NOT_FOUND') {
    require('babel-register')
    contentful = require('./lib/contentful').default
  } else {
    console.log(err)
    process.exit(1)
  }
}

module.exports = {
  createClient: function (params) {
    return contentful(axios, params)
  },
  // This is intended to be used only for debug reasons
  // e.g: if you want to add interceptor to axios or if you want to use a different vendor
  // if you want to use a different vendor than axios make sure it is using promises
  createClientWithCustomHttpVendor: function (httpVendor, params) {
    return contentful(httpVendor, params)
  }
}

@@ -477,355 +477,8 @@
 ms)%0A
-  %7D,%0A  // This is intended to be used only for debug reasons%0A  // e.g: if you want to add interceptor to axios or if you want to use a different vendor%0A  // if you want to use a different vendor than axios make sure it is using promises%0A  createClientWithCustomHttpVendor: function (httpVendor, params) %7B%0A    return contentful(httpVendor, params)%0A
   %7D%0A

remove createClientWithCustomHttpVendor