@prisma/client-engine-runtime 6.4.0-dev.30 → 6.4.0-integration-fix-accelerate-engine-crash-policy.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.
- package/dist/index.d.mts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -3
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -319,7 +319,6 @@ export declare class TransactionManager {
|
|
|
319
319
|
rollbackTransaction(transactionId: string): Promise<void>;
|
|
320
320
|
getTransaction(txInfo: Tx.InteractiveTransactionInfo<unknown>, operation: string): Transaction;
|
|
321
321
|
private getActiveTransaction;
|
|
322
|
-
cancelAllTransactions(): Promise<void>;
|
|
323
322
|
private startTransactionTimeout;
|
|
324
323
|
private closeTransaction;
|
|
325
324
|
private validateOptions;
|
package/dist/index.d.ts
CHANGED
|
@@ -319,7 +319,6 @@ export declare class TransactionManager {
|
|
|
319
319
|
rollbackTransaction(transactionId: string): Promise<void>;
|
|
320
320
|
getTransaction(txInfo: Tx.InteractiveTransactionInfo<unknown>, operation: string): Transaction;
|
|
321
321
|
private getActiveTransaction;
|
|
322
|
-
cancelAllTransactions(): Promise<void>;
|
|
323
322
|
private startTransactionTimeout;
|
|
324
323
|
private closeTransaction;
|
|
325
324
|
private validateOptions;
|
package/dist/index.js
CHANGED
|
@@ -767,9 +767,6 @@ var TransactionManager = class {
|
|
|
767
767
|
}
|
|
768
768
|
return transaction;
|
|
769
769
|
}
|
|
770
|
-
async cancelAllTransactions() {
|
|
771
|
-
await Promise.allSettled([...this.transactions.values()].map((tx) => this.closeTransaction(tx, "rolled_back")));
|
|
772
|
-
}
|
|
773
770
|
startTransactionTimeout(transactionId, timeout) {
|
|
774
771
|
const timeoutStartedAt = Date.now();
|
|
775
772
|
return setTimeout(async () => {
|
package/package.json
CHANGED