@riocrypto/common 1.0.1840 → 1.0.1841

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.
@@ -4,9 +4,12 @@ export interface AsyncCryptoPayoutCompletedEvent {
4
4
  subject: Subjects.AsyncCryptoPayoutCompleted;
5
5
  data: {
6
6
  orderId: string;
7
- amountCrypto: number;
8
- fireblocksTransferIds?: string[];
9
- blockchainTxIds?: string[];
7
+ amount: number;
10
8
  fees?: Fees;
9
+ payouts: {
10
+ amount: number;
11
+ blockchainTxId?: string;
12
+ fireblocksTransferId?: string;
13
+ }[];
11
14
  };
12
15
  }
@@ -4,9 +4,12 @@ export interface BankPayoutCompletedEvent {
4
4
  data: {
5
5
  orderId: string;
6
6
  fee?: number;
7
- SPEITrackingNumber?: string;
8
- SPIDTrackingNumber?: string;
9
- CEPLink?: string;
10
- reference?: string;
7
+ payouts: {
8
+ amount: number;
9
+ SPEITrackingNumber?: string;
10
+ SPIDTrackingNumber?: string;
11
+ CEPLink?: string;
12
+ reference?: string;
13
+ }[];
11
14
  };
12
15
  }
@@ -109,6 +109,8 @@ export interface Order {
109
109
  CEPLinks?: string[];
110
110
  references?: string[];
111
111
  bankPayoutId?: string;
112
+ fee?: number;
113
+ feeCurrency?: Crypto | Fiat;
112
114
  sentAt?: Date;
113
115
  }[];
114
116
  payoutTransferLimit?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.1840",
3
+ "version": "1.0.1841",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",