@squeed/flow-sdk 2.0.47 → 2.0.48

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/dist/index.js CHANGED
@@ -5356,7 +5356,12 @@ function pi({
5356
5356
  };
5357
5357
  if (n) {
5358
5358
  const p = Object.keys(h), g = (b) => {
5359
- !b || Object.prototype.hasOwnProperty.call(h, b) || c({ ...h, [b]: { name: b } });
5359
+ if (b)
5360
+ if (Object.prototype.hasOwnProperty.call(h, b)) {
5361
+ const v = { ...h };
5362
+ delete v[b], c(v);
5363
+ } else
5364
+ c({ ...h, [b]: { name: b } });
5360
5365
  };
5361
5366
  return /* @__PURE__ */ j("div", { style: { display: "flex", flexDirection: "column", gap: 8, width: "100%" }, children: [
5362
5367
  p.length > 0 && /* @__PURE__ */ y("div", { style: { display: "flex", flexWrap: "wrap", gap: 8 }, children: p.map((b, v) => /* @__PURE__ */ j(