@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.
- package/dist/squatch.cjs.js +3 -5
- package/dist/squatch.cjs.js.map +1 -1
- package/dist/squatch.esm.js +3 -5
- package/dist/squatch.esm.js.map +1 -1
- package/dist/squatch.js +3 -5
- package/dist/squatch.js.map +1 -1
- package/dist/squatch.min.js +1 -1
- package/package.json +1 -1
package/dist/squatch.cjs.js
CHANGED
|
@@ -1295,8 +1295,10 @@ class PopupWidget extends Widget {
|
|
|
1295
1295
|
}
|
|
1296
1296
|
async load() {
|
|
1297
1297
|
var _a2, _b, _c, _d, _e;
|
|
1298
|
+
console.log("TESTING!");
|
|
1298
1299
|
const brandingConfig = (_b = (_a2 = this.context.widgetConfig) == null ? void 0 : _a2.values) == null ? void 0 : _b.brandingConfig;
|
|
1299
1300
|
const initialHeight = brandingConfig == null ? void 0 : brandingConfig.loadingHeight;
|
|
1301
|
+
console.log({ initialHeight, brandingConfig });
|
|
1300
1302
|
const frame = this._createFrame({ initialHeight });
|
|
1301
1303
|
this._initialiseCTA();
|
|
1302
1304
|
const element = this.container ? this._findElement() : document.body;
|
|
@@ -1510,11 +1512,7 @@ class Widgets {
|
|
|
1510
1512
|
engagementMedium: clean.engagementMedium,
|
|
1511
1513
|
container: clean.container,
|
|
1512
1514
|
trigger: clean.trigger,
|
|
1513
|
-
widgetConfig:
|
|
1514
|
-
values: {
|
|
1515
|
-
brandingConfig: response == null ? void 0 : response.brandingConfig
|
|
1516
|
-
}
|
|
1517
|
-
}
|
|
1515
|
+
widgetConfig: response == null ? void 0 : response.widgetConfig
|
|
1518
1516
|
}),
|
|
1519
1517
|
user: response.user
|
|
1520
1518
|
};
|