@sprig-technologies/sprig-bundled 2.39.2 → 2.39.4
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-ui-DaZCww9V.js +1487 -0
- package/dist/conversational-ui-Dspqvepc.cjs +658 -0
- package/dist/getAttributedUrl-BA155WXu.js +180 -0
- package/dist/getAttributedUrl-DdKlh4nZ.cjs +12 -0
- package/dist/index-CeYVvXTk.cjs +66 -0
- package/dist/index-D8vvXMVb.cjs +1 -0
- package/dist/index-DEhUsrDF.js +655 -0
- package/dist/{index-BYguwSwX.js → index-jIcxLvGB.js} +1931 -1912
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +16 -0
- package/dist/index.js +1 -1
- package/dist/{view-o74xU_bQ.js → view-3iDgUEdt.js} +503 -493
- package/dist/view-BVsOaM5U.cjs +1 -0
- package/package.json +1 -1
- package/dist/conversational-ui-CGoVUBIb.cjs +0 -658
- package/dist/conversational-ui-NUUXbIMe.js +0 -1484
- package/dist/getAttributedUrl-BS0-5a9z.js +0 -171
- package/dist/getAttributedUrl-xE0Lc5zD.cjs +0 -12
- package/dist/index-B1UOoENH.cjs +0 -1
- package/dist/index-Bmc92dqU.cjs +0 -66
- package/dist/index-DGixyLtf.js +0 -645
- package/dist/view-BKkN3Cj6.cjs +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CeYVvXTk.cjs");exports.DismissReason=e.DismissReason,exports.SprigAPI=e.SprigAPI,exports.SprigEvent=e.SprigEvent,exports.sprig=e.sprig;
|
package/dist/index.d.ts
CHANGED
|
@@ -1691,6 +1691,7 @@ interface AppProductConfig {
|
|
|
1691
1691
|
placement?: FeedbackPlacement;
|
|
1692
1692
|
}
|
|
1693
1693
|
interface Config extends MobileReplayConfig {
|
|
1694
|
+
addResponseGroupMeta?: () => Promise<JSONObject>;
|
|
1694
1695
|
allResponses: unknown[];
|
|
1695
1696
|
answers?: Answer[];
|
|
1696
1697
|
apiURL: string;
|
|
@@ -1711,6 +1712,7 @@ interface Config extends MobileReplayConfig {
|
|
|
1711
1712
|
customMetadata?: Record<string, unknown>;
|
|
1712
1713
|
customStyles?: string;
|
|
1713
1714
|
dismissOnPageChange: boolean;
|
|
1715
|
+
enableCspTrustedTypes?: boolean;
|
|
1714
1716
|
forceBrandedLogo?: boolean;
|
|
1715
1717
|
endCard?: {
|
|
1716
1718
|
headline: string;
|
|
@@ -1789,6 +1791,7 @@ interface Config extends MobileReplayConfig {
|
|
|
1789
1791
|
startingQuestionIdx?: number | null;
|
|
1790
1792
|
styleNonce?: string;
|
|
1791
1793
|
studyType?: StudyType;
|
|
1794
|
+
surveyVisitorAttributes: Record<string, unknown>;
|
|
1792
1795
|
surveyId: number;
|
|
1793
1796
|
tabTitle: string;
|
|
1794
1797
|
trackPageViewUrl?: string;
|
|
@@ -1806,6 +1809,11 @@ interface Config extends MobileReplayConfig {
|
|
|
1806
1809
|
externalUserId?: string;
|
|
1807
1810
|
};
|
|
1808
1811
|
}
|
|
1812
|
+
type JSONPrimitive = string | number | boolean | null;
|
|
1813
|
+
type JSONValue = JSONPrimitive | JSONValue[] | {
|
|
1814
|
+
[key: string]: JSONValue;
|
|
1815
|
+
};
|
|
1816
|
+
type JSONObject = Record<string, JSONValue>;
|
|
1809
1817
|
|
|
1810
1818
|
interface Experiment {
|
|
1811
1819
|
id: string;
|
|
@@ -2108,6 +2116,14 @@ declare global {
|
|
|
2108
2116
|
// common types
|
|
2109
2117
|
/** @example "123e4567-e89b-12d3-a456-426614174000" */
|
|
2110
2118
|
type UUID = string;
|
|
2119
|
+
|
|
2120
|
+
interface Document {
|
|
2121
|
+
write(...text: Array<string | TrustedHTML>): void;
|
|
2122
|
+
}
|
|
2123
|
+
|
|
2124
|
+
interface Element {
|
|
2125
|
+
innerHTML: string | TrustedHTML;
|
|
2126
|
+
}
|
|
2111
2127
|
}
|
|
2112
2128
|
|
|
2113
2129
|
declare class SprigAPI {
|
package/dist/index.js
CHANGED