@chat21/chat21-ionic 3.2.0 → 3.2.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # chat21-ionic ver 3.0
2
2
 
3
+ ### 3.2.1 in PROD
4
+ - bug-fixed: cannot read property of undefined reading logger.error into brand-service.ts
5
+
3
6
  ### 3.2.0 in PROD
4
7
  - changed: API_URL template key in favour of SERVER_BASE_URL
5
8
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@chat21/chat21-ionic",
3
3
  "author": "Tiledesk SRL",
4
- "version": "3.2.0",
4
+ "version": "3.2.1",
5
5
  "license": "MIT License",
6
6
  "homepage": "https://tiledesk.com/",
7
7
  "repository": {
@@ -185,17 +185,17 @@ export class BrandService {
185
185
  if (url && url !== 'CHANGEIT') {
186
186
  const data = await this.httpClient.get(url).toPromise();
187
187
 
188
- this.logger.log('[BRAND-SERV] **** GET BRAND FROM URL ****', url);
188
+ console.log('[BRAND-SERV] **** GET BRAND FROM URL ****', url);
189
189
 
190
190
  this.brand =data
191
191
 
192
- this.logger.log('[BRAND-SERV] loadBrand - brand: ', this.brand);
192
+ console.log('[BRAND-SERV] loadBrand - brand: ', this.brand);
193
193
 
194
194
  const resources = new BrandResources(this);
195
195
  resources.loadResources()
196
196
  }
197
197
  } catch (err) {
198
- this.logger.error('[BRAND-SERV] loadBrand error : ', err);
198
+ console.error('[BRAND-SERV] loadBrand error : ', err);
199
199
 
200
200
  this.brand = this._brand;
201
201
  }