@superfeedback/widget 0.0.18 → 0.0.20

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/README.md CHANGED
@@ -28,8 +28,7 @@ Collecting high-quality feedback is often a friction-heavy process for both user
28
28
  Before installing the widget, you need to configure your backend settings:
29
29
 
30
30
  1. **Create an account:** Go to [app.superfeedback.ai](https://app.superfeedback.ai).
31
- 2. **Get your API Key:** Navigate to [app.superfeedback.ai/api-keys](https://app.superfeedback.ai/api-keys) and generate a public key for your project.
32
- 3. **Connect Integrations:** Go to [app.superfeedback.ai/integrations](https://app.superfeedback.ai/integrations) and authorize the tools you use (Jira, GitHub, etc.).
31
+ 2. **Connect Integrations:** Go to [app.superfeedback.ai/integrations](https://app.superfeedback.ai/integrations) and authorize the tools you use (Jira, GitHub, etc.).
33
32
 
34
33
  ---
35
34
 
@@ -68,7 +67,7 @@ import { Superfeedback } from "@superfeedback/widget";
68
67
  import "@superfeedback/widget/style.css";
69
68
 
70
69
  // Initialize with your public API Key
71
- Superfeedback.init("YOUR_API_KEY_HERE");
70
+ Superfeedback.init({projectId: "YOUR_PROJECT_ID"});
72
71
  ```
73
72
 
74
73
  ### 2\. CDN (Browser / HTML)
@@ -85,7 +84,7 @@ If you are not using a build step, you can load the widget directly from `unpkg`
85
84
  <script src="https://unpkg.com/@superfeedback/widget"></script>
86
85
 
87
86
  <script>
88
- window.Superfeedback.init("YOUR_API_KEY_HERE");
87
+ window.Superfeedback.init({projectId: "YOUR_PROJECT_ID"});
89
88
  </script>
90
89
  ```
91
90
 
@@ -100,3 +99,4 @@ The widget automatically routes tickets based on your configuration in the dashb
100
99
  | **Jira** | Project Management | ✅ Supported |
101
100
  | **GitHub** | Issue Tracking | ✅ Supported |
102
101
  | **Asana** | Project Management | ✅ Supported |
102
+ | **Slack** | Chat | ✅ Supported |