File tree Expand file tree Collapse file tree 5 files changed +81
-7
lines changed Expand file tree Collapse file tree 5 files changed +81
-7
lines changed Original file line number Diff line number Diff line change @@ -6990,18 +6990,35 @@ var Gleap_Gleap = /*#__PURE__*/function () {
6990
6990
/**
6991
6991
* Reports a bug silently
6992
6992
* @param {* } description
6993
+ * @param {* } priority
6994
+ * @param {* } type
6993
6995
* @deprecated Please use sendSilentReport instead.
6994
6996
*/
6995
6997
6996
6998
} , {
6997
- key : "sendSilentBugReport " ,
6998
- value : function sendSilentBugReport ( description ) {
6999
+ key : "sendSilentBugReportWithType " ,
7000
+ value : function sendSilentBugReportWithType ( description ) {
6999
7001
var priority = arguments . length > 1 && arguments [ 1 ] !== undefined ? arguments [ 1 ] : Gleap . PRIORITY_MEDIUM ;
7000
7002
var type = arguments . length > 2 && arguments [ 2 ] !== undefined ? arguments [ 2 ] : "BUG" ;
7001
7003
return Gleap . sendSilentReport ( {
7002
7004
description : description
7003
7005
} , priority , type ) ;
7004
7006
}
7007
+ /**
7008
+ * Reports a bug silently
7009
+ * @param {* } description
7010
+ * @param {* } priority
7011
+ * @deprecated Please use sendSilentReport instead.
7012
+ */
7013
+
7014
+ } , {
7015
+ key : "sendSilentBugReport" ,
7016
+ value : function sendSilentBugReport ( description ) {
7017
+ var priority = arguments . length > 1 && arguments [ 1 ] !== undefined ? arguments [ 1 ] : Gleap . PRIORITY_MEDIUM ;
7018
+ return Gleap . sendSilentReport ( {
7019
+ description : description
7020
+ } , priority , "BUG" ) ;
7021
+ }
7005
7022
/**
7006
7023
* Starts the feedback type selection flow.
7007
7024
*/
Original file line number Diff line number Diff line change @@ -11,6 +11,11 @@ export namespace Gleap {
11
11
description : string ,
12
12
priority : "LOW" | "MEDIUM" | "HIGH"
13
13
) : void ;
14
+ function sendSilentBugReportWithType (
15
+ description : string ,
16
+ priority : "LOW" | "MEDIUM" | "HIGH" ,
17
+ type : string
18
+ ) : void ;
14
19
function sendSilentReport (
15
20
formData : {
16
21
[ key : string ] : string ;
Original file line number Diff line number Diff line change @@ -6990,18 +6990,35 @@ var Gleap_Gleap = /*#__PURE__*/function () {
6990
6990
/**
6991
6991
* Reports a bug silently
6992
6992
* @param {* } description
6993
+ * @param {* } priority
6994
+ * @param {* } type
6993
6995
* @deprecated Please use sendSilentReport instead.
6994
6996
*/
6995
6997
6996
6998
} , {
6997
- key : "sendSilentBugReport " ,
6998
- value : function sendSilentBugReport ( description ) {
6999
+ key : "sendSilentBugReportWithType " ,
7000
+ value : function sendSilentBugReportWithType ( description ) {
6999
7001
var priority = arguments . length > 1 && arguments [ 1 ] !== undefined ? arguments [ 1 ] : Gleap . PRIORITY_MEDIUM ;
7000
7002
var type = arguments . length > 2 && arguments [ 2 ] !== undefined ? arguments [ 2 ] : "BUG" ;
7001
7003
return Gleap . sendSilentReport ( {
7002
7004
description : description
7003
7005
} , priority , type ) ;
7004
7006
}
7007
+ /**
7008
+ * Reports a bug silently
7009
+ * @param {* } description
7010
+ * @param {* } priority
7011
+ * @deprecated Please use sendSilentReport instead.
7012
+ */
7013
+
7014
+ } , {
7015
+ key : "sendSilentBugReport" ,
7016
+ value : function sendSilentBugReport ( description ) {
7017
+ var priority = arguments . length > 1 && arguments [ 1 ] !== undefined ? arguments [ 1 ] : Gleap . PRIORITY_MEDIUM ;
7018
+ return Gleap . sendSilentReport ( {
7019
+ description : description
7020
+ } , priority , "BUG" ) ;
7021
+ }
7005
7022
/**
7006
7023
* Starts the feedback type selection flow.
7007
7024
*/
Original file line number Diff line number Diff line change @@ -6990,18 +6990,35 @@ var Gleap_Gleap = /*#__PURE__*/function () {
6990
6990
/**
6991
6991
* Reports a bug silently
6992
6992
* @param {* } description
6993
+ * @param {* } priority
6994
+ * @param {* } type
6993
6995
* @deprecated Please use sendSilentReport instead.
6994
6996
*/
6995
6997
6996
6998
} , {
6997
- key : "sendSilentBugReport " ,
6998
- value : function sendSilentBugReport ( description ) {
6999
+ key : "sendSilentBugReportWithType " ,
7000
+ value : function sendSilentBugReportWithType ( description ) {
6999
7001
var priority = arguments . length > 1 && arguments [ 1 ] !== undefined ? arguments [ 1 ] : Gleap . PRIORITY_MEDIUM ;
7000
7002
var type = arguments . length > 2 && arguments [ 2 ] !== undefined ? arguments [ 2 ] : "BUG" ;
7001
7003
return Gleap . sendSilentReport ( {
7002
7004
description : description
7003
7005
} , priority , type ) ;
7004
7006
}
7007
+ /**
7008
+ * Reports a bug silently
7009
+ * @param {* } description
7010
+ * @param {* } priority
7011
+ * @deprecated Please use sendSilentReport instead.
7012
+ */
7013
+
7014
+ } , {
7015
+ key : "sendSilentBugReport" ,
7016
+ value : function sendSilentBugReport ( description ) {
7017
+ var priority = arguments . length > 1 && arguments [ 1 ] !== undefined ? arguments [ 1 ] : Gleap . PRIORITY_MEDIUM ;
7018
+ return Gleap . sendSilentReport ( {
7019
+ description : description
7020
+ } , priority , "BUG" ) ;
7021
+ }
7005
7022
/**
7006
7023
* Starts the feedback type selection flow.
7007
7024
*/
Original file line number Diff line number Diff line change @@ -773,9 +773,11 @@ class Gleap {
773
773
/**
774
774
* Reports a bug silently
775
775
* @param {* } description
776
+ * @param {* } priority
777
+ * @param {* } type
776
778
* @deprecated Please use sendSilentReport instead.
777
779
*/
778
- static sendSilentBugReport (
780
+ static sendSilentBugReportWithType (
779
781
description ,
780
782
priority = Gleap . PRIORITY_MEDIUM ,
781
783
type = "BUG"
@@ -789,6 +791,22 @@ class Gleap {
789
791
) ;
790
792
}
791
793
794
+ /**
795
+ * Reports a bug silently
796
+ * @param {* } description
797
+ * @param {* } priority
798
+ * @deprecated Please use sendSilentReport instead.
799
+ */
800
+ static sendSilentBugReport ( description , priority = Gleap . PRIORITY_MEDIUM ) {
801
+ return Gleap . sendSilentReport (
802
+ {
803
+ description : description ,
804
+ } ,
805
+ priority ,
806
+ "BUG"
807
+ ) ;
808
+ }
809
+
792
810
/**
793
811
* Starts the feedback type selection flow.
794
812
*/
You can’t perform that action at this time.
0 commit comments