wallaby-cash 2.2.11 → 2.2.12

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.js CHANGED
@@ -777,7 +777,7 @@ const MASTER_ENCRYPTION_KEY = '9fa9d3f3c77c20d3a50a08e5299644be29f6e6206ef3479fe
777
777
  { type: 'public-key', alg: PublicKeyCredentialAlgorithm.ES256 },
778
778
  ];
779
779
  const isWeb = typeof window !== 'undefined' && typeof document !== 'undefined';
780
- const currentPackageVersion = "2.2.11";
780
+ const currentPackageVersion = "2.2.12";
781
781
 
782
782
  /**
783
783
  * Storage keys adapter for Storage interface across different platforms.
@@ -7004,7 +7004,6 @@ function objectToQueryParams(obj) {
7004
7004
 
7005
7005
  class Base {
7006
7006
  constructor(config) {
7007
- var _a;
7008
7007
  const sanitizedConfig = sanitizeConfig(config);
7009
7008
  this.apiKey = sanitizedConfig.apiKey;
7010
7009
  this.baseUrl = sanitizedConfig.baseUrl;
@@ -7054,7 +7053,10 @@ class Base {
7054
7053
  }
7055
7054
  };
7056
7055
  this.api = new Api(httpClient);
7057
- this.api.http.setSecurityData(Object.assign({ 'x-api-key': config.apiKey, 'x-client-jwt': config.clientAuthToken }, (_a = this.options) === null || _a === void 0 ? void 0 : _a.headers));
7056
+ this.api.http.setSecurityData({
7057
+ 'x-api-key': config.apiKey,
7058
+ 'x-client-jwt': config.clientAuthToken,
7059
+ });
7058
7060
  }
7059
7061
  set setClientAuthToken(token) {
7060
7062
  this._initializeClientAuthToken(token);
@@ -10421,7 +10423,7 @@ class WalletDataService extends Base {
10421
10423
  * @param { string } address Wallet address
10422
10424
  * @param { string } symbol Token symbol
10423
10425
  * @param { BlockchainName } chainName the chain name enum. i.e. 'ETHEREUM', 'BITCOIN'
10424
- * @returns { TokenBalanceResponse } The wallet has been created successfully
10426
+ * @returns { TokenBalance } The wallet has been created successfully
10425
10427
  */
10426
10428
  async getTokenBalance({ address, symbol, tokenStandard, chainName }) {
10427
10429
  try {