treble-hook
Advanced tools
Comparing version 0.0.31 to 0.0.32
@@ -35,5 +35,5 @@ "use strict"; | ||
if (topicRecord) { | ||
const allowDupeState = trebleHookConfig.topicConfig | ||
const allowDupeState = Boolean(trebleHookConfig.topicConfig | ||
&& trebleHookConfig.topicConfig[topic] | ||
&& trebleHookConfig.topicConfig[topic].allowDupeState; | ||
&& trebleHookConfig.topicConfig[topic].allowDupeState); | ||
let proceed = true; | ||
@@ -40,0 +40,0 @@ if (!allowDupeState) { |
{ | ||
"name": "treble-hook", | ||
"version": "0.0.31", | ||
"version": "0.0.32", | ||
"description": "Get hooked on simple subscribe-and-publish in ReactJS.", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
Sorry, the diff of this file is not supported yet
19855