@riocrypto/common-server 1.0.1150 → 1.0.1152
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.
|
@@ -269,7 +269,8 @@ const buildBistoClient = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
|
269
269
|
throw new common_1.SecretManagerError();
|
|
270
270
|
}
|
|
271
271
|
const env = process.env.RIO_ENV === common_1.RioEnv.Production ||
|
|
272
|
-
process.env.RIO_ENV === common_1.RioEnv.Staging
|
|
272
|
+
process.env.RIO_ENV === common_1.RioEnv.Staging ||
|
|
273
|
+
process.env.RIO_ENV === common_1.RioEnv.Development
|
|
273
274
|
? "production"
|
|
274
275
|
: "sandbox";
|
|
275
276
|
return new BitsoClient(BITSO_API_KEY, BITSO_API_SECRET, env);
|
package/build/models/order.d.ts
CHANGED
|
@@ -40,6 +40,7 @@ interface OrderAttrs {
|
|
|
40
40
|
sourceUserId?: string;
|
|
41
41
|
amountFixed?: number;
|
|
42
42
|
exchangeRateOrders?: ExchangeRateOrder[];
|
|
43
|
+
autoFXDisabled?: boolean;
|
|
43
44
|
}
|
|
44
45
|
interface OrderDoc extends Document {
|
|
45
46
|
quoteId: string;
|
|
@@ -81,6 +82,7 @@ interface OrderDoc extends Document {
|
|
|
81
82
|
sourceUserId?: string;
|
|
82
83
|
amountFixed?: number;
|
|
83
84
|
exchangeRateOrders?: ExchangeRateOrder[];
|
|
85
|
+
autoFXDisabled?: boolean;
|
|
84
86
|
}
|
|
85
87
|
interface OrderModel extends Model<OrderDoc> {
|
|
86
88
|
build(attrs: OrderAttrs): OrderDoc;
|
package/build/models/order.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.1152",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./build/index.js",
|
|
6
6
|
"types": "./build/index.d.ts",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@aws-sdk/client-s3": "^3.297.0",
|
|
27
27
|
"@everapi/currencyapi-js": "^1.0.6",
|
|
28
28
|
"@google-cloud/storage": "^6.9.5",
|
|
29
|
-
"@riocrypto/common": "^1.0.
|
|
29
|
+
"@riocrypto/common": "^1.0.998",
|
|
30
30
|
"@types/express": "^4.17.13",
|
|
31
31
|
"axios": "^0.27.2",
|
|
32
32
|
"ccxt": "^3.0.30",
|