@riocrypto/common-server 1.0.2720 → 1.0.2721

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.
@@ -64,6 +64,7 @@ const buildBulkCryptoPayment = (mongoose) => {
64
64
  },
65
65
  },
66
66
  });
67
+ BulkCryptoPaymentSchema.index({ "paymentsReceived.blockchainTxId": 1 }, { sparse: true });
67
68
  BulkCryptoPaymentSchema.statics.build = (attrs) => {
68
69
  return new BulkCryptoPayment(attrs);
69
70
  };
@@ -376,6 +376,7 @@ const buildOrder = (mongoose) => {
376
376
  orderSchema.index({ userId: 1, "TWAP.sessionId": 1, createdAt: 1 });
377
377
  orderSchema.index({ brokerId: 1, "TWAP.sessionId": 1, createdAt: 1 });
378
378
  orderSchema.index({ clientReferenceId: 1 }, { sparse: true });
379
+ orderSchema.index({ "paymentsReceived.blockchainTxId": 1 }, { sparse: true });
379
380
  orderSchema.statics.build = (attrs) => {
380
381
  return new Order(attrs);
381
382
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.2720",
3
+ "version": "1.0.2721",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",