@infrab4a/connect 1.0.0-beta.14 → 1.0.0-beta.15

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.
@@ -3157,7 +3157,7 @@
3157
3157
  return params.toPlain();
3158
3158
  return Object.keys(params).reduce(function (data, currentKey) {
3159
3159
  var _a;
3160
- return (Object.assign(Object.assign({}, data), (_a = {}, _a[currentKey] = getValueByAction(params[currentKey]), _a)));
3160
+ return (Object.assign(Object.assign({}, data), (params[currentKey] && (_a = {}, _a[currentKey] = getValueByAction(params[currentKey]), _a))));
3161
3161
  }, {});
3162
3162
  };
3163
3163
  UpdateHasuraGraphQLMixin.prototype.getUpdateModelKeys = function (data) {
@@ -3783,7 +3783,7 @@
3783
3783
  fields: [
3784
3784
  { id: { columnName: 'id', to: function (value) { return +value; }, from: function (value) { return value.toString(); } } },
3785
3785
  { firestoreId: { columnName: 'firestore_id' } },
3786
- { productId: { columnName: 'main_product_id', to: function (value) { return +value; }, from: function (value) { return value.toString(); } } },
3786
+ { productId: { columnName: 'main_product_id', to: function (value) { return +value; }, from: function (value) { return value === null || value === void 0 ? void 0 : value.toString(); } } },
3787
3787
  { EAN: { columnName: 'ean' } },
3788
3788
  { costPrice: { columnName: 'cost_price' } },
3789
3789
  {