@adminforth/bulk-ai-flow 1.21.2 → 1.21.3

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/build.log CHANGED
@@ -13,5 +13,5 @@ custom/package-lock.json
13
13
  custom/package.json
14
14
  custom/tsconfig.json
15
15
 
16
- sent 96,578 bytes received 172 bytes 193,500.00 bytes/sec
17
- total size is 95,942 speedup is 0.99
16
+ sent 96,721 bytes received 172 bytes 193,786.00 bytes/sec
17
+ total size is 96,085 speedup is 0.99
@@ -548,7 +548,12 @@ async function saveData() {
548
548
  }
549
549
  if (!overwriteExistingValues.value) {
550
550
  const imageURL = selected.value.find(rec => rec[primaryKey] === item[primaryKey])[key];
551
- const originalImageUrl = listOfImageThatWasNotGeneratedPerRecord.value[item[primaryKey]][key].originalImage;
551
+ let originalImageUrl = ''
552
+ try {
553
+ originalImageUrl = listOfImageThatWasNotGeneratedPerRecord.value[item[primaryKey]][key].originalImage;
554
+ } catch (error) {
555
+ originalImageUrl = '';
556
+ }
552
557
  if (originalImageUrl === imageURL) {
553
558
  reqData.find(rec => rec[primaryKey] === item[primaryKey])[key] = undefined;
554
559
  continue;
@@ -548,7 +548,12 @@ async function saveData() {
548
548
  }
549
549
  if (!overwriteExistingValues.value) {
550
550
  const imageURL = selected.value.find(rec => rec[primaryKey] === item[primaryKey])[key];
551
- const originalImageUrl = listOfImageThatWasNotGeneratedPerRecord.value[item[primaryKey]][key].originalImage;
551
+ let originalImageUrl = ''
552
+ try {
553
+ originalImageUrl = listOfImageThatWasNotGeneratedPerRecord.value[item[primaryKey]][key].originalImage;
554
+ } catch (error) {
555
+ originalImageUrl = '';
556
+ }
552
557
  if (originalImageUrl === imageURL) {
553
558
  reqData.find(rec => rec[primaryKey] === item[primaryKey])[key] = undefined;
554
559
  continue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/bulk-ai-flow",
3
- "version": "1.21.2",
3
+ "version": "1.21.3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },