@riocrypto/common 1.0.1890 → 1.0.1893
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/classes/CryptoAsset.d.ts +3 -3
- package/build/classes/CryptoAsset.js +2 -2
- package/build/index.d.ts +2 -0
- package/build/index.js +2 -0
- package/build/types/CEP-status.d.ts +5 -0
- package/build/types/CEP-status.js +9 -0
- package/build/types/CEP.d.ts +14 -0
- package/build/types/CEP.js +2 -0
- package/build/types/crypto.d.ts +2 -1
- package/build/types/crypto.js +1 -0
- package/package.json +1 -1
|
@@ -4,8 +4,8 @@ export declare class CryptoAsset extends Asset {
|
|
|
4
4
|
rawSymbol: Crypto;
|
|
5
5
|
constructor(rawSymbol: Crypto);
|
|
6
6
|
getImageUri(): string;
|
|
7
|
-
getName(): "Bitcoin" | "Ethereum" | "USDC (Ethereum)" | "USDC (Polygon)" | "USDC (Bridged to Polygon)" | "USDC (Solana)" | "USDT (Polygon)" | "USDT (Ethereum)" | "USDT (Tron)" | "Tron" | "Solana";
|
|
8
|
-
getSymbol(): Crypto.SOL | Crypto.TRON | "USDC (Ethereum)" | "USDC (Polygon)" | "USDC (Bridged to Polygon)" | "USDC (Solana)" | "USDT (Polygon)" | "USDT (Ethereum)" | "USDT (Tron)" | "BTC" | "ETH";
|
|
9
|
-
getGasSymbol(): Crypto.SOL | Crypto.TRON | "BTC" | "ETH" | "MATIC" | "TRX" | "SOL";
|
|
7
|
+
getName(): "Bitcoin" | "Ethereum" | "USDC (Ethereum)" | "USDC (Polygon)" | "USDC (Bridged to Polygon)" | "USDC (Solana)" | "USDT (Polygon)" | "USDT (Ethereum)" | "USDT (Tron)" | "Tron" | "Solana" | "Polygon";
|
|
8
|
+
getSymbol(): Crypto.SOL | Crypto.TRON | Crypto.POL | "USDC (Ethereum)" | "USDC (Polygon)" | "USDC (Bridged to Polygon)" | "USDC (Solana)" | "USDT (Polygon)" | "USDT (Ethereum)" | "USDT (Tron)" | "BTC" | "ETH";
|
|
9
|
+
getGasSymbol(): Crypto.SOL | Crypto.TRON | Crypto.POL | "BTC" | "ETH" | "MATIC" | "TRX" | "SOL";
|
|
10
10
|
getDescription(): string;
|
|
11
11
|
}
|
|
@@ -80,8 +80,8 @@ class CryptoAsset extends Asset_1.Asset {
|
|
|
80
80
|
else if (this.rawSymbol === crypto_1.Crypto.SOL) {
|
|
81
81
|
return "Solana";
|
|
82
82
|
}
|
|
83
|
-
else if (this.rawSymbol === crypto_1.Crypto.
|
|
84
|
-
return "
|
|
83
|
+
else if (this.rawSymbol === crypto_1.Crypto.POL) {
|
|
84
|
+
return "Polygon";
|
|
85
85
|
}
|
|
86
86
|
else {
|
|
87
87
|
return this.rawSymbol;
|
package/build/index.d.ts
CHANGED
|
@@ -324,6 +324,8 @@ export * from "./types/arbitrage-trade-type";
|
|
|
324
324
|
export * from "./types/pre-settlement-transaction";
|
|
325
325
|
export * from "./types/pre-settlement-transaction-type";
|
|
326
326
|
export * from "./types/currency-with-country";
|
|
327
|
+
export * from "./types/CEP";
|
|
328
|
+
export * from "./types/CEP-status";
|
|
327
329
|
export * from "./classes/KYCFieldClass";
|
|
328
330
|
export * from "./classes/KYCFileClass";
|
|
329
331
|
export * from "./classes/CountryAsset";
|
package/build/index.js
CHANGED
|
@@ -340,6 +340,8 @@ __exportStar(require("./types/arbitrage-trade-type"), exports);
|
|
|
340
340
|
__exportStar(require("./types/pre-settlement-transaction"), exports);
|
|
341
341
|
__exportStar(require("./types/pre-settlement-transaction-type"), exports);
|
|
342
342
|
__exportStar(require("./types/currency-with-country"), exports);
|
|
343
|
+
__exportStar(require("./types/CEP"), exports);
|
|
344
|
+
__exportStar(require("./types/CEP-status"), exports);
|
|
343
345
|
__exportStar(require("./classes/KYCFieldClass"), exports);
|
|
344
346
|
__exportStar(require("./classes/KYCFileClass"), exports);
|
|
345
347
|
__exportStar(require("./classes/CountryAsset"), exports);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CEPStatus = void 0;
|
|
4
|
+
var CEPStatus;
|
|
5
|
+
(function (CEPStatus) {
|
|
6
|
+
CEPStatus["Pending"] = "pending";
|
|
7
|
+
CEPStatus["Generated"] = "generated";
|
|
8
|
+
CEPStatus["Failed"] = "failed";
|
|
9
|
+
})(CEPStatus = exports.CEPStatus || (exports.CEPStatus = {}));
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CEPStatus } from "./CEP-status";
|
|
2
|
+
export interface CEP {
|
|
3
|
+
id: string;
|
|
4
|
+
createdAt: Date;
|
|
5
|
+
orderId: string;
|
|
6
|
+
SPEITrackingNumber: string;
|
|
7
|
+
senderCLABE: string;
|
|
8
|
+
receiverCLABE: string;
|
|
9
|
+
amount: number;
|
|
10
|
+
date: string;
|
|
11
|
+
status: CEPStatus;
|
|
12
|
+
link?: string;
|
|
13
|
+
failedAttempts: number;
|
|
14
|
+
}
|
package/build/types/crypto.d.ts
CHANGED
package/build/types/crypto.js
CHANGED