@beam3_dev/api_module 0.0.163 → 0.0.164

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
@@ -2100,13 +2100,13 @@ async function pt(e, t, n = void 0, s = void 0) {
2100
2100
  }
2101
2101
  async function ut(e, t, n = void 0, s = void 0) {
2102
2102
  e.tenant && $(e, (a) => {
2103
- const o = `${a.services.find((i) => i.id === "businessprocess")?.url + "/api/v2"}/repository/data/tables`;
2104
- fetch(`https://api.uixhome.fr/${e.tenant}/iterop/repository/data/tables?t=${t}&s=${o}`, {
2103
+ const o = `${a.services.find((c) => c.id === "businessprocess")?.url + "/api/v2"}/repository/data/tables`, i = e.tenant.toLowerCase();
2104
+ fetch(`https://api.uixhome.fr/${i}/iterop/repository/data/tables?t=${t}&s=${o}`, {
2105
2105
  method: "GET"
2106
- }).then((i) => i.json()).then((i) => {
2107
- n && n(i);
2108
- }).catch((i) => {
2109
- s && s(i);
2106
+ }).then((c) => c.json()).then((c) => {
2107
+ n && n(c);
2108
+ }).catch((c) => {
2109
+ s && s(c);
2110
2110
  });
2111
2111
  });
2112
2112
  }