@zebec-network/exchange-card-sdk 1.1.5 → 1.1.6

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.
@@ -66,4 +66,5 @@ export declare class StellarService {
66
66
  * @returns {Promise<string>} - A promise that resolves to the balance of the token.
67
67
  */
68
68
  getTokenBalance(wallet: string, asset: Asset): Promise<string>;
69
+ getAsset(assetCode: string, usdcIssuer: string): Promise<Asset>;
69
70
  }
@@ -196,5 +196,8 @@ class StellarService {
196
196
  return "0";
197
197
  }
198
198
  }
199
+ async getAsset(assetCode, usdcIssuer) {
200
+ return new stellar_sdk_1.Asset(assetCode, usdcIssuer);
201
+ }
199
202
  }
200
203
  exports.StellarService = StellarService;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zebec-network/exchange-card-sdk",
3
- "version": "1.1.5",
3
+ "version": "1.1.6",
4
4
  "description": "An sdk for purchasing silver card in zebec",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",