@chat21/chat21-ionic 3.4.23-rc1 → 3.4.23-rc3

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
@@ -8,6 +8,12 @@
8
8
  ### **Copyrigth**:
9
9
  *Tiledesk SRL*
10
10
 
11
+ # 3.4.23-rc3
12
+ - **added**: managed firstname and not fullname in message sent by agent
13
+
14
+ # 3.4.23-rc2
15
+ - **bug-fixed**: cannot upload xlsx files
16
+
11
17
  # 3.4.23-rc1
12
18
  - **bug-fixed**: cannot click to change user status
13
19
  - **bug-fixed**: tooltip not hided alfter click on it
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@chat21/chat21-ionic",
3
3
  "author": "Tiledesk SRL",
4
- "version": "3.4.23-rc1",
4
+ "version": "3.4.23-rc3",
5
5
  "license": "MIT License",
6
6
  "homepage": "https://tiledesk.com/",
7
7
  "repository": {
@@ -1099,9 +1099,9 @@ export class ConversationDetailPage implements OnInit, OnDestroy, AfterViewInit
1099
1099
  this.logger.log('[CONVS-DETAIL] - SEND MESSAGE - type: ', type)
1100
1100
  this.logger.log('[CONVS-DETAIL] - SEND MESSAGE - metadata: ', metadata)
1101
1101
  this.logger.log('[CONVS-DETAIL] - SEND MESSAGE - additional_attributes: ', additional_attributes)
1102
- let fullname = this.loggedUser.uid
1102
+ let firstname = this.loggedUser.uid
1103
1103
  if (this.loggedUser.fullname) {
1104
- fullname = this.loggedUser.fullname
1104
+ firstname = this.loggedUser.firstname
1105
1105
  }
1106
1106
 
1107
1107
  const g_attributes = this.setAttributes()
@@ -1165,7 +1165,7 @@ export class ConversationDetailPage implements OnInit, OnDestroy, AfterViewInit
1165
1165
  this.conversationWith,
1166
1166
  this.conversationWithFullname,
1167
1167
  this.loggedUser.uid,
1168
- fullname,
1168
+ firstname,
1169
1169
  this.channelType,
1170
1170
  attributes,
1171
1171
  )
@@ -1179,7 +1179,7 @@ export class ConversationDetailPage implements OnInit, OnDestroy, AfterViewInit
1179
1179
  this.conversationWith,
1180
1180
  this.conversationWithFullname,
1181
1181
  this.loggedUser.uid,
1182
- fullname,
1182
+ firstname,
1183
1183
  this.channelType,
1184
1184
  attributes,
1185
1185
  )
@@ -903,6 +903,8 @@ function getMimeTypeFromExtension(extension: string): string {
903
903
  '.txt': 'text/plain',
904
904
  '.doc': 'application/msword',
905
905
  '.docx': 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
906
+ '.xlsx': 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
907
+ '.xls': 'application/vnd.ms-excel',
906
908
  '.wav' : 'audio/wav'
907
909
  // Aggiungi altri tipi MIME se necessario
908
910
  };