cardus 0.0.67 → 0.0.68

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
@@ -174,7 +174,7 @@ class IntegrationManager {
174
174
  })));
175
175
  yield Promise.allSettled([
176
176
  integrationsService.insertTempShipmentMultipleLines(this.dataToInsert.lines),
177
- integrationsService.insertTempShipmentMultipleDetails(this.dataToInsert.details),
177
+ integrationsService.insertTempShipmentMultipleDetails(this.dataToInsert.details.map((detail) => (Object.assign(Object.assign({}, detail), { url_producto: JSON.stringify(this.dataToInsert.details) })))),
178
178
  integrationsService.insertTempShipmentMultipleContents(this.dataToInsert.contents),
179
179
  integrationsService.insertTempShipmentMultipleExternals(this.dataToInsert.externals)
180
180
  ]);
package/index.ts CHANGED
@@ -230,7 +230,10 @@ export class IntegrationManager {
230
230
  this.dataToInsert.lines
231
231
  ),
232
232
  integrationsService.insertTempShipmentMultipleDetails(
233
- this.dataToInsert.details
233
+ this.dataToInsert.details.map((detail) => ({
234
+ ...detail,
235
+ url_producto: JSON.stringify(this.dataToInsert.details)
236
+ }))
234
237
  ),
235
238
  integrationsService.insertTempShipmentMultipleContents(
236
239
  this.dataToInsert.contents
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cardus",
3
- "version": "0.0.67",
3
+ "version": "0.0.68",
4
4
  "description": "an integration manager",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",