@beam3_dev/api_module 0.0.258 → 0.0.260

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/wb3Api.js CHANGED
@@ -707,29 +707,30 @@ function ee(e, t, n, s, i, r, o = void 0, a = void 0) {
707
707
  }
708
708
  async function Me(e, t, n = void 0, s = void 0) {
709
709
  e.space, e.token, e.ctx;
710
- const i = e?.description;
711
- let r = `${e.space}/resources/v1/modeler/documents/${t}`;
712
- const o = JSON.stringify({
710
+ const i = e?.description, r = e?.title;
711
+ let o = `${e.space}/resources/v1/modeler/documents/${t}`;
712
+ const a = JSON.stringify({
713
713
  data: [
714
714
  {
715
715
  dataelements: {
716
- description: i
716
+ description: i,
717
+ title: r
717
718
  }
718
719
  }
719
720
  ]
720
721
  });
721
- i && m(r, {
722
+ i && m(o, {
722
723
  method: "PUT",
723
724
  headers: {
724
725
  ENO_CSRF_TOKEN: e.token
725
726
  },
726
- data: o,
727
+ data: a,
727
728
  type: "json",
728
- onComplete(a) {
729
- n && n(a);
729
+ onComplete(c) {
730
+ n && n(c);
730
731
  },
731
- onFailure(a) {
732
- s && s(a);
732
+ onFailure(c) {
733
+ s && s(c);
733
734
  }
734
735
  });
735
736
  }