any-db-transaction
Advanced tools
Comparing version 2.1.1 to 2.1.2
{ | ||
"name": "any-db-transaction", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"description": "Transaction object for Any-DB adapters", | ||
@@ -5,0 +5,0 @@ "main": "transaction.js", |
@@ -42,7 +42,7 @@ var inherits = require('inherits') | ||
}) | ||
var release = pool.release.bind(pool, connection) | ||
tx.on('query', pool.emit.bind(pool, 'query')) | ||
var release = queryable.release.bind(queryable, conn) | ||
tx.on('query', queryable.emit.bind(queryable, 'query')) | ||
tx.once('rollback:complete', release) | ||
.once('commit:complete', release) | ||
.setConnection(connection) | ||
.setConnection(conn) | ||
}) | ||
@@ -49,0 +49,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24416