@riocrypto/common 1.0.1821 → 1.0.1822

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.
@@ -10,5 +10,7 @@ export interface PreSettlementTransactionCreatedEvent {
10
10
  amount: number;
11
11
  currency: CurrencyWithCountry;
12
12
  orderId?: string;
13
+ bankAccountId?: string;
14
+ cryptoAddressId?: string;
13
15
  };
14
16
  }
@@ -17,4 +17,5 @@ export interface BankAccount {
17
17
  notes?: string;
18
18
  advancedVerificationStatus?: BankAccountVerificationStatus;
19
19
  bridgeExternalAccountId?: string;
20
+ preSettledAmountAvailable?: number;
20
21
  }
@@ -13,4 +13,5 @@ export interface CryptoAddress {
13
13
  advancedVerificationStatus?: AddressVerificationStatus;
14
14
  fireblocksExternalWalletId?: string;
15
15
  isFireblocksWhitelisted?: boolean;
16
+ preSettledAmountAvailable?: number;
16
17
  }
@@ -4,6 +4,8 @@ export interface PreSettlementTransaction {
4
4
  id: string;
5
5
  createdAt: Date;
6
6
  userId: string;
7
+ bankAccountId?: string;
8
+ cryptoAddressId?: string;
7
9
  type: PreSettlementTransactionType;
8
10
  amount: number;
9
11
  currency: CurrencyWithCountry;
@@ -7,7 +7,6 @@ import { UserType } from "./user-type";
7
7
  import { ImmigrationStatus } from "./immigration-status";
8
8
  import { Country } from "./country";
9
9
  import { Fiat } from "./fiat";
10
- import { CurrencyWithCountry } from "./currency-with-country";
11
10
  declare type IndividualUser = {
12
11
  id: string;
13
12
  individualData?: {
@@ -126,8 +125,5 @@ export declare type User = {
126
125
  sell?: number;
127
126
  };
128
127
  };
129
- preSettlementAmount?: {
130
- [currency in CurrencyWithCountry]?: number;
131
- };
132
128
  } & (UserType.Individual extends UserType ? IndividualUser : {}) & (UserType.Business extends UserType ? BusinessUser : {});
133
129
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.1821",
3
+ "version": "1.0.1822",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",