@beam3_dev/api_module 0.0.247 → 0.0.251
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 +6 -3
- package/dist/wb3Api.js.map +1 -1
- package/dist/wb3Api.umd.cjs +1 -1
- package/dist/wb3Api.umd.cjs.map +1 -1
- package/package.json +2 -2
package/dist/wb3Api.js
CHANGED
|
@@ -546,7 +546,7 @@ function F(e, t = void 0, n = void 0) {
|
|
|
546
546
|
m(s, {
|
|
547
547
|
onComplete(i, r, o) {
|
|
548
548
|
const a = JSON.parse(i);
|
|
549
|
-
e.token = a?.csrf?.value, e.datas = a?.data[0], t && t(e);
|
|
549
|
+
e.success = !0, e.token = a?.csrf?.value, e.datas = a?.data[0], t && t(e);
|
|
550
550
|
},
|
|
551
551
|
onFailure(i) {
|
|
552
552
|
n && n(i);
|
|
@@ -606,7 +606,7 @@ function A(e, t = void 0, n = void 0) {
|
|
|
606
606
|
}
|
|
607
607
|
);
|
|
608
608
|
}
|
|
609
|
-
function Le(e, t, n, s = void 0, i = void 0) {
|
|
609
|
+
function Le(e, t, n = void 0, s = void 0, i = void 0) {
|
|
610
610
|
const r = `${e.space}/resources/v1/modeler/documents/${t}/files/DownloadTicket`;
|
|
611
611
|
n || (n = e.token), m(r, {
|
|
612
612
|
method: "PUT",
|
|
@@ -746,7 +746,10 @@ async function Je(e, t, n, s, i = void 0, r = void 0) {
|
|
|
746
746
|
n,
|
|
747
747
|
s,
|
|
748
748
|
(d) => {
|
|
749
|
-
d?.data.length ? i && i(d) : r && r({
|
|
749
|
+
d?.data.length ? i && i(d) : r && r({
|
|
750
|
+
success: !1,
|
|
751
|
+
msg: "Erreur lors de la mise en ralation entre la document et le fichier"
|
|
752
|
+
});
|
|
750
753
|
},
|
|
751
754
|
(d) => console.warn(d)
|
|
752
755
|
);
|