File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ Gleap.setFrameUrl("http://0.0.0.0:3001");
44Gleap . setApiUrl ( "http://0.0.0.0:9000" ) ;
55Gleap . 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);
Original file line number Diff line number Diff line change 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" : {
Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments