@beam3_dev/api_module 0.0.58 → 0.0.59
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 +2 -3
- package/dist/wb3Api.js.map +1 -1
- package/dist/wb3Api.umd.cjs +2 -2
- package/dist/wb3Api.umd.cjs.map +1 -1
- package/package.json +1 -1
package/dist/wb3Api.js
CHANGED
|
@@ -135,7 +135,6 @@ async function ue(e, t = void 0, n = void 0) {
|
|
|
135
135
|
(!e || e === "") && (e = A.getValue("PlatFormInstanceId")), (!e || e === "") && (e = void 0), t && (console.log("i3DXCompassServices", s), t(
|
|
136
136
|
s.getPlatformServices({
|
|
137
137
|
platformId: e,
|
|
138
|
-
public: !0,
|
|
139
138
|
onComplete: t,
|
|
140
139
|
onFailure: n
|
|
141
140
|
})
|
|
@@ -390,7 +389,7 @@ async function J(e, t = void 0, n = void 0, s = void 0) {
|
|
|
390
389
|
function k(e, t = void 0, n = void 0) {
|
|
391
390
|
if (e.objID && e.objID !== "") {
|
|
392
391
|
let s = `${e.space}/resources/v1/modeler/documents/${e.objID}`;
|
|
393
|
-
f(s, {
|
|
392
|
+
console.log("_3DSpace_get_csrf / url", s), f(s, {
|
|
394
393
|
onComplete(o, c, i) {
|
|
395
394
|
const a = JSON.parse(o);
|
|
396
395
|
e.token = a?.csrf?.value, e.datas = a?.data[0], t && t(e);
|
|
@@ -1337,7 +1336,7 @@ function Je(e, t = "", n = void 0, s = void 0) {
|
|
|
1337
1336
|
if (t === "")
|
|
1338
1337
|
return;
|
|
1339
1338
|
const c = {
|
|
1340
|
-
uri: "/
|
|
1339
|
+
uri: "/resources/v1/modeler/documents"
|
|
1341
1340
|
}, i = {
|
|
1342
1341
|
"Content-Type": "application/x-www-form-urlencoded; charset=UTF-8",
|
|
1343
1342
|
Accept: "application/json,text/javascript,*/*"
|