@beam3_dev/api_module 0.0.107 → 0.0.108

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
@@ -166,14 +166,14 @@ function E(e, t = void 0, n = void 0) {
166
166
  const s = `https://${e.tenant}-eu1-apps.3dexperience.3ds.com/enovia/resources/AppsMngt/api/v1/services?tenant=${e.tenant}&cors=true&xrequestedwith=xmlhttprequest`;
167
167
  f(s, {
168
168
  onComplete(i) {
169
- console.log("_getServiceUrl", i);
170
169
  const r = typeof i == "string" ? JSON.parse(i) : i;
171
- if (r && "platforms" in r) {
170
+ if (console.log("_getServiceUrl", r), r && "platforms" in r) {
172
171
  const o = r.platforms.find((a) => {
173
172
  a.id, e.tenant.toUpperCase();
174
173
  });
175
174
  t && o ? t(o) : n && n("_getServiceUrl return listServiceUrl = undefined");
176
- }
175
+ } else
176
+ n && n("_getServiceUrl return oResponse = undefined");
177
177
  },
178
178
  onFailure(i) {
179
179
  n && n(i);