create-prisma-php-app 4.4.1 → 4.4.2

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.
@@ -974,8 +974,7 @@ final class Bootstrap extends RuntimeException
974
974
 
975
975
  private static function dispatchFunction(string $fn, mixed $args)
976
976
  {
977
- $attribute = self::getExposedAttribute($fn);
978
- if (!$attribute) {
977
+ if (!self::isFunctionAllowed($fn)) {
979
978
  return ['success' => false, 'error' => 'Function not callable from client'];
980
979
  }
981
980
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-prisma-php-app",
3
- "version": "4.4.1",
3
+ "version": "4.4.2",
4
4
  "description": "Prisma-PHP: A Revolutionary Library Bridging PHP with Prisma ORM",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",