@riocrypto/common-server 1.0.2420 → 1.0.2421

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.
@@ -1,8 +1,7 @@
1
- import { Country, Fees, Fiat, LiquidityProvider, OrderStatus, PaymentMethod, PayoutMethod, Processor, Side, Crypto, OrderAttribute, DeferredPaymentType, TwoWaySettlementType, PriceType } from "@riocrypto/common";
1
+ import { Country, Fees, Fiat, LiquidityProvider, OrderStatus, PaymentMethod, PayoutMethod, Processor, Side, Crypto, OrderAttribute, DeferredPaymentType, TwoWaySettlementType } from "@riocrypto/common";
2
2
  import { Mongoose, Model, Document } from "mongoose";
3
3
  interface OrderAttrs {
4
4
  quoteId: string;
5
- priceType: PriceType;
6
5
  userId: string;
7
6
  crypto: Crypto;
8
7
  side: Side;
@@ -128,7 +127,6 @@ interface OrderAttrs {
128
127
  }
129
128
  interface OrderDoc extends Document {
130
129
  quoteId: string;
131
- priceType: PriceType;
132
130
  userId: string;
133
131
  status: OrderStatus;
134
132
  crypto: Crypto;
@@ -11,10 +11,6 @@ const buildOrder = (mongoose) => {
11
11
  quoteId: {
12
12
  type: String,
13
13
  },
14
- priceType: {
15
- type: String,
16
- required: true,
17
- },
18
14
  userId: {
19
15
  type: String,
20
16
  required: true,
@@ -1,8 +1,7 @@
1
- import { Country, Fees, Fiat, LiquidityProvider, PaymentMethod, PayoutMethod, Processor, Side, USState, Crypto, DeferredPaymentType, TwoWaySettlementType, PriceType } from "@riocrypto/common";
1
+ import { Country, Fees, Fiat, LiquidityProvider, PaymentMethod, PayoutMethod, Processor, Side, USState, Crypto, DeferredPaymentType, TwoWaySettlementType } from "@riocrypto/common";
2
2
  import { Mongoose, Model, Document } from "mongoose";
3
3
  interface QuoteAttrs {
4
4
  userId: string;
5
- priceType: PriceType;
6
5
  crypto: Crypto;
7
6
  side: Side;
8
7
  fiat: Fiat;
@@ -43,7 +42,6 @@ interface QuoteAttrs {
43
42
  }
44
43
  interface QuoteDoc extends Document {
45
44
  userId: string;
46
- priceType: PriceType;
47
45
  crypto: Crypto;
48
46
  side: Side;
49
47
  fiat: Fiat;
@@ -11,10 +11,6 @@ const buildQuote = (mongoose) => {
11
11
  type: String,
12
12
  required: true,
13
13
  },
14
- priceType: {
15
- type: String,
16
- required: true,
17
- },
18
14
  crypto: {
19
15
  type: String,
20
16
  required: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.2420",
3
+ "version": "1.0.2421",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
@@ -28,7 +28,7 @@
28
28
  "@google-cloud/secret-manager": "^5.3.0",
29
29
  "@google-cloud/storage": "^6.9.5",
30
30
  "@hyperdx/node-opentelemetry": "^0.7.0",
31
- "@riocrypto/common": "^1.0.2171",
31
+ "@riocrypto/common": "^1.0.2172",
32
32
  "@types/express": "^4.17.13",
33
33
  "axios": "^1.7.4",
34
34
  "crypto-js": "^4.2.0",