@chat21/chat21-web-widget 5.0.72-rc.1 → 5.0.72-rc.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/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
# chat21-web-widget ver 5.0
|
|
2
2
|
|
|
3
|
+
### 5.0.72-rc.2
|
|
4
|
+
- bug-fixed: update attributes after setAttributeParameter external function is called
|
|
5
|
+
|
|
3
6
|
### 5.0.72-rc.1
|
|
4
7
|
- changed: set retain option in mqtt connection as FALSE
|
|
5
8
|
|
|
9
|
+
### 5.0.71.3 in PROD
|
|
10
|
+
- bug-fixed: removed img filter from home footer section
|
|
11
|
+
|
|
6
12
|
### 5.0.71.2 in PROD
|
|
7
13
|
- bug-fixing: widget do not restart conversation in chatbot-panel.html file
|
|
8
14
|
|
package/package.json
CHANGED
package/src/app/app.component.ts
CHANGED
|
@@ -744,7 +744,7 @@ export class AppComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
|
744
744
|
attributes = {};
|
|
745
745
|
}
|
|
746
746
|
}
|
|
747
|
-
//
|
|
747
|
+
// console.log('attributes: ', attributes, this.g.attributes);
|
|
748
748
|
// that.g.wdLog(['CLIENT_BROWSER: ', CLIENT_BROWSER);
|
|
749
749
|
if (CLIENT_BROWSER) {
|
|
750
750
|
attributes['client'] = CLIENT_BROWSER;
|
|
@@ -776,6 +776,7 @@ export class AppComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
|
776
776
|
try {
|
|
777
777
|
// attributes['payload'] = this.g.customAttributes.payload;
|
|
778
778
|
attributes['payload'] = []
|
|
779
|
+
|
|
779
780
|
if (this.g.customAttributes) {
|
|
780
781
|
attributes['payload'] = this.g.customAttributes;
|
|
781
782
|
}
|
|
@@ -1174,6 +1175,7 @@ export class AppComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
|
1174
1175
|
|
|
1175
1176
|
private setAttributeParameter(parameterObj: {key: string, value: any}){
|
|
1176
1177
|
this.g.setAttributeParameter(parameterObj.key, parameterObj.value)
|
|
1178
|
+
this.appStorageService.setItem('attributes', JSON.stringify(this.g.attributes));
|
|
1177
1179
|
}
|
|
1178
1180
|
|
|
1179
1181
|
private removeFirebasewebsocketFromLocalStorage() {
|
|
@@ -295,7 +295,7 @@
|
|
|
295
295
|
position: relative;
|
|
296
296
|
vertical-align: middle;
|
|
297
297
|
object-fit: contain;
|
|
298
|
-
filter: brightness(0) saturate(100%) invert(39%) sepia(12%) saturate(212%) hue-rotate(173deg) brightness(92%) contrast(88%);
|
|
298
|
+
// filter: brightness(0) saturate(100%) invert(39%) sepia(12%) saturate(212%) hue-rotate(173deg) brightness(92%) contrast(88%);
|
|
299
299
|
padding-right: 5px;
|
|
300
300
|
}
|
|
301
301
|
}
|