not-node 5.1.39 → 5.1.40

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/domain.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "not-node",
3
- "version": "5.1.39",
3
+ "version": "5.1.40",
4
4
  "description": "node complimentary part for client side notFramework.",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/src/domain.js CHANGED
@@ -105,7 +105,7 @@ class notDomain extends EventEmitter {
105
105
  notApp: this,
106
106
  fields: this.#options.fields,
107
107
  });
108
- this.importModule(mod, moduleName || mod.getName());
108
+ this.importModule(mod, mod.getName() || moduleName);
109
109
  return this;
110
110
  }
111
111