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.cjs.js CHANGED
@@ -597,7 +597,7 @@ const MASTER_ENCRYPTION_KEY = '9fa9d3f3c77c20d3a50a08e5299644be29f6e6206ef3479fe
597
597
  { type: 'public-key', alg: exports.PublicKeyCredentialAlgorithm.ES256 },
598
598
  ];
599
599
  const isWeb = typeof window !== 'undefined' && typeof document !== 'undefined';
600
- const currentPackageVersion = "2.3.4" ;
600
+ const currentPackageVersion = "2.3.5" ;
601
601
 
602
602
  /**
603
603
  * Storage keys adapter for Storage interface across different platforms.
@@ -10511,9 +10511,9 @@ class WalletDataService extends Base {
10511
10511
  * @param { BlockchainName } chainName the chain name enum. i.e. 'ETHEREUM', 'BITCOIN'
10512
10512
  * @returns { TokenBalance } Balance of the token
10513
10513
  */
10514
- async getTokenBalance({ address, symbol, tokenStandard, chainName }) {
10514
+ async getTokenBalance({ address, assetSymbol, tokenStandard, chainName }) {
10515
10515
  try {
10516
- if (!address || !symbol || (!chainName && !tokenStandard)) {
10516
+ if (!address || !assetSymbol || (!chainName && !tokenStandard)) {
10517
10517
  throw new WallabyError({
10518
10518
  message: 'Missing required parameters',
10519
10519
  statusCode: 400,
@@ -10521,7 +10521,7 @@ class WalletDataService extends Base {
10521
10521
  });
10522
10522
  }
10523
10523
  const response = await this.request(WalletRoutes.getTokenBalance, {
10524
- payload: { address, symbol, chainName, tokenStandard },
10524
+ payload: { address, assetSymbol, chainName, tokenStandard },
10525
10525
  });
10526
10526
  return response;
10527
10527
  }