diff --git a/plugins/websocket/README.md b/plugins/websocket/README.md index f5f2089a..59f80ed7 100644 --- a/plugins/websocket/README.md +++ b/plugins/websocket/README.md @@ -60,7 +60,7 @@ fn main() { Afterwards all the plugin's APIs are available through the JavaScript guest bindings: ```javascript -import WebSocket from "tauri-plugin-websocket-api"; +import WebSocket from "@tauri-apps/plugin-websocket"; const ws = await WebSocket.connect("wss://example.com");