@beam3_dev/api_module 0.0.257 → 0.0.259
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 +11 -10
- package/dist/wb3Api.js.map +1 -1
- package/dist/wb3Api.umd.cjs +3 -3
- package/dist/wb3Api.umd.cjs.map +1 -1
- package/package.json +1 -1
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
|
|
712
|
-
const
|
|
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(
|
|
722
|
+
i && m(o, {
|
|
722
723
|
method: "PUT",
|
|
723
724
|
headers: {
|
|
724
725
|
ENO_CSRF_TOKEN: e.token
|
|
725
726
|
},
|
|
726
|
-
data:
|
|
727
|
+
data: a,
|
|
727
728
|
type: "json",
|
|
728
|
-
onComplete(
|
|
729
|
-
n &&
|
|
729
|
+
onComplete(c) {
|
|
730
|
+
n && n(c);
|
|
730
731
|
},
|
|
731
|
-
onFailure(
|
|
732
|
-
s && s(
|
|
732
|
+
onFailure(c) {
|
|
733
|
+
s && s(c);
|
|
733
734
|
}
|
|
734
735
|
});
|
|
735
736
|
}
|