@logux/client
Advanced tools
Comparing version 0.8.3 to 0.8.4
# Change Log | ||
This project adheres to [Semantic Versioning](http://semver.org/). | ||
## 0.8.4 | ||
* Fix `log()` for `logux/unsubscribe` actions. | ||
## 0.8.3 | ||
@@ -5,0 +8,0 @@ * Update log’s node ID on `Client#changeUser()` call. |
@@ -100,2 +100,9 @@ import browserSupportsLogStyles from 'browser-supports-log-styles' | ||
} | ||
} else if (action.type === 'logux/unsubscribe') { | ||
message = 'unsubscribed from channel ' + style(action.channel) | ||
if (Object.keys(action).length === 2) { | ||
showLog(message) | ||
} else { | ||
showLog(message, action) | ||
} | ||
} else if (action.type === 'logux/processed') { | ||
@@ -136,2 +143,3 @@ showLog('action ' + style(action.id) + ' was processed') | ||
if (action.type === 'logux/subscribe') return | ||
if (action.type === 'logux/unsubscribe') return | ||
if (action.type === 'logux/processed') return | ||
@@ -138,0 +146,0 @@ if (action.type === 'logux/undo') return |
{ | ||
"name": "@logux/client", | ||
"version": "0.8.3", | ||
"version": "0.8.4", | ||
"description": "Logux base components to build web client", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
106815
3211