pptxtojson 0.1.6 → 0.1.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pptxtojson",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "A javascript tool for parsing .pptx file",
5
5
  "type": "module",
6
6
  "main": "./dist/index.umd.js",
package/src/pptxtojson.js CHANGED
@@ -567,7 +567,7 @@ function genShape(node, slideLayoutSpNode, slideMasterSpNode, name, type, warpOb
567
567
  path: d,
568
568
  }
569
569
  }
570
- if (shapType && type === 'obj') {
570
+ if (shapType && (type === 'obj' || !type)) {
571
571
  return {
572
572
  ...data,
573
573
  type: 'shape',