pulse-feedback-widget 1.0.0 → 1.0.1

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.
@@ -7,7 +7,7 @@ import { checkUnreadReplies } from './lib/api.mjs';
7
7
  import { TriggerButton } from './components/TriggerButton.mjs';
8
8
 
9
9
  const FeedbackPanel = lazy(() => import('./components/FeedbackPanel.mjs').then((m) => ({ default: m.FeedbackPanel })));
10
- const DEFAULT_API_URL = 'https://pulse-dashboard.vercel.app';
10
+ const DEFAULT_API_URL = 'https://10-pulse.vercel.app';
11
11
  function PulseWidget({ projectId, apiKey, apiUrl = DEFAULT_API_URL, position = 'bottom-right', accentColor = '#6366F1', greeting = 'Hi! 👋', placeholder = "What's on your mind?", hideOnPaths = [], collectEmail = true, metadata = {}, onOpen, onClose: onCloseProp, onSubmit, }) {
12
12
  const [isOpen, setIsOpen] = useState(false);
13
13
  const [hasNotification, setHasNotification] = useState(false);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pulse-feedback-widget",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Drop-in feedback widget for React apps. Collect bugs, features, questions, and praise from users.",
5
5
  "type": "module",
6
6
  "main": "dist/index.mjs",