create-prisma-php-app 4.2.0 → 4.2.1

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.
@@ -242,7 +242,7 @@ class Auth
242
242
  $token = $nonce . '.' . $signature;
243
243
 
244
244
  if (!headers_sent()) {
245
- setcookie('pp_csrf', $token, [
245
+ setcookie('prisma_php_csrf', $token, [
246
246
  'expires' => time() + 3600, // 1 hour validity
247
247
  'path' => '/',
248
248
  'secure' => true,
@@ -251,7 +251,7 @@ class Auth
251
251
  ]);
252
252
  }
253
253
 
254
- $_COOKIE['pp_csrf'] = $token;
254
+ $_COOKIE['prisma_php_csrf'] = $token;
255
255
  }
256
256
 
257
257
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-prisma-php-app",
3
- "version": "4.2.0",
3
+ "version": "4.2.1",
4
4
  "description": "Prisma-PHP: A Revolutionary Library Bridging PHP with Prisma ORM",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",