;(function (root, factory) {
  if (typeof define === 'function' && define.amd) {
    define(function () {
      return (root.Opbeat = factory())
    })
  } else {
    root.Opbeat = factory()
  }
}(this, function () {
  var defaultOptions = {
    apiHost: 'https://opbeat.com',
    logger: 'javascript',
    collectHttp: true,
    ignoreErrors: [],
    ignoreUrls: [],
    whitelistUrls: [],
    includePaths: [],
    collectWindowErrors: true,
    extra: {
      frame_info: {}
    }
  }

  function Opbeat () {
    this.options = defaultOptions
  }

  return {}

}))

@@ -550,17 +550,1518 @@
 %0A%0A  
-return %7B%7D
+/*%0A   * Configure Opbeat with Opbeat.com credentials and other options%0A   *%0A   * @param %7Bobject%7D options Optional set of of global options%0A   * @return %7BOpbeat%7D%0A   */%0A%0A  Opbeat.prototype.config = function (options) %7B%0A    return this%0A  %7D%0A%0A  /*%0A   * Installs a global window.onerror error handler%0A   * to capture and report uncaught exceptions.%0A   * At this point, install() is required to be called due%0A   * to the way TraceKit is set up.%0A   *%0A   * @return %7BOpbeat%7D%0A   */%0A%0A  Opbeat.prototype.install = function () %7B%0A    return this%0A%0A  %7D%0A%0A  /*%0A   * Uninstalls the global error handler.%0A   *%0A   * @return %7BOpbeat%7D%0A   */%0A  Opbeat.prototype.uninstall = function () %7B%0A    return this%0A  %7D%0A%0A  /*%0A   * Manually capture an exception and send it over to Opbeat.com%0A   *%0A   * @param %7Berror%7D ex An exception to be logged%0A   * @param %7Bobject%7D options A specific set of options for this error %5Boptional%5D%0A   * @return %7BOpbeat%7D%0A   */%0A  Opbeat.prototype.captureException = function (ex, options) %7B%0A    return this%0A  %7D%0A%0A  /*%0A   * Set/clear a user to be sent along with the payload.%0A   *%0A   * @param %7Bobject%7D user An object representing user data %5Boptional%5D%0A   * @return %7BOpbeat%7D%0A   */%0A  Opbeat.prototype.setUserContext = function (user) %7B%0A    return this%0A  %7D%0A%0A  /*%0A   * Set extra attributes to be sent along with the payload.%0A   *%0A   * @param %7Bobject%7D extra An object representing extra data %5Boptional%5D%0A   * @return %7BOpbeat%7D%0A   */%0A  Opbeat.prototype.setExtraContext = function (extra) %7B%0A    return this%0A  %7D%0A%0A  return new Opbeat()
 %0A%0A%7D)

Add public interface from previous client.