`Backend.prototype._sanitizeSnapshots` was refactored with a new method signature here: https://github.com/share/sharedb/pull/263/files#diff-29d0f208724d5ac92c70f70e7e8c230eR295 Unfortunately, that method is also used in another file: https://github.com/share/sharedb/blob/76dc6deb3e07df3f8edd4e449b0bec82f74b6f24/lib/query-emitter.js#L190 This breaks any middleware that is expecting to receive a `request` param -- it will receive a string as the `request` value instead.