velocious 1.0.71 → 1.0.72

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/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "velocious": "bin/velocious.js"
4
4
  },
5
5
  "name": "velocious",
6
- "version": "1.0.71",
6
+ "version": "1.0.72",
7
7
  "main": "index.js",
8
8
  "scripts": {
9
9
  "test": "VELOCIOUS_TEST_DIR=../ cd spec/dummy && npx velocious test",
@@ -569,7 +569,7 @@ class VelociousDatabaseRecord {
569
569
  }
570
570
 
571
571
  static async transaction(callback) {
572
- const useTransactions = this.connection().getConfiguration().record?.transactions
572
+ const useTransactions = this.connection().getArgs().record?.transactions
573
573
 
574
574
  if (useTransactions !== false) {
575
575
  await this.connection().transaction(callback)