@evergis/api 3.0.106 → 3.0.109

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.
@@ -4684,6 +4684,8 @@ let AccountService = /*#__PURE__*/function (_Service) {
4684
4684
  return AccountService;
4685
4685
  }(Service);
4686
4686
 
4687
+ const API_USER_INFO_KEY = '@evergis/user-info';
4688
+
4687
4689
  const getUserInfo = () => JSON.parse(localStorage.getItem(API_USER_INFO_KEY) || 'null') || void 0;
4688
4690
  const updateUserInfo = newUserInfo => {
4689
4691
  if (newUserInfo) {
@@ -4694,7 +4696,6 @@ const updateUserInfo = newUserInfo => {
4694
4696
  }
4695
4697
  };
4696
4698
 
4697
- const API_USER_INFO_KEY = '@evergis/user-info';
4698
4699
  let Account = /*#__PURE__*/function (_AccountService) {
4699
4700
  _inherits(Account, _AccountService);
4700
4701
 
@@ -4909,7 +4910,7 @@ let AccountPreview = /*#__PURE__*/function (_AccountPreviewServic) {
4909
4910
  value: async function fetchPreview1() {
4910
4911
  var _response$headers$get;
4911
4912
 
4912
- const url = this.getPreview("");
4913
+ const url = this.getPreview('');
4913
4914
  const response = await fetch(url);
4914
4915
  const profile_photo = (_response$headers$get = response.headers.get('content-type')) != null && _response$headers$get.includes('text/plain') ? await response.text() : url + "?r=" + Math.random();
4915
4916
  updateUserInfo({
@@ -6112,7 +6113,8 @@ let EvergisTileLayer = /*#__PURE__*/function (_TileLayer) {
6112
6113
  _classCallCheck(this, EvergisTileLayer);
6113
6114
 
6114
6115
  _this = _super.call(this, '', {
6115
- crs: configuration.crs
6116
+ crs: configuration.crs,
6117
+ opacity: configuration.opacity
6116
6118
  });
6117
6119
  _this.api = api;
6118
6120
  _this.name = configuration.name;
@@ -6674,7 +6676,6 @@ Object.defineProperty(exports, 'TimeoutError', {
6674
6676
  return ky.TimeoutError;
6675
6677
  }
6676
6678
  });
6677
- exports.API_USER_INFO_KEY = API_USER_INFO_KEY;
6678
6679
  exports.Account = Account;
6679
6680
  exports.AccountPreview = AccountPreview;
6680
6681
  exports.Api = Api;