@beam3_dev/api_module 0.0.101 → 0.0.102
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 +19 -21
- 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 +1 -1
package/dist/wb3Api.js
CHANGED
|
@@ -708,7 +708,7 @@ async function v(e, t = void 0, n = void 0) {
|
|
|
708
708
|
} catch {
|
|
709
709
|
r = a;
|
|
710
710
|
}
|
|
711
|
-
t && t(r), s(r);
|
|
711
|
+
t && typeof t == "function" && t(r), s(r);
|
|
712
712
|
},
|
|
713
713
|
onFailure(a, r, d) {
|
|
714
714
|
n && (console.log("error http", a), n({
|
|
@@ -1007,27 +1007,25 @@ function $e(e, t, n, s = void 0, o = void 0) {
|
|
|
1007
1007
|
});
|
|
1008
1008
|
}
|
|
1009
1009
|
function Ue(e, t, n, s, o = void 0, c = void 0) {
|
|
1010
|
-
return console.log("credentials", e), new Promise(
|
|
1011
|
-
(
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1010
|
+
return console.log("credentials", e), new Promise((i) => {
|
|
1011
|
+
`${e.space}`, JSON.stringify({
|
|
1012
|
+
csrf: {
|
|
1013
|
+
name: "ENO_CSRF_TOKEN",
|
|
1014
|
+
value: e.token
|
|
1015
|
+
},
|
|
1016
|
+
data: [{
|
|
1017
|
+
type: "Workspace",
|
|
1018
|
+
cestamp: "businessobject",
|
|
1019
|
+
relId: t,
|
|
1020
|
+
id: t,
|
|
1021
|
+
dataelements: {
|
|
1022
|
+
personList: "<uuid:5ca25b8e-98d0-46c3-ac43-3faa83c4295a>",
|
|
1023
|
+
eventsList: "NXFolderCreated,NXFolderDeleted,NXContentAdded,NXContentRemoved"
|
|
1016
1024
|
},
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
id: t,
|
|
1022
|
-
dataelements: {
|
|
1023
|
-
personList: "<uuid:5ca25b8e-98d0-46c3-ac43-3faa83c4295a>",
|
|
1024
|
-
eventsList: "NXFolderCreated,NXFolderDeleted,NXContentAdded,NXContentRemoved"
|
|
1025
|
-
},
|
|
1026
|
-
tenant: e.tenant
|
|
1027
|
-
}]
|
|
1028
|
-
});
|
|
1029
|
-
}
|
|
1030
|
-
);
|
|
1025
|
+
tenant: e.tenant
|
|
1026
|
+
}]
|
|
1027
|
+
});
|
|
1028
|
+
});
|
|
1031
1029
|
}
|
|
1032
1030
|
//!SECTION
|
|
1033
1031
|
function Ie(e, t = void 0, n = void 0) {
|