@hivegpt/hiveai-angular 0.0.455 → 0.0.457
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 +7 -0
- 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 +3 -1
- package/esm2015/lib/components/voice-agent/services/daily-voice-client.service.js +3 -1
- package/esm2015/lib/components/voice-agent/services/voice-agent.service.js +4 -1
- package/fesm2015/hivegpt-hiveai-angular.js +7 -0
- package/fesm2015/hivegpt-hiveai-angular.js.map +1 -1
- package/lib/components/chat-drawer/chat-drawer.component.d.ts.map +1 -1
- package/lib/components/voice-agent/services/daily-voice-client.service.d.ts.map +1 -1
- package/lib/components/voice-agent/services/voice-agent.service.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1334,6 +1334,7 @@
|
|
|
1334
1334
|
return [4 /*yield*/, callObject.join(joinOptions)];
|
|
1335
1335
|
case 4:
|
|
1336
1336
|
_e.sent();
|
|
1337
|
+
console.log("[VoiceDebug] Room connected (Daily join complete) \u2014 " + new Date().toISOString());
|
|
1337
1338
|
participants = callObject.participants();
|
|
1338
1339
|
if (participants === null || participants === void 0 ? void 0 : participants.local) {
|
|
1339
1340
|
this.localSessionId = participants.local.session_id;
|
|
@@ -1378,6 +1379,7 @@
|
|
|
1378
1379
|
var type = (_a = event === null || event === void 0 ? void 0 : event.type) !== null && _a !== void 0 ? _a : (_b = event === null || event === void 0 ? void 0 : event.track) === null || _b === void 0 ? void 0 : _b.kind;
|
|
1379
1380
|
var track = event === null || event === void 0 ? void 0 : event.track;
|
|
1380
1381
|
if (p && !p.local && type === 'audio') {
|
|
1382
|
+
console.log("[VoiceDebug] Got audio track from backend (track-started) \u2014 " + new Date().toISOString());
|
|
1381
1383
|
_this.speakingSubject.next(true);
|
|
1382
1384
|
var audioTrack = track !== null && track !== void 0 ? track : (_d = (_c = p.tracks) === null || _c === void 0 ? void 0 : _c.audio) === null || _d === void 0 ? void 0 : _d.track;
|
|
1383
1385
|
if (audioTrack && typeof audioTrack === 'object') {
|
|
@@ -1588,6 +1590,7 @@
|
|
|
1588
1590
|
'eventurl': eventUrl,
|
|
1589
1591
|
'hive-bot-id': botId,
|
|
1590
1592
|
'x-api-key': apiKey,
|
|
1593
|
+
"ngrok-skip-browser-warning": "true"
|
|
1591
1594
|
};
|
|
1592
1595
|
return [4 /*yield*/, fetch(postUrl, {
|
|
1593
1596
|
method: 'POST',
|
|
@@ -1689,6 +1692,7 @@
|
|
|
1689
1692
|
_this.callStateSubject.next('listening');
|
|
1690
1693
|
}
|
|
1691
1694
|
else if (bot) {
|
|
1695
|
+
console.log("[VoiceDebug] Agent starts speaking (callState \u2192 talking) \u2014 " + new Date().toISOString());
|
|
1692
1696
|
_this.callStateSubject.next('talking');
|
|
1693
1697
|
}
|
|
1694
1698
|
else if (_this.callStateSubject.value === 'talking' ||
|
|
@@ -1697,6 +1701,7 @@
|
|
|
1697
1701
|
}
|
|
1698
1702
|
}));
|
|
1699
1703
|
this.subscriptions.add(this.dailyClient.micMuted$.subscribe(function (muted) { return _this.isMicMutedSubject.next(muted); }));
|
|
1704
|
+
console.log("[VoiceDebug] Room fully connected (callState \u2192 connected) \u2014 " + new Date().toISOString());
|
|
1700
1705
|
this.callStateSubject.next('connected');
|
|
1701
1706
|
this.statusTextSubject.next('Connected');
|
|
1702
1707
|
this.callStartTime = Date.now();
|
|
@@ -3926,6 +3931,7 @@
|
|
|
3926
3931
|
'domain-authority': this.domainAuthorityValue,
|
|
3927
3932
|
eventUrl: this.eventUrl,
|
|
3928
3933
|
eventToken: this.eventToken,
|
|
3934
|
+
"ngrok-skip-browser-warning": "true"
|
|
3929
3935
|
};
|
|
3930
3936
|
if (this.workspaceToken) {
|
|
3931
3937
|
headers['workspaceToken'] = this.workspaceToken;
|
|
@@ -3989,6 +3995,7 @@
|
|
|
3989
3995
|
'x-api-key': this.apiKey,
|
|
3990
3996
|
'hive-bot-id': this.botId,
|
|
3991
3997
|
'domain-authority': this.domainAuthorityValue,
|
|
3998
|
+
"ngrok-skip-browser-warning": "true"
|
|
3992
3999
|
});
|
|
3993
4000
|
this.http.post(url, body, { headers: headers }).subscribe({
|
|
3994
4001
|
next: function (data) {
|