@dnax/core 0.65.4 → 0.65.5

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.
@@ -2057,7 +2057,10 @@ class useRest {
2057
2057
  .dropIndex(indexName);
2058
2058
  }
2059
2059
 
2060
- startTransaction() {
2060
+ startTransaction(options?: { forceNew?: boolean }) {
2061
+ if (options?.forceNew) {
2062
+ this.#session = null;
2063
+ }
2061
2064
  if (!this.#session) {
2062
2065
  this.#session = this.#tenant.database.client?.startSession();
2063
2066
  this.#session?.startTransaction();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dnax/core",
3
- "version": "0.65.4",
3
+ "version": "0.65.5",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "bin": {