@sprig-technologies/sprig-browser 2.20.0 → 2.20.1
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/LICENSE.md +176 -0
- package/index.d.ts +160 -0
- package/index.js +680 -0
- package/package.json +10 -12
- package/dist/index.cjs +0 -687
- package/dist/index.cjs.map +0 -1
- package/dist/index.d.ts +0 -3
- package/dist/index.js +0 -6580
- package/dist/index.js.map +0 -1
- package/dist/sprig-browser/index.d.ts +0 -168
- package/dist/src/constants/css.d.ts +0 -43
- package/dist/src/constants/sprigEvents.d.ts +0 -62
- package/dist/src/constants/sprigRecordingEvents.d.ts +0 -40
- package/dist/src/controller/OptimizelyIntegration.d.ts +0 -40
- package/dist/src/controller/Queue.d.ts +0 -18
- package/dist/src/controller/controller.d.ts +0 -9
- package/dist/src/controller/iframe.d.ts +0 -17
- package/dist/src/helpers/Deferred.d.ts +0 -9
- package/dist/src/helpers/conflicting_widgets/index.d.ts +0 -4
- package/dist/src/helpers/conflicting_widgets/intercom.d.ts +0 -2
- package/dist/src/helpers/document.d.ts +0 -6
- package/dist/src/helpers/eventEmitter.d.ts +0 -85
- package/dist/src/helpers/general.d.ts +0 -9
- package/dist/src/helpers/network.d.ts +0 -15
- package/dist/src/types/card.d.ts +0 -292
- package/dist/src/types/config.d.ts +0 -232
- package/dist/src/types/event.d.ts +0 -18
- package/dist/src/types/global.d.ts +0 -179
- package/dist/src/view/app.d.ts +0 -3
- package/dist/src/view/cards/consentLegalCard.d.ts +0 -6
- package/dist/src/view/cards/index.d.ts +0 -10
- package/dist/src/view/cards/likertCard/index.d.ts +0 -1
- package/dist/src/view/cards/likertCard/likertCard.d.ts +0 -6
- package/dist/src/view/cards/likertCard/likertOption.d.ts +0 -16
- package/dist/src/view/cards/multipleChoice/baseMultiChoiceCard.d.ts +0 -15
- package/dist/src/view/cards/multipleChoice/index.d.ts +0 -2
- package/dist/src/view/cards/multipleChoice/multiSelectCard.d.ts +0 -5
- package/dist/src/view/cards/multipleChoice/singleSelectCard.d.ts +0 -5
- package/dist/src/view/cards/npsCard.d.ts +0 -8
- package/dist/src/view/cards/openTextCard.d.ts +0 -6
- package/dist/src/view/cards/recordedTask/actions.d.ts +0 -21
- package/dist/src/view/cards/recordedTask/card.d.ts +0 -5
- package/dist/src/view/cards/recordedTask/components.d.ts +0 -37
- package/dist/src/view/cards/recordedTask/constants.d.ts +0 -5
- package/dist/src/view/cards/recordedTask/helpers.d.ts +0 -6
- package/dist/src/view/cards/recordedTask/index.d.ts +0 -1
- package/dist/src/view/cards/recordedTask/store.d.ts +0 -24
- package/dist/src/view/cards/textUrlPromptCard.d.ts +0 -6
- package/dist/src/view/cards/thanksCard.d.ts +0 -5
- package/dist/src/view/cards/types.d.ts +0 -34
- package/dist/src/view/cards/uploadingCard.d.ts +0 -5
- package/dist/src/view/cards/videoVoiceCard.d.ts +0 -6
- package/dist/src/view/components/header.d.ts +0 -8
- package/dist/src/view/components/index.d.ts +0 -3
- package/dist/src/view/components/mobileEmbedView.d.ts +0 -19
- package/dist/src/view/components/select.d.ts +0 -25
- package/dist/src/view/footer.d.ts +0 -2
- package/dist/src/view/helpers/card.d.ts +0 -6
- package/dist/src/view/helpers/getAttributedUrl.d.ts +0 -6
- package/dist/src/view/helpers/skipLogicHelpers.d.ts +0 -34
- package/dist/src/view/hooks/index.d.ts +0 -1
- package/dist/src/view/hooks/useAutoSize.d.ts +0 -2
- package/dist/src/view/logo.d.ts +0 -5
- package/dist/src/view/recorder/recorder.d.ts +0 -2
- package/dist/src/view/store.d.ts +0 -2
- package/dist/src/view/view.d.ts +0 -6
- package/dist/style.css +0 -1
package/package.json
CHANGED
|
@@ -1,17 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sprig-technologies/sprig-browser",
|
|
3
|
+
"version": "2.20.1",
|
|
3
4
|
"description": "npm package for the sprig web sdk",
|
|
4
|
-
"
|
|
5
|
-
"files": [
|
|
6
|
-
"dist"
|
|
7
|
-
],
|
|
8
|
-
"types": "./dist/index.d.ts",
|
|
9
|
-
"exports": {
|
|
10
|
-
"import": "./dist/index.js",
|
|
11
|
-
"require": "./dist/index.cjs"
|
|
12
|
-
},
|
|
5
|
+
"browser": "index.js",
|
|
13
6
|
"scripts": {
|
|
14
|
-
"
|
|
7
|
+
"test": "test"
|
|
15
8
|
},
|
|
16
9
|
"repository": {
|
|
17
10
|
"type": "git",
|
|
@@ -26,5 +19,10 @@
|
|
|
26
19
|
},
|
|
27
20
|
"homepage": "https://docs.sprig.com/docs/web-javascript",
|
|
28
21
|
"license": "See LICENSE file",
|
|
29
|
-
"
|
|
30
|
-
|
|
22
|
+
"browserslist": [
|
|
23
|
+
">0.2%",
|
|
24
|
+
"not dead",
|
|
25
|
+
"not ie <= 11",
|
|
26
|
+
"not op_mini all"
|
|
27
|
+
]
|
|
28
|
+
}
|