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 1
1
{
2
2
"name" : " gleap" ,
3
- "version" : " 7.0.27 " ,
3
+ "version" : " 7.0.28 " ,
4
4
"main" : " build/index.js" ,
5
5
"scripts" : {
6
6
"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 {
496
496
// Reload config.
497
497
GleapConfigManager . getInstance ( ) . start ( ) . then ( ( ) => {
498
498
GleapFrameManager . getInstance ( ) . injectFrame ( ) ;
499
- } ) . catch ( ( exp ) => { } ) ;
499
+ } ) . catch ( ( exp ) => { } ) ;
500
500
}
501
501
502
502
/**
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ export default class GleapConfigManager {
57
57
reject ( ) ;
58
58
} ;
59
59
http . onreadystatechange = function ( e ) {
60
- if ( http . readyState === XMLHttpRequest . DONE ) {
60
+ if ( http . readyState === 4 ) {
61
61
if ( http . status === 200 || http . status === 201 ) {
62
62
try {
63
63
const config = JSON . parse ( http . responseText ) ;
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ export default class GleapFeedback {
122
122
reject ( ) ;
123
123
} ;
124
124
http . onreadystatechange = function ( e ) {
125
- if ( http . readyState === XMLHttpRequest . DONE ) {
125
+ if ( http . readyState === 4 ) {
126
126
if ( http . status === 200 || http . status === 201 ) {
127
127
resolve ( ) ;
128
128
} else {
Original file line number Diff line number Diff line change @@ -109,12 +109,12 @@ export default class GleapSession {
109
109
}
110
110
} catch ( exp ) { }
111
111
http . onreadystatechange = function ( e ) {
112
- if ( http . readyState === XMLHttpRequest . DONE ) {
112
+ if ( http . readyState === 4 ) {
113
113
if ( http . status === 200 || http . status === 201 ) {
114
114
try {
115
115
const sessionData = JSON . parse ( http . responseText ) ;
116
116
self . validateSession ( sessionData ) ;
117
- } catch ( exp ) { }
117
+ } catch ( exp ) { }
118
118
} else {
119
119
if ( http . status !== 429 ) {
120
120
self . clearSession ( attemp ) ;
@@ -188,7 +188,7 @@ export default class GleapSession {
188
188
reject ( ) ;
189
189
} ;
190
190
http . onreadystatechange = function ( e ) {
191
- if ( http . readyState === XMLHttpRequest . DONE ) {
191
+ if ( http . readyState === 4 ) {
192
192
if ( http . status === 200 || http . status === 201 ) {
193
193
try {
194
194
const sessionData = JSON . parse ( http . responseText ) ;
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ export default class GleapStreamedEvent {
91
91
GleapSession . getInstance ( ) . injectSession ( http ) ;
92
92
http . onerror = ( error ) => { } ;
93
93
http . onreadystatechange = function ( e ) {
94
- if ( http . readyState === XMLHttpRequest . DONE ) {
94
+ if ( http . readyState === 4 ) {
95
95
if ( http . status === 200 || http . status === 201 ) {
96
96
try {
97
97
const action = JSON . parse ( http . responseText ) ;
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ module.exports = {
20
20
clean : true ,
21
21
} ,
22
22
optimization : {
23
- minimize : true ,
23
+ minimize : false ,
24
24
minimizer : [
25
25
new TerserPlugin ( {
26
26
terserOptions : {
You can’t perform that action at this time.
0 commit comments