@riocrypto/common-server 1.0.2320 → 1.0.2323
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.
|
@@ -11,7 +11,7 @@ interface FireblocksTransferAttrs {
|
|
|
11
11
|
partsCompleted?: number;
|
|
12
12
|
fireblocksTransfers: {
|
|
13
13
|
id: string;
|
|
14
|
-
status: "initiated" | "completed";
|
|
14
|
+
status: "initiated" | "completed" | "failed";
|
|
15
15
|
}[];
|
|
16
16
|
netAmountTransfered?: number;
|
|
17
17
|
}
|
|
@@ -27,7 +27,7 @@ interface FireblocksTransferDoc extends mongoose.Document {
|
|
|
27
27
|
partsCompleted?: number;
|
|
28
28
|
fireblocksTransfers: {
|
|
29
29
|
id: string;
|
|
30
|
-
status: "initiated" | "completed";
|
|
30
|
+
status: "initiated" | "completed" | "failed";
|
|
31
31
|
}[];
|
|
32
32
|
netAmountTransfered?: number;
|
|
33
33
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Country, Fiat, FXProvider, Side } from "@riocrypto/common";
|
|
1
|
+
import { Country, Fiat, FXProvider, Processor, Side } from "@riocrypto/common";
|
|
2
2
|
import mongoose from "mongoose";
|
|
3
3
|
interface RioSettingsAttrs {
|
|
4
4
|
platformFee: number;
|
|
@@ -49,6 +49,9 @@ interface RioSettingsAttrs {
|
|
|
49
49
|
};
|
|
50
50
|
};
|
|
51
51
|
fxExecutionThreshold: number;
|
|
52
|
+
activeFiatPaymentProcessors: {
|
|
53
|
+
[key in Side]: Processor[];
|
|
54
|
+
};
|
|
52
55
|
}
|
|
53
56
|
interface RioSettingsDoc extends mongoose.Document {
|
|
54
57
|
platformFee: number;
|
|
@@ -99,6 +102,9 @@ interface RioSettingsDoc extends mongoose.Document {
|
|
|
99
102
|
};
|
|
100
103
|
};
|
|
101
104
|
fxExecutionThreshold: number;
|
|
105
|
+
activeFiatPaymentProcessors: {
|
|
106
|
+
[key in Side]: Processor[];
|
|
107
|
+
};
|
|
102
108
|
}
|
|
103
109
|
interface RioSettingsModel extends mongoose.Model<RioSettingsDoc> {
|
|
104
110
|
build(attrs: RioSettingsAttrs): RioSettingsDoc;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riocrypto/common-server",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2323",
|
|
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.2035",
|
|
32
32
|
"@types/express": "^4.17.13",
|
|
33
33
|
"axios": "^1.7.4",
|
|
34
34
|
"crypto-js": "^4.2.0",
|