@riocrypto/common-server 1.0.2408 → 1.0.2410

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.
@@ -14,7 +14,7 @@ interface BankAccountAttrs {
14
14
  notes?: string;
15
15
  advancedVerificationStatus?: BankAccountVerificationStatus;
16
16
  bridgeExternalAccountId?: string;
17
- preSettledAmountAvailable?: number;
17
+ availablePayoutAdvanceAmount?: number;
18
18
  email?: string;
19
19
  isBitsoBankAccount?: boolean;
20
20
  }
@@ -32,7 +32,7 @@ interface BankAccountDoc extends Document {
32
32
  notes?: string;
33
33
  advancedVerificationStatus?: BankAccountVerificationStatus;
34
34
  bridgeExternalAccountId?: string;
35
- preSettledAmountAvailable?: number;
35
+ availablePayoutAdvanceAmount?: number;
36
36
  email?: string;
37
37
  isBitsoBankAccount?: boolean;
38
38
  }
@@ -54,7 +54,7 @@ const buildBankAccount = (mongoose) => {
54
54
  bridgeExternalAccountId: {
55
55
  type: String,
56
56
  },
57
- preSettledAmountAvailable: {
57
+ availablePayoutAdvanceAmount: {
58
58
  type: Number,
59
59
  },
60
60
  email: {
@@ -11,7 +11,7 @@ interface CryptoAddressAttrs {
11
11
  advancedVerificationStatus?: AddressVerificationStatus;
12
12
  fireblocksExternalWalletId?: string;
13
13
  isFireblocksWhitelisted?: boolean;
14
- preSettledAmountAvailable?: number;
14
+ availablePayoutAdvanceAmount?: number;
15
15
  }
16
16
  interface CryptoAddressDoc extends mongoose.Document {
17
17
  createdAt: Date;
@@ -24,7 +24,7 @@ interface CryptoAddressDoc extends mongoose.Document {
24
24
  advancedVerificationStatus?: AddressVerificationStatus;
25
25
  fireblocksExternalWalletId?: string;
26
26
  isFireblocksWhitelisted?: boolean;
27
- preSettledAmountAvailable?: number;
27
+ availablePayoutAdvanceAmount?: number;
28
28
  }
29
29
  interface CryptoAddressModel extends mongoose.Model<CryptoAddressDoc> {
30
30
  build(attrs: CryptoAddressAttrs): CryptoAddressDoc;
@@ -42,7 +42,7 @@ const buildCryptoAddress = (mongoose) => {
42
42
  isFireblocksWhitelisted: {
43
43
  type: Boolean,
44
44
  },
45
- preSettledAmountAvailable: {
45
+ availablePayoutAdvanceAmount: {
46
46
  type: Number,
47
47
  },
48
48
  }, {
@@ -9,9 +9,6 @@ interface RioSettingsAttrs {
9
9
  frozen: boolean;
10
10
  };
11
11
  };
12
- nextDaySettlementDateOffset: {
13
- [key: string]: number;
14
- };
15
12
  buyOrderNextDaySettlementFee: number;
16
13
  sellOrderNextDaySettlementFee: number;
17
14
  buyOrderAfterHoursExchangeRateMarkup: {
@@ -81,9 +78,6 @@ interface RioSettingsDoc extends mongoose.Document {
81
78
  frozen: boolean;
82
79
  };
83
80
  };
84
- nextDaySettlementDateOffset: {
85
- [key: string]: number;
86
- };
87
81
  buyOrderGeneralExchangeRateMarkup: {
88
82
  [key in Fiat]: number;
89
83
  };
@@ -27,9 +27,6 @@ const buildRioSettings = (mongoose) => {
27
27
  isAfterHours: {
28
28
  type: Object,
29
29
  },
30
- nextDaySettlementDateOffset: {
31
- type: Object,
32
- },
33
30
  buyOrderAfterHoursExchangeRateMarkup: {
34
31
  type: Object,
35
32
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.2408",
3
+ "version": "1.0.2410",
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.2141",
31
+ "@riocrypto/common": "^1.0.2146",
32
32
  "@types/express": "^4.17.13",
33
33
  "axios": "^1.7.4",
34
34
  "crypto-js": "^4.2.0",