@bytebrand/export-cars 1.22.12 → 1.22.14

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytebrand/export-cars",
3
- "version": "1.22.12",
3
+ "version": "1.22.14",
4
4
  "description": "",
5
5
  "author": "bytebrand",
6
6
  "license": "UNLICENSED",
@@ -280,7 +280,12 @@ export class GoogleTransformer {
280
280
  selector_unknown: 'Other',
281
281
  };
282
282
  const fuel = get(car, 'consumption.fuel', 'selector_unknown');
283
- return get(available, fuel);
283
+ let engine = get(available, fuel)
284
+ const hybridPlugin = car?.engineData?.hybridPlugin;
285
+ if (engine === 'Hybrid' && hybridPlugin)
286
+ engine = 'plug-in_hybrid';
287
+
288
+ return engine;
284
289
  }
285
290
 
286
291
  private mapBodyStyle(car: DataSchemes.Car): string {