cardus 0.0.92 → 0.0.93

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/dist/index.js CHANGED
@@ -331,7 +331,7 @@ class IntegrationManager {
331
331
  orders.forEach(({ idEnvioTemporal, lineas }) => {
332
332
  if (!idEnvioTemporal)
333
333
  return;
334
- if (grouped) {
334
+ if (grouped && lineas.length > 1) {
335
335
  this.insertTempShipmentGroupLine({ idEnvioTemporal, group });
336
336
  }
337
337
  lineas.forEach((line) => {
package/index.ts CHANGED
@@ -557,7 +557,7 @@ export class IntegrationManager {
557
557
  orders.forEach(({ idEnvioTemporal, lineas }) => {
558
558
  if (!idEnvioTemporal) return;
559
559
 
560
- if (grouped) {
560
+ if (grouped && lineas.length > 1) {
561
561
  this.insertTempShipmentGroupLine({ idEnvioTemporal, group });
562
562
  }
563
563
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cardus",
3
- "version": "0.0.92",
3
+ "version": "0.0.93",
4
4
  "description": "an integration manager",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",