@beam3_dev/api_module 0.0.45 → 0.0.46

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
@@ -446,7 +446,7 @@ function D(e, t, n = void 0, s = void 0) {
446
446
  }
447
447
  function be(e, t, n, s = void 0, i = void 0) {
448
448
  const c = `${e.space}/resources/v1/modeler/documents/${t}/files/DownloadTicket`;
449
- f(c, {
449
+ n || (n = e.token), f(c, {
450
450
  method: "PUT",
451
451
  headers: {
452
452
  ENO_CSRF_TOKEN: n
@@ -669,14 +669,11 @@ async function I(e, t = void 0, n = void 0, s = void 0) {
669
669
  "_3DSpace_download_doc() / Le paramètre space est obligatoire"
670
670
  );
671
671
  try {
672
- console.log("credentials", e), D(
672
+ console.log("_3DSpace_download_doc / credentials", e), D(
673
673
  e,
674
674
  i,
675
675
  (c) => {
676
- console.log(
677
- "_3dspace_download_doc / _3DSpace_file_url / response ",
678
- c
679
- ), f(c, {
676
+ f(c, {
680
677
  headers: {
681
678
  ENO_CSRF_TOKEN: e.token
682
679
  },