@magicfeedback/popup-sdk 1.13.0 → 1.14.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/assets/assets/style.css +1 -1
- package/dist/{chunk-GXEPYT33.mjs → chunk-C7VD3HY4.mjs} +2 -2
- package/dist/{chunk-GXEPYT33.mjs.map → chunk-C7VD3HY4.mjs.map} +1 -1
- package/dist/{chunk-TSORXOQG.mjs → chunk-GUJSOVS6.mjs} +2 -2
- package/dist/{chunk-TSORXOQG.mjs.map → chunk-GUJSOVS6.mjs.map} +1 -1
- package/dist/index.js +328 -233
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +1 -1
- package/dist/react-native.js +2 -2
- package/dist/react-native.js.map +1 -1
- package/dist/react-native.mjs +5 -5
- package/dist/react-native.mjs.map +1 -1
- package/dist/{renderPopup-JF6IB6HL.mjs → renderPopup-FAEZGWRS.mjs} +2 -2
- package/dist/{renderPopup-KSZJ5AN4.mjs → renderPopup-Z6TENBP6.mjs} +328 -233
- package/dist/renderPopup-Z6TENBP6.mjs.map +1 -0
- package/package.json +2 -2
- package/dist/renderPopup-KSZJ5AN4.mjs.map +0 -1
- /package/dist/{renderPopup-JF6IB6HL.mjs.map → renderPopup-FAEZGWRS.mjs.map} +0 -0
package/dist/index.mjs
CHANGED
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
sdkWarn,
|
|
22
22
|
setLogger,
|
|
23
23
|
style_default
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-C7VD3HY4.mjs";
|
|
25
25
|
|
|
26
26
|
// src/types/index.ts
|
|
27
27
|
var POPUP_TRIGGER_CONDITION_STATUSES = [
|
|
@@ -254,7 +254,7 @@ function trimmedOrNull(value) {
|
|
|
254
254
|
}
|
|
255
255
|
function buildSurveyHtml(opts) {
|
|
256
256
|
const env = opts.env === "development" ? "dev" : "prod";
|
|
257
|
-
const version = opts.version ?? "2.2.
|
|
257
|
+
const version = opts.version ?? "2.2.33";
|
|
258
258
|
const cdn = `https://cdn.jsdelivr.net/npm/@magicfeedback/native@${version}/dist/magicfeedback-sdk.browser.js`;
|
|
259
259
|
const sid = jsonForScript(opts.surveyId);
|
|
260
260
|
const pid = jsonForScript(opts.productId);
|
|
@@ -893,7 +893,7 @@ function createReactNativeRenderer() {
|
|
|
893
893
|
}
|
|
894
894
|
|
|
895
895
|
// src/ui/preload.ts
|
|
896
|
-
var defaultLoader = () => import("./renderPopup-
|
|
896
|
+
var defaultLoader = () => import("./renderPopup-Z6TENBP6.mjs");
|
|
897
897
|
var pending = null;
|
|
898
898
|
function preloadRenderPopup(loader = defaultLoader) {
|
|
899
899
|
if (pending) return pending;
|
|
@@ -966,7 +966,7 @@ var BrowserPopupRenderer = class {
|
|
|
966
966
|
if (!this.container) return;
|
|
967
967
|
this.visible = true;
|
|
968
968
|
const container = this.container;
|
|
969
|
-
void import("./renderPopup-
|
|
969
|
+
void import("./renderPopup-Z6TENBP6.mjs").then(({ renderPopup }) => {
|
|
970
970
|
renderPopup(container, surveyId, productId, actions, emit, onClose, env, userId, style, sessionId, miniService, analyticsFeedbackSessionId, options);
|
|
971
971
|
});
|
|
972
972
|
}
|
|
@@ -3225,7 +3225,7 @@ var DeepdotsPopups = class {
|
|
|
3225
3225
|
}
|
|
3226
3226
|
if (!this.popupContainer) return;
|
|
3227
3227
|
const container = this.popupContainer;
|
|
3228
|
-
void import("./renderPopup-
|
|
3228
|
+
void import("./renderPopup-Z6TENBP6.mjs").then(({ renderPopup }) => {
|
|
3229
3229
|
renderPopup(
|
|
3230
3230
|
container,
|
|
3231
3231
|
surveyId,
|