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 +2 -1
- package/index.ts +2 -1
- package/package.json +1 -1
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)
|
|
347
|
+
.map((each) => each.value)
|
|
348
|
+
.filter(Boolean) as (ModifiedOrder & {
|
|
348
349
|
idEnvioTemporal: number;
|
|
349
350
|
agencyId: number;
|
|
350
351
|
})[];
|