@riocrypto/common-server 1.0.2685 → 1.0.2688
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.
|
@@ -753,7 +753,7 @@ const buildClusterClient = () => __awaiter(void 0, void 0, void 0, function* ()
|
|
|
753
753
|
throw new common_1.SecretManagerError();
|
|
754
754
|
}
|
|
755
755
|
const baseUrl = process.env.RIO_ENV === common_1.RioEnv.Local
|
|
756
|
-
? "https://
|
|
756
|
+
? "https://app.local.rio.trade"
|
|
757
757
|
: process.env.RIO_ENV === common_1.RioEnv.Development
|
|
758
758
|
? "https://app.dev.rio.trade"
|
|
759
759
|
: process.env.RIO_ENV === common_1.RioEnv.Production
|
package/build/models/order.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ interface OrderAttrs {
|
|
|
26
26
|
wireMessage?: string;
|
|
27
27
|
parentOrderId?: string;
|
|
28
28
|
marketPrice: number;
|
|
29
|
+
marketPriceWithoutAssetPrice: number;
|
|
29
30
|
assetPriceInUSD: number;
|
|
30
31
|
actualAssetPriceInUSD?: number;
|
|
31
32
|
price?: number;
|
|
@@ -168,6 +169,7 @@ interface OrderDoc extends Document {
|
|
|
168
169
|
fees: Fees;
|
|
169
170
|
actualFees?: Fees;
|
|
170
171
|
marketPrice: number;
|
|
172
|
+
marketPriceWithoutAssetPrice: number;
|
|
171
173
|
assetPriceInUSD: number;
|
|
172
174
|
actualAssetPriceInUSD?: number;
|
|
173
175
|
price?: number;
|
package/build/models/order.js
CHANGED
package/build/models/quote.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ interface QuoteAttrs {
|
|
|
20
20
|
actualAssetPriceInUSD?: number;
|
|
21
21
|
price?: number;
|
|
22
22
|
marketPrice: number;
|
|
23
|
+
marketPriceWithoutAssetPrice: number;
|
|
23
24
|
createdAt: Date;
|
|
24
25
|
timeInForceStartsAt?: Date;
|
|
25
26
|
timeInForceEndsAt?: Date;
|
|
@@ -65,6 +66,7 @@ interface QuoteDoc extends Document {
|
|
|
65
66
|
fees: Fees;
|
|
66
67
|
price?: number;
|
|
67
68
|
marketPrice: number;
|
|
69
|
+
marketPriceWithoutAssetPrice: number;
|
|
68
70
|
assetPriceInUSD: number;
|
|
69
71
|
actualAssetPriceInUSD?: number;
|
|
70
72
|
quoteInCrypto: boolean;
|
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.2688",
|
|
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.2489",
|
|
32
32
|
"@types/express": "^4.17.13",
|
|
33
33
|
"axios": "^1.7.4",
|
|
34
34
|
"crypto-js": "^4.2.0",
|