wallaby-cash 2.3.4 → 2.3.5

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/dist/index.esm.js CHANGED
@@ -570,7 +570,7 @@ const MASTER_ENCRYPTION_KEY = '9fa9d3f3c77c20d3a50a08e5299644be29f6e6206ef3479fe
570
570
  { type: 'public-key', alg: PublicKeyCredentialAlgorithm.ES256 },
571
571
  ];
572
572
  const isWeb = typeof window !== 'undefined' && typeof document !== 'undefined';
573
- const currentPackageVersion = "2.3.4" ;
573
+ const currentPackageVersion = "2.3.5" ;
574
574
 
575
575
  /**
576
576
  * Storage keys adapter for Storage interface across different platforms.
@@ -10484,9 +10484,9 @@ class WalletDataService extends Base {
10484
10484
  * @param { BlockchainName } chainName the chain name enum. i.e. 'ETHEREUM', 'BITCOIN'
10485
10485
  * @returns { TokenBalance } Balance of the token
10486
10486
  */
10487
- async getTokenBalance({ address, symbol, tokenStandard, chainName }) {
10487
+ async getTokenBalance({ address, assetSymbol, tokenStandard, chainName }) {
10488
10488
  try {
10489
- if (!address || !symbol || (!chainName && !tokenStandard)) {
10489
+ if (!address || !assetSymbol || (!chainName && !tokenStandard)) {
10490
10490
  throw new WallabyError({
10491
10491
  message: 'Missing required parameters',
10492
10492
  statusCode: 400,
@@ -10494,7 +10494,7 @@ class WalletDataService extends Base {
10494
10494
  });
10495
10495
  }
10496
10496
  const response = await this.request(WalletRoutes.getTokenBalance, {
10497
- payload: { address, symbol, chainName, tokenStandard },
10497
+ payload: { address, assetSymbol, chainName, tokenStandard },
10498
10498
  });
10499
10499
  return response;
10500
10500
  }