@riocrypto/common-server 1.0.597 → 1.0.599

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.
@@ -111,6 +111,10 @@ const buildOrder = (mongoose) => {
111
111
  },
112
112
  },
113
113
  });
114
+ orderSchema.pre("updateOne", function (next) {
115
+ console.log("Order updated: ", this.getFilter());
116
+ next();
117
+ });
114
118
  orderSchema.statics.build = (attrs) => {
115
119
  return new Order(attrs);
116
120
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.597",
3
+ "version": "1.0.599",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
@@ -23,7 +23,7 @@
23
23
  "dependencies": {
24
24
  "@aws-sdk/client-s3": "^3.297.0",
25
25
  "@google-cloud/storage": "^6.9.5",
26
- "@riocrypto/common": "^1.0.574",
26
+ "@riocrypto/common": "^1.0.576",
27
27
  "@types/express": "^4.17.13",
28
28
  "axios": "^0.27.2",
29
29
  "ccxt": "^3.0.30",