@ethora/chat-component 24.12.38 → 24.12.39

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/main.js CHANGED
@@ -16710,8 +16710,7 @@ const Nc = ["#f44336", "#2196f3", "#4caf50", "#ff9800"], aA = ({
16710
16710
  let S = new FormData();
16711
16711
  S.append("files", l);
16712
16712
  const M = await vi(S), I = (R = (N = (O = M == null ? void 0 : M.data) == null ? void 0 : O.results) == null ? void 0 : N[0]) == null ? void 0 : R.location;
16713
- if (!I)
16714
- throw new Error("No location found in upload result.");
16713
+ I || console.log("No location found in upload result.");
16715
16714
  const j = await A.createRoomStanza(
16716
16715
  s,
16717
16716
  i