Skip to content
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.

Commit

Permalink
docs: update websockets import var (#165)
Browse files Browse the repository at this point in the history
Looks like this was missed when updating docs
  • Loading branch information
vasco-santos committed Jul 12, 2022
1 parent 1603990 commit 838b69e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ $ npm i @libp2p/websockets
### Constructor properties

```js
import WS from '@libp2p/websockets'
import { WebSockets } from '@libp2p/websockets'

const properties = {
upgrader,
filter
}

const ws = new WS(properties)
const ws = new WebSockets(properties)
```

| Name | Type | Description | Default |
Expand Down

0 comments on commit 838b69e

Please sign in to comment.