"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "BfetchRequestError", { enumerable: true, get: function () { return _bfetch_error.BfetchRequestError; } }); Object.defineProperty(exports, "DISABLE_BFETCH", { enumerable: true, get: function () { return _constants.DISABLE_BFETCH; } }); exports.plugin = plugin; Object.defineProperty(exports, "split", { enumerable: true, get: function () { return _streaming.split; } }); var _plugin = require("./plugin"); var _streaming = require("./streaming"); var _constants = require("../common/constants"); var _bfetch_error = require("../common/bfetch_error"); /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0 and the Server Side Public License, v 1; you may not use this file except * in compliance with, at your election, the Elastic License 2.0 or the Server * Side Public License, v 1. */ function plugin(initializerContext) { return new _plugin.BfetchPublicPlugin(initializerContext); }