@infrab4a/connect 2.0.1 → 2.0.3

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.
@@ -289,7 +289,7 @@
289
289
  Status["CANCELLED"] = "Cancelado";
290
290
  })(exports.Status || (exports.Status = {}));
291
291
 
292
- /******************************************************************************
292
+ /*! *****************************************************************************
293
293
  Copyright (c) Microsoft Corporation.
294
294
 
295
295
  Permission to use, copy, modify, and/or distribute this software for any
@@ -387,7 +387,7 @@
387
387
  function step(op) {
388
388
  if (f)
389
389
  throw new TypeError("Generator is already executing.");
390
- while (g && (g = 0, op[0] && (_ = 0)), _)
390
+ while (_)
391
391
  try {
392
392
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
393
393
  return t;
@@ -451,11 +451,7 @@
451
451
  var __createBinding = Object.create ? (function (o, m, k, k2) {
452
452
  if (k2 === undefined)
453
453
  k2 = k;
454
- var desc = Object.getOwnPropertyDescriptor(m, k);
455
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
456
- desc = { enumerable: true, get: function () { return m[k]; } };
457
- }
458
- Object.defineProperty(o, k2, desc);
454
+ Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
459
455
  }) : (function (o, m, k, k2) {
460
456
  if (k2 === undefined)
461
457
  k2 = k;
@@ -610,11 +606,6 @@
610
606
  throw new TypeError("Cannot write private member to an object whose class did not declare it");
611
607
  return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
612
608
  }
613
- function __classPrivateFieldIn(state, receiver) {
614
- if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function"))
615
- throw new TypeError("Cannot use 'in' operator on non-object");
616
- return typeof state === "function" ? receiver === state : state.has(receiver);
617
- }
618
609
 
619
610
  var Edition = /** @class */ (function (_super) {
620
611
  __extends(Edition, _super);
@@ -3821,6 +3812,7 @@
3821
3812
  'shopAvailability',
3822
3813
  'sku',
3823
3814
  'rate',
3815
+ 'tags',
3824
3816
  ] }, ((options === null || options === void 0 ? void 0 : options.limit) ? { limits: { limit: options === null || options === void 0 ? void 0 : options.limit } } : {})))];
3825
3817
  case 1:
3826
3818
  productsData = (_c.sent()).data;
@@ -4198,7 +4190,7 @@
4198
4190
  where: {
4199
4191
  type: 'product_kit_bool_exp',
4200
4192
  required: true,
4201
- value: { product_id: { _eq: productId } },
4193
+ value: { kit_product_id: { _eq: productId } },
4202
4194
  },
4203
4195
  })];
4204
4196
  case 1:
@@ -4208,8 +4200,8 @@
4208
4200
  type: '[product_kit_insert_input!]',
4209
4201
  required: true,
4210
4202
  value: plainData.kitProducts.map(function (kitProduct) { return ({
4211
- kit_product_id: kitProduct.productId || kitProduct.product.id,
4212
- product_id: productId,
4203
+ kit_product_id: productId,
4204
+ product_id: kitProduct.productId || kitProduct.product.id,
4213
4205
  quantity: kitProduct.quantity,
4214
4206
  }); }),
4215
4207
  },