@prisma/adapter-mssql 6.13.0-dev.1 → 6.13.0-dev.3

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 CHANGED
@@ -365,16 +365,15 @@ var MssqlQueryable = class {
365
365
  throw new import_driver_adapter_utils2.DriverAdapterError(convertDriverError(error));
366
366
  }
367
367
  };
368
- var LOCK_TAG = Symbol();
369
368
  var MssqlTransaction = class extends MssqlQueryable {
370
369
  constructor(transaction, options) {
371
370
  super(transaction);
372
371
  this.transaction = transaction;
373
372
  this.options = options;
374
373
  }
375
- [LOCK_TAG] = new import_async_mutex.Mutex();
374
+ #mutex = new import_async_mutex.Mutex();
376
375
  async performIO(query) {
377
- const release = await this[LOCK_TAG].acquire();
376
+ const release = await this.#mutex.acquire();
378
377
  try {
379
378
  return await super.performIO(query);
380
379
  } catch (e) {
package/dist/index.mjs CHANGED
@@ -332,16 +332,15 @@ var MssqlQueryable = class {
332
332
  throw new DriverAdapterError2(convertDriverError(error));
333
333
  }
334
334
  };
335
- var LOCK_TAG = Symbol();
336
335
  var MssqlTransaction = class extends MssqlQueryable {
337
336
  constructor(transaction, options) {
338
337
  super(transaction);
339
338
  this.transaction = transaction;
340
339
  this.options = options;
341
340
  }
342
- [LOCK_TAG] = new Mutex();
341
+ #mutex = new Mutex();
343
342
  async performIO(query) {
344
- const release = await this[LOCK_TAG].acquire();
343
+ const release = await this.#mutex.acquire();
345
344
  try {
346
345
  return await super.performIO(query);
347
346
  } catch (e) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/adapter-mssql",
3
- "version": "6.13.0-dev.1",
3
+ "version": "6.13.0-dev.3",
4
4
  "description": "Prisma's driver adapter for \"mssql\"",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -33,7 +33,7 @@
33
33
  "dependencies": {
34
34
  "mssql": "^11.0.1",
35
35
  "async-mutex": "0.5.0",
36
- "@prisma/driver-adapter-utils": "6.13.0-dev.1"
36
+ "@prisma/driver-adapter-utils": "6.13.0-dev.3"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@types/mssql": "9.1.7",