pollination-react-io 1.30.0 → 1.30.1
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/build/index.esm.js +0 -6
- package/build/index.esm.js.map +1 -1
- package/build/index.js +0 -6
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.esm.js
CHANGED
|
@@ -40035,11 +40035,6 @@ var useGetGeometry = function () {
|
|
|
40035
40035
|
var host = getHost();
|
|
40036
40036
|
var _a = useState(undefined), geometry = _a[0], setGeometry = _a[1];
|
|
40037
40037
|
var geometryRef = useRef(undefined);
|
|
40038
|
-
var runPreview = function (identifier) {
|
|
40039
|
-
if (typeof window.parent.chrome.webview.hostObjects.sync.geometry.Mark === 'function') {
|
|
40040
|
-
window.parent.chrome.webview.hostObjects.sync.geometry.Mark(identifier);
|
|
40041
|
-
}
|
|
40042
|
-
};
|
|
40043
40038
|
var setReturnVal = useCallback(function (_a, force) {
|
|
40044
40039
|
var data = _a.data; _a.identifier;
|
|
40045
40040
|
var bytes = new TextEncoder().encode(data);
|
|
@@ -40080,7 +40075,6 @@ var useGetGeometry = function () {
|
|
|
40080
40075
|
};
|
|
40081
40076
|
res = window.parent.chrome.webview.hostObjects.sync.geometry.Get(key, selection);
|
|
40082
40077
|
if (res) {
|
|
40083
|
-
runPreview(res.identifier);
|
|
40084
40078
|
setReturnVal(res, force);
|
|
40085
40079
|
}
|
|
40086
40080
|
}, [setReturnVal]);
|