nats-hemera
Advanced tools
Comparing version 0.2.9 to 0.2.10
@@ -319,11 +319,15 @@ // | ||
let currentAct = this._actMeta.plugin | ||
let currentActPlugin = this._actMeta.plugin | ||
let currentPlugin = self.plugin$ | ||
// when we have a plugin context and the ext is plugin scoped only. | ||
if (!globalScoped && currentPlugin.attributes && currentPlugin.options && currentPlugin.options.privateExtensions) { | ||
if (!globalScoped | ||
&& currentPlugin.attributes | ||
&& currentPlugin.options | ||
&& currentPlugin.options.privateExtensions) { | ||
if (currentAct && currentPlugin) { | ||
// check if the action comes from a plugin | ||
if (currentActPlugin) { | ||
if (currentPlugin.attributes.name === currentAct.name) { | ||
if (currentPlugin.attributes.name === currentActPlugin.name) { | ||
@@ -330,0 +334,0 @@ return handler.call(this, next) |
{ | ||
"name": "nats-hemera", | ||
"author": "Dustin Deus (https://github.com/StarpTech)", | ||
"version": "0.2.9", | ||
"version": "0.2.10", | ||
"main": "index.js", | ||
@@ -6,0 +6,0 @@ "homepage": "https://hemerajs.github.io/hemera/", |
29803
987