@riocrypto/common-server 1.0.2436 → 1.0.2437
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.
|
@@ -17,6 +17,7 @@ const sanitizeOrderDoc = (doc) => {
|
|
|
17
17
|
delete obj.discount;
|
|
18
18
|
delete obj.markup;
|
|
19
19
|
delete obj.rioPayoutFireblocksVaultId;
|
|
20
|
+
delete obj.previousActiveStatus;
|
|
20
21
|
if (((_a = obj.payoutsSent) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
|
21
22
|
obj.payoutsSent = obj.payoutsSent.map((payout) => {
|
|
22
23
|
if (payout.fireblocksTransferId) {
|
package/build/models/order.d.ts
CHANGED
|
@@ -130,6 +130,7 @@ interface OrderAttrs {
|
|
|
130
130
|
serviceFeeFiat?: number;
|
|
131
131
|
serviceFeeFiatTax?: number;
|
|
132
132
|
};
|
|
133
|
+
previousActiveStatus?: OrderStatus;
|
|
133
134
|
}
|
|
134
135
|
interface OrderDoc extends Document {
|
|
135
136
|
quoteId: string;
|
|
@@ -260,6 +261,7 @@ interface OrderDoc extends Document {
|
|
|
260
261
|
serviceFeeFiat?: number;
|
|
261
262
|
serviceFeeFiatTax?: number;
|
|
262
263
|
};
|
|
264
|
+
previousActiveStatus?: OrderStatus;
|
|
263
265
|
}
|
|
264
266
|
interface OrderModel extends Model<OrderDoc> {
|
|
265
267
|
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.2437",
|
|
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.2196",
|
|
32
32
|
"@types/express": "^4.17.13",
|
|
33
33
|
"axios": "^1.7.4",
|
|
34
34
|
"crypto-js": "^4.2.0",
|