@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/index.umd.cjs CHANGED
@@ -22939,7 +22939,7 @@ class ArcwareConfig extends lib_pixelstreamingfrontend_ue5_5_1.Config {
22939
22939
  };
22940
22940
  }
22941
22941
  constructor(config) {
22942
- var _a, _b, _c, _d, _e, _f;
22942
+ var _a, _b, _c, _d, _e, _f, _g;
22943
22943
  const dfToken = new URL(window.location.href).search
22944
22944
  .slice(1)
22945
22945
  .split("&")
@@ -22955,12 +22955,11 @@ class ArcwareConfig extends lib_pixelstreamingfrontend_ue5_5_1.Config {
22955
22955
  const mergedCustomization = Object.assign(Object.assign({}, ArcwareConfig.DEFAULT_CUSTOMIZATION), ((_e = config.customization) !== null && _e !== void 0 ? _e : {}));
22956
22956
  const finalConfig = Object.assign(Object.assign({}, config), { initialSettings: mergedInitialSettings, settings: mergedSettings, customization: mergedCustomization });
22957
22957
  super(finalConfig);
22958
- this.VERSION = "1.4.8";
22958
+ this.VERSION = "1.4.10";
22959
22959
  this.whiteLabellingChanged = new EventHandler_1.EventHandler();
22960
22960
  this.signallingWlURL = "https://signalling-client.arcware.cloud/whiteLabel/";
22961
- if (config.envName) {
22962
- this.signallingWlURL = `https://signalling-client.${config.envName}.arcware.cloud/whiteLabel/`;
22963
- }
22961
+ const env = (_f = config.envName) !== null && _f !== void 0 ? _f : "ragnarok";
22962
+ this.signallingWlURL = `https://signalling-client.${env}.arcware.cloud/whiteLabel/`;
22964
22963
  this.settings = mergedSettings;
22965
22964
  this.customization = mergedCustomization;
22966
22965
  this.session = new Session_1.Session();
@@ -22977,7 +22976,7 @@ class ArcwareConfig extends lib_pixelstreamingfrontend_ue5_5_1.Config {
22977
22976
  // Retrieve image loading from there
22978
22977
  const wlParsed = this.useUrlParams ? (0, whiteLabelling_1.readWhiteLabelFromQuery)(qs) : undefined; // respect useUrlParams
22979
22978
  if (wlParsed) {
22980
- this.settings.whiteLabelling = Object.assign(Object.assign({}, ((_f = this.settings.whiteLabelling) !== null && _f !== void 0 ? _f : {})), wlParsed);
22979
+ this.settings.whiteLabelling = Object.assign(Object.assign({}, ((_g = this.settings.whiteLabelling) !== null && _g !== void 0 ? _g : {})), wlParsed);
22981
22980
  }
22982
22981
  }
22983
22982
  else {
@@ -25988,7 +25987,8 @@ class ArcwareApplication extends lib_pixelstreamingfrontend_ui_ue5_5_1.Applicati
25988
25987
  pushLetter(letter) {
25989
25988
  var _b;
25990
25989
  this.loveLettersQueue.push(letter);
25991
- if (!((_b = this.stream.config.settings.whiteLabelling) === null || _b === void 0 ? void 0 : _b.hideLoveLetters) &&
25990
+ console.log(this.stream.config.settings.fetchRemoteWhiteLabelling);
25991
+ if (!((_b = this.stream.config.settings.whiteLabelling) === null || _b === void 0 ? void 0 : _b.hideLoveLetters) ||
25992
25992
  !this.stream.config.settings.fetchRemoteWhiteLabelling) {
25993
25993
  if (!this.isProcessingQueue) {
25994
25994
  this.processLoveLetterQueue();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@arcware-cloud/pixelstreaming-websdk",
3
3
  "description": "WebSDK for easy implementation of pixel streaming with Arcware Cloud Services. Heavily based on the '@epicgames-ps' library.",
4
- "version": "1.4.8",
4
+ "version": "1.4.10",
5
5
  "type": "commonjs",
6
6
  "main": "./index.cjs",
7
7
  "types": "./types/index.d.ts",
@@ -32,7 +32,7 @@ export declare class ArcwareConfig extends Config {
32
32
  readonly settings: Settings;
33
33
  readonly customization: Customization;
34
34
  private _initialSettings;
35
- readonly VERSION = "1.4.8";
35
+ readonly VERSION = "1.4.10";
36
36
  readonly whiteLabellingChanged: EventHandler<{
37
37
  next: Partial<WhiteLabel>;
38
38
  changed: boolean;