cardus 0.0.90 → 0.0.92

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
@@ -153,7 +153,7 @@ class IntegrationManager {
153
153
  id_usuario: idUsuario,
154
154
  id_integracion: this.integrationType
155
155
  });
156
- const shouldFindWarehouseSkus = !!userIntegrationConfiguration.buscar_sku_almacen;
156
+ const shouldFindWarehouseSkus = !!(userIntegrationConfiguration === null || userIntegrationConfiguration === void 0 ? void 0 : userIntegrationConfiguration.sku_almacen);
157
157
  yield this.insertQuantityRelatedLines({
158
158
  orders: successfullShipments,
159
159
  idUsuario,
package/index.ts CHANGED
@@ -205,8 +205,7 @@ export class IntegrationManager {
205
205
  id_usuario: idUsuario,
206
206
  id_integracion: this.integrationType
207
207
  });
208
- const shouldFindWarehouseSkus =
209
- !!userIntegrationConfiguration.buscar_sku_almacen;
208
+ const shouldFindWarehouseSkus = !!userIntegrationConfiguration?.sku_almacen;
210
209
 
211
210
  await this.insertQuantityRelatedLines({
212
211
  orders: successfullShipments,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cardus",
3
- "version": "0.0.90",
3
+ "version": "0.0.92",
4
4
  "description": "an integration manager",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
package/types/index.ts CHANGED
@@ -263,7 +263,7 @@ export type IntegrationsService = {
263
263
  id_usuario: number;
264
264
  id_integracion: number;
265
265
  }) => Promise<{
266
- buscar_sku_almacen: 0 | 1;
266
+ sku_almacen: 0 | 1;
267
267
  }>;
268
268
  };
269
269