@sprig-technologies/sprig-bundled 2.39.4 → 2.40.0
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/conversational-styles-CWNea3pP.js +4 -0
- package/dist/conversational-styles-CzhxRRD3.cjs +1 -0
- package/dist/conversational-ui-B4Gz-ntg.cjs +658 -0
- package/dist/conversational-ui-B_gqybcU.js +1508 -0
- package/dist/getAttributedUrl-BQOt-2c9.js +192 -0
- package/dist/getAttributedUrl-SO6zrj5v.cjs +12 -0
- package/dist/index-B7XdLO9n.cjs +1 -0
- package/dist/{index-CeYVvXTk.cjs → index-C4jT0KTM.cjs} +2 -2
- package/dist/{index-jIcxLvGB.js → index-gY11yXiE.js} +4 -4
- package/dist/index-rqy70x2s.js +670 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{view-3iDgUEdt.js → view-BjWfEnbU.js} +372 -371
- package/dist/view-D-Rk2_yd.cjs +1 -0
- package/package.json +1 -1
- package/dist/conversational-styles-DHBMIjKf.js +0 -4
- package/dist/conversational-styles-DLzzNPKy.cjs +0 -1
- package/dist/conversational-ui-DaZCww9V.js +0 -1487
- package/dist/conversational-ui-Dspqvepc.cjs +0 -658
- package/dist/getAttributedUrl-BA155WXu.js +0 -180
- package/dist/getAttributedUrl-DdKlh4nZ.cjs +0 -12
- package/dist/index-D8vvXMVb.cjs +0 -1
- package/dist/index-DEhUsrDF.js +0 -655
- package/dist/view-BVsOaM5U.cjs +0 -1
|
@@ -6029,7 +6029,7 @@ const Tf = (e) => e._config && e._config.installationMethod ? e._config.installa
|
|
|
6029
6029
|
ru = !0, nu = e;
|
|
6030
6030
|
};
|
|
6031
6031
|
function Te(e = {}) {
|
|
6032
|
-
const t = { "Content-Type": "application/json", "userleap-platform": "web", "x-ul-sdk-version": "2.
|
|
6032
|
+
const t = { "Content-Type": "application/json", "userleap-platform": "web", "x-ul-sdk-version": "2.40.0", "x-ul-installation-method": Tf(e), "sprig-modules": Mf(), "x-ul-package-version": "2.40.0" };
|
|
6033
6033
|
if (e.envId && (t["x-ul-environment-id"] = e.envId), e.token && (t.Authorization = "Bearer " + e.token), e.userId && (t["x-ul-user-id"] = e.userId), e.visitorId && (t["x-ul-visitor-id"] = e.visitorId), e.partnerAnonymousId && (t["x-ul-anonymous-id"] = e.partnerAnonymousId), e.mobileHeadersJSON) {
|
|
6034
6034
|
const r = JSON.parse(e.mobileHeadersJSON);
|
|
6035
6035
|
Object.assign(t, r);
|
|
@@ -6158,7 +6158,7 @@ const tr = async (e, t, r) => {
|
|
|
6158
6158
|
window.UserLeap.container && Object.assign(window.UserLeap.container.style, { display: "flex" });
|
|
6159
6159
|
};
|
|
6160
6160
|
if (w.installationMethod === "web-npm" || w.installationMethod === "web-npm-bundled") {
|
|
6161
|
-
const { default: V } = await import("./view-
|
|
6161
|
+
const { default: V } = await import("./view-BjWfEnbU.js").then((ge) => ge.v);
|
|
6162
6162
|
V.configure(w), S && window.UserLeap.container && O();
|
|
6163
6163
|
} else U && (j.src = `${U}?t=${Date.now()}`, S && j.addEventListener("load", () => {
|
|
6164
6164
|
window.UserLeap.container && O();
|
|
@@ -6328,7 +6328,7 @@ const cu = (e) => {
|
|
|
6328
6328
|
c && s.style.removeProperty("width");
|
|
6329
6329
|
}
|
|
6330
6330
|
}
|
|
6331
|
-
return [i +
|
|
6331
|
+
return [i + 2, a, jf(o, e)];
|
|
6332
6332
|
}, Qg = (e) => {
|
|
6333
6333
|
const t = e.querySelector(".ul-card__container");
|
|
6334
6334
|
t && (t.scrollTop = 0);
|
|
@@ -6986,7 +6986,7 @@ function ag(e = {}) {
|
|
|
6986
6986
|
var m;
|
|
6987
6987
|
await ze(Me("1", [ot], "metrics"), { body: I, method: "POST", headers: { "x-ul-replay-enabled": `${!!((m = re.replay) != null && m.isReplayRecording())}` }, shouldDropOnRateLimit: !0 });
|
|
6988
6988
|
} }), !c) {
|
|
6989
|
-
const I = u.alwaysOnReplay ? { userAgent: window.navigator.userAgent, surveyId: u.alwaysOnReplay.surveyId, responseGroupUuid: u.alwaysOnReplay.responseGroupUuid, sdkVersion: "2.
|
|
6989
|
+
const I = u.alwaysOnReplay ? { userAgent: window.navigator.userAgent, surveyId: u.alwaysOnReplay.surveyId, responseGroupUuid: u.alwaysOnReplay.responseGroupUuid, sdkVersion: "2.40.0", maxDurationSeconds: u.alwaysOnReplay.maxDurationSeconds } : void 0;
|
|
6990
6990
|
await ((v = re.replay) == null ? void 0 : v.initializeReplay({ maxReplayDurationSeconds: u.maxReplayDurationSeconds, maxInflightRequests: window.UserLeap.maxInflightReplayRequests ?? 2, replaySettings: u.replaySettings, apiUrl: window.UserLeap._API_URL, alwaysOnConfig: I })), so = u.replaySettings;
|
|
6991
6991
|
}
|
|
6992
6992
|
ig(u), await sg(u), window.UserLeap._queue.unpause(), (p = window.SprigLoggerCallback) == null || p.call(window, "SdkReady"), z.emit(B.SDKReady, { mobileMetricsReportingEnabled: !!u.mobileMetricsReportingEnabled, metricsReportingInterval: u.metricsReportingIntervalSeconds || 0, metricsThresholds: u.metricThresholds || [], maxMobileReplayDurationSeconds: u.maxMobileReplayDurationSeconds, mobileReplaySettings: u.mobileReplaySettings }), z.emit(B.VisitorIDUpdated, { visitorId: window.UserLeap.visitorId }), z.on(B.VisitorIDUpdated, () => {
|