@riocrypto/common-server 1.0.2651 → 1.0.2653

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.
@@ -18,6 +18,7 @@ interface BankAccountAttrs {
18
18
  availablePayoutAdvancesAmount?: number;
19
19
  email?: string;
20
20
  isBitsoBankAccount?: boolean;
21
+ doesAccountHolderNameMatch?: boolean;
21
22
  }
22
23
  interface BankAccountDoc extends Document {
23
24
  createdAt: Date;
@@ -37,6 +38,7 @@ interface BankAccountDoc extends Document {
37
38
  availablePayoutAdvancesAmount?: number;
38
39
  email?: string;
39
40
  isBitsoBankAccount?: boolean;
41
+ doesAccountHolderNameMatch?: boolean;
40
42
  }
41
43
  interface BankAccountModel extends Model<BankAccountDoc> {
42
44
  build(attrs: BankAccountAttrs): BankAccountDoc;
@@ -66,6 +66,9 @@ const buildBankAccount = (mongoose) => {
66
66
  isBitsoBankAccount: {
67
67
  type: Boolean,
68
68
  },
69
+ doesAccountHolderNameMatch: {
70
+ type: Boolean,
71
+ },
69
72
  }, {
70
73
  toJSON: {
71
74
  transform(doc, ret) {
@@ -16,6 +16,7 @@ interface FXTradeAttrs {
16
16
  provider: FXProvider;
17
17
  price: number;
18
18
  matchedTradeId?: string;
19
+ providerOrderId?: string;
19
20
  }[];
20
21
  isRunning?: boolean;
21
22
  status: FXTradeStatus;
@@ -37,6 +38,7 @@ interface FXTradeDoc extends Document {
37
38
  provider: FXProvider;
38
39
  price: number;
39
40
  matchedTradeId?: string;
41
+ providerOrderId?: string;
40
42
  }[];
41
43
  status: FXTradeStatus;
42
44
  isRunning?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.2651",
3
+ "version": "1.0.2653",
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.2458",
31
+ "@riocrypto/common": "^1.0.2463",
32
32
  "@types/express": "^4.17.13",
33
33
  "axios": "^1.7.4",
34
34
  "crypto-js": "^4.2.0",