@riocrypto/common-server 1.0.1787 → 1.0.1789
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/clients/bridge-client.d.ts +2 -1
- package/build/models/chained-order.d.ts +2 -2
- package/build/models/chained-quote.d.ts +2 -2
- package/build/models/chained-quote.js +1 -1
- package/build/models/crypto-address.d.ts +2 -0
- package/build/models/crypto-address.js +3 -0
- package/build/models/quote.d.ts +2 -2
- package/build/models/quote.js +1 -1
- package/package.json +2 -2
|
@@ -193,8 +193,9 @@ declare class BridgeClient {
|
|
|
193
193
|
}): Promise<{
|
|
194
194
|
id: string;
|
|
195
195
|
bank_name: string;
|
|
196
|
-
|
|
196
|
+
account_owner_name: string;
|
|
197
197
|
last_4: string;
|
|
198
|
+
active: boolean;
|
|
198
199
|
}>;
|
|
199
200
|
}
|
|
200
201
|
export declare const buildBridgeClient: () => Promise<BridgeClient>;
|
|
@@ -23,7 +23,7 @@ interface ChainedOrderAttrs {
|
|
|
23
23
|
brokerId?: string;
|
|
24
24
|
notes?: string;
|
|
25
25
|
netPrice: number;
|
|
26
|
-
|
|
26
|
+
requestedNetPrice?: number;
|
|
27
27
|
markup?: number;
|
|
28
28
|
discount?: number;
|
|
29
29
|
expiredQuotes?: string[];
|
|
@@ -51,7 +51,7 @@ interface ChainedOrderDoc extends Document {
|
|
|
51
51
|
brokerId?: string;
|
|
52
52
|
notes?: string;
|
|
53
53
|
netPrice: number;
|
|
54
|
-
|
|
54
|
+
requestedNetPrice?: number;
|
|
55
55
|
markup?: number;
|
|
56
56
|
discount?: number;
|
|
57
57
|
expiredQuotes?: string[];
|
|
@@ -23,7 +23,7 @@ interface ChainedQuoteAttrs {
|
|
|
23
23
|
createdAt: Date;
|
|
24
24
|
brokerId?: string;
|
|
25
25
|
netPrice: number;
|
|
26
|
-
|
|
26
|
+
requestedNetPrice?: number;
|
|
27
27
|
staticAmountField: "origin" | "destination";
|
|
28
28
|
}
|
|
29
29
|
interface ChainedQuoteDoc extends Document {
|
|
@@ -49,7 +49,7 @@ interface ChainedQuoteDoc extends Document {
|
|
|
49
49
|
createdAt: Date;
|
|
50
50
|
brokerId?: string;
|
|
51
51
|
netPrice: number;
|
|
52
|
-
|
|
52
|
+
requestedNetPrice?: number;
|
|
53
53
|
staticAmountField: "origin" | "destination";
|
|
54
54
|
}
|
|
55
55
|
interface ChainedQuoteModel extends Model<ChainedQuoteDoc> {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { AddressVerificationStatus, Crypto } from "@riocrypto/common";
|
|
2
2
|
import mongoose from "mongoose";
|
|
3
3
|
interface CryptoAddressAttrs {
|
|
4
|
+
createdAt: Date;
|
|
4
5
|
userId: string;
|
|
5
6
|
crypto: Crypto;
|
|
6
7
|
address: string;
|
|
@@ -11,6 +12,7 @@ interface CryptoAddressAttrs {
|
|
|
11
12
|
advancedVerificationStatus?: AddressVerificationStatus;
|
|
12
13
|
}
|
|
13
14
|
interface CryptoAddressDoc extends mongoose.Document {
|
|
15
|
+
createdAt: Date;
|
|
14
16
|
userId: string;
|
|
15
17
|
crypto: Crypto;
|
|
16
18
|
address: string;
|
package/build/models/quote.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ interface QuoteAttrs {
|
|
|
31
31
|
isBid?: boolean;
|
|
32
32
|
isAfterHours?: boolean;
|
|
33
33
|
netPrice: number;
|
|
34
|
-
|
|
34
|
+
requestedNetPrice?: number;
|
|
35
35
|
}
|
|
36
36
|
interface QuoteDoc extends Document {
|
|
37
37
|
userId: string;
|
|
@@ -64,7 +64,7 @@ interface QuoteDoc extends Document {
|
|
|
64
64
|
isBid?: boolean;
|
|
65
65
|
isAfterHours?: boolean;
|
|
66
66
|
netPrice: number;
|
|
67
|
-
|
|
67
|
+
requestedNetPrice?: number;
|
|
68
68
|
}
|
|
69
69
|
interface QuoteModel extends Model<QuoteDoc> {
|
|
70
70
|
build(attrs: QuoteAttrs): QuoteDoc;
|
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.1789",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./build/index.js",
|
|
6
6
|
"types": "./build/index.d.ts",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@google-cloud/secret-manager": "^5.3.0",
|
|
27
27
|
"@google-cloud/storage": "^6.9.5",
|
|
28
28
|
"@hyperdx/node-opentelemetry": "^0.4.2",
|
|
29
|
-
"@riocrypto/common": "^1.0.
|
|
29
|
+
"@riocrypto/common": "^1.0.1592",
|
|
30
30
|
"@types/express": "^4.17.13",
|
|
31
31
|
"axios": "^1.6.0",
|
|
32
32
|
"crypto-js": "^4.2.0",
|