@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/index.mjs CHANGED
@@ -21,7 +21,7 @@ import {
21
21
  sdkWarn,
22
22
  setLogger,
23
23
  style_default
24
- } from "./chunk-GXEPYT33.mjs";
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.31";
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-KSZJ5AN4.mjs");
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-KSZJ5AN4.mjs").then(({ 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-KSZJ5AN4.mjs").then(({ renderPopup }) => {
3228
+ void import("./renderPopup-Z6TENBP6.mjs").then(({ renderPopup }) => {
3229
3229
  renderPopup(
3230
3230
  container,
3231
3231
  surveyId,