@makeswift/runtime 0.4.0 → 0.4.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/dist/index.cjs.js
CHANGED
|
@@ -1085,7 +1085,7 @@ class Document$1 extends NextDocument__default["default"] {
|
|
|
1085
1085
|
});
|
|
1086
1086
|
}
|
|
1087
1087
|
}
|
|
1088
|
-
const version = "0.4.
|
|
1088
|
+
const version = "0.4.1";
|
|
1089
1089
|
function isErrorWithMessage(error) {
|
|
1090
1090
|
return typeof error === "object" && error !== null && "message" in error && typeof error.message === "string";
|
|
1091
1091
|
}
|
|
@@ -3905,14 +3905,16 @@ const ElementData = React.memo(React.forwardRef(function ElementData2({
|
|
|
3905
3905
|
text: "Component not found"
|
|
3906
3906
|
});
|
|
3907
3907
|
}
|
|
3908
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
|
|
3912
|
-
|
|
3913
|
-
|
|
3914
|
-
|
|
3915
|
-
|
|
3908
|
+
return /* @__PURE__ */ jsxRuntime.jsx(React.Suspense, {
|
|
3909
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(FindDomNode, {
|
|
3910
|
+
ref: setFoundDomNode,
|
|
3911
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(PropsValue, {
|
|
3912
|
+
element: elementData,
|
|
3913
|
+
children: (props) => /* @__PURE__ */ React.createElement(Component, __spreadProps(__spreadValues({}, props), {
|
|
3914
|
+
key: elementData.key,
|
|
3915
|
+
ref: setHandle
|
|
3916
|
+
}))
|
|
3917
|
+
})
|
|
3916
3918
|
})
|
|
3917
3919
|
});
|
|
3918
3920
|
}));
|