@saasquatch/squatch-js 2.8.2-35 → 2.8.2-36

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.
@@ -1293,8 +1293,10 @@ class PopupWidget extends Widget {
1293
1293
  }
1294
1294
  async load() {
1295
1295
  var _a2, _b, _c, _d, _e;
1296
+ console.log("TESTING!");
1296
1297
  const brandingConfig = (_b = (_a2 = this.context.widgetConfig) == null ? void 0 : _a2.values) == null ? void 0 : _b.brandingConfig;
1297
1298
  const initialHeight = brandingConfig == null ? void 0 : brandingConfig.loadingHeight;
1299
+ console.log({ initialHeight, brandingConfig });
1298
1300
  const frame = this._createFrame({ initialHeight });
1299
1301
  this._initialiseCTA();
1300
1302
  const element = this.container ? this._findElement() : document.body;
@@ -1508,11 +1510,7 @@ class Widgets {
1508
1510
  engagementMedium: clean.engagementMedium,
1509
1511
  container: clean.container,
1510
1512
  trigger: clean.trigger,
1511
- widgetConfig: {
1512
- values: {
1513
- brandingConfig: response == null ? void 0 : response.brandingConfig
1514
- }
1515
- }
1513
+ widgetConfig: response == null ? void 0 : response.widgetConfig
1516
1514
  }),
1517
1515
  user: response.user
1518
1516
  };