@riocrypto/common-server 1.0.2418 → 1.0.2420
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.
package/build/models/order.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { Country, Fees, Fiat, LiquidityProvider, OrderStatus, PaymentMethod, PayoutMethod, Processor, Side, Crypto, OrderAttribute, DeferredPaymentType, TwoWaySettlementType } from "@riocrypto/common";
|
|
1
|
+
import { Country, Fees, Fiat, LiquidityProvider, OrderStatus, PaymentMethod, PayoutMethod, Processor, Side, Crypto, OrderAttribute, DeferredPaymentType, TwoWaySettlementType, PriceType } from "@riocrypto/common";
|
|
2
2
|
import { Mongoose, Model, Document } from "mongoose";
|
|
3
3
|
interface OrderAttrs {
|
|
4
4
|
quoteId: string;
|
|
5
|
+
priceType: PriceType;
|
|
5
6
|
userId: string;
|
|
6
7
|
crypto: Crypto;
|
|
7
8
|
side: Side;
|
|
@@ -127,6 +128,7 @@ interface OrderAttrs {
|
|
|
127
128
|
}
|
|
128
129
|
interface OrderDoc extends Document {
|
|
129
130
|
quoteId: string;
|
|
131
|
+
priceType: PriceType;
|
|
130
132
|
userId: string;
|
|
131
133
|
status: OrderStatus;
|
|
132
134
|
crypto: Crypto;
|
package/build/models/order.js
CHANGED
package/build/models/quote.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { Country, Fees, Fiat, LiquidityProvider, PaymentMethod, PayoutMethod, Processor, Side, USState, Crypto, DeferredPaymentType, TwoWaySettlementType } from "@riocrypto/common";
|
|
1
|
+
import { Country, Fees, Fiat, LiquidityProvider, PaymentMethod, PayoutMethod, Processor, Side, USState, Crypto, DeferredPaymentType, TwoWaySettlementType, PriceType } from "@riocrypto/common";
|
|
2
2
|
import { Mongoose, Model, Document } from "mongoose";
|
|
3
3
|
interface QuoteAttrs {
|
|
4
4
|
userId: string;
|
|
5
|
+
priceType: PriceType;
|
|
5
6
|
crypto: Crypto;
|
|
6
7
|
side: Side;
|
|
7
8
|
fiat: Fiat;
|
|
@@ -42,6 +43,7 @@ interface QuoteAttrs {
|
|
|
42
43
|
}
|
|
43
44
|
interface QuoteDoc extends Document {
|
|
44
45
|
userId: string;
|
|
46
|
+
priceType: PriceType;
|
|
45
47
|
crypto: Crypto;
|
|
46
48
|
side: Side;
|
|
47
49
|
fiat: Fiat;
|
package/build/models/quote.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riocrypto/common-server",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2420",
|
|
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.
|
|
31
|
+
"@riocrypto/common": "^1.0.2171",
|
|
32
32
|
"@types/express": "^4.17.13",
|
|
33
33
|
"axios": "^1.7.4",
|
|
34
34
|
"crypto-js": "^4.2.0",
|