diff --git a/package.json b/package.json index 7effaa5..2b3daed 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "types": "dist/src/index.d.ts", "devDependencies": { "@types/debug": "^4.1.5", - "aegir": "^33.2.0", + "aegir": "^35.0.3", "it-pipe": "^1.1.0", "libp2p-interfaces": "^1.0.0", "libp2p-interfaces-compliance-tests": "^1.0.0", diff --git a/src/index.js b/src/index.js index e840f2c..7d3f0fd 100644 --- a/src/index.js +++ b/src/index.js @@ -151,4 +151,6 @@ class TCP { } } -module.exports = withIs(TCP, { className: 'TCP', symbolName: '@libp2p/js-libp2p-tcp/tcp' }) +const TCPWithIs = withIs(TCP, { className: 'TCP', symbolName: '@libp2p/js-libp2p-tcp/tcp' }) + +exports = module.exports = TCPWithIs