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

docs: update websockets import var #165

Merged
merged 1 commit into from
Jul 12, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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