gleap 18.0.0 → 18.1.0

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/index.d.ts CHANGED
@@ -238,6 +238,16 @@ export namespace Gleap {
238
238
  function hide(): void;
239
239
  function setUseCookies(useCookies: boolean): void;
240
240
  function setEnvironment(environment: "dev" | "staging" | "prod"): void;
241
+ /**
242
+ * Env data keys (e.g. "currentUrl", "userAgent") that are removed before a
243
+ * ticket is sent. Each call replaces the previous list.
244
+ */
245
+ function setEnvDataPropsToIgnore(propsToIgnore: string[]): void;
246
+ /**
247
+ * Stops (true) or resumes (false) collecting env data. While disabled,
248
+ * tickets are sent without any env data.
249
+ */
250
+ function setDisableEnvData(disableEnvData: boolean): void;
241
251
  function setCSPNonce(nonce: string): void;
242
252
  function showFeedbackButton(show: boolean): void;
243
253
  function startFeedbackFlow(
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
+ "description": "JavaScript and TypeScript SDK for Gleap, an Intercom alternative with AI customer support, live chat, in-app bug reporting and customer feedback.",
2
3
  "name": "gleap",
3
- "version": "18.0.0",
4
+ "version": "18.1.0",
4
5
  "main": "build/cjs/index.js",
5
6
  "module": "build/esm/index.mjs",
6
7
  "exports": {
@@ -24,7 +25,7 @@
24
25
  "url": "https://github.com/GleapSDK/JavaScript-SDK"
25
26
  },
26
27
  "author": "Gleap <hello@gleap.io>",
27
- "homepage": "https://www.gleap.io/",
28
+ "homepage": "https://www.gleap.ai",
28
29
  "keywords": [
29
30
  "bug-reporting",
30
31
  "bug-reporting-tool",
@@ -36,8 +37,12 @@
36
37
  "crash-reporting",
37
38
  "marketing-automation",
38
39
  "user-onboarding",
39
- "ai-chatbot",
40
- "in-app-feedback"
40
+ "ai-support",
41
+ "in-app-feedback",
42
+ "intercom-alternative",
43
+ "ai-customer-support",
44
+ "live-chat",
45
+ "sdk"
41
46
  ],
42
47
  "license": "Commercial",
43
48
  "licenseFilename": "LICENSE",