Skip to content
This repository has been archived by the owner on Feb 26, 2021. It is now read-only.

Commit

Permalink
feat: add class-is module
Browse files Browse the repository at this point in the history
  • Loading branch information
fsdiogo committed Apr 3, 2018
1 parent 96c4f1f commit d27b9d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -27,6 +27,7 @@
"license": "MIT",
"dependencies": {
"async": "^2.6.0",
"class-is": "^1.0.0",
"data-queue": "0.0.3",
"debug": "^3.1.0",
"interface-connection": "^0.3.2",
Expand Down
3 changes: 2 additions & 1 deletion src/index.js
Expand Up @@ -12,6 +12,7 @@ const utils = require('./utils')
const Listener = require('./listener')
const cleanUrlSIO = utils.cleanUrlSIO
const mafmt = require('mafmt')
const withIs = require('class-is')

class WebsocketStar {
/**
Expand Down Expand Up @@ -131,4 +132,4 @@ class WebsocketStar {
}
}

module.exports = WebsocketStar
module.exports = withIs(WebsocketStar, { className: 'WebsocketStar', symbolName: '@libp2p/js-libp2p-websocket-star/websocketstar' })

0 comments on commit d27b9d7

Please sign in to comment.