@dnax/core 0.65.7 → 0.65.8

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.
@@ -557,7 +557,7 @@ class useRest {
557
557
  return resolve(result);
558
558
  }
559
559
 
560
- for await (let d of data) {
560
+ for await (let [index, d] of data.entries()) {
561
561
  // Processing before validation
562
562
  d = await setUUID(d, col);
563
563
  d = await randomCode(d, col);
@@ -573,6 +573,7 @@ class useRest {
573
573
  ...d,
574
574
  ...(output || {}),
575
575
  };
576
+ data[index] = d;
576
577
  }
577
578
 
578
579
  await this.#tenant.database.db?.collection(collection).insertMany(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dnax/core",
3
- "version": "0.65.7",
3
+ "version": "0.65.8",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "bin": {