@beam3_dev/api_module 0.0.140 → 0.0.141

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
@@ -1205,7 +1205,7 @@ function q(e, t, n = void 0, s = void 0) {
1205
1205
  }
1206
1206
  );
1207
1207
  }
1208
- const z = "FA35FB9B177A280065800EA0000F599C", H = [
1208
+ const H = "FA35FB9B177A280065800EA0000F599C", z = [
1209
1209
  "swym",
1210
1210
  "3dspace",
1211
1211
  "drive",
@@ -1220,7 +1220,7 @@ const z = "FA35FB9B177A280065800EA0000F599C", H = [
1220
1220
  who: "ds6w:who",
1221
1221
  why: "ds6w:why"
1222
1222
  }, Q = {
1223
- objId: z,
1223
+ objId: H,
1224
1224
  pred: "who",
1225
1225
  order_by: "desc",
1226
1226
  tag: "testTag"
@@ -1346,7 +1346,7 @@ function Z(e, t, n = void 0, s = void 0) {
1346
1346
  ],
1347
1347
  nresults: 40,
1348
1348
  start: "0",
1349
- source: H,
1349
+ source: z,
1350
1350
  tenant: e.tenant,
1351
1351
  login: {
1352
1352
  "3dspace": {
@@ -1719,7 +1719,7 @@ const se = {
1719
1719
  idee_id: "THhRI8rlQNWKRxpv3Xqqug"
1720
1720
  // id de l'idee qui est créer au post (_3dSwym_postIdea)
1721
1721
  };
1722
- function ze(e, t, n = void 0, s = void 0) {
1722
+ function He(e, t, n = void 0, s = void 0) {
1723
1723
  const i = `${e.space}/api/idea/add`, r = e.swymCommunities.find(
1724
1724
  (c) => c.id === t.community_id
1725
1725
  ), o = e.swymCommunities.find(
@@ -1758,7 +1758,7 @@ function ze(e, t, n = void 0, s = void 0) {
1758
1758
  });
1759
1759
  });
1760
1760
  }
1761
- function He(e, t, n = void 0, s = void 0) {
1761
+ function ze(e, t, n = void 0, s = void 0) {
1762
1762
  const i = `${e.space}/api/idea/delete`, r = {
1763
1763
  params: {
1764
1764
  community_id: t.community_id,
@@ -1969,13 +1969,7 @@ function st(e, t = void 0, n = void 0) {
1969
1969
  await fetch(c, {
1970
1970
  method: "POST"
1971
1971
  }).then((d) => d.json()).then(async (d) => {
1972
- await fetch(r, {
1973
- headers: {
1974
- Authorization: `Bearer ${d?.token}`
1975
- }
1976
- }).then((l) => l.json()).then((l) => {
1977
- console.log(l);
1978
- }).catch((l) => console.log(l)), t && t(d?.token);
1972
+ t && t(d?.token);
1979
1973
  });
1980
1974
  },
1981
1975
  onFailure(a) {
@@ -2106,7 +2100,7 @@ export {
2106
2100
  Ue as _3DSpace_lifecycle_getNextRevision,
2107
2101
  Fe as _3DSpace_lifecycle_getNextStates,
2108
2102
  qe as _3DSwym_buildDirectMessage,
2109
- He as _3DSwym_deleteIdea,
2103
+ ze as _3DSwym_deleteIdea,
2110
2104
  te as _3DSwym_findCommunityToInstantMSG,
2111
2105
  Be as _3DSwym_getAllCommunities,
2112
2106
  Xe as _3DSwym_getAllNews,
@@ -2118,7 +2112,7 @@ export {
2118
2112
  et as _3DSwym_get_currentUser,
2119
2113
  tt as _3DSwym_get_findUser,
2120
2114
  w as _3DSwym_get_version,
2121
- ze as _3DSwym_postIdea,
2115
+ He as _3DSwym_postIdea,
2122
2116
  U as _3DSwym_sendMessageData,
2123
2117
  ye as _AppMngt_get_info_user,
2124
2118
  _e as _AppMngt_get_users,