create-prisma-php-app 1.15.38 → 1.16.0

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.
@@ -536,10 +536,13 @@ try {
536
536
 
537
537
  if (!$_isContentIncluded && !$_isChildContentIncluded) {
538
538
  $content .= $childContent;
539
- if ($isWire && !isset($data['secondRequestC69CD']))
540
- wireCallback();
541
539
  ob_start();
542
540
  require_once APP_PATH . '/layout.php';
541
+
542
+ if ($isWire && !isset($data['secondRequestC69CD'])) {
543
+ ob_end_clean();
544
+ wireCallback();
545
+ }
543
546
  } else {
544
547
  if ($_isContentIncluded) {
545
548
  $content .= "<div class='error'>The parent layout file does not contain &lt;?php echo \$content; ?&gt; Or &lt;?= \$content ?&gt;<br>" . "<strong>$_parentLayoutPath</strong></div>";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-prisma-php-app",
3
- "version": "1.15.38",
3
+ "version": "1.16.0",
4
4
  "description": "Prisma-PHP: A Revolutionary Library Bridging PHP with Prisma ORM",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",