@accelerated-agency/visual-editor 0.3.3 → 0.3.5

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.js CHANGED
@@ -4807,6 +4807,7 @@ function PlatformVisualEditorV2({
4807
4807
  // channel kept for API compatibility; VvvebJs uses its own internal channel
4808
4808
  embeddedGlobalKey = "__CONVERSION_EMBEDDED__",
4809
4809
  proxyBaseUrl = "",
4810
+ strictObserverFreeze = false,
4810
4811
  className = "fixed inset-0 z-[9999] flex flex-col bg-white",
4811
4812
  editorClassName = "flex-1 min-h-0",
4812
4813
  showHeader = true,
@@ -4867,9 +4868,10 @@ function PlatformVisualEditorV2({
4867
4868
  status: experiment?.status,
4868
4869
  pageUrl: experiment?.pageUrl,
4869
4870
  editorPassword: experiment?.editorPassword,
4871
+ strictObserverFreeze: !!strictObserverFreeze,
4870
4872
  variations: experiment?.variations ?? []
4871
4873
  }),
4872
- [experiment]
4874
+ [experiment, strictObserverFreeze]
4873
4875
  );
4874
4876
  console.log("loadPayload", loadPayload);
4875
4877
  const editorSrc = useMemo(() => {