@riocrypto/common-server 1.0.1787 → 1.0.1788

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.
@@ -23,7 +23,7 @@ interface ChainedOrderAttrs {
23
23
  brokerId?: string;
24
24
  notes?: string;
25
25
  netPrice: number;
26
- requestNetPrice?: number;
26
+ requestedNetPrice?: number;
27
27
  markup?: number;
28
28
  discount?: number;
29
29
  expiredQuotes?: string[];
@@ -51,7 +51,7 @@ interface ChainedOrderDoc extends Document {
51
51
  brokerId?: string;
52
52
  notes?: string;
53
53
  netPrice: number;
54
- requestNetPrice?: number;
54
+ requestedNetPrice?: number;
55
55
  markup?: number;
56
56
  discount?: number;
57
57
  expiredQuotes?: string[];
@@ -23,7 +23,7 @@ interface ChainedQuoteAttrs {
23
23
  createdAt: Date;
24
24
  brokerId?: string;
25
25
  netPrice: number;
26
- requestNetPrice?: number;
26
+ requestedNetPrice?: number;
27
27
  staticAmountField: "origin" | "destination";
28
28
  }
29
29
  interface ChainedQuoteDoc extends Document {
@@ -49,7 +49,7 @@ interface ChainedQuoteDoc extends Document {
49
49
  createdAt: Date;
50
50
  brokerId?: string;
51
51
  netPrice: number;
52
- requestNetPrice?: number;
52
+ requestedNetPrice?: number;
53
53
  staticAmountField: "origin" | "destination";
54
54
  }
55
55
  interface ChainedQuoteModel extends Model<ChainedQuoteDoc> {
@@ -96,7 +96,7 @@ const buildChainedQuote = (mongoose) => {
96
96
  netPrice: {
97
97
  type: Number,
98
98
  },
99
- requestNetPrice: {
99
+ requestedNetPrice: {
100
100
  type: Number,
101
101
  },
102
102
  }, {
@@ -31,7 +31,7 @@ interface QuoteAttrs {
31
31
  isBid?: boolean;
32
32
  isAfterHours?: boolean;
33
33
  netPrice: number;
34
- requestNetPrice?: number;
34
+ requestedNetPrice?: number;
35
35
  }
36
36
  interface QuoteDoc extends Document {
37
37
  userId: string;
@@ -64,7 +64,7 @@ interface QuoteDoc extends Document {
64
64
  isBid?: boolean;
65
65
  isAfterHours?: boolean;
66
66
  netPrice: number;
67
- requestNetPrice?: number;
67
+ requestedNetPrice?: number;
68
68
  }
69
69
  interface QuoteModel extends Model<QuoteDoc> {
70
70
  build(attrs: QuoteAttrs): QuoteDoc;
@@ -126,7 +126,7 @@ const buildQuote = (mongoose) => {
126
126
  netPrice: {
127
127
  type: Number,
128
128
  },
129
- requestNetPrice: {
129
+ requestedNetPrice: {
130
130
  type: Number,
131
131
  },
132
132
  }, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.1787",
3
+ "version": "1.0.1788",
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.1589",
29
+ "@riocrypto/common": "^1.0.1592",
30
30
  "@types/express": "^4.17.13",
31
31
  "axios": "^1.6.0",
32
32
  "crypto-js": "^4.2.0",