@sprig-technologies/sprig-browser 2.24.1 → 2.24.2
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/index.cjs +10 -10
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1683 -1684
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1034,7 +1034,7 @@ declare namespace sprigConfig {
|
|
|
1034
1034
|
eventName?: string;
|
|
1035
1035
|
properties?: SprigProperties;
|
|
1036
1036
|
userId?: string;
|
|
1037
|
-
showSurveyCallback?: (surveyId
|
|
1037
|
+
showSurveyCallback?: (surveyId?: number) => Promise<boolean>;
|
|
1038
1038
|
}
|
|
1039
1039
|
|
|
1040
1040
|
interface SprigAPIActions {
|
|
@@ -1094,7 +1094,7 @@ declare namespace sprigConfig {
|
|
|
1094
1094
|
eventName: string,
|
|
1095
1095
|
properties?: TrackPayload["properties"],
|
|
1096
1096
|
metadata?: SprigMetadata,
|
|
1097
|
-
showSurveyCallback?: (surveyId
|
|
1097
|
+
showSurveyCallback?: (surveyId?: number) => Promise<boolean>
|
|
1098
1098
|
) => IdentifyResult;
|
|
1099
1099
|
unmute: () => void;
|
|
1100
1100
|
}
|