statebus 6.1.31 → 6.1.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,3 @@
1
+ import statebus from 'statebus'
2
+
3
+ console.log(statebus)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "statebus",
3
- "version": "6.1.31",
3
+ "version": "6.1.32",
4
4
  "description": "Synchronize state.",
5
5
  "main": "statebus.js",
6
6
  "scripts": {
package/server.js CHANGED
@@ -297,6 +297,7 @@ function import_server (bus, options)
297
297
  cbus.serves_auth({remoteAddress: req.connection.remoteAddress}, bus)
298
298
  bus.options.client(cbus)
299
299
  cbus.save({key: 'current_user', client: req.client})
300
+ req.client_bus = cbus
300
301
  return cbus
301
302
  },
302
303