@beam3_dev/api_module 0.0.108 → 0.0.110
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 +4 -4
- 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
|
@@ -168,10 +168,10 @@ function E(e, t = void 0, n = void 0) {
|
|
|
168
168
|
onComplete(i) {
|
|
169
169
|
const r = typeof i == "string" ? JSON.parse(i) : i;
|
|
170
170
|
if (console.log("_getServiceUrl", r), r && "platforms" in r) {
|
|
171
|
-
const o = r.platforms.find(
|
|
172
|
-
a.id
|
|
173
|
-
|
|
174
|
-
t && o ? t(o) : n && n("_getServiceUrl return listServiceUrl = undefined");
|
|
171
|
+
const o = r.platforms.find(
|
|
172
|
+
(a) => a.id === e.tenant.toUpperCase()
|
|
173
|
+
);
|
|
174
|
+
console.log("listServiceUrl", o), t && o ? t(o) : n && n("_getServiceUrl return listServiceUrl = undefined");
|
|
175
175
|
} else
|
|
176
176
|
n && n("_getServiceUrl return oResponse = undefined");
|
|
177
177
|
},
|