@factorypure/client-helpers 1.1.19 → 1.1.20
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 +1 -0
- package/package.json +2 -1
package/dist/index.js
CHANGED
|
@@ -1522,6 +1522,7 @@ export const filterScrapeResultsV2 = ({ scrapeResults, variant, variantScrapeOpt
|
|
|
1522
1522
|
function handleDuplicatesV2(results) {
|
|
1523
1523
|
const filteredUniqueResultsMap = {};
|
|
1524
1524
|
results.forEach((item) => {
|
|
1525
|
+
// TODO ALEX this should probably compare on listing_hash
|
|
1525
1526
|
const key = `${item.source}-${item.title}-${item.extracted_total ?? item.extracted_price}`;
|
|
1526
1527
|
if (!filteredUniqueResultsMap[key]) {
|
|
1527
1528
|
filteredUniqueResultsMap[key] = item;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@factorypure/client-helpers",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.20",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"type": "module",
|
|
11
11
|
"scripts": {
|
|
12
12
|
"build": "tsc",
|
|
13
|
+
"watch": "tsc --watch",
|
|
13
14
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
14
15
|
},
|
|
15
16
|
"keywords": [],
|