wallaby-cash 2.2.10 → 2.2.11

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.10";
807
+ const currentPackageVersion = "2.2.11";
808
808
 
809
809
  /**
810
810
  * Storage keys adapter for Storage interface across different platforms.
@@ -7031,6 +7031,7 @@ function objectToQueryParams(obj) {
7031
7031
 
7032
7032
  class Base {
7033
7033
  constructor(config) {
7034
+ var _a;
7034
7035
  const sanitizedConfig = sanitizeConfig(config);
7035
7036
  this.apiKey = sanitizedConfig.apiKey;
7036
7037
  this.baseUrl = sanitizedConfig.baseUrl;
@@ -7080,10 +7081,7 @@ class Base {
7080
7081
  }
7081
7082
  };
7082
7083
  this.api = new Api(httpClient);
7083
- this.api.http.setSecurityData({
7084
- 'x-api-key': config.apiKey,
7085
- 'x-client-jwt': config.clientAuthToken,
7086
- });
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));
7087
7085
  }
7088
7086
  set setClientAuthToken(token) {
7089
7087
  this._initializeClientAuthToken(token);