bump y-protocols for better event handling

This commit is contained in:
Kevin Jahns
2020-06-05 04:11:14 +02:00
parent 0b897cdbfe
commit 01d8c2a3f5
4 changed files with 8 additions and 8 deletions

View File

@@ -95,7 +95,7 @@ class WSSharedDoc extends Y.Doc {
send(this, c, buff)
})
}
this.awareness.on('change', awarenessChangeHandler)
this.awareness.on('update', awarenessChangeHandler)
this.on('update', updateHandler)
}
}