@pokash/n8n-nodes-optima-rest-api 1.1.10 → 1.1.11

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.
@@ -431,13 +431,10 @@ class OptimaRestApi {
431
431
  // Extract customers array from response
432
432
  if (responseData.Customers && Array.isArray(responseData.Customers)) {
433
433
  const customers = responseData.Customers;
434
- // First, preserve binary from input (with metadata only in JSON)
434
+ // First, preserve binary from input (empty JSON)
435
435
  if (items[i].binary) {
436
436
  returnData.push({
437
- json: {
438
- _metadata: 'Binary passthrough from previous node',
439
- _itemCount: customers.length
440
- },
437
+ json: {},
441
438
  binary: items[i].binary
442
439
  });
443
440
  }
@@ -575,14 +572,10 @@ class OptimaRestApi {
575
572
  // Extract dictionary array from response
576
573
  if (responseData[dictConfig.dataKey] && Array.isArray(responseData[dictConfig.dataKey])) {
577
574
  const dictItems = responseData[dictConfig.dataKey];
578
- // First, preserve binary from input (with metadata only in JSON)
575
+ // First, preserve binary from input (empty JSON)
579
576
  if (items[i].binary) {
580
577
  returnData.push({
581
- json: {
582
- _metadata: 'Binary passthrough from previous node',
583
- _itemCount: dictItems.length,
584
- _dictionaryType: operation
585
- },
578
+ json: {},
586
579
  binary: items[i].binary
587
580
  });
588
581
  }
@@ -634,13 +627,10 @@ class OptimaRestApi {
634
627
  json: true,
635
628
  });
636
629
  const products = response;
637
- // First, preserve binary from input (with metadata only in JSON)
630
+ // First, preserve binary from input (empty JSON)
638
631
  if (items[i].binary) {
639
632
  returnData.push({
640
- json: {
641
- _metadata: 'Binary passthrough from previous node',
642
- _itemCount: products.length
643
- },
633
+ json: {},
644
634
  binary: items[i].binary
645
635
  });
646
636
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pokash/n8n-nodes-optima-rest-api",
3
- "version": "1.1.10",
3
+ "version": "1.1.11",
4
4
  "description": "n8n node for Comarch Optima REST API integration",
5
5
  "keywords": [
6
6
  "n8n-community-node-package",