@dnax/core 0.1.11 → 0.1.12

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.
@@ -171,7 +171,7 @@ class useRest {
171
171
 
172
172
  result.docs = await this.#tenant.database.db
173
173
  ?.collection(collection)
174
- .aggregate(pipeline, {
174
+ .aggregate(formatData(pipeline), {
175
175
  allowDiskUse: true,
176
176
  })
177
177
  .toArray();
@@ -827,6 +827,7 @@ class useRest {
827
827
  {
828
828
  upsert: true,
829
829
  returnDocument: "after",
830
+
830
831
  session: this.#session ? this.#session : undefined,
831
832
  }
832
833
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dnax/core",
3
- "version": "0.1.11",
3
+ "version": "0.1.12",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "devDependencies": {