@riocrypto/common 1.0.2243 → 1.0.2245

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.
@@ -1,11 +1,14 @@
1
1
  import { Subjects } from "./subjects";
2
+ import { Crypto } from "../types/crypto";
2
3
  export interface AxeUpdatedEvent {
3
4
  subject: Subjects.AxeUpdated;
4
5
  data: {
5
6
  id: string;
6
7
  sendNotification?: boolean;
7
8
  takerUserId?: string;
8
- netPrice?: number;
9
+ netPrice?: {
10
+ [key in Crypto]: number;
11
+ };
9
12
  amount?: number;
10
13
  };
11
14
  }
@@ -2,6 +2,7 @@ import { AxeStatus } from "./axe-status";
2
2
  import { Country } from "./country";
3
3
  import { Fiat } from "./fiat";
4
4
  import { Side } from "./side";
5
+ import { Crypto } from "./crypto";
5
6
  export interface Axe {
6
7
  id: string;
7
8
  createdAt: Date;
@@ -11,7 +12,9 @@ export interface Axe {
11
12
  currency: Fiat;
12
13
  country: Country;
13
14
  totalAmount: number;
14
- netPrice: number;
15
+ netPrice: {
16
+ [key in Crypto]: number;
17
+ };
15
18
  amountConsumed: number;
16
19
  amountRemaining: number;
17
20
  status: AxeStatus;
@@ -36,5 +36,4 @@ export interface ImportOrderData {
36
36
  skipPushNotifications?: boolean;
37
37
  serviceFeeFiat?: number;
38
38
  serviceFeeFiatTax?: number;
39
- rioPayoutFireblocksVaultId?: string;
40
39
  }
@@ -137,7 +137,6 @@ export interface Order {
137
137
  };
138
138
  payoutTransferLimit?: number;
139
139
  paymentReceivedAt?: Date;
140
- rioPayoutFireblocksVaultId?: string;
141
140
  previousActiveStatus?: OrderStatus;
142
141
  version: number;
143
142
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.2243",
3
+ "version": "1.0.2245",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",