@floegence/redevplugin-ui 3.0.23 → 3.0.24
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/surface.js +2 -2
- package/package.json +2 -2
package/dist/surface.js
CHANGED
|
@@ -1618,8 +1618,8 @@ export function createOpaquePluginBootstrapHTML(options = {}) {
|
|
|
1618
1618
|
const root = built.node;
|
|
1619
1619
|
if (!(root instanceof Element)) throw new Error("plugin UI root must be an element");
|
|
1620
1620
|
validateCanvasIdentifiers(root);
|
|
1621
|
-
const renderState = captureRenderState();
|
|
1622
1621
|
const committed = await commitOnRenderOpportunity(() => {
|
|
1622
|
+
const renderState = captureRenderState();
|
|
1623
1623
|
document.body.replaceChildren(root);
|
|
1624
1624
|
restoreRenderState(renderState);
|
|
1625
1625
|
});
|
|
@@ -1633,8 +1633,8 @@ export function createOpaquePluginBootstrapHTML(options = {}) {
|
|
|
1633
1633
|
const patchWorkerTree = async (baseRevision, revision, operations) => {
|
|
1634
1634
|
if (uiRevision < 1 || baseRevision !== uiRevision || revision !== baseRevision + 1) throw new Error("plugin UI patch revision is invalid");
|
|
1635
1635
|
const validated = validatePatch(operations);
|
|
1636
|
-
const renderState = captureRenderState();
|
|
1637
1636
|
const committed = await commitOnRenderOpportunity(() => {
|
|
1637
|
+
const renderState = captureRenderState();
|
|
1638
1638
|
for (const operation of validated.plan) applyPatchOperation(operation);
|
|
1639
1639
|
validated.graph.commit();
|
|
1640
1640
|
restoreRenderState(renderState);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@floegence/redevplugin-ui",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.24",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"dist"
|
|
41
41
|
],
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@floegence/redevplugin-contracts": "3.0.
|
|
43
|
+
"@floegence/redevplugin-contracts": "3.0.24"
|
|
44
44
|
},
|
|
45
45
|
"publishConfig": {
|
|
46
46
|
"access": "public"
|