y-websocket
Advanced tools
Comparing version 1.3.7 to 1.3.8
{ | ||
"name": "y-websocket", | ||
"version": "1.3.7", | ||
"version": "1.3.8", | ||
"description": "Websockets provider for Yjs", | ||
@@ -5,0 +5,0 @@ "main": "./dist/y-websocket.cjs", |
@@ -101,4 +101,4 @@ /* | ||
provider.synced = false | ||
// update awareness (all users left) | ||
awarenessProtocol.removeAwarenessStates(provider.awareness, Array.from(provider.awareness.getStates().keys()), provider) | ||
// update awareness (all users except local left) | ||
awarenessProtocol.removeAwarenessStates(provider.awareness, Array.from(provider.awareness.getStates().keys()).filter(client => client !== provider.doc.clientID), provider) | ||
provider.emit('status', [{ | ||
@@ -105,0 +105,0 @@ status: 'disconnected' |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
71859