wallaby-cash 1.5.1 → 1.5.2

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
@@ -4929,11 +4929,12 @@ var StorageService = /** @class */ (function () {
4929
4929
 
4930
4930
  var Base = /** @class */ (function () {
4931
4931
  function Base(config) {
4932
+ var _a;
4932
4933
  this.apiKey = config.apiKey;
4933
4934
  this.baseUrl = config.baseUrl;
4934
4935
  this.userId = config.userId;
4935
4936
  this.jwt = config.jwt;
4936
- this.clientAuthToken = config.clientAuthToken;
4937
+ this.clientAuthToken = (_a = config.clientAuthToken) !== null && _a !== void 0 ? _a : config.jwt;
4937
4938
  this.options = config.options;
4938
4939
  }
4939
4940
  Object.defineProperty(Base.prototype, "deviceStorage", {