react-notify-sdk 1.0.50 → 1.0.52
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/dist/FeatureMessage.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { FeatureMessageProviderProps } from './types';
|
|
2
|
-
export declare const FeatureMessageProvider: ({ projectKey,
|
|
2
|
+
export declare const FeatureMessageProvider: ({ projectKey, }: FeatureMessageProviderProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -18,7 +18,7 @@ const routeMatches = (pattern, path) => {
|
|
|
18
18
|
return false;
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
|
-
export const FeatureMessageProvider = ({ projectKey,
|
|
21
|
+
export const FeatureMessageProvider = ({ projectKey, }) => {
|
|
22
22
|
const [message, setMessage] = useState(null);
|
|
23
23
|
const [visible, setVisible] = useState(false);
|
|
24
24
|
const [pathname, setPathname] = useState(() => typeof window !== 'undefined' ? window.location.pathname : '');
|
package/dist/types.d.ts
CHANGED