@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
|
@@ -372,9 +372,11 @@ class ChatDrawerComponent {
|
|
|
372
372
|
if (changes.orgId.currentValue != changes.orgId.previousValue &&
|
|
373
373
|
changes.orgId.currentValue) {
|
|
374
374
|
this.initializeSocket();
|
|
375
|
-
|
|
376
|
-
this.
|
|
377
|
-
|
|
375
|
+
if (this.botId != '66fa3f276c5d71e2717bfea8') {
|
|
376
|
+
this.botService.getWorkflowsByOrgId(this.orgId).subscribe((res) => {
|
|
377
|
+
this.orgWorkflows = res;
|
|
378
|
+
});
|
|
379
|
+
}
|
|
378
380
|
}
|
|
379
381
|
}
|
|
380
382
|
}
|
|
@@ -399,10 +401,12 @@ class ChatDrawerComponent {
|
|
|
399
401
|
this.fetchEditorContent();
|
|
400
402
|
this.cdr.markForCheck();
|
|
401
403
|
// this.initializeSocket();
|
|
402
|
-
this.
|
|
403
|
-
this.
|
|
404
|
-
|
|
405
|
-
|
|
404
|
+
if (this.botId != '66fa3f276c5d71e2717bfea8') {
|
|
405
|
+
this.botService.fetchSpeechAuthorizationToken().subscribe((token) => {
|
|
406
|
+
this.authorizationToken = token;
|
|
407
|
+
this.initializeSpeechRecognizer(token);
|
|
408
|
+
});
|
|
409
|
+
}
|
|
406
410
|
}
|
|
407
411
|
initializeSocket() {
|
|
408
412
|
try {
|