@databases/shared
Advanced tools
Comparing version 1.0.0 to 2.0.0
@@ -23,3 +23,3 @@ "use strict"; | ||
this._factories = factories; | ||
this._lock = lock_1.getLock(driver.aquireLockTimeoutMilliseconds); | ||
this._lock = lock_1.getLock(driver.acquireLockTimeoutMilliseconds); | ||
} | ||
@@ -42,3 +42,3 @@ | ||
await this._lock.aquireLock(); | ||
await this._lock.acquireLock(); | ||
@@ -57,3 +57,3 @@ try { | ||
if (query.length === 0) return []; | ||
await this._lock.aquireLock(); | ||
await this._lock.acquireLock(); | ||
@@ -66,3 +66,3 @@ try { | ||
} else { | ||
await this._lock.aquireLock(); | ||
await this._lock.acquireLock(); | ||
@@ -80,3 +80,3 @@ try { | ||
await this._lock.aquireLock(); | ||
await this._lock.acquireLock(); | ||
@@ -83,0 +83,0 @@ try { |
@@ -23,3 +23,3 @@ "use strict"; | ||
this._factories = factories; | ||
this._lock = lock_1.getLock(driver.aquireLockTimeoutMilliseconds); | ||
this._lock = lock_1.getLock(driver.acquireLockTimeoutMilliseconds); | ||
} | ||
@@ -42,3 +42,3 @@ | ||
await this._lock.aquireLock(); | ||
await this._lock.acquireLock(); | ||
@@ -69,3 +69,3 @@ try { | ||
await this._lock.aquireLock(); | ||
await this._lock.acquireLock(); | ||
@@ -98,3 +98,3 @@ try { | ||
await this._lock.aquireLock(); | ||
await this._lock.acquireLock(); | ||
@@ -101,0 +101,0 @@ try { |
@@ -8,3 +8,3 @@ import type { SQLQuery } from '@databases/sql'; | ||
*/ | ||
readonly aquireLockTimeoutMilliseconds: number; | ||
readonly acquireLockTimeoutMilliseconds: number; | ||
beginTransaction(options: TTransactionOptions | undefined): Promise<void>; | ||
@@ -11,0 +11,0 @@ commitTransaction(): Promise<void>; |
{ | ||
"name": "@databases/shared", | ||
"version": "1.0.0", | ||
"version": "2.0.0", | ||
"description": "", | ||
@@ -9,3 +9,3 @@ "main": "./lib/index.js", | ||
"@databases/connection-pool": "^1.0.0", | ||
"@databases/lock": "^1.0.0", | ||
"@databases/lock": "^2.0.0", | ||
"@databases/queue": "^1.0.0", | ||
@@ -12,0 +12,0 @@ "@databases/split-sql-query": "^1.0.1", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
30872
+ Added@databases/lock@2.1.0(transitive)
- Removed@databases/lock@1.0.0(transitive)
Updated@databases/lock@^2.0.0