ttp-agent-sdk 2.48.7 → 2.48.8
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/dist/agent-widget.dev.js
CHANGED
|
@@ -12047,7 +12047,7 @@ var TextChatSDK = /*#__PURE__*/function (_EventEmitter) {
|
|
|
12047
12047
|
|
|
12048
12048
|
// SDK build time for debugging
|
|
12049
12049
|
if (true) {
|
|
12050
|
-
helloMessage.lastBuildTime = "2026-08-20T21:
|
|
12050
|
+
helloMessage.lastBuildTime = "2026-08-20T21:32:52.088Z";
|
|
12051
12051
|
}
|
|
12052
12052
|
try {
|
|
12053
12053
|
this.ws.send(JSON.stringify(helloMessage));
|
|
@@ -21357,8 +21357,8 @@ var VoiceSDK = _v2_VoiceSDK_js__WEBPACK_IMPORTED_MODULE_0__["default"];
|
|
|
21357
21357
|
|
|
21358
21358
|
|
|
21359
21359
|
// Version - injected at build time from package.json via webpack DefinePlugin
|
|
21360
|
-
var VERSION = "2.48.
|
|
21361
|
-
var BUILD_TIME = "2026-08-20T21:
|
|
21360
|
+
var VERSION = "2.48.8";
|
|
21361
|
+
var BUILD_TIME = "2026-08-20T21:32:52.088Z";
|
|
21362
21362
|
console.log("%c TTP Agent SDK v".concat(VERSION, " (").concat(BUILD_TIME, ") "), 'background: #4f46e5; color: white; font-size: 12px; font-weight: bold; padding: 2px 6px; border-radius: 4px;');
|
|
21363
21363
|
|
|
21364
21364
|
// Named exports
|
|
@@ -29249,7 +29249,7 @@ var VoiceSDK_v2 = /*#__PURE__*/function (_EventEmitter) {
|
|
|
29249
29249
|
// iOS in-app webviews lack "Safari" in the UA (real Safari always has it).
|
|
29250
29250
|
var webview = isAndroid && (/\bwv\b/.test(ua) || /Version\/[\d.]+.*Chrome/.test(ua)) || isIos && !/Safari/i.test(ua) || false;
|
|
29251
29251
|
var env = {
|
|
29252
|
-
sdkVersion: true ? "2.48.
|
|
29252
|
+
sdkVersion: true ? "2.48.8" : 0,
|
|
29253
29253
|
ua: ua,
|
|
29254
29254
|
platform: (uaData === null || uaData === void 0 ? void 0 : uaData.platform) || navigator.platform || '',
|
|
29255
29255
|
mobile: (_uaData$mobile = uaData === null || uaData === void 0 ? void 0 : uaData.mobile) !== null && _uaData$mobile !== void 0 ? _uaData$mobile : isAndroid || isIos,
|
|
@@ -29264,7 +29264,7 @@ var VoiceSDK_v2 = /*#__PURE__*/function (_EventEmitter) {
|
|
|
29264
29264
|
} catch (e) {
|
|
29265
29265
|
console.warn('⚠️ VoiceSDK v2: Failed to build client env:', e);
|
|
29266
29266
|
return {
|
|
29267
|
-
sdkVersion: true ? "2.48.
|
|
29267
|
+
sdkVersion: true ? "2.48.8" : 0
|
|
29268
29268
|
};
|
|
29269
29269
|
}
|
|
29270
29270
|
}
|
|
@@ -29406,7 +29406,7 @@ var VoiceSDK_v2 = /*#__PURE__*/function (_EventEmitter) {
|
|
|
29406
29406
|
|
|
29407
29407
|
// Include SDK build time for debugging
|
|
29408
29408
|
if (true) {
|
|
29409
|
-
helloMessage.lastBuildTime = "2026-08-20T21:
|
|
29409
|
+
helloMessage.lastBuildTime = "2026-08-20T21:32:52.088Z";
|
|
29410
29410
|
}
|
|
29411
29411
|
|
|
29412
29412
|
// Client environment (device/browser/webview) for backend logs + Langfuse metadata
|
|
@@ -35456,7 +35456,7 @@ var TTPChatWidget = /*#__PURE__*/function () {
|
|
|
35456
35456
|
return;
|
|
35457
35457
|
}
|
|
35458
35458
|
this._ensureAboutStyles();
|
|
35459
|
-
var version = true ? "2.48.
|
|
35459
|
+
var version = true ? "2.48.8" : 0;
|
|
35460
35460
|
var convId = this._getLastConversationId();
|
|
35461
35461
|
var t = function t(k, fb) {
|
|
35462
35462
|
try {
|