vue-datocms 4.0.3 → 4.0.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.
package/dist/index.cjs.js CHANGED
@@ -534,7 +534,7 @@ const hAdapter = (tagName, props, childOrChildren) => {
534
534
  return vueDemi.h(
535
535
  tagName,
536
536
  props,
537
- Array.isArray(childOrChildren) ? childOrChildren : [childOrChildren]
537
+ typeof childOrChildren === "undefined" || Array.isArray(childOrChildren) ? childOrChildren : [childOrChildren]
538
538
  );
539
539
  };
540
540
  const defaultAdapter = {
@@ -528,7 +528,7 @@ const hAdapter = (tagName, props, childOrChildren) => {
528
528
  return h(
529
529
  tagName,
530
530
  props,
531
- Array.isArray(childOrChildren) ? childOrChildren : [childOrChildren]
531
+ typeof childOrChildren === "undefined" || Array.isArray(childOrChildren) ? childOrChildren : [childOrChildren]
532
532
  );
533
533
  };
534
534
  const defaultAdapter = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-datocms",
3
- "version": "4.0.3",
3
+ "version": "4.0.4",
4
4
  "description": "A set of components and utilities to work faster with DatoCMS in Vue.js environments",
5
5
  "keywords": [
6
6
  "datocms",