@riocrypto/common 1.0.2419 → 1.0.2422

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(): "Bitcoin" | "Ethereum" | "USDC (Ethereum)" | "USDC (Polygon)" | "USDC (Bridged to Polygon)" | "USDC (Solana)" | "USDC (Stellar)" | "USDT (Polygon)" | "USDT (Ethereum)" | "USDT (Tron)" | "Tron" | "Solana" | "Polygon";
8
- getSymbol(): Crypto.USDCStellar | 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.USDCStellar | Crypto.SOL | Crypto.TRON | Crypto.POL | "BTC" | "ETH" | "MATIC" | "TRX" | "SOL";
7
+ getName(): Crypto.XLM | "Bitcoin" | "Ethereum" | "USDC (Ethereum)" | "USDC (Polygon)" | "USDC (Bridged to Polygon)" | "USDC (Solana)" | "USDC (Stellar)" | "USDT (Polygon)" | "USDT (Ethereum)" | "USDT (Tron)" | "Tron" | "Solana" | "Polygon";
8
+ getSymbol(): Crypto.SOL | Crypto.TRON | Crypto.POL | Crypto.XLM | "USDC (Ethereum)" | "USDC (Polygon)" | "USDC (Bridged to Polygon)" | "USDC (Solana)" | "USDC (Stellar)" | "USDT (Polygon)" | "USDT (Ethereum)" | "USDT (Tron)" | "BTC" | "ETH";
9
+ getGasSymbol(): Crypto.SOL | Crypto.TRON | Crypto.POL | Crypto.XLM | "BTC" | "ETH" | "MATIC" | "TRX" | "SOL" | "XLM";
10
10
  getDescription(): string;
11
11
  }
@@ -109,6 +109,9 @@ class CryptoAsset extends Asset_1.Asset {
109
109
  else if (this.rawSymbol === crypto_1.Crypto.USDCSolana) {
110
110
  return "USDC (Solana)";
111
111
  }
112
+ else if (this.rawSymbol === crypto_1.Crypto.USDCStellar) {
113
+ return "USDC (Stellar)";
114
+ }
112
115
  else if (this.rawSymbol === crypto_1.Crypto.USDTPolygon) {
113
116
  return "USDT (Polygon)";
114
117
  }
@@ -141,6 +144,9 @@ class CryptoAsset extends Asset_1.Asset {
141
144
  else if (this.rawSymbol === crypto_1.Crypto.USDCSolana) {
142
145
  return "SOL";
143
146
  }
147
+ else if (this.rawSymbol === crypto_1.Crypto.USDCStellar) {
148
+ return "XLM";
149
+ }
144
150
  else if (this.rawSymbol === crypto_1.Crypto.USDC) {
145
151
  return "ETH";
146
152
  }
@@ -183,6 +189,9 @@ class CryptoAsset extends Asset_1.Asset {
183
189
  else if (this.rawSymbol === crypto_1.Crypto.USDCSolana) {
184
190
  return "USDC on the Solana chain.";
185
191
  }
192
+ else if (this.rawSymbol === crypto_1.Crypto.USDCStellar) {
193
+ return "USDC on the Stellar chain.";
194
+ }
186
195
  else if (this.rawSymbol === crypto_1.Crypto.USDTPolygon) {
187
196
  return "USDT on the Polygon chain.";
188
197
  }
@@ -11,5 +11,6 @@ export declare enum Crypto {
11
11
  USDTTron = "TRX_USDT_S2UZ",
12
12
  SOL = "SOL",
13
13
  TRON = "TRX",
14
- POL = "MATIC_POLYGON"
14
+ POL = "MATIC_POLYGON",
15
+ XLM = "XLM"
15
16
  }
@@ -16,4 +16,5 @@ var Crypto;
16
16
  Crypto["SOL"] = "SOL";
17
17
  Crypto["TRON"] = "TRX";
18
18
  Crypto["POL"] = "MATIC_POLYGON";
19
+ Crypto["XLM"] = "XLM";
19
20
  })(Crypto = exports.Crypto || (exports.Crypto = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.2419",
3
+ "version": "1.0.2422",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",