@infrab4a/connect 4.23.1-beta.6 → 4.23.1-beta.7
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/index.cjs.js +2 -2
- package/index.esm.js +2 -2
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -5880,13 +5880,13 @@ class ProductErrorsHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHas
|
|
|
5880
5880
|
filters: {
|
|
5881
5881
|
id: {
|
|
5882
5882
|
operator: exports.Where.IN,
|
|
5883
|
-
value: Array.from(new Set(variantsWithNoData.map((item) => item.product.productId.toString()))),
|
|
5883
|
+
value: Array.from(new Set(variantsWithNoData.map((item) => { var _a; return (_a = item.product.productId) === null || _a === void 0 ? void 0 : _a.toString(); }))),
|
|
5884
5884
|
},
|
|
5885
5885
|
},
|
|
5886
5886
|
});
|
|
5887
5887
|
products.forEach((product) => {
|
|
5888
5888
|
result.data
|
|
5889
|
-
.filter((variant) => variant.product.productId.toString() === product.id.toString())
|
|
5889
|
+
.filter((variant) => { var _a; return ((_a = variant.product.productId) === null || _a === void 0 ? void 0 : _a.toString()) === product.id.toString(); })
|
|
5890
5890
|
.forEach((variant) => {
|
|
5891
5891
|
variant.product.name = product.name;
|
|
5892
5892
|
variant.product.group = product.group;
|
package/index.esm.js
CHANGED
|
@@ -5874,13 +5874,13 @@ class ProductErrorsHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHas
|
|
|
5874
5874
|
filters: {
|
|
5875
5875
|
id: {
|
|
5876
5876
|
operator: Where.IN,
|
|
5877
|
-
value: Array.from(new Set(variantsWithNoData.map((item) => item.product.productId.toString()))),
|
|
5877
|
+
value: Array.from(new Set(variantsWithNoData.map((item) => { var _a; return (_a = item.product.productId) === null || _a === void 0 ? void 0 : _a.toString(); }))),
|
|
5878
5878
|
},
|
|
5879
5879
|
},
|
|
5880
5880
|
});
|
|
5881
5881
|
products.forEach((product) => {
|
|
5882
5882
|
result.data
|
|
5883
|
-
.filter((variant) => variant.product.productId.toString() === product.id.toString())
|
|
5883
|
+
.filter((variant) => { var _a; return ((_a = variant.product.productId) === null || _a === void 0 ? void 0 : _a.toString()) === product.id.toString(); })
|
|
5884
5884
|
.forEach((variant) => {
|
|
5885
5885
|
variant.product.name = product.name;
|
|
5886
5886
|
variant.product.group = product.group;
|