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.cjs.js CHANGED
@@ -804,7 +804,7 @@ const MASTER_ENCRYPTION_KEY = '9fa9d3f3c77c20d3a50a08e5299644be29f6e6206ef3479fe
804
804
  { type: 'public-key', alg: exports.PublicKeyCredentialAlgorithm.ES256 },
805
805
  ];
806
806
  const isWeb = typeof window !== 'undefined' && typeof document !== 'undefined';
807
- const currentPackageVersion = "2.2.11";
807
+ const currentPackageVersion = "2.2.12";
808
808
 
809
809
  /**
810
810
  * Storage keys adapter for Storage interface across different platforms.
@@ -7031,7 +7031,6 @@ function objectToQueryParams(obj) {
7031
7031
 
7032
7032
  class Base {
7033
7033
  constructor(config) {
7034
- var _a;
7035
7034
  const sanitizedConfig = sanitizeConfig(config);
7036
7035
  this.apiKey = sanitizedConfig.apiKey;
7037
7036
  this.baseUrl = sanitizedConfig.baseUrl;
@@ -7081,7 +7080,10 @@ class Base {
7081
7080
  }
7082
7081
  };
7083
7082
  this.api = new Api(httpClient);
7084
- 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));
7083
+ this.api.http.setSecurityData({
7084
+ 'x-api-key': config.apiKey,
7085
+ 'x-client-jwt': config.clientAuthToken,
7086
+ });
7085
7087
  }
7086
7088
  set setClientAuthToken(token) {
7087
7089
  this._initializeClientAuthToken(token);
@@ -10448,7 +10450,7 @@ class WalletDataService extends Base {
10448
10450
  * @param { string } address Wallet address
10449
10451
  * @param { string } symbol Token symbol
10450
10452
  * @param { BlockchainName } chainName the chain name enum. i.e. 'ETHEREUM', 'BITCOIN'
10451
- * @returns { TokenBalanceResponse } The wallet has been created successfully
10453
+ * @returns { TokenBalance } The wallet has been created successfully
10452
10454
  */
10453
10455
  async getTokenBalance({ address, symbol, tokenStandard, chainName }) {
10454
10456
  try {