@riocrypto/common-server 1.0.1823 → 1.0.1825

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.
@@ -32,6 +32,7 @@ interface QuoteAttrs {
32
32
  isAfterHours?: boolean;
33
33
  netPrice: number;
34
34
  requestedNetPrice?: number;
35
+ settleBy?: Date;
35
36
  }
36
37
  interface QuoteDoc extends Document {
37
38
  userId: string;
@@ -65,6 +66,7 @@ interface QuoteDoc extends Document {
65
66
  isAfterHours?: boolean;
66
67
  netPrice: number;
67
68
  requestedNetPrice?: number;
69
+ settleBy?: Date;
68
70
  }
69
71
  interface QuoteModel extends Model<QuoteDoc> {
70
72
  build(attrs: QuoteAttrs): QuoteDoc;
@@ -129,6 +129,9 @@ const buildQuote = (mongoose) => {
129
129
  requestedNetPrice: {
130
130
  type: Number,
131
131
  },
132
+ settleBy: {
133
+ type: mongoose.Schema.Types.Date,
134
+ },
132
135
  }, {
133
136
  toJSON: {
134
137
  transform(doc, ret) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.1823",
3
+ "version": "1.0.1825",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
@@ -26,7 +26,7 @@
26
26
  "@google-cloud/secret-manager": "^5.3.0",
27
27
  "@google-cloud/storage": "^6.9.5",
28
28
  "@hyperdx/node-opentelemetry": "^0.4.2",
29
- "@riocrypto/common": "^1.0.1624",
29
+ "@riocrypto/common": "^1.0.1629",
30
30
  "@types/express": "^4.17.13",
31
31
  "axios": "^1.6.0",
32
32
  "crypto-js": "^4.2.0",