From 69016d809d72de8a183b9bd6e953d215460c4882 Mon Sep 17 00:00:00 2001 From: James Addison Date: Wed, 16 Sep 2020 16:56:47 +0100 Subject: [PATCH] README: Small fixup for the example client code snippet --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e95cd57..3cfbfaa 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ The Websocket Provider is a solid choice if you want a central source that handl ```js import * as Y from 'yjs' -import { WebsocketProvider } from 'yjs/provider/websocket.js' +import { WebsocketProvider } from 'y-websocket' const doc = new Y.Doc() const wsProvider = new WebsocketProvider('ws://localhost:1234', 'my-roomname', doc)