@arcware-cloud/pixelstreaming-websdk 1.4.8 → 1.4.10

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/core.cjs CHANGED
@@ -16030,7 +16030,7 @@ class ArcwareConfig extends lib_pixelstreamingfrontend_ue5_5_1.Config {
16030
16030
  };
16031
16031
  }
16032
16032
  constructor(config) {
16033
- var _a, _b, _c, _d, _e, _f;
16033
+ var _a, _b, _c, _d, _e, _f, _g;
16034
16034
  const dfToken = new URL(window.location.href).search
16035
16035
  .slice(1)
16036
16036
  .split("&")
@@ -16046,12 +16046,11 @@ class ArcwareConfig extends lib_pixelstreamingfrontend_ue5_5_1.Config {
16046
16046
  const mergedCustomization = Object.assign(Object.assign({}, ArcwareConfig.DEFAULT_CUSTOMIZATION), ((_e = config.customization) !== null && _e !== void 0 ? _e : {}));
16047
16047
  const finalConfig = Object.assign(Object.assign({}, config), { initialSettings: mergedInitialSettings, settings: mergedSettings, customization: mergedCustomization });
16048
16048
  super(finalConfig);
16049
- this.VERSION = "1.4.8";
16049
+ this.VERSION = "1.4.10";
16050
16050
  this.whiteLabellingChanged = new EventHandler_1.EventHandler();
16051
16051
  this.signallingWlURL = "https://signalling-client.arcware.cloud/whiteLabel/";
16052
- if (config.envName) {
16053
- this.signallingWlURL = `https://signalling-client.${config.envName}.arcware.cloud/whiteLabel/`;
16054
- }
16052
+ const env = (_f = config.envName) !== null && _f !== void 0 ? _f : "ragnarok";
16053
+ this.signallingWlURL = `https://signalling-client.${env}.arcware.cloud/whiteLabel/`;
16055
16054
  this.settings = mergedSettings;
16056
16055
  this.customization = mergedCustomization;
16057
16056
  this.session = new Session_1.Session();
@@ -16068,7 +16067,7 @@ class ArcwareConfig extends lib_pixelstreamingfrontend_ue5_5_1.Config {
16068
16067
  // Retrieve image loading from there
16069
16068
  const wlParsed = this.useUrlParams ? (0, whiteLabelling_1.readWhiteLabelFromQuery)(qs) : undefined; // respect useUrlParams
16070
16069
  if (wlParsed) {
16071
- this.settings.whiteLabelling = Object.assign(Object.assign({}, ((_f = this.settings.whiteLabelling) !== null && _f !== void 0 ? _f : {})), wlParsed);
16070
+ this.settings.whiteLabelling = Object.assign(Object.assign({}, ((_g = this.settings.whiteLabelling) !== null && _g !== void 0 ? _g : {})), wlParsed);
16072
16071
  }
16073
16072
  }
16074
16073
  else {