@riocrypto/common 1.0.535 → 1.0.536

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.
@@ -165,10 +165,10 @@ class CryptoAsset extends Asset_1.Asset {
165
165
  }
166
166
  }
167
167
  getDescription() {
168
- if (this.symbol === crypto_1.Crypto.BTC) {
169
- return "Bitcoin is a decentralized digital currency that can be transferred on the peer-to-peer bitcoin network.";
170
- }
171
- else if (this.symbol === crypto_1.Crypto.ETH) {
168
+ // if (this.symbol === Crypto.BTC) {
169
+ // return "Bitcoin is a decentralized digital currency that can be transferred on the peer-to-peer bitcoin network.";
170
+ // } else
171
+ if (this.symbol === crypto_1.Crypto.ETH) {
172
172
  return "Ethereum is a decentralized, open-source blockchain with smart contract functionality.";
173
173
  // } else if (this.symbol === Crypto.XLM) {
174
174
  // return "Stellar is an open source, decentralized protocol for digital currency to fiat money low-cost transfers which allows cross-border transactions between any pair of currencies.";
@@ -183,6 +183,9 @@ class CryptoAsset extends Asset_1.Asset {
183
183
  }
184
184
  else if (this.symbol === crypto_1.Crypto.USDC) {
185
185
  return "USD Coin is a digital stablecoin pegged to the United States dollar. USD Coin is managed by a consortium called Centre, which was founded by Circle and includes members from the cryptocurrency exchange Coinbase and Bitcoin mining company Bitmain, an investor in Circle.";
186
+ }
187
+ else if (this.symbol === crypto_1.Crypto.USDCPolygon) {
188
+ return "USDC on the Polygon chain.";
186
189
  // } else if (this.symbol === Crypto.mUSDC) {
187
190
  // return "USDC on the Polygon chain";
188
191
  // } else if (this.symbol === Crypto.USDT) {
@@ -52,7 +52,7 @@ export declare class RioClient {
52
52
  auth: Auth;
53
53
  missing: string[];
54
54
  }>;
55
- authHasSecurityQuestion(phoneNumber: string): Promise<Boolean>;
55
+ authHasSecurityQuestion(): Promise<Boolean>;
56
56
  signout(): Promise<void>;
57
57
  verifyPhoneCode(phoneNumber: string, code: string): Promise<void>;
58
58
  signin(password: string): Promise<{
@@ -143,7 +143,7 @@ class RioClient {
143
143
  return response.data;
144
144
  });
145
145
  }
146
- authHasSecurityQuestion(phoneNumber) {
146
+ authHasSecurityQuestion() {
147
147
  return __awaiter(this, void 0, void 0, function* () {
148
148
  const response = yield this.axios.get(`/api/auth?checkSecurityQuestion=true`);
149
149
  return response.data.hasSecurityQuestion;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.535",
3
+ "version": "1.0.536",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",