Skip to content

Commit 5789c6f

Browse files
committed
v6.8.8
1 parent 0bbcbca commit 5789c6f

File tree

6 files changed

+21571
-12
lines changed

6 files changed

+21571
-12
lines changed

.DS_Store

0 Bytes
Binary file not shown.

build/index.js

Lines changed: 7186 additions & 1 deletion
Large diffs are not rendered by default.

published/6.8.8/index.js

Lines changed: 7186 additions & 1 deletion
Large diffs are not rendered by default.

published/latest/index.js

Lines changed: 7186 additions & 1 deletion
Large diffs are not rendered by default.

src/Gleap.js

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -199,15 +199,17 @@ class Gleap {
199199

200200
const sessionInstance = Session.getInstance();
201201
sessionInstance.sdkKey = sdkKey;
202-
sessionInstance.setOnSessionReady(() => {
202+
sessionInstance.setOnSessionReady(function () {
203203
// Run auto configuration.
204-
AutoConfig.run(function (config, soft) {
205-
Gleap.applyConfig(config, soft);
206-
})
207-
.then(function () {
208-
instance.postInit();
204+
setTimeout(function () {
205+
AutoConfig.run(function (config, soft) {
206+
Gleap.applyConfig(config, soft);
209207
})
210-
.catch(function (err) {});
208+
.then(function () {
209+
instance.postInit();
210+
})
211+
.catch(function (err) {});
212+
}, 0);
211213
});
212214
sessionInstance.startSession();
213215
}
@@ -399,7 +401,9 @@ class Gleap {
399401
if (flowConfig.buttonLogo && flowConfig.buttonLogo.length > 0) {
400402
this.setButtonLogoUrl(flowConfig.buttonLogo);
401403
}
402-
} catch (e) {}
404+
} catch (e) {
405+
console.log(e);
406+
}
403407
}
404408

405409
postInit() {

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module.exports = {
2020
clean: true,
2121
},
2222
optimization: {
23-
minimize: true,
23+
minimize: false,
2424
minimizer: [
2525
new TerserPlugin({
2626
terserOptions: {

0 commit comments

Comments
 (0)