@configura/web-api 2.4.2-alpha.0 → 2.4.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.
@@ -137,7 +137,7 @@ export class _CfgFeatureInternal {
137
137
  // below the old format. As these functions are meant to only be used internally this should't
138
138
  // cause too much confusion.
139
139
  this.setApiSelection = (apiOptionSelectionMap, apiOptionConstraintMap) => __awaiter(this, void 0, void 0, function* () {
140
- var _a, _b;
140
+ var _a, _b, _c;
141
141
  const selectionType = this.selectionType;
142
142
  const isGroup = selectionType === SelectionType.Group;
143
143
  const isSelectOne = selectionType === SelectionType.SelectOne;
@@ -189,6 +189,11 @@ export class _CfgFeatureInternal {
189
189
  change = true;
190
190
  }
191
191
  }
192
+ // Triggers `pushStretch` when it is a stretch feature
193
+ // Fixes https://configura.atlassian.net/browse/WEB-16599
194
+ if ((_c = this.measureParamCodes) === null || _c === void 0 ? void 0 : _c.length) {
195
+ change = true;
196
+ }
192
197
  }
193
198
  if (selectedIndex === -1) {
194
199
  if (isAllOptionsAffectedByAnySelection) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@configura/web-api",
3
- "version": "2.4.2-alpha.0",
3
+ "version": "2.4.3",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -23,7 +23,7 @@
23
23
  "access": "public"
24
24
  },
25
25
  "dependencies": {
26
- "@configura/web-utilities": "2.4.2-alpha.0"
26
+ "@configura/web-utilities": "2.4.3"
27
27
  },
28
- "gitHead": "1e32d06e8c30c72bcdd958c2f2b15456e5fed3d6"
28
+ "gitHead": "89933c65f6cebb5e6282d829b609fbcc48347ee8"
29
29
  }