react-notify-sdk 1.0.46 → 1.0.47

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.
@@ -25,10 +25,6 @@ const FeatureMessage = ({ message, onDismiss }) => {
25
25
  };
26
26
  // Handle click with tracking
27
27
  const handleClick = async (e) => {
28
- // Don't trigger if clicking close button
29
- if (e.target.closest('[data-dismiss-button]')) {
30
- return;
31
- }
32
28
  const action = message.click_action || 'none';
33
29
  // Perform the action
34
30
  switch (action) {
@@ -113,7 +109,7 @@ const FeatureMessage = ({ message, onDismiss }) => {
113
109
  }, children: message?.content })] }), message?.click_action && message?.click_action === "view only" ?
114
110
  null
115
111
  :
116
- _jsx("button", { "data-dismiss-button": true, style: {
112
+ _jsx("button", { style: {
117
113
  width: "20%", // w-1/5
118
114
  height: "1rem", // h-4 (16px)
119
115
  marginTop: "auto", // my-auto
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-notify-sdk",
3
- "version": "1.0.46",
3
+ "version": "1.0.47",
4
4
  "description": "SDK for displaying real-time route-specific messages in React apps",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",