flamerest 1.0.66 → 1.0.68

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/REST.js +2 -3
  2. package/package.json +1 -1
package/REST.js CHANGED
@@ -515,7 +515,7 @@ class FLAMEREST {
515
515
  // Идём по каждому значению в массиве
516
516
  for (let valueKey in valuesArr) {
517
517
 
518
- const value = valuesArr[valueKey];
518
+ let value = valuesArr[valueKey];
519
519
 
520
520
  // Преобразуем
521
521
  let isRef = false;
@@ -553,14 +553,13 @@ class FLAMEREST {
553
553
  */
554
554
 
555
555
  if (values[val] instanceof Array) {
556
- values[val].splice(valueKey);
556
+ values[val].splice(valueKey, 1);
557
557
  values[val].push(...newValues);
558
558
  }
559
559
  else {
560
560
  values[val] = newValues;
561
561
  }
562
562
 
563
-
564
563
  }
565
564
  }
566
565
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flamerest",
3
- "version": "1.0.66",
3
+ "version": "1.0.68",
4
4
  "description": "",
5
5
  "main": "REST.js",
6
6
  "typings": "./REST.d.ts",