@pie-players/pie-assessment-player 0.1.1 → 0.1.3

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.
@@ -5701,8 +5701,11 @@ class IifePieLoader {
5701
5701
  getBundleUrl(e, n, o) {
5702
5702
  if (o?.url)
5703
5703
  return logger$5.debug("Using explicit bundle URL from config:", o.url), o.url;
5704
- const i = Object.values(e).join("+"), a = `${this.config.bundleHost}${encodeURI(i)}/${n}`;
5705
- return logger$5.debug("Using bundle host URL:", a), a;
5704
+ const i = Object.values(e).join("+");
5705
+ let a = this.config.bundleHost || DEFAULT_BUNDLE_HOST;
5706
+ a = a.trim(), a = a.replace(/\/+$/, "") + "/";
5707
+ const l = `${a}${encodeURI(i)}/${n}`;
5708
+ return logger$5.debug("Using bundle host URL:", l), l;
5706
5709
  }
5707
5710
  /**
5708
5711
  * Load an IIFE bundle from the specified URL
@@ -82240,7 +82243,6 @@ let TN = class {
82240
82243
  emitStateChange() {
82241
82244
  const t = new CustomEvent("answer-eliminator-state-change", {
82242
82245
  detail: {
82243
- questionId: this.currentQuestionId,
82244
82246
  eliminatedCount: this.getEliminatedCount()
82245
82247
  },
82246
82248
  bubbles: !0