@notificationapi/react 0.0.2 → 0.0.4
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.
|
@@ -126,5 +126,5 @@ export type Context = {
|
|
|
126
126
|
updateDelivery: (notificationId: string, channel: Channels, delivery: DeliveryOptions, subNotificationId?: string) => void;
|
|
127
127
|
};
|
|
128
128
|
export declare const NotificationAPIContext: React.Context<Context | undefined>;
|
|
129
|
-
export declare const
|
|
129
|
+
export declare const NotificationAPIProvider: React.FunctionComponent<PropsWithChildren<Props>>;
|
|
130
130
|
export {};
|
package/dist/main.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { NotificationFeed, NotificationPopup, NotificationLauncher, NotificationCounter, } from './components/Notifications';
|
|
2
2
|
export { NotificationPreferencesInline, NotificationPreferencesPopup, } from './components/Preferences';
|
|
3
|
-
export {
|
|
3
|
+
export { NotificationAPIProvider } from './components/Provider';
|
|
@@ -46180,7 +46180,7 @@ function yQ(e) {
|
|
|
46180
46180
|
return /* @__PURE__ */ vt("div", { ...e, children: "hi" });
|
|
46181
46181
|
}
|
|
46182
46182
|
export {
|
|
46183
|
-
dQ as
|
|
46183
|
+
dQ as NotificationAPIProvider,
|
|
46184
46184
|
hQ as NotificationCounter,
|
|
46185
46185
|
mQ as NotificationFeed,
|
|
46186
46186
|
vQ as NotificationLauncher,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@notificationapi/react",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.4",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"dev": "vite",
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
"eslint": "^8.57.0",
|
|
26
26
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
27
27
|
"eslint-plugin-react-refresh": "^0.4.6",
|
|
28
|
+
"glob": "^10.4.1",
|
|
28
29
|
"typescript": "^5.2.2",
|
|
29
30
|
"vite": "^5.2.0",
|
|
30
31
|
"vite-plugin-dts": "^3.9.1"
|