@web-widget/vue 0.1.3 → 0.1.4

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.
@@ -158,7 +158,7 @@ var defineVueRender = ({
158
158
  } = {}) => {
159
159
  return defineRender(async (context, component, props) => {
160
160
  const state = onPrefetchData ? await onPrefetchData(context, component, props) : void 0;
161
- const mergedProps = state ? Object.assign({}, state, props) : props;
161
+ const mergedProps = state ? Object.assign(state, props) : props;
162
162
  if (state) {
163
163
  const stateStringify = htmlEscapeJsonString(JSON.stringify(state));
164
164
  const vNode = h2(Fragment, null, [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@web-widget/vue",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {