Skip to content

Commit 5fbf937

Browse files
committed
v6.8.12
1 parent 09e057d commit 5fbf937

File tree

5 files changed

+81
-7
lines changed

5 files changed

+81
-7
lines changed

build/index.js

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6990,18 +6990,35 @@ var Gleap_Gleap = /*#__PURE__*/function () {
69906990
/**
69916991
* Reports a bug silently
69926992
* @param {*} description
6993+
* @param {*} priority
6994+
* @param {*} type
69936995
* @deprecated Please use sendSilentReport instead.
69946996
*/
69956997

69966998
}, {
6997-
key: "sendSilentBugReport",
6998-
value: function sendSilentBugReport(description) {
6999+
key: "sendSilentBugReportWithType",
7000+
value: function sendSilentBugReportWithType(description) {
69997001
var priority = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : Gleap.PRIORITY_MEDIUM;
70007002
var type = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "BUG";
70017003
return Gleap.sendSilentReport({
70027004
description: description
70037005
}, priority, type);
70047006
}
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+
}
70057022
/**
70067023
* Starts the feedback type selection flow.
70077024
*/

index.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ export namespace Gleap {
1111
description: string,
1212
priority: "LOW" | "MEDIUM" | "HIGH"
1313
): void;
14+
function sendSilentBugReportWithType(
15+
description: string,
16+
priority: "LOW" | "MEDIUM" | "HIGH",
17+
type: string
18+
): void;
1419
function sendSilentReport(
1520
formData: {
1621
[key: string]: string;

published/6.8.12/index.js

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6990,18 +6990,35 @@ var Gleap_Gleap = /*#__PURE__*/function () {
69906990
/**
69916991
* Reports a bug silently
69926992
* @param {*} description
6993+
* @param {*} priority
6994+
* @param {*} type
69936995
* @deprecated Please use sendSilentReport instead.
69946996
*/
69956997

69966998
}, {
6997-
key: "sendSilentBugReport",
6998-
value: function sendSilentBugReport(description) {
6999+
key: "sendSilentBugReportWithType",
7000+
value: function sendSilentBugReportWithType(description) {
69997001
var priority = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : Gleap.PRIORITY_MEDIUM;
70007002
var type = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "BUG";
70017003
return Gleap.sendSilentReport({
70027004
description: description
70037005
}, priority, type);
70047006
}
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+
}
70057022
/**
70067023
* Starts the feedback type selection flow.
70077024
*/

published/latest/index.js

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6990,18 +6990,35 @@ var Gleap_Gleap = /*#__PURE__*/function () {
69906990
/**
69916991
* Reports a bug silently
69926992
* @param {*} description
6993+
* @param {*} priority
6994+
* @param {*} type
69936995
* @deprecated Please use sendSilentReport instead.
69946996
*/
69956997

69966998
}, {
6997-
key: "sendSilentBugReport",
6998-
value: function sendSilentBugReport(description) {
6999+
key: "sendSilentBugReportWithType",
7000+
value: function sendSilentBugReportWithType(description) {
69997001
var priority = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : Gleap.PRIORITY_MEDIUM;
70007002
var type = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "BUG";
70017003
return Gleap.sendSilentReport({
70027004
description: description
70037005
}, priority, type);
70047006
}
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+
}
70057022
/**
70067023
* Starts the feedback type selection flow.
70077024
*/

src/Gleap.js

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -773,9 +773,11 @@ class Gleap {
773773
/**
774774
* Reports a bug silently
775775
* @param {*} description
776+
* @param {*} priority
777+
* @param {*} type
776778
* @deprecated Please use sendSilentReport instead.
777779
*/
778-
static sendSilentBugReport(
780+
static sendSilentBugReportWithType(
779781
description,
780782
priority = Gleap.PRIORITY_MEDIUM,
781783
type = "BUG"
@@ -789,6 +791,22 @@ class Gleap {
789791
);
790792
}
791793

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+
792810
/**
793811
* Starts the feedback type selection flow.
794812
*/

0 commit comments

Comments
 (0)