@superfeedback/widget 0.0.19 → 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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -67,7 +67,7 @@ import { Superfeedback } from "@superfeedback/widget";
67
67
  import "@superfeedback/widget/style.css";
68
68
 
69
69
  // Initialize with your public API Key
70
- Superfeedback.init({project: "YOUR_PROJECT_ID"});
70
+ Superfeedback.init({projectId: "YOUR_PROJECT_ID"});
71
71
  ```
72
72
 
73
73
  ### 2\. CDN (Browser / HTML)
@@ -84,7 +84,7 @@ If you are not using a build step, you can load the widget directly from `unpkg`
84
84
  <script src="https://unpkg.com/@superfeedback/widget"></script>
85
85
 
86
86
  <script>
87
- window.Superfeedback.init({project: "YOUR_PROJECT_ID"});
87
+ window.Superfeedback.init({projectId: "YOUR_PROJECT_ID"});
88
88
  </script>
89
89
  ```
90
90
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superfeedback/widget",
3
- "version": "0.0.19",
3
+ "version": "0.0.20",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "files": [