@hivegpt/hiveai-angular 0.0.298 → 0.0.299
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/bundles/hivegpt-hiveai-angular.umd.js +11 -7
- package/bundles/hivegpt-hiveai-angular.umd.js.map +1 -1
- package/bundles/hivegpt-hiveai-angular.umd.min.js +1 -1
- package/bundles/hivegpt-hiveai-angular.umd.min.js.map +1 -1
- package/esm2015/lib/components/chat-drawer/chat-drawer.component.js +12 -8
- package/fesm2015/hivegpt-hiveai-angular.js +11 -7
- package/fesm2015/hivegpt-hiveai-angular.js.map +1 -1
- package/lib/components/chat-drawer/chat-drawer.component.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -839,9 +839,11 @@
|
|
|
839
839
|
if (changes.orgId.currentValue != changes.orgId.previousValue &&
|
|
840
840
|
changes.orgId.currentValue) {
|
|
841
841
|
this.initializeSocket();
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
842
|
+
if (this.botId != '66fa3f276c5d71e2717bfea8') {
|
|
843
|
+
this.botService.getWorkflowsByOrgId(this.orgId).subscribe(function (res) {
|
|
844
|
+
_this.orgWorkflows = res;
|
|
845
|
+
});
|
|
846
|
+
}
|
|
845
847
|
}
|
|
846
848
|
}
|
|
847
849
|
};
|
|
@@ -867,10 +869,12 @@
|
|
|
867
869
|
this.fetchEditorContent();
|
|
868
870
|
this.cdr.markForCheck();
|
|
869
871
|
// this.initializeSocket();
|
|
870
|
-
this.
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
872
|
+
if (this.botId != '66fa3f276c5d71e2717bfea8') {
|
|
873
|
+
this.botService.fetchSpeechAuthorizationToken().subscribe(function (token) {
|
|
874
|
+
_this.authorizationToken = token;
|
|
875
|
+
_this.initializeSpeechRecognizer(token);
|
|
876
|
+
});
|
|
877
|
+
}
|
|
874
878
|
};
|
|
875
879
|
ChatDrawerComponent.prototype.initializeSocket = function () {
|
|
876
880
|
var _this = this;
|