File tree Expand file tree Collapse file tree 10 files changed +19602
-11
lines changed
Expand file tree Collapse file tree 10 files changed +19602
-11
lines changed Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 11{
22 "name" : " gleap" ,
3- "version" : " 7.0.27 " ,
3+ "version" : " 7.0.28 " ,
44 "main" : " build/index.js" ,
55 "scripts" : {
66 "start" : " webpack serve" ,
Load Diff Large diffs are not rendered by default.
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -496,7 +496,7 @@ class Gleap {
496496 // Reload config.
497497 GleapConfigManager . getInstance ( ) . start ( ) . then ( ( ) => {
498498 GleapFrameManager . getInstance ( ) . injectFrame ( ) ;
499- } ) . catch ( ( exp ) => { } ) ;
499+ } ) . catch ( ( exp ) => { } ) ;
500500 }
501501
502502 /**
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ export default class GleapConfigManager {
5757 reject ( ) ;
5858 } ;
5959 http . onreadystatechange = function ( e ) {
60- if ( http . readyState === XMLHttpRequest . DONE ) {
60+ if ( http . readyState === 4 ) {
6161 if ( http . status === 200 || http . status === 201 ) {
6262 try {
6363 const config = JSON . parse ( http . responseText ) ;
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ export default class GleapFeedback {
122122 reject ( ) ;
123123 } ;
124124 http . onreadystatechange = function ( e ) {
125- if ( http . readyState === XMLHttpRequest . DONE ) {
125+ if ( http . readyState === 4 ) {
126126 if ( http . status === 200 || http . status === 201 ) {
127127 resolve ( ) ;
128128 } else {
Original file line number Diff line number Diff line change @@ -109,12 +109,12 @@ export default class GleapSession {
109109 }
110110 } catch ( exp ) { }
111111 http . onreadystatechange = function ( e ) {
112- if ( http . readyState === XMLHttpRequest . DONE ) {
112+ if ( http . readyState === 4 ) {
113113 if ( http . status === 200 || http . status === 201 ) {
114114 try {
115115 const sessionData = JSON . parse ( http . responseText ) ;
116116 self . validateSession ( sessionData ) ;
117- } catch ( exp ) { }
117+ } catch ( exp ) { }
118118 } else {
119119 if ( http . status !== 429 ) {
120120 self . clearSession ( attemp ) ;
@@ -188,7 +188,7 @@ export default class GleapSession {
188188 reject ( ) ;
189189 } ;
190190 http . onreadystatechange = function ( e ) {
191- if ( http . readyState === XMLHttpRequest . DONE ) {
191+ if ( http . readyState === 4 ) {
192192 if ( http . status === 200 || http . status === 201 ) {
193193 try {
194194 const sessionData = JSON . parse ( http . responseText ) ;
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ export default class GleapStreamedEvent {
9191 GleapSession . getInstance ( ) . injectSession ( http ) ;
9292 http . onerror = ( error ) => { } ;
9393 http . onreadystatechange = function ( e ) {
94- if ( http . readyState === XMLHttpRequest . DONE ) {
94+ if ( http . readyState === 4 ) {
9595 if ( http . status === 200 || http . status === 201 ) {
9696 try {
9797 const action = JSON . parse ( http . responseText ) ;
Original file line number Diff line number Diff 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 : {
You can’t perform that action at this time.
0 commit comments