'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var WS = require('libp2p-websockets');
var filters = require('libp2p-websockets/src/filters.js');

function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }

var WS__default = /*#__PURE__*/_interopDefaultLegacy(WS);
var filters__default = /*#__PURE__*/_interopDefaultLegacy(filters);

const transportKey = WS__default["default"].prototype[Symbol.toStringTag];
function ipfsOptionsWebsocketsFilterAll() {
  return { libp2p: { config: { transport: { [transportKey]: { filter: filters__default["default"].all } } } } };
}

exports.ipfsOptionsWebsocketsFilterAll = ipfsOptionsWebsocketsFilterAll;
