@naturalcycles/db-lib 10.49.0 → 10.49.1

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.
@@ -447,7 +447,7 @@ export class CommonDao {
447
447
  const { beforeSave } = this.cfg.hooks;
448
448
  const { chunkSize = 500, chunkConcurrency = 32, errorMode } = opt;
449
449
  await p
450
- .map(async bm => {
450
+ .mapSync(bm => {
451
451
  this.assignIdCreatedUpdated(bm, opt);
452
452
  const dbm = this.bmToDBM(bm, opt);
453
453
  beforeSave?.(dbm);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@naturalcycles/db-lib",
3
3
  "type": "module",
4
- "version": "10.49.0",
4
+ "version": "10.49.1",
5
5
  "dependencies": {
6
6
  "@naturalcycles/js-lib": "^15",
7
7
  "@naturalcycles/nodejs-lib": "^15"
@@ -597,8 +597,8 @@ export class CommonDao<
597
597
  const { chunkSize = 500, chunkConcurrency = 32, errorMode } = opt
598
598
 
599
599
  await p
600
- .map(
601
- async bm => {
600
+ .mapSync(
601
+ bm => {
602
602
  this.assignIdCreatedUpdated(bm, opt)
603
603
  const dbm = this.bmToDBM(bm, opt)
604
604
  beforeSave?.(dbm)