Skip to content

Commit e3de911

Browse files
committed
v14.7.5
1 parent 4b7d5a6 commit e3de911

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

demo/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Gleap.setFrameUrl("http://0.0.0.0:3001");
44
Gleap.setApiUrl("http://0.0.0.0:9000");
55
Gleap.setWSApiUrl("ws://0.0.0.0:9000");
66

7-
Gleap.initialize("SWDRYt539LLdlWtMLGYVos7oIAbWQPbX");
7+
Gleap.initialize("yd587go5FLxkRVXhhxjkioGqEwGLSWpo");
88

99
// const lastMonthDate = new Date();
1010
// lastMonthDate.setMonth(lastMonthDate.getMonth() - 1);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gleap",
3-
"version": "14.7.4",
3+
"version": "14.7.5",
44
"main": "build/cjs/index.js",
55
"module": "build/esm/index.mjs",
66
"exports": {

src/GleapModalManager.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,16 @@ export default class GleapModalManager {
3939
if (data.name === "modal-loaded" && this.modalData) {
4040
const flowConfig = GleapConfigManager.getInstance().getFlowConfig();
4141
const primaryColor = flowConfig.color ? flowConfig.color : "#485BFF";
42+
const backgroundColor = flowConfig.backgroundColor
43+
? flowConfig.backgroundColor
44+
: "#FFFFFF";
4245

4346
this._postMessage({
4447
name: "modal-data",
4548
data: {
4649
...this.modalData,
4750
primaryColor: primaryColor,
51+
backgroundColor: backgroundColor,
4852
},
4953
});
5054
}

0 commit comments

Comments
 (0)