ywana-core8 0.0.449 → 0.0.450
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 +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +2 -2
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/ContentType.js +2 -2
package/dist/index.modern.js
CHANGED
@@ -1346,8 +1346,8 @@ var ContentType = /*#__PURE__*/function () {
|
|
1346
1346
|
break;
|
1347
1347
|
|
1348
1348
|
case TYPES.ENTITY:
|
1349
|
-
if (optional === true) console.log('OPTIONAL', field, entryData);
|
1350
|
-
if (optional === true && entryData
|
1349
|
+
if (optional === true) console.log('OPTIONAL', field, !entryData);
|
1350
|
+
if (optional === true && !entryData) break;
|
1351
1351
|
var child1 = new ContentType(item);
|
1352
1352
|
next[name] = child1.value(entryData);
|
1353
1353
|
break;
|