@unvired/turboforms-embed-sdk 2.0.71 → 2.0.72

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.
@@ -30260,7 +30260,9 @@ class SmartFileComponent extends FieldComponent {
30260
30260
  while (n--) {
30261
30261
  u8arr[n] = bstr.charCodeAt(n);
30262
30262
  }
30263
- return new File([u8arr], filename, { type: contentType });
30263
+ const blob = new Blob([u8arr], { type: contentType });
30264
+ blob.name = filename;
30265
+ return blob;
30264
30266
  };
30265
30267
  const file = base64ToFile(
30266
30268
  event.detail.imageData,
@@ -30524,7 +30526,7 @@ class SmartFileComponent extends FieldComponent {
30524
30526
 
30525
30527
  getInitFileToSync(file) {
30526
30528
  const escapedFileName = file.name
30527
- ? file.name.replaceAll('<', '&lt;').replaceAll('>', '&gt;')
30529
+ ? file.name.replace(/</g, '&lt;').replace(/>/g, '&gt;')
30528
30530
  : file.name;
30529
30531
  return {
30530
30532
  id: createRandomString(),
@@ -41745,7 +41747,7 @@ initThemeHook();
41745
41747
  </div>
41746
41748
 
41747
41749
  <div id="sticky-footer">
41748
- <div class="build-version">SDK v2.0.71</div>
41750
+ <div class="build-version">SDK v2.0.72</div>
41749
41751
 
41750
41752
  <button class="footer-btn footer-btn-secondary" id="prevBtn" style="display:none" onclick="FormOnPrevious()">
41751
41753
  <i class="bi bi-chevron-left"></i> Previous