@slavmak2486/bx24ts 1.2.1 → 1.2.2

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/BatchHelper.ts CHANGED
@@ -107,7 +107,7 @@ export class BatchHelper{
107
107
  }
108
108
  const curParams = Object.assign({start:0}, params)
109
109
  curParams['start'] = 50 * 50 * i + j * 50;
110
- this.addToBatch({[requestName + j]:[action, curParams]});
110
+ this.addToBatch({[requestName + `${i}-${j}`]:[action, curParams]});
111
111
  }
112
112
  }
113
113
  }
@@ -90,7 +90,7 @@ class BatchHelper {
90
90
  }
91
91
  const curParams = Object.assign({ start: 0 }, params);
92
92
  curParams['start'] = 50 * 50 * i + j * 50;
93
- this.addToBatch({ [requestName + j]: [action, curParams] });
93
+ this.addToBatch({ [requestName + `${i}-${j}`]: [action, curParams] });
94
94
  }
95
95
  }
96
96
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slavmak2486/bx24ts",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "Library for bitrix24",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",