@riocrypto/common 1.0.1677 → 1.0.1679
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.
package/build/index.d.ts
CHANGED
|
@@ -277,6 +277,8 @@ export * from "./types/settlement-time";
|
|
|
277
277
|
export * from "./types/dashboard-settings";
|
|
278
278
|
export * from "./types/blockchain";
|
|
279
279
|
export * from "./types/trading-market";
|
|
280
|
+
export * from "./types/async-fx-trade";
|
|
281
|
+
export * from "./types/async-fx-trade-status";
|
|
280
282
|
export * from "./classes/Asset";
|
|
281
283
|
export * from "./classes/KYCFieldClass";
|
|
282
284
|
export * from "./classes/KYCFileClass";
|
package/build/index.js
CHANGED
|
@@ -293,6 +293,8 @@ __exportStar(require("./types/settlement-time"), exports);
|
|
|
293
293
|
__exportStar(require("./types/dashboard-settings"), exports);
|
|
294
294
|
__exportStar(require("./types/blockchain"), exports);
|
|
295
295
|
__exportStar(require("./types/trading-market"), exports);
|
|
296
|
+
__exportStar(require("./types/async-fx-trade"), exports);
|
|
297
|
+
__exportStar(require("./types/async-fx-trade-status"), exports);
|
|
296
298
|
__exportStar(require("./classes/Asset"), exports);
|
|
297
299
|
__exportStar(require("./classes/KYCFieldClass"), exports);
|
|
298
300
|
__exportStar(require("./classes/KYCFileClass"), exports);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AsyncFXTradeStatus = void 0;
|
|
4
|
+
var AsyncFXTradeStatus;
|
|
5
|
+
(function (AsyncFXTradeStatus) {
|
|
6
|
+
AsyncFXTradeStatus["Running"] = "running";
|
|
7
|
+
AsyncFXTradeStatus["Completed"] = "completed";
|
|
8
|
+
AsyncFXTradeStatus["Failed"] = "failed";
|
|
9
|
+
})(AsyncFXTradeStatus = exports.AsyncFXTradeStatus || (exports.AsyncFXTradeStatus = {}));
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AsyncFXTradeStatus } from "./async-fx-trade-status";
|
|
2
|
+
import { Fiat } from "./fiat";
|
|
3
|
+
export interface AsyncFXTrade {
|
|
4
|
+
id: string;
|
|
5
|
+
createdAt: Date;
|
|
6
|
+
status: AsyncFXTradeStatus;
|
|
7
|
+
orderId: string;
|
|
8
|
+
fiat: Fiat;
|
|
9
|
+
amountToTrade: number;
|
|
10
|
+
amountReceived?: number;
|
|
11
|
+
actualPrice?: number;
|
|
12
|
+
limitPrice: number;
|
|
13
|
+
}
|