@dnax/core 0.63.1 → 0.63.2

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.
@@ -1305,6 +1305,9 @@ class useRest {
1305
1305
  $currentDate: {
1306
1306
  updatedAt: true,
1307
1307
  },
1308
+ $setOnInsert: {
1309
+ createdAt: new Date(),
1310
+ },
1308
1311
  },
1309
1312
  {
1310
1313
  upsert: options?.upsert ?? false,
@@ -1410,6 +1413,9 @@ class useRest {
1410
1413
  collection: collection,
1411
1414
  tenant_id: this.#tenant_id,
1412
1415
  }),
1416
+ $setOnInsert: {
1417
+ createdAt: new Date(),
1418
+ },
1413
1419
  $currentDate: {
1414
1420
  updatedAt: true,
1415
1421
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dnax/core",
3
- "version": "0.63.1",
3
+ "version": "0.63.2",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "bin": {