@riocrypto/common-server 1.0.1868 → 1.0.1869

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.
@@ -294,10 +294,13 @@ const buildOrder = (mongoose) => {
294
294
  orderSchema.index({ userId: 1, createdAt: 1 });
295
295
  orderSchema.index({ userId: 1, createdAt: 1, country: 1 });
296
296
  orderSchema.index({ userId: 1, createdAt: 1, side: 1 });
297
+ orderSchema.index({ status: 1 });
298
+ orderSchema.index({ userId: 1, createdAt: 1, side: 1, status: 1 });
297
299
  orderSchema.index({ brokerId: 1 });
298
300
  orderSchema.index({ brokerId: 1, createdAt: 1 });
299
301
  orderSchema.index({ brokerId: 1, createdAt: 1, country: 1 });
300
302
  orderSchema.index({ brokerId: 1, createdAt: 1, side: 1 });
303
+ orderSchema.index({ brokerId: 1, createdAt: 1, side: 1, status: 1 });
301
304
  orderSchema.statics.build = (attrs) => {
302
305
  return new Order(attrs);
303
306
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.1868",
3
+ "version": "1.0.1869",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",