@riocrypto/common 1.0.2373 → 1.0.2375
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/events/emarkets-bot-status-updated-event.d.ts +8 -0
- package/build/events/emarkets-bot-status-updated-event.js +2 -0
- package/build/events/subjects.d.ts +3 -1
- package/build/events/subjects.js +2 -0
- package/build/events/transnetwork-bot-status-updated-event.d.ts +8 -0
- package/build/events/transnetwork-bot-status-updated-event.js +2 -0
- package/build/index.d.ts +4 -0
- package/build/index.js +4 -0
- package/build/types/emarkets-bot-status.d.ts +6 -0
- package/build/types/emarkets-bot-status.js +10 -0
- package/build/types/internal-transfer.d.ts +10 -3
- package/build/types/transnetwork-bot-status.d.ts +6 -0
- package/build/types/transnetwork-bot-status.js +10 -0
- package/package.json +1 -1
|
@@ -203,5 +203,7 @@ export declare enum Subjects {
|
|
|
203
203
|
BulkCryptoPaymentReset = "bulkCryptoPayment:reset",
|
|
204
204
|
AsyncBulkCryptoPayoutReset = "asyncBulkCryptoPayout:reset",
|
|
205
205
|
AsyncBulkCryptoPaymentReset = "asyncBulkCryptoPayment:reset",
|
|
206
|
-
TWAPSessionUpdated = "twapSession:updated"
|
|
206
|
+
TWAPSessionUpdated = "twapSession:updated",
|
|
207
|
+
EmarketsBotStatusUpdated = "emarketsBot:statusUpdated",
|
|
208
|
+
TransnetworkBotStatusUpdated = "transnetworkBot:statusUpdated"
|
|
207
209
|
}
|
package/build/events/subjects.js
CHANGED
|
@@ -208,4 +208,6 @@ var Subjects;
|
|
|
208
208
|
Subjects["AsyncBulkCryptoPayoutReset"] = "asyncBulkCryptoPayout:reset";
|
|
209
209
|
Subjects["AsyncBulkCryptoPaymentReset"] = "asyncBulkCryptoPayment:reset";
|
|
210
210
|
Subjects["TWAPSessionUpdated"] = "twapSession:updated";
|
|
211
|
+
Subjects["EmarketsBotStatusUpdated"] = "emarketsBot:statusUpdated";
|
|
212
|
+
Subjects["TransnetworkBotStatusUpdated"] = "transnetworkBot:statusUpdated";
|
|
211
213
|
})(Subjects = exports.Subjects || (exports.Subjects = {}));
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TransnetworkBotStatus } from "../types/transnetwork-bot-status";
|
|
2
|
+
import { Subjects } from "./subjects";
|
|
3
|
+
export interface TransnetworkBotStatusUpdatedEvent {
|
|
4
|
+
subject: Subjects.TransnetworkBotStatusUpdated;
|
|
5
|
+
data: {
|
|
6
|
+
status: TransnetworkBotStatus;
|
|
7
|
+
};
|
|
8
|
+
}
|
package/build/index.d.ts
CHANGED
|
@@ -236,6 +236,8 @@ export * from "./events/twap-session-updated-event";
|
|
|
236
236
|
export * from "./events/transnetwork-fx-trade-created-event";
|
|
237
237
|
export * from "./events/transnetwork-fx-trade-failed-event";
|
|
238
238
|
export * from "./events/transnetwork-fx-trade-completed-event";
|
|
239
|
+
export * from "./events/emarkets-bot-status-updated-event";
|
|
240
|
+
export * from "./events/transnetwork-bot-status-updated-event";
|
|
239
241
|
export * from "./types/auth-payload";
|
|
240
242
|
export * from "./types/admin-auth-payload";
|
|
241
243
|
export * from "./types/admin-auth";
|
|
@@ -421,6 +423,8 @@ export * from "./types/transnetwork-fx-trade";
|
|
|
421
423
|
export * from "./types/transnetwork-fx-trade-status";
|
|
422
424
|
export * from "./types/transnetwork-order-type";
|
|
423
425
|
export * from "./types/transnetwork-settlement-type";
|
|
426
|
+
export * from "./types/emarkets-bot-status";
|
|
427
|
+
export * from "./types/transnetwork-bot-status";
|
|
424
428
|
export * from "./classes/KYCFieldClass";
|
|
425
429
|
export * from "./classes/KYCFileClass";
|
|
426
430
|
export * from "./classes/CountryAsset";
|
package/build/index.js
CHANGED
|
@@ -252,6 +252,8 @@ __exportStar(require("./events/twap-session-updated-event"), exports);
|
|
|
252
252
|
__exportStar(require("./events/transnetwork-fx-trade-created-event"), exports);
|
|
253
253
|
__exportStar(require("./events/transnetwork-fx-trade-failed-event"), exports);
|
|
254
254
|
__exportStar(require("./events/transnetwork-fx-trade-completed-event"), exports);
|
|
255
|
+
__exportStar(require("./events/emarkets-bot-status-updated-event"), exports);
|
|
256
|
+
__exportStar(require("./events/transnetwork-bot-status-updated-event"), exports);
|
|
255
257
|
__exportStar(require("./types/auth-payload"), exports);
|
|
256
258
|
__exportStar(require("./types/admin-auth-payload"), exports);
|
|
257
259
|
__exportStar(require("./types/admin-auth"), exports);
|
|
@@ -437,6 +439,8 @@ __exportStar(require("./types/transnetwork-fx-trade"), exports);
|
|
|
437
439
|
__exportStar(require("./types/transnetwork-fx-trade-status"), exports);
|
|
438
440
|
__exportStar(require("./types/transnetwork-order-type"), exports);
|
|
439
441
|
__exportStar(require("./types/transnetwork-settlement-type"), exports);
|
|
442
|
+
__exportStar(require("./types/emarkets-bot-status"), exports);
|
|
443
|
+
__exportStar(require("./types/transnetwork-bot-status"), exports);
|
|
440
444
|
__exportStar(require("./classes/KYCFieldClass"), exports);
|
|
441
445
|
__exportStar(require("./classes/KYCFileClass"), exports);
|
|
442
446
|
__exportStar(require("./classes/CountryAsset"), exports);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EmarketsBotStatus = void 0;
|
|
4
|
+
var EmarketsBotStatus;
|
|
5
|
+
(function (EmarketsBotStatus) {
|
|
6
|
+
EmarketsBotStatus["Running"] = "running";
|
|
7
|
+
EmarketsBotStatus["ShutDown"] = "shutDown";
|
|
8
|
+
EmarketsBotStatus["ShuttingDown"] = "shuttingDown";
|
|
9
|
+
EmarketsBotStatus["StartingUp"] = "startingUp";
|
|
10
|
+
})(EmarketsBotStatus = exports.EmarketsBotStatus || (exports.EmarketsBotStatus = {}));
|
|
@@ -9,9 +9,16 @@ export interface InternalTransfer {
|
|
|
9
9
|
liquidityAutomationId?: string;
|
|
10
10
|
createdAt: Date;
|
|
11
11
|
transferType: InternalTransferType;
|
|
12
|
-
origin: TreasuryProvider;
|
|
13
|
-
destination: TreasuryProvider;
|
|
14
12
|
amount: number;
|
|
15
13
|
currency: Fiat | Crypto;
|
|
16
|
-
|
|
14
|
+
origin: {
|
|
15
|
+
provider: TreasuryProvider;
|
|
16
|
+
amountSent: number;
|
|
17
|
+
status: InternalTransferStatus;
|
|
18
|
+
};
|
|
19
|
+
destination: {
|
|
20
|
+
provider: TreasuryProvider;
|
|
21
|
+
amountReceived: number;
|
|
22
|
+
status: InternalTransferStatus;
|
|
23
|
+
};
|
|
17
24
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TransnetworkBotStatus = void 0;
|
|
4
|
+
var TransnetworkBotStatus;
|
|
5
|
+
(function (TransnetworkBotStatus) {
|
|
6
|
+
TransnetworkBotStatus["Running"] = "running";
|
|
7
|
+
TransnetworkBotStatus["ShutDown"] = "shutDown";
|
|
8
|
+
TransnetworkBotStatus["ShuttingDown"] = "shuttingDown";
|
|
9
|
+
TransnetworkBotStatus["StartingUp"] = "startingUp";
|
|
10
|
+
})(TransnetworkBotStatus = exports.TransnetworkBotStatus || (exports.TransnetworkBotStatus = {}));
|