@web-widget/react 0.0.9 → 0.0.10

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.
@@ -122,7 +122,7 @@ var defineReactRender = ({
122
122
  } = {}) => {
123
123
  return defineRender(async (context, component, props) => {
124
124
  const state = onPrefetchData ? await onPrefetchData(context, component, props) : void 0;
125
- const mergedProps = state ? Object.assign({}, state, props) : props;
125
+ const mergedProps = state ? Object.assign(state, props) : props;
126
126
  let vNode;
127
127
  if (typeof component === "function" && component.constructor.name === "AsyncFunction") {
128
128
  vNode = await component(mergedProps);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@web-widget/react",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {