@infrab4a/connect 4.25.2-beta.2 → 4.25.2

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 CHANGED
@@ -1254,8 +1254,6 @@ const parseDateTime = (value) => {
1254
1254
  return date;
1255
1255
  };
1256
1256
 
1257
- if (!global && globalThis)
1258
- global = globalThis;
1259
1257
  const deserialize = (data) => {
1260
1258
  return eval('(' + data + ')');
1261
1259
  };
@@ -5778,6 +5776,8 @@ class CategoryHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGr
5778
5776
  'shoppingCount',
5779
5777
  'gender',
5780
5778
  'createdAt',
5779
+ 'label',
5780
+ 'outlet',
5781
5781
  ];
5782
5782
  const products = [];
5783
5783
  const mostRelevantsIds = category.getMostRelevantByShop(shop);
@@ -6489,7 +6489,7 @@ class ProductHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGra
6489
6489
  const bindFields = fields ||
6490
6490
  this.fields
6491
6491
  .map((field) => (typeof field === 'string' ? field : Object.keys(field).shift()))
6492
- .filter((field) => field !== 'reviews');
6492
+ .filter((field) => field !== 'reviews' && field !== 'categories');
6493
6493
  if ((_b = (_a = options.options) === null || _a === void 0 ? void 0 : _a.minimal) === null || _b === void 0 ? void 0 : _b.includes('price'))
6494
6494
  (_c = options.options) === null || _c === void 0 ? void 0 : _c.minimal.push('price.price', 'price.fullPrice', 'price.subscriberPrice');
6495
6495
  if ((_e = (_d = options.options) === null || _d === void 0 ? void 0 : _d.maximum) === null || _e === void 0 ? void 0 : _e.includes('price'))
package/index.esm.js CHANGED
@@ -1229,8 +1229,6 @@ const parseDateTime = (value) => {
1229
1229
  return date;
1230
1230
  };
1231
1231
 
1232
- if (!global && globalThis)
1233
- global = globalThis;
1234
1232
  const deserialize = (data) => {
1235
1233
  return eval('(' + data + ')');
1236
1234
  };
@@ -5753,6 +5751,8 @@ class CategoryHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGr
5753
5751
  'shoppingCount',
5754
5752
  'gender',
5755
5753
  'createdAt',
5754
+ 'label',
5755
+ 'outlet',
5756
5756
  ];
5757
5757
  const products = [];
5758
5758
  const mostRelevantsIds = category.getMostRelevantByShop(shop);
@@ -6464,7 +6464,7 @@ class ProductHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGra
6464
6464
  const bindFields = fields ||
6465
6465
  this.fields
6466
6466
  .map((field) => (typeof field === 'string' ? field : Object.keys(field).shift()))
6467
- .filter((field) => field !== 'reviews');
6467
+ .filter((field) => field !== 'reviews' && field !== 'categories');
6468
6468
  if ((_b = (_a = options.options) === null || _a === void 0 ? void 0 : _a.minimal) === null || _b === void 0 ? void 0 : _b.includes('price'))
6469
6469
  (_c = options.options) === null || _c === void 0 ? void 0 : _c.minimal.push('price.price', 'price.fullPrice', 'price.subscriberPrice');
6470
6470
  if ((_e = (_d = options.options) === null || _d === void 0 ? void 0 : _d.maximum) === null || _e === void 0 ? void 0 : _e.includes('price'))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infrab4a/connect",
3
- "version": "4.25.2-beta.2",
3
+ "version": "4.25.2",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org"
6
6
  },