@beam3_dev/api_module 0.0.92 → 0.0.93

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
@@ -1021,6 +1021,8 @@ function je(e, t, s = void 0, n = void 0) {
1021
1021
  m(d, {
1022
1022
  method: "POST",
1023
1023
  headers: {
1024
+ securitycontext: "ctx::" + e.ctx,
1025
+ ENO_CSRF_TOKEN: e.token,
1024
1026
  Accept: "application/json",
1025
1027
  "Content-Type": "application/json"
1026
1028
  },
@@ -1136,7 +1138,7 @@ async function Ie(e, t, s = void 0, n = void 0) {
1136
1138
  });
1137
1139
  });
1138
1140
  }
1139
- function Pe(e, t, s, n = void 0, i = void 0) {
1141
+ function xe(e, t, s, n = void 0, i = void 0) {
1140
1142
  const r = new Blob([JSON.stringify(t)], { type: "text/plain" });
1141
1143
  k(
1142
1144
  e,
@@ -1159,9 +1161,9 @@ function Pe(e, t, s, n = void 0, i = void 0) {
1159
1161
  }
1160
1162
  );
1161
1163
  }
1162
- let I, P;
1164
+ let I, x;
1163
1165
  const $ = [];
1164
- async function xe(e, t = void 0, s = void 0) {
1166
+ async function Pe(e, t = void 0, s = void 0) {
1165
1167
  e.objID && e.objID !== "" ? k(
1166
1168
  e,
1167
1169
  (n) => {
@@ -1203,7 +1205,7 @@ function Le(e, t = void 0, s = void 0) {
1203
1205
  e,
1204
1206
  i.objID,
1205
1207
  (c) => {
1206
- n.push({ [i.name]: c }), i.name === "dbProjets" && (I = c.affaires.map((a) => a.objectID), B(e, P)), r === e.objIds.length - 1 && (t && t(n), delete e.objIds, delete e.datas);
1208
+ n.push({ [i.name]: c }), i.name === "dbProjets" && (I = c.affaires.map((a) => a.objectID), B(e, x)), r === e.objIds.length - 1 && (t && t(n), delete e.objIds, delete e.datas);
1207
1209
  }
1208
1210
  );
1209
1211
  });
@@ -1214,7 +1216,7 @@ function B(e, t, s = void 0, n = void 0) {
1214
1216
  I,
1215
1217
  (i) => {
1216
1218
  const r = [...t];
1217
- r.find((c) => c.objectID === i.objectId).data = i.data, P = r, $.push(i.data), s && s($);
1219
+ r.find((c) => c.objectID === i.objectId).data = i.data, x = r, $.push(i.data), s && s($);
1218
1220
  },
1219
1221
  (i) => {
1220
1222
  n && (n(i), console.log(i));
@@ -1228,7 +1230,7 @@ const Y = "FA35FB9B177A280065800EA0000F599C", q = [
1228
1230
  "usersgroup",
1229
1231
  "3dplan",
1230
1232
  "dashboard"
1231
- ], x = {
1233
+ ], P = {
1232
1234
  how: "ds6w:how",
1233
1235
  what: "ds6w:what",
1234
1236
  when: "ds6w:when",
@@ -1254,7 +1256,7 @@ function Je(e, t, s = void 0, n = void 0) {
1254
1256
  uri: `pid://${c}`
1255
1257
  }
1256
1258
  ],
1257
- predicate: x[a],
1259
+ predicate: P[a],
1258
1260
  object: {
1259
1261
  literal: o
1260
1262
  }
@@ -1397,7 +1399,7 @@ function Ee(e, t, s = void 0, n = void 0) {
1397
1399
  uri: `pid://${i}`
1398
1400
  }
1399
1401
  ],
1400
- predicate: x[r],
1402
+ predicate: P[r],
1401
1403
  object: {
1402
1404
  literal: c
1403
1405
  }
@@ -2033,10 +2035,10 @@ export {
2033
2035
  Ge as getInfoDocTags,
2034
2036
  we as getUserGroupsList,
2035
2037
  J as getUsersGroupRules,
2036
- xe as get_3DSpace_csrf,
2038
+ Pe as get_3DSpace_csrf,
2037
2039
  Te as patchUserGroups,
2038
2040
  Oe as patchUserGroupsControl,
2039
- Pe as pushDataIn3DSpace,
2041
+ xe as pushDataIn3DSpace,
2040
2042
  Ne as readUserGroupControl,
2041
2043
  Ee as removeTagToDoc,
2042
2044
  et as sayHello,