@social-mail/social-mail-client 1.1.4 → 1.1.5

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.
@@ -19783,10 +19783,9 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-con
19783
19783
  if (newItem === null || newItem === void 0 ? void 0 : newItem.then) {
19784
19784
  newItem = yield newItem;
19785
19785
  }
19786
- const draft = {
19787
- model,
19786
+ const draft = Object.assign(Object.assign({}, model), {
19788
19787
  [collection]: [newItem]
19789
- };
19788
+ });
19790
19789
  const clone = es.cloner(draft);
19791
19790
  clone.include(`(x) => x.${collection}`);
19792
19791
  yield es.save(clone.copy);