@magicfeedback/popup-sdk 1.21.1 → 1.22.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/README.md +1 -1
- package/dist/2.2.44-HO4Z2OYX.mjs +2421 -0
- package/dist/2.2.44-HO4Z2OYX.mjs.map +1 -0
- package/dist/2.2.44-NTG36TY5.mjs +2421 -0
- package/dist/2.2.44-NTG36TY5.mjs.map +1 -0
- package/dist/assets/assets/style.css +113 -36
- package/dist/assets/assets/survey-css/2.2.44.css +2413 -0
- package/dist/{chunk-NNWYOG43.mjs → chunk-36KEHE2P.mjs} +265 -40
- package/dist/chunk-36KEHE2P.mjs.map +1 -0
- package/dist/{chunk-4C3DSMUT.mjs → chunk-4MUHUL7W.mjs} +265 -40
- package/dist/chunk-4MUHUL7W.mjs.map +1 -0
- package/dist/{chunk-7KMBH25G.mjs → chunk-7PVEXIUG.mjs} +265 -40
- package/dist/chunk-7PVEXIUG.mjs.map +1 -0
- package/dist/index.d.mts +28 -1
- package/dist/index.d.ts +28 -1
- package/dist/index.js +4316 -1465
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +75 -26
- package/dist/index.mjs.map +1 -1
- package/dist/index.native.d.mts +28 -1
- package/dist/index.native.d.ts +28 -1
- package/dist/index.native.js +4316 -1465
- package/dist/index.native.js.map +1 -1
- package/dist/index.native.mjs +75 -26
- package/dist/index.native.mjs.map +1 -1
- package/dist/react-native.d.mts +22 -0
- package/dist/react-native.d.ts +22 -0
- package/dist/react-native.js +2956 -229
- package/dist/react-native.js.map +1 -1
- package/dist/react-native.mjs +75 -26
- package/dist/react-native.mjs.map +1 -1
- package/dist/renderPopup-5VVYPKXP.mjs +3998 -0
- package/dist/renderPopup-5VVYPKXP.mjs.map +1 -0
- package/dist/{renderPopup-IKPXPDB7.mjs → renderPopup-I3LIC3W3.mjs} +67 -40
- package/dist/renderPopup-I3LIC3W3.mjs.map +1 -0
- package/dist/renderPopup-VS5XFGTI.mjs +3998 -0
- package/dist/renderPopup-VS5XFGTI.mjs.map +1 -0
- package/package.json +2 -2
- package/dist/chunk-4C3DSMUT.mjs.map +0 -1
- package/dist/chunk-7KMBH25G.mjs.map +0 -1
- package/dist/chunk-NNWYOG43.mjs.map +0 -1
- package/dist/renderPopup-IKPXPDB7.mjs.map +0 -1
- package/dist/renderPopup-M5ZIXNV6.mjs +0 -3847
- package/dist/renderPopup-M5ZIXNV6.mjs.map +0 -1
- package/dist/renderPopup-QVMBE4L4.mjs +0 -3847
- package/dist/renderPopup-QVMBE4L4.mjs.map +0 -1
package/README.md
CHANGED
|
@@ -236,7 +236,7 @@ because the HTML reveals itself; the container just appears a few hundred ms bef
|
|
|
236
236
|
|
|
237
237
|
Each popup draws its survey with the survey version assigned to it in the Admin (*Survey frontend version*: latest or pinned), like the survey page does. The API sends it per popup as `surveyFrontend.sdkVersion`, the `@magicfeedback/native` version that survey release was built with.
|
|
238
238
|
|
|
239
|
-
- Supported versions: `SUPPORTED_SURVEY_SDK_VERSIONS` (now 2.2.38, 2.2.39), the ones whose survey CSS this SDK vendors (`src/assets/survey-css/<v>.css`, scoped to `.deepdots-popup` like `style.css`). JS and CSS follow the version together.
|
|
239
|
+
- Supported versions: `SUPPORTED_SURVEY_SDK_VERSIONS` (now 2.2.38, 2.2.39, 2.2.44), the ones whose survey CSS this SDK vendors (`src/assets/survey-css/<v>.css`, scoped to `.deepdots-popup` like `style.css`). JS and CSS follow the version together.
|
|
240
240
|
- DOM popup: the browser bundle of that exact version comes from jsDelivr (then unpkg); its CSS ships inside this SDK as a lazy chunk. React Native's WebView loads both from the CDN (the CSS from this package's `dist/assets/assets/survey-css`).
|
|
241
241
|
- Missing (older API, survey release without `sdkVersion`), unsupported, or failing to load (no network, a CSP without `cdn.jsdelivr.net`/`unpkg.com` in `script-src`): the bundled JS and CSS (`BUNDLED_SURVEY_SDK_VERSION`), as before. Never one version's JS with another's CSS.
|
|
242
242
|
- With `debug: true` the choice is logged (`[Deepdots] survey SDK 2.2.38 (assigned)`); an invalid version or a load failure is always logged as a warning (unsupported is debug-only: it is normal for older survey versions). The popup element carries it in `data-survey-sdk`.
|