sales-frontend-utils 0.0.26 → 0.0.27

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/index.cjs CHANGED
@@ -632,7 +632,7 @@ function downloadBlob(blob, filename) {
632
632
  const link = document.createElement("a");
633
633
  link.style.display = "none";
634
634
  link.href = url;
635
- link.download = filename;
635
+ link.download = `${filename}.${getExt(blob)}`;
636
636
  document.body.appendChild(link);
637
637
  link.click();
638
638
  document.body.removeChild(link);