@builder.io/sdk
Advanced tools
Comparing version 0.0.75 to 0.0.76
@@ -28,3 +28,3 @@ "use strict"; | ||
// FIXME: this causing infinite loop - why? | ||
this.observeMutations = true; | ||
this.observeMutations = false; | ||
this.handleEvent = function (event) { | ||
@@ -164,2 +164,3 @@ // TODO: maybe need to put this on window or document to ensure *all* | ||
builderRenderTargetRect: (builderRenderTarget && builderRenderTarget.getBoundingClientRect()) || undefined, | ||
builderElementRectMap: this.getBuilderClientRects(), | ||
}; | ||
@@ -166,0 +167,0 @@ }; |
@@ -16,2 +16,5 @@ /// <reference types="virtual-dom" /> | ||
builderRenderTargetSelector?: string; | ||
builderElementRectMap?: { | ||
[key: string]: ClientRect | undefined; | ||
}; | ||
} |
{ | ||
"name": "@builder.io/sdk", | ||
"version": "0.0.75", | ||
"version": "0.0.76", | ||
"main": "dist/clients/js/index.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/clients/js/index.d.ts", |
@@ -32,3 +32,3 @@ import uniqueSelector from 'unique-selector'; | ||
// FIXME: this causing infinite loop - why? | ||
observeMutations = true; | ||
observeMutations = false; | ||
@@ -200,4 +200,5 @@ private observer?: MutationObserver; | ||
(builderRenderTarget && builderRenderTarget.getBoundingClientRect()) || undefined, | ||
builderElementRectMap: this.getBuilderClientRects(), | ||
}; | ||
} | ||
} |
97011
2557