@betterstore/react 0.3.62 → 0.3.63

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @betterstore/sdk
2
2
 
3
+ ## 0.3.63
4
+
5
+ ### Patch Changes
6
+
7
+ - bug fixes
8
+
3
9
  ## 0.3.62
4
10
 
5
11
  ### Patch Changes
package/dist/index.cjs.js CHANGED
@@ -530,7 +530,8 @@ const IframeWrapper = ({ children, iframeRef, wrapperRef, }) => {
530
530
  if (!iframeDoc)
531
531
  return;
532
532
  const updateHeight = () => {
533
- iframe.style.height = `${iframeDoc.body.scrollHeight}px`;
533
+ const newHeight = iframeDoc.body.scrollHeight + 100;
534
+ iframe.style.height = `${newHeight}px`;
534
535
  };
535
536
  const onLoad = () => {
536
537
  // Remove previous style if it exists
package/dist/index.mjs CHANGED
@@ -507,7 +507,8 @@ const IframeWrapper = ({ children, iframeRef, wrapperRef, }) => {
507
507
  if (!iframeDoc)
508
508
  return;
509
509
  const updateHeight = () => {
510
- iframe.style.height = `${iframeDoc.body.scrollHeight}px`;
510
+ const newHeight = iframeDoc.body.scrollHeight + 100;
511
+ iframe.style.height = `${newHeight}px`;
511
512
  };
512
513
  const onLoad = () => {
513
514
  // Remove previous style if it exists
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@betterstore/react",
3
- "version": "0.3.62",
3
+ "version": "0.3.63",
4
4
  "description": "E-commerce for Developers",
5
5
  "private": false,
6
6
  "publishConfig": {