@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/react-native.mjs
CHANGED
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
sdkWarn,
|
|
19
19
|
setLogger,
|
|
20
20
|
style_default
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-GUJSOVS6.mjs";
|
|
22
22
|
|
|
23
23
|
// src/react-native/index.tsx
|
|
24
24
|
import { createContext, useContext, useEffect, useRef, useState } from "react";
|
|
@@ -256,7 +256,7 @@ function trimmedOrNull(value) {
|
|
|
256
256
|
}
|
|
257
257
|
function buildSurveyHtml(opts) {
|
|
258
258
|
const env = opts.env === "development" ? "dev" : "prod";
|
|
259
|
-
const version = opts.version ?? "2.2.
|
|
259
|
+
const version = opts.version ?? "2.2.33";
|
|
260
260
|
const cdn = `https://cdn.jsdelivr.net/npm/@magicfeedback/native@${version}/dist/magicfeedback-sdk.browser.js`;
|
|
261
261
|
const sid = jsonForScript(opts.surveyId);
|
|
262
262
|
const pid = jsonForScript(opts.productId);
|
|
@@ -895,7 +895,7 @@ function createReactNativeRenderer() {
|
|
|
895
895
|
}
|
|
896
896
|
|
|
897
897
|
// src/ui/preload.ts
|
|
898
|
-
var defaultLoader = () => import("./renderPopup-
|
|
898
|
+
var defaultLoader = () => import("./renderPopup-FAEZGWRS.mjs");
|
|
899
899
|
var pending = null;
|
|
900
900
|
function preloadRenderPopup(loader = defaultLoader) {
|
|
901
901
|
if (pending) return pending;
|
|
@@ -968,7 +968,7 @@ var BrowserPopupRenderer = class {
|
|
|
968
968
|
if (!this.container) return;
|
|
969
969
|
this.visible = true;
|
|
970
970
|
const container = this.container;
|
|
971
|
-
void import("./renderPopup-
|
|
971
|
+
void import("./renderPopup-FAEZGWRS.mjs").then(({ renderPopup }) => {
|
|
972
972
|
renderPopup(container, surveyId, productId, actions, emit, onClose, env, userId, style, sessionId, miniService, analyticsFeedbackSessionId, options);
|
|
973
973
|
});
|
|
974
974
|
}
|
|
@@ -3227,7 +3227,7 @@ var DeepdotsPopups = class {
|
|
|
3227
3227
|
}
|
|
3228
3228
|
if (!this.popupContainer) return;
|
|
3229
3229
|
const container = this.popupContainer;
|
|
3230
|
-
void import("./renderPopup-
|
|
3230
|
+
void import("./renderPopup-FAEZGWRS.mjs").then(({ renderPopup }) => {
|
|
3231
3231
|
renderPopup(
|
|
3232
3232
|
container,
|
|
3233
3233
|
surveyId,
|