@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.js
CHANGED
|
@@ -1297,8 +1297,10 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
1297
1297
|
}
|
|
1298
1298
|
async load() {
|
|
1299
1299
|
var _a2, _b, _c, _d, _e;
|
|
1300
|
+
console.log("TESTING!");
|
|
1300
1301
|
const brandingConfig = (_b = (_a2 = this.context.widgetConfig) == null ? void 0 : _a2.values) == null ? void 0 : _b.brandingConfig;
|
|
1301
1302
|
const initialHeight = brandingConfig == null ? void 0 : brandingConfig.loadingHeight;
|
|
1303
|
+
console.log({ initialHeight, brandingConfig });
|
|
1302
1304
|
const frame = this._createFrame({ initialHeight });
|
|
1303
1305
|
this._initialiseCTA();
|
|
1304
1306
|
const element = this.container ? this._findElement() : document.body;
|
|
@@ -1512,11 +1514,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
1512
1514
|
engagementMedium: clean.engagementMedium,
|
|
1513
1515
|
container: clean.container,
|
|
1514
1516
|
trigger: clean.trigger,
|
|
1515
|
-
widgetConfig:
|
|
1516
|
-
values: {
|
|
1517
|
-
brandingConfig: response == null ? void 0 : response.brandingConfig
|
|
1518
|
-
}
|
|
1519
|
-
}
|
|
1517
|
+
widgetConfig: response == null ? void 0 : response.widgetConfig
|
|
1520
1518
|
}),
|
|
1521
1519
|
user: response.user
|
|
1522
1520
|
};
|