not-node 6.5.25 → 6.5.26

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/logic/logic.js +12 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "not-node",
3
- "version": "6.5.25",
3
+ "version": "6.5.26",
4
4
  "description": "node complimentary part for client side notFramework.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -18,7 +18,14 @@ class LogicProxied {
18
18
  actionRunner = ActionRunner;
19
19
 
20
20
  #populateBuilders = {};
21
+ get populateBuilders() {
22
+ return this.#populateBuilders;
23
+ }
24
+
21
25
  #defaultPopulate = [];
26
+ get defaultPopulate() {
27
+ return this.#defaultPopulate;
28
+ }
22
29
 
23
30
  MODEL_NAME;
24
31
  MODULE_NAME;
@@ -135,16 +142,16 @@ class LogicProxied {
135
142
 
136
143
  async getPopulate(actionName, prepared) {
137
144
  if (
138
- this.#populateBuilders &&
139
- objHas(this.#populateBuilders, actionName) &&
140
- isFunc(this.#populateBuilders[actionName])
145
+ this.populateBuilders &&
146
+ objHas(this.populateBuilders, actionName) &&
147
+ isFunc(this.populateBuilders[actionName])
141
148
  ) {
142
149
  return await executeFunctionAsAsync(
143
- this.#populateBuilders[actionName],
150
+ this.populateBuilders[actionName],
144
151
  [prepared]
145
152
  );
146
153
  }
147
- return [...this.#defaultPopulate];
154
+ return [...this.defaultPopulate];
148
155
  }
149
156
 
150
157
  #getActionRunner(actionName) {