@prisma/cli-init 0.0.0-dev.202512221327 → 0.0.0-dev.202512221426

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2649,7 +2649,10 @@ function applyIdleTimeout(idleTimeout, db, PGLiteSocketHandlerConstructor) {
2649
2649
  const resetIdleTimeout = () => {
2650
2650
  clearIdleTimeout();
2651
2651
  idleTimeoutId = setTimeout(
2652
- () => this.detach(true),
2652
+ () => {
2653
+ this.dispatchEvent(new CustomEvent("close"));
2654
+ this.detach(true);
2655
+ },
2653
2656
  // @ts-expect-error shhhh!
2654
2657
  this.db.__IDLE_TIMEOUT__
2655
2658
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/cli-init",
3
- "version": "0.0.0-dev.202512221327",
3
+ "version": "0.0.0-dev.202512221426",
4
4
  "description": "Init CLI for Prisma",
5
5
  "type": "module",
6
6
  "sideEffects": false,