@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.
- package/dist/index.js +4 -1
- 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
|
-
() =>
|
|
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
|
);
|