not-node 5.1.0 → 5.1.3

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "not-node",
3
- "version": "5.1.0",
3
+ "version": "5.1.3",
4
4
  "description": "node complimentary part for client side notFramework.",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/src/common.js CHANGED
@@ -142,7 +142,7 @@ const executeFunctionAsAsync = async (proc, params) => {
142
142
  return proc(...params);
143
143
  }
144
144
  }
145
- throw new Error("Could not execute `proc` is not a function");
145
+ //throw new Error("Could not execute `proc` is not a function");
146
146
  };
147
147
 
148
148
  module.exports.executeFunctionAsAsync = executeFunctionAsAsync;
@@ -1,4 +1,4 @@
1
- module.exports = ({ getLogic }) => {
1
+ module.exports = ({ getLogic, before, after }) => {
2
2
  class notGenericRoute {
3
3
  static before() {
4
4
  return before(...arguments);
@@ -165,7 +165,7 @@ class notRoute {
165
165
  routeIsRunnable(modRoute, actionName) {
166
166
  return (
167
167
  modRoute &&
168
- objHas(modRoute, actionName) &&
168
+ //objHas(modRoute, actionName) && // -- not working on static classes methods
169
169
  typeof modRoute[actionName] === "function"
170
170
  );
171
171
  }