@riocrypto/common 1.0.809 → 1.0.811

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,8 +4,8 @@ export declare class CryptoAsset extends Asset {
4
4
  rawSymbol: Crypto;
5
5
  constructor(rawSymbol: Crypto);
6
6
  getImageUri(): string;
7
- getName(): Crypto.SOL | "Bitcoin" | "Ethereum" | "USDC (Ethereum)" | "USDC (Polygon)" | "USDC (Solana)" | "USDT (Polygon)" | "USDT (Ethereum)" | "USDT (Tron)";
8
- getSymbol(): Crypto.SOL | "USDC (Ethereum)" | "USDC (Polygon)" | "USDC (Solana)" | "USDT (Polygon)" | "USDT (Ethereum)" | "USDT (Tron)" | "BTC" | "ETH";
9
- getGasSymbol(): Crypto.SOL | "BTC" | "ETH" | "MATIC" | "TRX" | "SOL";
7
+ getName(): Crypto.SOL | Crypto.TRON | "Bitcoin" | "Ethereum" | "USDC (Ethereum)" | "USDC (Polygon)" | "USDC (Solana)" | "USDT (Polygon)" | "USDT (Ethereum)" | "USDT (Tron)";
8
+ getSymbol(): Crypto.SOL | Crypto.TRON | "USDC (Ethereum)" | "USDC (Polygon)" | "USDC (Solana)" | "USDT (Polygon)" | "USDT (Ethereum)" | "USDT (Tron)" | "BTC" | "ETH";
9
+ getGasSymbol(): Crypto.SOL | Crypto.TRON | "BTC" | "ETH" | "MATIC" | "SOL";
10
10
  getDescription(): string;
11
11
  }
@@ -112,7 +112,7 @@ class CryptoAsset extends Asset_1.Asset {
112
112
  return "MATIC";
113
113
  }
114
114
  else if (this.rawSymbol === crypto_1.Crypto.USDTTron) {
115
- return "TRX";
115
+ return "MATIC";
116
116
  }
117
117
  else if (this.rawSymbol === crypto_1.Crypto.USDCSolana) {
118
118
  return "SOL";
@@ -7,5 +7,6 @@ export declare enum Crypto {
7
7
  USDTPolygon = "USDT_POLYGON",
8
8
  USDTEthereum = "USDT_ERC20",
9
9
  USDTTron = "TRX_USDT_S2UZ",
10
- SOL = "SOL"
10
+ SOL = "SOL",
11
+ TRON = "TRX"
11
12
  }
@@ -14,6 +14,7 @@ var Crypto;
14
14
  Crypto["USDTEthereum"] = "USDT_ERC20";
15
15
  Crypto["USDTTron"] = "TRX_USDT_S2UZ";
16
16
  Crypto["SOL"] = "SOL";
17
+ Crypto["TRON"] = "TRX";
17
18
  // XLM = "XLM",
18
19
  // sUSDC = "sUSDC",
19
20
  // AVAX = "AVAX",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.809",
3
+ "version": "1.0.811",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",