gleap 6.8.12 → 6.8.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/index.js CHANGED
@@ -6311,7 +6311,7 @@ var Gleap_Gleap = /*#__PURE__*/function () {
6311
6311
  currentUrl: window.location.href,
6312
6312
  language: navigator.language || navigator.userLanguage,
6313
6313
  mobile: isMobile(),
6314
- sdkVersion: "6.8.12",
6314
+ sdkVersion: "6.8.13",
6315
6315
  sdkType: "javascript"
6316
6316
  };
6317
6317
  }
@@ -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
  */
package/index.d.ts CHANGED
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gleap",
3
- "version": "6.8.12",
3
+ "version": "6.8.13",
4
4
  "main": "build/index.js",
5
5
  "scripts": {
6
6
  "start": "webpack serve",
@@ -35,6 +35,7 @@
35
35
  "@babel/plugin-proposal-class-properties": "^7.13.0",
36
36
  "@babel/polyfill": "^7.12.1",
37
37
  "@babel/preset-env": "^7.13.15",
38
+ "@node-minify/csso": "^6.2.0",
38
39
  "babel-eslint": "^10.1.0",
39
40
  "babel-loader": "^8.2.2",
40
41
  "babel-preset-minify": "^0.5.0",