cardus 0.0.112 → 0.0.113

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
@@ -214,7 +214,8 @@ class IntegrationManager {
214
214
  const successfullShipments = insertOrdersResult
215
215
  .filter(Boolean)
216
216
  .filter((each) => each.status === 'fulfilled')
217
- .map((each) => each.value);
217
+ .map((each) => each.value)
218
+ .filter(Boolean);
218
219
  return {
219
220
  filteredOrders,
220
221
  insertedTempShipments: successfullShipments,
package/index.ts CHANGED
@@ -344,7 +344,8 @@ export class IntegrationManager {
344
344
  const successfullShipments = insertOrdersResult
345
345
  .filter(Boolean)
346
346
  .filter((each) => each.status === 'fulfilled')
347
- .map((each) => each.value) as (ModifiedOrder & {
347
+ .map((each) => each.value)
348
+ .filter(Boolean) as (ModifiedOrder & {
348
349
  idEnvioTemporal: number;
349
350
  agencyId: number;
350
351
  })[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cardus",
3
- "version": "0.0.112",
3
+ "version": "0.0.113",
4
4
  "description": "an integration manager",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",